aboutsummaryrefslogtreecommitdiffstats
path: root/test/ostruct
Commit message (Expand)AuthorAgeFilesLines
* [ruby/ostruct] Emit a performance warning when OpenStruct is usedJean byroot Boussier2023-09-291-0/+19
* [ruby/ostruct] Fix class and method as attribute namesLadislav Gallay2022-03-071-0/+6
* [ruby/ostruct] Alias less methodsMarc-André Lafortune2021-12-061-0/+1
* [ruby/ostruct] Allow properties to be accessed even when the object is moved ...rm1552021-09-281-0/+12
* Partly picked from https://github.com/ruby/ostruct/commit/20d0b8c065392a22ba6...Hiroshi SHIBATA2021-07-291-2/+2
* [lib/ostruct] Fix YAML testMarc-Andre Lafortune2021-06-141-3/+3
* [lib/ostruct] Allow overriding of `block_given?`Marc-Andre Lafortune2021-06-141-0/+3
* Add fallback block to `OpenStruct#delete_field` (#1409)jfrazx2021-06-141-1/+11
* test/ostruct/test_ostruct.rb: Use YAML.unsafe_load instead of YAML.loadYusuke Endoh2021-05-171-3/+3
* Guard for < Ruby 3.0Hiroshi SHIBATA2021-04-281-1/+1
* Fix method protection for modules in the ancestry chain.Marc-Andre Lafortune2021-01-121-0/+34
* strip trailing spaces [ci skip]Nobuyoshi Nakada2021-01-061-1/+1
* [ruby/ostruct] Allow ostruct to return a value on super (#4028)Adam Hess2021-01-051-0/+8
* [ruby/ostruct] Add Ractor testMarc-Andre Lafortune2020-12-191-12/+11
* [lib/ostruct] Fix Marshal loadingMarc-Andre Lafortune2020-10-061-0/+6
* stop Ractor test in test-allKoichi Sasada2020-10-011-0/+3
* [ruby/ostruct] Improved YAML serialization.Marc-Andre Lafortune2020-09-301-0/+21
* [ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareableMarc-Andre Lafortune2020-09-301-0/+11
* [ruby/ostruct] Protect subclass' methods and our bang methods.Marc-Andre Lafortune2020-09-301-1/+23
* [ruby/ostruct] Avoid calling initializeMarc-Andre Lafortune2020-09-301-0/+9
* test/ostruct/test_ostruct.rb: Prevent "method redefined; discarding old foo"Yusuke Endoh2020-09-241-0/+3
* Fix typos [ci skip]Kazuhiro NISHIYAMA2020-09-171-2/+2
* [ruby/ostruct] Avoid self calling our public methods.Marc-Andre Lafortune2020-09-141-0/+18
* [ruby/ostruct] Reinstate recent changesMarc-Andre Lafortune2020-09-141-0/+16
* [ruby/ostruct] Revert recent changesMarc-Andre Lafortune2020-09-141-16/+0
* [ruby/ostruct] Add access to public instance methods in case they are overridenMarc-Andre Lafortune2020-09-141-0/+5
* [ruby/ostruct] Allow overriding public methodsMarc-Andre Lafortune2020-09-141-0/+6
* [ruby/ostruct] Add really basic test that was missingMarc-Andre Lafortune2020-09-141-0/+5
* [ruby/ostruct] Revert "ostruct.rb: deferred accessors"Marc-Andre Lafortune2020-09-141-1/+6
* lib/ostruct.rb: Revert "To use RuntimeError instead of FrozenError for old ru...Marc-Andre Lafortune2020-09-041-4/+3
* Prefer dedicated assertion methodNobuyoshi Nakada2020-02-251-1/+1
* ostruct.rb: Accept block for to_h [#15451].marcandre2018-12-221-0/+7
* Support old versions of Ruby with FrozenError.hsbt2018-08-071-3/+4
* lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.marcandre2018-02-061-3/+3
* test/ostruct: Specify frozen_string_literal: true.kazu2017-10-251-1/+1
* lib/ostruct.rb: Use frozen literals.marcandre2017-10-241-0/+2
* ostruct.rb: refine visibility failure messagenobu2017-03-281-0/+24
* ostruct.rb: fix OpenStruct.allocatenobu2017-03-241-0/+9
* lib/ostruct.rb: Fix returned value of each_pair.marcandre2017-02-031-0/+1
* test_ostruct.rb: sort method namesnobu2016-01-041-1/+1
* * lib/ostruct.rb: Fix case of frozen object with initializer.marcandre2016-01-011-1/+2
* * lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinitionmarcandre2015-12-311-0/+17
* ostruct.rb: respond_to?nobu2015-12-291-0/+4
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a symbolmarcandre2015-12-121-1/+1
* OpenStruct#dignobu2015-11-171-0/+11
* * test/ostruct/test_ostruct.rb: Add tests for OpenStruct#respond_to.eregon2015-10-141-0/+13
* Revert GH-808nobu2015-01-081-6/+0
* ostruct.rb: append suffixes to protected methodsnobu2015-01-051-0/+6
* Suppress warnings: ambiguous first argument; put parentheses or even spacesnaruse2013-11-061-2/+2