diff options
author | Peter Goldstein <peter.m.goldstein@gmail.com> | 2023-01-13 13:53:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 13:53:14 -0500 |
commit | 2b3120ad4a6f54990dfec5b10f5769e3714ab1e8 (patch) | |
tree | 0a0bc6c282736648179aaa584e9d4a58271aac89 /spec/hashie/utils_spec.rb | |
parent | 6fabbfd31af5952f363a8dc573bfa2059e41371d (diff) | |
download | hashie-master.tar.gz |
* Adds Ruby 3.2 to the CI matrix
* Use object_id rather than trust, as trust is no longer a method on Object in Ruby 3.2. Condition checked on Psych error based on version of Psych.
* Update danger token
* Add CHANGELOG entry
* Add use of Gem::Version for version comparison
Diffstat (limited to 'spec/hashie/utils_spec.rb')
-rw-r--r-- | spec/hashie/utils_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/hashie/utils_spec.rb b/spec/hashie/utils_spec.rb index 0499aa7..c6be23b 100644 --- a/spec/hashie/utils_spec.rb +++ b/spec/hashie/utils_spec.rb @@ -7,7 +7,7 @@ end RSpec.describe Hashie::Utils do describe '.method_information' do it 'states the module or class that a native method was defined in' do - bound_method = method(:trust) + bound_method = method(:object_id) message = Hashie::Utils.method_information(bound_method) |