path: root/test/ostruct/test_ostruct.rb
AgeCommit message (Expand)Author
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
2013-10-23* lib/ostruct.rb (Struct#each_pair): Return an enumerator with sizemarcandre
2013-10-23* lib/ostruct.rb (OpenStruct#delete): Use the converted argument.marcandre
2013-10-23* lib/ostruct.rb: Raise RuntimeError when modifying frozen instancesmarcandre
2012-10-28* lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyermarcandre
2012-10-28* lib/ostruct.rb: Also accept {Open}Struct as argument to newmarcandre
2012-10-28* lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hashmarcandre
2012-10-28* lib/ostruct.rb (each_pair): Add #each_pair [#1400]marcandre
2012-04-24* hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.nobu
2012-02-22* lib/ostruct.rb (delete_field): Bug fix so previous value is returned.marcandre