diff options
author | Michael Herold <michael.j.herold@gmail.com> | 2018-02-04 16:39:20 -0600 |
---|---|---|
committer | Michael Herold <michael.j.herold@gmail.com> | 2018-02-05 10:58:26 -0600 |
commit | a82c594710e1bc9460d3de4d2989cb700f4c3c7f (patch) | |
tree | b465064e4dc1223e3148f4c5e99a0edc44dc2d76 /.rubocop_todo.yml | |
parent | a9d0e0ac7b6b3362480a9004d04ad7aa167fc193 (diff) | |
download | hashie-a82c594710e1bc9460d3de4d2989cb700f4c3c7f.tar.gz |
Ensure IndifferentAccess is injected after merge
During non-destructive merges (i.e. `#merge`), the `IndifferentAccess` mixin was
failing to inject itself into the resulting Hash. This caused a `NoMethodError`
to be thrown when attempting to perform the action.
Now, we properly inject the mixin when necessary so the `#merge` method works.
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b47a9fa..8bffa50 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2017-02-24 07:11:40 -0600 using RuboCop version 0.34.2. +# on 2018-02-04 16:33:11 -0600 using RuboCop version 0.34.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -34,6 +34,11 @@ Metrics/LineLength: Metrics/MethodLength: Max: 28 +# Offense count: 1 +# Configuration parameters: CountComments. +Metrics/ModuleLength: + Max: 102 + # Offense count: 6 Metrics/PerceivedComplexity: Max: 10 @@ -48,7 +53,7 @@ Style/CaseEquality: Style/Documentation: Enabled: false -# Offense count: 11 +# Offense count: 10 Style/DoubleNegation: Exclude: - 'lib/hashie/dash.rb' |