Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ruby/ostruct] v0.5.5 | Marc-André Lafortune | 2022-04-01 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/ce879e56cf | ||||
* | [ruby/ostruct] Avoid using block_given in the presence of aliases | Charles Oliver Nutter | 2022-04-01 | 1 | -1/+1 |
| | | | | | | | defined?(yield) bypasses the block_given? method (or any aliases to it) and always does the right thing. https://github.com/ruby/ostruct/commit/4c38fe612e | ||||
* | [ruby/ostruct] v0.5.4 | Marc-André Lafortune | 2022-03-24 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/fe19de4644 | ||||
* | [ruby/ostruct] Avoid aliasing `block_given?` for JRuby [Fixes #40] | Marc-André Lafortune | 2022-03-24 | 1 | -4/+9 |
| | | | | https://github.com/ruby/ostruct/commit/14d04ff694 | ||||
* | [ruby/ostruct] v0.5.3 | Marc-André Lafortune | 2022-03-07 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/322efd0e61 | ||||
* | [ruby/ostruct] Fix class and method as attribute names | Ladislav Gallay | 2022-03-07 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/7258535073 | ||||
* | [ruby/ostruct] Bump version to 0.5.2 | Marc-André Lafortune | 2021-12-08 | 1 | -1/+1 |
| | |||||
* | [ruby/ostruct] `Proc`'s self should be shareable. | Koichi Sasada | 2021-12-08 | 1 | -2/+5 |
| | | | | | | | To fix the issue https://bugs.ruby-lang.org/issues/18243 we need to make sure the Proc's self is shareable. These procs are used by `define_method` and it doesn't use Proc's self, so `nil` is enough. | ||||
* | [ruby/ostruct] ostruct v0.5.1 | Marc-André Lafortune | 2021-12-06 | 1 | -1/+1 |
| | |||||
* | [ruby/ostruct] Alias less methods | Marc-André Lafortune | 2021-12-06 | 1 | -1/+6 |
| | | | | | Skips methods that do not end with letter (in particular `!~` and `=~`) For JRuby, also skip `instance_exec`, `instance_eval` and `eval` | ||||
* | [ruby/ostruct] [DOC] Fix code markups [ci skip] | Nobuyoshi Nakada | 2021-11-28 | 1 | -6/+6 |
| | | | | | | Backquotes are not special characters in RDoc. https://github.com/ruby/ostruct/commit/a901df26b9 | ||||
* | [ruby/ostruct] Bump up ostruct version to 0.5.0 | Hiroshi SHIBATA | 2021-10-21 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/c535a406f8 | ||||
* | [ruby/ostruct] Strip trailing spaces | Nobuyoshi Nakada | 2021-09-28 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/df1109c18f | ||||
* | [ruby/ostruct] Allow properties to be accessed even when the object is moved ↵ | rm155 | 2021-09-28 | 1 | -2/+8 |
| | | | | | | to another Ractor (https://github.com/ruby/ostruct/pull/29) https://github.com/ruby/ostruct/commit/d85639f2f5 | ||||
* | [DOC] Fix broken links [ci skip] | Nobuyoshi Nakada | 2021-09-15 | 1 | -1/+1 |
| | | | | | | * As the "doc/" prefix is specified by the `--page-dir` option, remove from the rdoc references. * Refer to the original .rdoc instead of the converted .html. | ||||
* | [ruby/ostruct] v0.4.0 | Marc-Andre Lafortune | 2021-06-15 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/8534f69e4e | ||||
* | [lib/ostruct] Allow overriding of `block_given?` | Marc-Andre Lafortune | 2021-06-14 | 1 | -3/+4 |
| | |||||
* | [ruby/ostruct] bump up | Nobuyoshi Nakada | 2021-06-14 | 1 | -3/+3 |
| | | | | https://github.com/ruby/ostruct/commit/bb253be3e9 | ||||
* | Add fallback block to `OpenStruct#delete_field` (#1409) | jfrazx | 2021-06-14 | 1 | -2/+9 |
| | |||||
* | [ruby/ostruct] Add compatibility for to_h with block in Ruby 2.5 | Marc-Andre Lafortune | 2021-04-28 | 1 | -5/+15 |
| | | | | https://github.com/ruby/ostruct/commit/da45de5068 | ||||
* | [ruby/ostruct] Compatibility with Ruby 2.5 | Marc-Andre Lafortune | 2021-04-28 | 1 | -1/+1 |
| | | | | https://github.com/ruby/ostruct/commit/ecd9fafdf8 | ||||
* | [ruby/ostruct] Bump version | Marc-Andre Lafortune | 2021-01-13 | 1 | -1/+1 |
| | |||||
* | Fix method protection for modules in the ancestry chain. | Marc-Andre Lafortune | 2021-01-12 | 1 | -1/+9 |
| | | | | [Fixes ruby/ostruct#23] | ||||
* | [ruby/ostruct] Bump version | Marc-Andre Lafortune | 2021-01-05 | 1 | -1/+1 |
| | |||||
* | [ruby/ostruct] Allow ostruct to return a value on super (#4028) | Adam Hess | 2021-01-05 | 1 | -0/+1 |
| | | | | | This fixes cases where you can super in something that inherits from OpenStruct Co-authored-by: John Hawthorn <john@hawthorn.email> | ||||
* | [ruby/ostruct] Update version | Marc-Andre Lafortune | 2020-11-04 | 1 | -1/+1 |
| | |||||
* | [ruby/ostruct] Restore `ostruct` doc | Marc-Andre Lafortune | 2020-11-04 | 1 | -3/+3 |
| | |||||
* | Revert "Make `marshal_load` public" | Marc-Andre Lafortune | 2020-11-04 | 1 | -1/+0 |
| | | | | | | This reverts commit ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf. I'm not sure I agree with the spec, but I just tweaked it. | ||||
* | Separate `send` into `public_send` and `__send__` | Nobuyoshi Nakada | 2020-10-27 | 1 | -3/+3 |
| | |||||
* | Make `marshal_load` public | Aaron Patterson | 2020-10-06 | 1 | -0/+1 |
| | | | | Ruby specs expected this method to be public | ||||
* | [lib/ostruct] Fix Marshal loading | Marc-Andre Lafortune | 2020-10-06 | 1 | -4/+1 |
| | |||||
* | [ruby/ostruct] Tweak doc | Marc-Andre Lafortune | 2020-09-30 | 1 | -9/+9 |
| | |||||
* | [ruby/ostruct] Remove unused condition | Marc-Andre Lafortune | 2020-09-30 | 1 | -2/+0 |
| | |||||
* | [ruby/ostruct] Improved YAML serialization. | Marc-Andre Lafortune | 2020-09-30 | 1 | -0/+27 |
| | | | | Patch adapted from Pietro Monteiro [Fixes bug#8382] | ||||
* | [ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareable | Marc-Andre Lafortune | 2020-09-30 | 1 | -0/+2 |
| | |||||
* | [ruby/ostruct] Protect subclass' methods and our bang methods. | Marc-Andre Lafortune | 2020-09-30 | 1 | -17/+33 |
| | | | | Internally, use only bang methods | ||||
* | [ruby/ostruct] Avoid calling initialize | Marc-Andre Lafortune | 2020-09-30 | 1 | -5/+11 |
| | |||||
* | [ruby/ostruct] Fix dup/clone | Marc-Andre Lafortune | 2020-09-14 | 1 | -3/+7 |
| | |||||
* | [ruby/ostruct] method_missing is private | Marc-Andre Lafortune | 2020-09-14 | 1 | -1/+1 |
| | |||||
* | [ruby/ostruct] Avoid self calling our public methods. | Marc-Andre Lafortune | 2020-09-14 | 1 | -2/+4 |
| | | | | | Found because `json` has a bad example in its test suite. This implementation still offers better encapsulation. | ||||
* | [ruby/ostruct] Reinstate recent changes | Marc-Andre Lafortune | 2020-09-14 | 1 | -28/+48 |
| | | | | This reverts commit 28e60b0045b5732bca11012d81a5223001faa6b2. | ||||
* | [ruby/ostruct] Revert recent changes | Marc-Andre Lafortune | 2020-09-14 | 1 | -48/+28 |
| | | | | This reverts commit e026e186f4..12a2e32d43. | ||||
* | [ruby/ostruct] Add access to public instance methods in case they are overriden | Marc-Andre Lafortune | 2020-09-14 | 1 | -2/+32 |
| | |||||
* | [ruby/ostruct] Tweak doc | Marc-Andre Lafortune | 2020-09-14 | 1 | -1/+2 |
| | |||||
* | [ruby/ostruct] Allow overriding public methods | Marc-Andre Lafortune | 2020-09-14 | 1 | -3/+3 |
| | | | | [Fixes https://bugs.ruby-lang.org/issues/15409] | ||||
* | [ruby/ostruct] Refactor handling of frozen OpenStruct. Simplify ↵ | Marc-Andre Lafortune | 2020-09-14 | 1 | -22/+11 |
| | | | | `new_ostruct_member!` | ||||
* | [ruby/ostruct] Revert "ostruct.rb: deferred accessors" | Marc-Andre Lafortune | 2020-09-14 | 1 | -16/+5 |
| | | | | | | | | | | | | This reverts commits: dc38e99813 22c082fcfd b499e0f9ff 58e5876646 Add test for overriden private methods [Fixes https://bugs.ruby-lang.org/issues/12136] | ||||
* | lib/ostruct.rb: Revert "To use RuntimeError instead of FrozenError for old ↵ | Marc-Andre Lafortune | 2020-09-04 | 1 | -2/+1 |
| | | | | | | ruby versions." This reverts commit 4cd1fc8b3559353069860eee90b1b5bade013917. | ||||
* | Fix links to Dig Methods document (#3421) | Burdette Lamar | 2020-08-14 | 1 | -1/+1 |
| | | | | | * Fix links to Dig Methods document * Fix links to Dig Methods document | ||||
* | Adding doc/dig_methods.rdoc and links to it (#3416) | Burdette Lamar | 2020-08-13 | 1 | -14/+8 |
| | | | | | | | Adds a full discussion of #dig, along with links from Array, Hash, Struct, and OpenStruct. CSV::Table and CSV::Row are over in ruby/csv. I'll get to them soon. The art to the thing is to figure out how much (or how little) to say at each #dig. |