Closed Kris-LIBIS closed 9 years ago
Unfortunately, the fix for #28 and corresponding pull #30 are breaking the implicit indifferent access behaviour that OpenStruct has and worked - at least mostly - until version 0.6.2.
The following code:
require 'recursive-open-struct' puts "RecursiveOpenStruct version: #{RecursiveOpenStruct::VERSION}" ros = RecursiveOpenStruct.new ros[:foo] = 1 ros['foo'] = 2 raise '!!! BAD !!!' unless ros.foo == 2
will fail on 0.6.3, but works on 0.6.2 and earlier.
Unfortunately, the fix for #28 and corresponding pull #30 are breaking the implicit indifferent access behaviour that OpenStruct has and worked - at least mostly - until version 0.6.2.
The following code:
will fail on 0.6.3, but works on 0.6.2 and earlier.