path: root/test/ostruct/test_ostruct.rb
AgeCommit message (Expand)Author
2022-03-07[ruby/ostruct] Fix class and method as attribute namesLadislav Gallay
2021-12-06[ruby/ostruct] Alias less methodsMarc-André Lafortune
2021-09-28[ruby/ostruct] Allow properties to be accessed even when the object is moved ...rm155
2021-07-29Partly picked from SHIBATA
2021-06-14[lib/ostruct] Fix YAML testMarc-Andre Lafortune
2021-06-14[lib/ostruct] Allow overriding of `block_given?`Marc-Andre Lafortune
2021-06-14Add fallback block to `OpenStruct#delete_field` (#1409)jfrazx
2021-05-17test/ostruct/test_ostruct.rb: Use YAML.unsafe_load instead of YAML.loadYusuke Endoh
2021-04-28Guard for < Ruby 3.0Hiroshi SHIBATA
2021-01-12Fix method protection for modules in the ancestry chain.Marc-Andre Lafortune
2021-01-06strip trailing spaces [ci skip]Nobuyoshi Nakada
2021-01-05[ruby/ostruct] Allow ostruct to return a value on super (#4028)Adam Hess
2020-12-19[ruby/ostruct] Add Ractor testMarc-Andre Lafortune
2020-10-06[lib/ostruct] Fix Marshal loadingMarc-Andre Lafortune
2020-10-01stop Ractor test in test-allKoichi Sasada
2020-09-30[ruby/ostruct] Improved YAML serialization.Marc-Andre Lafortune
2020-09-30[ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareableMarc-Andre Lafortune
2020-09-30[ruby/ostruct] Protect subclass' methods and our bang methods.Marc-Andre Lafortune
2020-09-30[ruby/ostruct] Avoid calling initializeMarc-Andre Lafortune
2020-09-24test/ostruct/test_ostruct.rb: Prevent "method redefined; discarding old foo"Yusuke Endoh
2020-09-17Fix typos [ci skip]Kazuhiro NISHIYAMA
2020-09-14[ruby/ostruct] Avoid self calling our public methods.Marc-Andre Lafortune
2020-09-14[ruby/ostruct] Reinstate recent changesMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Revert recent changesMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Add access to public instance methods in case they are overridenMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Allow overriding public methodsMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Add really basic test that was missingMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Revert "ostruct.rb: deferred accessors"Marc-Andre Lafortune
2020-09-04lib/ostruct.rb: Revert "To use RuntimeError instead of FrozenError for old ru...Marc-Andre Lafortune
2020-02-25Prefer dedicated assertion methodNobuyoshi Nakada
2018-12-22ostruct.rb: Accept block for to_h [#15451].marcandre
2018-08-07Support old versions of Ruby with FrozenError.hsbt
2018-02-06lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.marcandre
2017-10-25test/ostruct: Specify frozen_string_literal: true.kazu
2017-10-24lib/ostruct.rb: Use frozen literals.marcandre
2017-03-28ostruct.rb: refine visibility failure messagenobu
2017-03-24ostruct.rb: fix OpenStruct.allocatenobu
2017-02-03lib/ostruct.rb: Fix returned value of each_pair.marcandre
2016-01-04test_ostruct.rb: sort method namesnobu
2016-01-01* lib/ostruct.rb: Fix case of frozen object with initializer.marcandre
2015-12-31* lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinitionmarcandre
2015-12-29ostruct.rb: respond_to?nobu
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-12-12* lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a symbolmarcandre
2015-10-14* test/ostruct/test_ostruct.rb: Add tests for OpenStruct#respond_to.eregon
2015-01-08Revert GH-808nobu
2015-01-05ostruct.rb: append suffixes to protected methodsnobu
2013-11-06Suppress warnings: ambiguous first argument; put parentheses or even spacesnaruse
2013-10-23* lib/ostruct.rb: raise NoMethodError with a #name and #args.marcandre