<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/hashie.git, branch v4.1.0</title>
<subtitle>github.com: intridea/hashie
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/'/>
<entry>
<title>Preparing for release, 4.1.0</title>
<updated>2020-02-01T14:31:56+00:00</updated>
<author>
<name>Bobby McDonald</name>
<email>bobbymcwho@gmail.com</email>
</author>
<published>2020-02-01T14:20:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=bc2453260ce46dc3aea657e91732bc3f66cf3514'/>
<id>bc2453260ce46dc3aea657e91732bc3f66cf3514</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #513 from koic/suppress_ruby_warning_for_ruby_2_6</title>
<updated>2020-01-20T20:29:53+00:00</updated>
<author>
<name>Daniel Doubrovkine (dB.) @dblockdotorg</name>
<email>dblock@dblock.org</email>
</author>
<published>2020-01-20T20:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=505f0fed34fb9be70697a31787a238e297fbc3c7'/>
<id>505f0fed34fb9be70697a31787a238e297fbc3c7</id>
<content type='text'>
Suppress a Ruby's warning when using Ruby 2.6.0+</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suppress a Ruby's warning when using Ruby 2.6.0+</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress a Ruby's warning when using Ruby 2.6.0+</title>
<updated>2020-01-17T15:58:17+00:00</updated>
<author>
<name>Koichi ITO</name>
<email>koic.ito@gmail.com</email>
</author>
<published>2020-01-17T15:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=0dde4b4e3055ca918651f974b055e2cf7447fdba'/>
<id>0dde4b4e3055ca918651f974b055e2cf7447fdba</id>
<content type='text'>
This PR suppresses the following warning that `deep_merge` method and
`deep_update` method are defined twice when using Ruby 2.6.0+.

```console
% bundle exec rake
(snip)

/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:226: warning:
method redefined; discarding old deep_merge
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:212: warning:
previous definition of deep_merge was here
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:232: warning:
method redefined; discarding old deep_update
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:218: warning:
previous definition of deep_update was here
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR suppresses the following warning that `deep_merge` method and
`deep_update` method are defined twice when using Ruby 2.6.0+.

```console
% bundle exec rake
(snip)

/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:226: warning:
method redefined; discarding old deep_merge
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:212: warning:
previous definition of deep_merge was here
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:232: warning:
method redefined; discarding old deep_update
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:218: warning:
previous definition of deep_update was here
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #512 from koic/suppress_integer_unification_warning_for_ruby_2_4_0</title>
<updated>2020-01-16T14:08:10+00:00</updated>
<author>
<name>Daniel Doubrovkine (dB.) @dblockdotorg</name>
<email>dblock@dblock.org</email>
</author>
<published>2020-01-16T14:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=7fa93b19a098f90019fbe336ffcae4c3dbe4f54f'/>
<id>7fa93b19a098f90019fbe336ffcae4c3dbe4f54f</id>
<content type='text'>
Suppress an integer unification warning for Ruby 2.4.0+</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suppress an integer unification warning for Ruby 2.4.0+</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress an integer unification warning for Ruby 2.4.0+</title>
<updated>2020-01-16T01:58:05+00:00</updated>
<author>
<name>Koichi ITO</name>
<email>koic.ito@gmail.com</email>
</author>
<published>2020-01-15T04:12:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=4d3d06268068b3832dcf1e384ce6f95f1a759248'/>
<id>4d3d06268068b3832dcf1e384ce6f95f1a759248</id>
<content type='text'>
This PR suppresss the following integer unification warning
for Ruby 2.4.0+

```console
% ruby -v
ruby 2.4.9p362 (2019-10-02 revision 67824) [x86_64-darwin17]
% bundle exec rspec spec/hashie/extensions/deep_merge_spec.rb

Hashie::Extensions::DeepMerge
/Users/koic/src/github.com/hahie/hashie/lib/hashie/utils.rb:38: warning:
constant ::Fixnum is deprecated
/Users/koic/src/github.com/hahie/hashie/lib/hashie/utils.rb:38: warning:
constant ::Bignum is deprecated
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR suppresss the following integer unification warning
for Ruby 2.4.0+

```console
% ruby -v
ruby 2.4.9p362 (2019-10-02 revision 67824) [x86_64-darwin17]
% bundle exec rspec spec/hashie/extensions/deep_merge_spec.rb

Hashie::Extensions::DeepMerge
/Users/koic/src/github.com/hahie/hashie/lib/hashie/utils.rb:38: warning:
constant ::Fixnum is deprecated
/Users/koic/src/github.com/hahie/hashie/lib/hashie/utils.rb:38: warning:
constant ::Bignum is deprecated
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #511 from koic/suppress_kwargs_warning_for_ruby_2_7_0</title>
<updated>2020-01-15T20:58:43+00:00</updated>
<author>
<name>Daniel Doubrovkine (dB.) @dblockdotorg</name>
<email>dblock@dblock.org</email>
</author>
<published>2020-01-15T20:58:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=ac155745825af0fbb1b46c38f1d2f903e6e04fb1'/>
<id>ac155745825af0fbb1b46c38f1d2f903e6e04fb1</id>
<content type='text'>
Suppress keyword arguments warning for Ruby 2.7.0</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suppress keyword arguments warning for Ruby 2.7.0</pre>
</div>
</content>
</entry>
<entry>
<title>Don't warn when setting most affixed keys (#500)</title>
<updated>2020-01-15T19:17:27+00:00</updated>
<author>
<name>Michael Herold</name>
<email>opensource@michaeljherold.com</email>
</author>
<published>2020-01-15T19:17:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=eb69c58b627379568d0c7dfc73eead42c5f1f140'/>
<id>eb69c58b627379568d0c7dfc73eead42c5f1f140</id>
<content type='text'>
Due to how we have implemented the bang/underbang/query behavior within
Mash, setting keys that have those affixes in them actually allow
overwriting the behavior of those affixes. As such, we shouldn't warn
when setting a key that matches those patterns.

When it comes to setter-like keys, I believe we still _do_ want to warn
for two reasons:

1. Trying to access the key via method access is a syntax error. Ruby
   expects any method ending in `=` to be a 2+-arity method due to the
   infix notation of setter methods. This is unexpected behavior unless
   you're very familiar with Ruby parsing.
2. You can still retrieve the key via the normal `Hash#[]` reader, but
   it prevents setting a similar key without the equal sign. You can see
   this in the test about setters. I'd say that is unexpected and
   surprising behavior.

Because of these two gotchas, I think we should still warn in cases
where you try to set a key that looks like a setter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to how we have implemented the bang/underbang/query behavior within
Mash, setting keys that have those affixes in them actually allow
overwriting the behavior of those affixes. As such, we shouldn't warn
when setting a key that matches those patterns.

When it comes to setter-like keys, I believe we still _do_ want to warn
for two reasons:

1. Trying to access the key via method access is a syntax error. Ruby
   expects any method ending in `=` to be a 2+-arity method due to the
   infix notation of setter methods. This is unexpected behavior unless
   you're very familiar with Ruby parsing.
2. You can still retrieve the key via the normal `Hash#[]` reader, but
   it prevents setting a similar key without the equal sign. You can see
   this in the test about setters. I'd say that is unexpected and
   surprising behavior.

Because of these two gotchas, I think we should still warn in cases
where you try to set a key that looks like a setter.</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress keyword arguments warning for Ruby 2.7.0</title>
<updated>2020-01-15T03:53:57+00:00</updated>
<author>
<name>Koichi ITO</name>
<email>koic.ito@gmail.com</email>
</author>
<published>2020-01-15T03:42:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=570409727e6ce02db3ad39579c49dcc73769ebc2'/>
<id>570409727e6ce02db3ad39579c49dcc73769ebc2</id>
<content type='text'>
This PR suppresses the following keyword arguments warning for Ruby 2.7.0.

```console
% bundle exec rspec spec/hashie/extensions/mash/symbolize_keys_spec.rb
(snip)

/Users/koic/src/github.com/hahie/hashie/spec/hashie/extensions/mash/symbolize_keys_spec.rb:29:
warning: Using the last argument as keyword parameters is
deprecated; maybe ** should be added to the call
/Users/koic/src/github.com/hahie/hashie/spec/hashie/extensions/mash/symbolize_keys_spec.rb:21:
warning: The called method `call' is defined here
```

For Ruby 2.8.0-dev (Ruby 3.0) the warning will be `ArgumentError`.
ruby/ruby#2794
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR suppresses the following keyword arguments warning for Ruby 2.7.0.

```console
% bundle exec rspec spec/hashie/extensions/mash/symbolize_keys_spec.rb
(snip)

/Users/koic/src/github.com/hahie/hashie/spec/hashie/extensions/mash/symbolize_keys_spec.rb:29:
warning: Using the last argument as keyword parameters is
deprecated; maybe ** should be added to the call
/Users/koic/src/github.com/hahie/hashie/spec/hashie/extensions/mash/symbolize_keys_spec.rb:21:
warning: The called method `call' is defined here
```

For Ruby 2.8.0-dev (Ruby 3.0) the warning will be `ArgumentError`.
ruby/ruby#2794
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix except use in Mash#load (#508)</title>
<updated>2020-01-14T13:50:43+00:00</updated>
<author>
<name>Bobby McDonald</name>
<email>BobbyMcWho@users.noreply.github.com</email>
</author>
<published>2020-01-14T13:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=25fe2f747ee06e563808e08493ec7a471cc82b26'/>
<id>25fe2f747ee06e563808e08493ec7a471cc82b26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #510 from BobbyMcWho/fix-compact-definition</title>
<updated>2020-01-13T21:22:07+00:00</updated>
<author>
<name>Bobby McDonald</name>
<email>BobbyMcWho@users.noreply.github.com</email>
</author>
<published>2020-01-13T21:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/hashie.git/commit/?id=d2071d82a2ceb2513bc0ff9c827ab3bc2a80b072'/>
<id>d2071d82a2ceb2513bc0ff9c827ab3bc2a80b072</id>
<content type='text'>
Only define compact on ruby &gt;= 2.4</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only define compact on ruby &gt;= 2.4</pre>
</div>
</content>
</entry>
</feed>
