hashie 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +213 -187
- data/CONTRIBUTING.md +13 -6
- data/README.md +33 -9
- data/UPGRADING.md +5 -5
- data/hashie.gemspec +11 -6
- data/lib/hashie.rb +1 -0
- data/lib/hashie/extensions/dash/property_translation.rb +1 -1
- data/lib/hashie/extensions/deep_merge.rb +18 -1
- data/lib/hashie/extensions/mash/permissive_respond_to.rb +61 -0
- data/lib/hashie/extensions/parsers/yaml_erb_parser.rb +19 -2
- data/lib/hashie/extensions/ruby_version_check.rb +5 -1
- data/lib/hashie/mash.rb +31 -26
- data/lib/hashie/utils.rb +28 -0
- data/lib/hashie/version.rb +1 -1
- metadata +16 -131
- data/spec/hashie/array_spec.rb +0 -29
- data/spec/hashie/clash_spec.rb +0 -70
- data/spec/hashie/dash_spec.rb +0 -608
- data/spec/hashie/extensions/autoload_spec.rb +0 -24
- data/spec/hashie/extensions/coercion_spec.rb +0 -648
- data/spec/hashie/extensions/dash/coercion_spec.rb +0 -13
- data/spec/hashie/extensions/dash/indifferent_access_spec.rb +0 -84
- data/spec/hashie/extensions/deep_fetch_spec.rb +0 -97
- data/spec/hashie/extensions/deep_find_spec.rb +0 -144
- data/spec/hashie/extensions/deep_locate_spec.rb +0 -138
- data/spec/hashie/extensions/deep_merge_spec.rb +0 -74
- data/spec/hashie/extensions/ignore_undeclared_spec.rb +0 -48
- data/spec/hashie/extensions/indifferent_access_spec.rb +0 -295
- data/spec/hashie/extensions/indifferent_access_with_rails_hwia_spec.rb +0 -208
- data/spec/hashie/extensions/key_conversion_spec.rb +0 -12
- data/spec/hashie/extensions/mash/define_accessors_spec.rb +0 -90
- data/spec/hashie/extensions/mash/keep_original_keys_spec.rb +0 -46
- data/spec/hashie/extensions/mash/safe_assignment_spec.rb +0 -50
- data/spec/hashie/extensions/mash/symbolize_keys_spec.rb +0 -39
- data/spec/hashie/extensions/merge_initializer_spec.rb +0 -23
- data/spec/hashie/extensions/method_access_spec.rb +0 -233
- data/spec/hashie/extensions/strict_key_access_spec.rb +0 -109
- data/spec/hashie/extensions/stringify_keys_spec.rb +0 -124
- data/spec/hashie/extensions/symbolize_keys_spec.rb +0 -131
- data/spec/hashie/hash_spec.rb +0 -123
- data/spec/hashie/mash_spec.rb +0 -1077
- data/spec/hashie/parsers/yaml_erb_parser_spec.rb +0 -46
- data/spec/hashie/rash_spec.rb +0 -83
- data/spec/hashie/trash_spec.rb +0 -334
- data/spec/hashie/utils_spec.rb +0 -25
- data/spec/hashie/version_spec.rb +0 -7
- data/spec/hashie_spec.rb +0 -13
- data/spec/integration/elasticsearch/integration_spec.rb +0 -41
- data/spec/integration/omniauth-oauth2/app.rb +0 -52
- data/spec/integration/omniauth-oauth2/integration_spec.rb +0 -26
- data/spec/integration/omniauth-oauth2/some_site.rb +0 -38
- data/spec/integration/omniauth/app.rb +0 -11
- data/spec/integration/omniauth/integration_spec.rb +0 -38
- data/spec/integration/rails-without-dependency/integration_spec.rb +0 -15
- data/spec/integration/rails/app.rb +0 -40
- data/spec/integration/rails/integration_spec.rb +0 -47
- data/spec/spec_helper.rb +0 -23
- data/spec/support/integration_specs.rb +0 -36
- data/spec/support/logger.rb +0 -24
- data/spec/support/module_context.rb +0 -11
- data/spec/support/ruby_version_check.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97b60a3200a49e6f1e56b3d29978c381b8087bb5eeda134ae6ab2a3924f49001
|
4
|
+
data.tar.gz: 35a74ae35652f8c0f8673995edaae1b4e15850bdcd0141545bd5cee4ada19f40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 428fec8afebba7c475b5e71d56f749dc0477dc1bb15143fa21bfc8b45087ffccd4012dd745b5bbbde690939d1f44f0109383a504f9c44e7f4631dead1263ea44
|
7
|
+
data.tar.gz: 9ef563e80a10babdc0719b4b88004ba3b571441191335baf45d9292478c585cc919d598bfc32c4d246448ce4777f64030de2f968e53388e4166c8562e66d5860
|
data/CHANGELOG.md
CHANGED
@@ -6,423 +6,449 @@ scheme are considered to be bugs.
|
|
6
6
|
|
7
7
|
[semver]: http://semver.org/spec/v2.0.0.html
|
8
8
|
|
9
|
+
## [4.1.0] - 2020-02-01
|
10
|
+
|
11
|
+
[4.1.0]: https://github.com/hashie/hashie/compare/v4.0.0...v4.1.0
|
12
|
+
|
13
|
+
### Added
|
14
|
+
|
15
|
+
* [#499](https://github.com/hashie/hashie/pull/499): Add `Hashie::Extensions::Mash::PermissiveRespondTo` to make specific subclasses of Mash fully respond to messages for use with `SimpleDelegator` - [@michaelherold](https://github.com/michaelherold).
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
|
19
|
+
* [#467](https://github.com/intridea/hashie/pull/467): Fixed `DeepMerge#deep_merge` mutating nested values within the receiver - [@michaelherold](https://github.com/michaelherold).
|
20
|
+
* [#505](https://github.com/hashie/hashie/pull/505): Ensure that `Hashie::Array`s are not deconverted within `Hashie::Mash`es to make `Mash#dig` work properly - [@michaelherold](https://github.com/michaelherold).
|
21
|
+
* [#507](https://github.com/hashie/hashie/pull/507): Suppress `Psych.safe_load` arg warn when using Psych 3.1.0+ - [@koic](https://github.com/koic).
|
22
|
+
* [#508](https://github.com/hashie/hashie/pull/508): Fixed `Mash.load` no longer uses Rails-only `#except` - [@bobbymcwho](https://github.com/bobbymcwho).
|
23
|
+
* [#508](https://github.com/hashie/hashie/pull/508): Fixed `Hashie::Extensions::DeepMerge` `#deep_merge` not correctly dup'ing sub-hashes if active_support hash extensions were not present - [@bobbymcwho](https://github.com/bobbymcwho).
|
24
|
+
* [#500](https://github.com/hashie/hashie/pull/500): Do not warn when setting Mash keys that look like underbang, bang, and query methods - [@michaelherold](https://github.com/michaelherold).
|
25
|
+
* [#510](https://github.com/hashie/hashie/pull/510): Ensure that `Hashie::Mash#compact` is only defined on Ruby version >= 2.4.0 - [@bobbymcwho](https://github.com/bobbymcwho).
|
26
|
+
* [#511](https://github.com/hashie/hashie/pull/511): Suppress keyword arguments warning for Ruby 2.7.0 - [@koic](https://github.com/koic).
|
27
|
+
* [#512](https://github.com/hashie/hashie/pull/512): Suppress an integer unification warning for using Ruby 2.4.0+ - [@koic](https://github.com/koic).
|
28
|
+
* [#513](https://github.com/hashie/hashie/pull/513): Suppress a Ruby's warning when using Ruby 2.6.0+ - [@koic](https://github.com/koic).
|
29
|
+
|
30
|
+
### Miscellaneous
|
31
|
+
|
32
|
+
* [#981](https://github.com/hashie/hashie/pull/981): Exclude tests from the gem release to reduce installation size and improve installation speed - [@michaelherold](https://github.com/michaelherold).
|
33
|
+
* Your contribution here.
|
34
|
+
|
9
35
|
## [4.0.0] - 2019-10-30
|
10
36
|
|
11
|
-
[4.0.0]: https://github.com/
|
37
|
+
[4.0.0]: https://github.com/hashie/hashie/compare/v3.6.0...v4.0.0
|
12
38
|
|
13
39
|
### Added
|
14
40
|
|
15
|
-
* [#323](https://github.com/
|
16
|
-
* [#474](https://github.com/
|
17
|
-
* [#478](https://github.com/
|
18
|
-
* [#481](https://github.com/
|
19
|
-
* [#488](https://github.com/
|
41
|
+
* [#323](https://github.com/hashie/hashie/pull/323): Added `Hashie::Extensions::Mash::DefineAccessors` - [@marshall-lee](https://github.com/marshall-lee).
|
42
|
+
* [#474](https://github.com/hashie/hashie/pull/474): Expose `YAML#safe_load` options in `Mash#load` - [@riouruma](https://github.com/riouruma), [@dblock](https://github.com/dblock).
|
43
|
+
* [#478](https://github.com/hashie/hashie/pull/478): Added optional array parameter to `Hashie::Mash.disable_warnings` - [@bobbymcwho](https://github.com/bobbymcwho).
|
44
|
+
* [#481](https://github.com/hashie/hashie/pull/481): Ruby 2.6 - Support `Hash#merge` and `#merge!` called with multiple Hashes/Mashes - [@bobbymcwho](https://github.com/bobbymcwho).
|
45
|
+
* [#488](https://github.com/hashie/hashie/pull/488): Added ability to create an anonymous `Hashie::Mash` subclass with key conflict errors silenced using `Hashie::Mash.quiet.new` - [@bobbymcwho](https://github.com/bobbymcwho).
|
20
46
|
|
21
47
|
### Changed
|
22
48
|
|
23
|
-
* [#481](https://github.com/
|
49
|
+
* [#481](https://github.com/hashie/hashie/pull/481): Implement non-destructive standard Hash methods - [@bobbymcwho](https://github.com/bobbymcwho).
|
24
50
|
|
25
51
|
### Fixed
|
26
52
|
|
27
|
-
* [#459](https://github.com/
|
28
|
-
* [#465](https://github.com/
|
29
|
-
* [#479](https://github.com/
|
30
|
-
* [#489](https://github.com/
|
53
|
+
* [#459](https://github.com/hashie/hashie/pull/459): Fixed a regression in `Mash.load` that disallowed aliases - [@arekt](https://github.com/arekt) and [@michaelherold](https://github.com/michaelherold).
|
54
|
+
* [#465](https://github.com/hashie/hashie/pull/465): Fixed `deep_update` to call any readers when a key exists - [@laertispappas](https://github.com/laertispappas).
|
55
|
+
* [#479](https://github.com/hashie/hashie/pull/479): Fixed an issue with `Hash#except` not returning a `Mash` in Rails 6 - [@bobbymcwho](https://github.com/bobbymcwho).
|
56
|
+
* [#489](https://github.com/hashie/hashie/pull/489): Updated the documentation to exlain the behavior of `Mash` and keyword arguments - [@Bhacaz](https://github.com/Bhacaz).
|
31
57
|
|
32
58
|
### Miscellaneous
|
33
59
|
|
34
|
-
* [#465](https://github.com/
|
35
|
-
* [#482](https://github.com/
|
60
|
+
* [#465](https://github.com/hashie/hashie/pull/465): Clean up our RuboCop configuration and fix the outstanding line length violations. This involved some minor refactoring on `Hashie::Extensions::Coercion`, `Hashie::Extensions::Dash::IndifferentAccess`, `Hashie::Extensions::DeepLocate`, `Hashie::Extensions::Mash::SafeAssignment`, and `Hashie::Hash`, but none that were detectable via the test suite - [@michaelherold](https://github.com/michaelherold).
|
61
|
+
* [#482](https://github.com/hashie/hashie/pull/482): Update Travis configs to make jruby builds run on trusty dist. - [@BobbyMcWho](https://github.com/BobbyMcWho).
|
36
62
|
|
37
63
|
## [3.6.0] - 2018-08-13
|
38
64
|
|
39
|
-
[3.6.0]: https://github.com/
|
65
|
+
[3.6.0]: https://github.com/hashie/hashie/compare/v3.5.7...v3.6.0
|
40
66
|
|
41
67
|
### Added
|
42
68
|
|
43
|
-
* [#455](https://github.com/
|
69
|
+
* [#455](https://github.com/hashie/hashie/pull/455): Allow overriding methods when passing in a hash - [@lnestor](https://github.com/lnestor).
|
44
70
|
|
45
71
|
### Fixed
|
46
72
|
|
47
|
-
* [#435](https://github.com/
|
48
|
-
* [#436](https://github.com/
|
49
|
-
* [#437](https://github.com/
|
50
|
-
* [#438](https://github.com/
|
51
|
-
* [#457](https://github.com/
|
73
|
+
* [#435](https://github.com/hashie/hashie/pull/435): Mash `default_proc`s are now propagated down to nested sub-Hashes - [@michaelherold](https://github.com/michaelherold).
|
74
|
+
* [#436](https://github.com/hashie/hashie/pull/436): Ensure that `Hashie::Extensions::IndifferentAccess` injects itself after a non-destructive merge - [@michaelherold](https://github.com/michaelherold).
|
75
|
+
* [#437](https://github.com/hashie/hashie/pull/437): Allow codependent properties to be set on Dash - [@michaelherold](https://github.com/michaelherold).
|
76
|
+
* [#438](https://github.com/hashie/hashie/pull/438): Fix: `NameError (uninitialized constant Hashie::Extensions::Parsers::YamlErbParser::Pathname)` in `Hashie::Mash.load` - [@onk](https://github.com/onk).
|
77
|
+
* [#457](https://github.com/hashie/hashie/pull/457): Fix `Trash` to allow it to copy properties from other properties - [@michaelherold](https://github.com/michaelherold).
|
52
78
|
|
53
79
|
### Miscellaneous
|
54
80
|
|
55
|
-
* [#433](https://github.com/
|
56
|
-
* [#434](https://github.com/
|
57
|
-
* [#439](https://github.com/
|
81
|
+
* [#433](https://github.com/hashie/hashie/pull/433): Update Rubocop to the most recent version - [@michaelherold](https://github.com/michaelherold).
|
82
|
+
* [#434](https://github.com/hashie/hashie/pull/434): Add documentation around Mash sub-Hashes - [@michaelherold](https://github.com/michaelherold).
|
83
|
+
* [#439](https://github.com/hashie/hashie/pull/439): Add an integration spec for Elasticsearch - [@michaelherold](https://github.com/michaelherold).
|
58
84
|
|
59
85
|
## [3.5.7] - 2017-12-19
|
60
86
|
|
61
|
-
[3.5.7]: https://github.com/
|
87
|
+
[3.5.7]: https://github.com/hashie/hashie/compare/v3.5.6...v3.5.7
|
62
88
|
|
63
89
|
### Fixed
|
64
90
|
|
65
|
-
[#430](https://github.com/
|
91
|
+
[#430](https://github.com/hashie/hashie/pull/430): Fix Hashie::Rash randomly losing items - [@Antti](https://github.com/Antti)
|
66
92
|
|
67
93
|
### Miscellaneous
|
68
94
|
|
69
|
-
* [#425](https://github.com/
|
95
|
+
* [#425](https://github.com/hashie/hashie/pull/425): Update rubies in CI - [@kachick](https://github.com/kachick).
|
70
96
|
|
71
97
|
## [3.5.6] - 2017-07-12
|
72
98
|
|
73
|
-
[3.5.6]: https://github.com/
|
99
|
+
[3.5.6]: https://github.com/hashie/hashie/compare/v3.5.5...v3.5.6
|
74
100
|
|
75
101
|
### Miscellaneous
|
76
102
|
|
77
|
-
* [#416](https://github.com/
|
103
|
+
* [#416](https://github.com/hashie/hashie/pull/416): Fix `warning: instance variable @disable_warnings not initialized` - [@axfcampos](https://github.com/axfcampos).
|
78
104
|
|
79
105
|
## [3.5.5] - 2017-02-24
|
80
106
|
|
81
|
-
[3.5.5]: https://github.com/
|
107
|
+
[3.5.5]: https://github.com/hashie/hashie/compare/v3.5.4...v3.5.5
|
82
108
|
|
83
109
|
### Added
|
84
110
|
|
85
|
-
* [#326](https://github.com/
|
111
|
+
* [#326](https://github.com/hashie/hashie/pull/326): Added `Hashie::Extensions::Mash::KeepOriginalKeys` to give Mashes the ability to keep the original structure given to it - [@michaelherold](https://github.com/michaelherold).
|
86
112
|
|
87
113
|
### Fixed
|
88
114
|
|
89
|
-
* [#415](https://github.com/
|
115
|
+
* [#415](https://github.com/hashie/hashie/pull/415): Fixed Mash logging keys multiple times which lead to a bad user experience or, in some cases, errors - [@michaelherold](https://github.com/michaelherold).
|
90
116
|
|
91
117
|
## [3.5.4] - 2017-02-22
|
92
118
|
|
93
|
-
[3.5.4]: https://github.com/
|
119
|
+
[3.5.4]: https://github.com/hashie/hashie/compare/v3.5.3...v3.5.4
|
94
120
|
|
95
121
|
### Added
|
96
122
|
|
97
|
-
* [#412](https://github.com/
|
123
|
+
* [#412](https://github.com/hashie/hashie/pull/412): Added a Hashie::Extensions::Mash::SymbolizeKeys extension that overrides the default stringification behavior for keys - [@michaelherold](https://github.com/michaelherold).
|
98
124
|
|
99
125
|
### Fixed
|
100
126
|
|
101
|
-
* [#409](https://github.com/
|
102
|
-
* [#411](https://github.com/
|
127
|
+
* [#409](https://github.com/hashie/hashie/pull/409): Fixed Railtie detection for projects where Rails is defined but Railties are not availble - [@CallumD](https://github.com/callumd).
|
128
|
+
* [#411](https://github.com/hashie/hashie/pull/411): Fixed a performance regression from 3.4.3 that caused a 10x slowdown in OmniAuth - [@michaelherold](https://github.com/michaelherold).
|
103
129
|
|
104
130
|
## [3.5.3] - 2017-02-11
|
105
131
|
|
106
|
-
[3.5.3]: https://github.com/
|
132
|
+
[3.5.3]: https://github.com/hashie/hashie/compare/v3.5.2...v3.5.3
|
107
133
|
|
108
134
|
### Fixed
|
109
135
|
|
110
|
-
* [#402](https://github.com/
|
111
|
-
* [#406](https://github.com/
|
136
|
+
* [#402](https://github.com/hashie/hashie/pull/402): Use a Railtie to set Hashie.logger on rails boot - [@matthewrudy](https://github.com/matthewrudy).
|
137
|
+
* [#406](https://github.com/hashie/hashie/pull/406): Ensure that subclasses that disable warnings propagate that setting to grandchild classes - [@michaelherold](https://github.com/michaelherold).
|
112
138
|
* Your contribution here.
|
113
139
|
|
114
140
|
## [3.5.2] - 2017-02-10
|
115
141
|
|
116
|
-
[3.5.2]: https://github.com/
|
142
|
+
[3.5.2]: https://github.com/hashie/hashie/compare/v3.5.1...v3.5.2
|
117
143
|
|
118
144
|
### Added
|
119
145
|
|
120
|
-
* [#395](https://github.com/
|
121
|
-
* [#400](https://github.com/
|
146
|
+
* [#395](https://github.com/hashie/hashie/pull/395): Add the ability to disable warnings in Mash subclasses - [@michaelherold](https://github.com/michaelherold).
|
147
|
+
* [#400](https://github.com/hashie/hashie/pull/400): Fix Hashie.logger load and set the Hashie logger to the Rails logger in a Rails environment - [@michaelherold](https://github.com/michaelherold).
|
122
148
|
|
123
149
|
### Fixed
|
124
150
|
|
125
|
-
* [#396](https://github.com/
|
126
|
-
* [#399](https://github.com/
|
151
|
+
* [#396](https://github.com/hashie/hashie/pull/396): Fix for specs in #381: Incorrect use of shared context meant example was not being run - [@biinari](https://github.com/biinari).
|
152
|
+
* [#399](https://github.com/hashie/hashie/pull/399): Fix passing Pathname object to Hashie::Mesh.load() - [@albb0920](https://github.com/albb0920).
|
127
153
|
|
128
154
|
### Miscellanous
|
129
155
|
|
130
|
-
* [#397](https://github.com/
|
156
|
+
* [#397](https://github.com/hashie/hashie/pull/397): Add the integration specs harness into the main test tasks - [@michaelherold](https://github.com/michaelherold).
|
131
157
|
|
132
158
|
## [3.5.1] - 2017-01-31
|
133
159
|
|
134
|
-
* [#392](https://github.com/
|
160
|
+
* [#392](https://github.com/hashie/hashie/pull/392): Fix for #391: Require all dependencies of Hashie::Mash - [@dblock](https://github.com/dblock).
|
135
161
|
|
136
|
-
[3.5.1]: https://github.com/
|
162
|
+
[3.5.1]: https://github.com/hashie/hashie/compare/v3.5.0...v3.5.1
|
137
163
|
|
138
164
|
## [3.5.0] - 2017-01-31
|
139
165
|
|
140
|
-
* [#386](https://github.com/
|
141
|
-
* [#389](https://github.com/
|
166
|
+
* [#386](https://github.com/hashie/hashie/pull/386): Fix for #385: Make `deep_merge` always `deep_dup` nested hashes before merging them in so that there are no shared references between the two hashes being merged. - [@mltsy](https://github.com/mltsy).
|
167
|
+
* [#389](https://github.com/hashie/hashie/pull/389): Support Ruby 2.4.0 - [@camelmasa](https://github.com/camelmasa).
|
142
168
|
|
143
|
-
[3.5.0]: https://github.com/
|
169
|
+
[3.5.0]: https://github.com/hashie/hashie/compare/v3.4.6...v3.5.0
|
144
170
|
|
145
171
|
### Added
|
146
172
|
|
147
|
-
* [#381](https://github.com/
|
173
|
+
* [#381](https://github.com/hashie/hashie/pull/381): Add a logging layer that lets us report potential issues to our users. As the first logged issue, report when a `Hashie::Mash` is attempting to overwrite a built-in method, since that is one of our number one questions - [@michaelherold](https://github.com/michaelherold).
|
148
174
|
|
149
175
|
### Changed
|
150
176
|
|
151
|
-
* [#384](https://github.com/
|
177
|
+
* [#384](https://github.com/hashie/hashie/pull/384): Updated to CodeClimate 1.x - [@boffbowsh](https://github.com/boffbowsh).
|
152
178
|
|
153
179
|
### Fixed
|
154
180
|
|
155
|
-
* [#369](https://github.com/
|
156
|
-
* [#376](https://github.com/
|
157
|
-
* [#377](https://github.com/
|
158
|
-
* [#378](https://github.com/
|
159
|
-
* [#380](https://github.com/
|
181
|
+
* [#369](https://github.com/hashie/hashie/pull/369): If a translation for a property exists when using IndifferentAccess and IgnoreUndeclared, use the translation to find the property - [@whitethunder](https://github.com/whitethunder).
|
182
|
+
* [#376](https://github.com/hashie/hashie/pull/376): Leave string index unchanged if it can't be converted to integer for Array#dig - [@sazor](https://github.com/sazor).
|
183
|
+
* [#377](https://github.com/hashie/hashie/pull/377): Dont use Rubygems to check ruby version - [@sazor](https://github.com/sazor).
|
184
|
+
* [#378](https://github.com/hashie/hashie/pull/378): Deep find all searches inside all nested hashes - [@sazor](https://github.com/sazor).
|
185
|
+
* [#380](https://github.com/hashie/hashie/pull/380): Evaluate procs default values of Dash in object initialization - [@sazor](https://github.com/sazor).
|
160
186
|
|
161
187
|
### Miscellanous
|
162
188
|
|
163
|
-
* [#387](https://github.com/
|
189
|
+
* [#387](https://github.com/hashie/hashie/pull/387): Fix builds failing due to Rake 11 having a breaking change - [@michaelherold](https://github.com/michaelherold).
|
164
190
|
|
165
191
|
## [3.4.6] - 2016-09-16
|
166
192
|
|
167
|
-
[3.4.6]: https://github.com/
|
193
|
+
[3.4.6]: https://github.com/hashie/hashie/compare/v3.4.5...v3.4.6
|
168
194
|
|
169
195
|
### Fixed
|
170
196
|
|
171
|
-
* [#368](https://github.com/
|
197
|
+
* [#368](https://github.com/hashie/hashie/pull/368): Since `hashie/mash` can be required alone, require its dependencies - [@jrafanie](https://github.com/jrafanie).
|
172
198
|
|
173
199
|
## [3.4.5] - 2016-09-16
|
174
200
|
|
175
|
-
[3.4.5]: https://github.com/
|
201
|
+
[3.4.5]: https://github.com/hashie/hashie/compare/v3.4.4...v3.4.5
|
176
202
|
|
177
203
|
### Added
|
178
204
|
|
179
|
-
* [#337](https://github.com/
|
205
|
+
* [#337](https://github.com/hashie/hashie/pull/337), [#331](https://github.com/hashie/hashie/issues/331): `Hashie::Mash#load` accepts a `Pathname` object - [@gipcompany](https://github.com/gipcompany).
|
180
206
|
|
181
207
|
### Deprecated
|
182
208
|
|
183
|
-
* [#366](https://github.com/
|
209
|
+
* [#366](https://github.com/hashie/hashie/pull/366): Hashie is no longer tested on Ruby < 2 - [@dblock](https://github.com/dblock).
|
184
210
|
|
185
211
|
### Fixed
|
186
212
|
|
187
|
-
* [#358](https://github.com/
|
188
|
-
* [#365](https://github.com/
|
213
|
+
* [#358](https://github.com/hashie/hashie/pull/358): Fixed support for Array#dig - [@modosc](https://github.com/modosc).
|
214
|
+
* [#365](https://github.com/hashie/hashie/pull/365): Ensured ActiveSupport::HashWithIndifferentAccess is defined before use in #deep_locate - [@mikejarema](https://github.com/mikejarema).
|
189
215
|
|
190
216
|
### Miscellanous
|
191
217
|
|
192
|
-
* [#366](https://github.com/
|
218
|
+
* [#366](https://github.com/hashie/hashie/pull/366): Added Danger, PR linter - [@dblock](https://github.com/dblock).
|
193
219
|
|
194
220
|
## [3.4.4] - 2016-04-29
|
195
221
|
|
196
|
-
[3.4.4]: https://github.com/
|
222
|
+
[3.4.4]: https://github.com/hashie/hashie/compare/v3.4.3...v3.4.4
|
197
223
|
|
198
224
|
### Added
|
199
225
|
|
200
|
-
* [#349](https://github.com/
|
226
|
+
* [#349](https://github.com/hashie/hashie/pull/349): Convert `Hashie::Mash#dig` arguments for Ruby 2.3.0 - [@k0kubun](https://github.com/k0kubun).
|
201
227
|
|
202
228
|
### Fixed
|
203
229
|
|
204
|
-
* [#240](https://github.com/
|
205
|
-
* [#317](https://github.com/
|
206
|
-
* [#319](https://github.com/
|
207
|
-
* [#322](https://github.com/
|
208
|
-
* [#346](https://github.com/
|
209
|
-
* [#350](https://github.com/
|
230
|
+
* [#240](https://github.com/hashie/hashie/pull/240): Fixed nesting twice with Clash keys - [@bartoszkopinski](https://github.com/bartoszkopinski).
|
231
|
+
* [#317](https://github.com/hashie/hashie/pull/317): Ensured `Hashie::Extensions::MethodQuery` methods return boolean values - [@michaelherold](https://github.com/michaelherold).
|
232
|
+
* [#319](https://github.com/hashie/hashie/pull/319): Fixed a regression from 3.4.1 where `Hashie::Extensions::DeepFind` is no longer indifference-aware - [@michaelherold](https://github.com/michaelherold).
|
233
|
+
* [#322](https://github.com/hashie/hashie/pull/322): Fixed `reverse_merge` issue with `Mash` subclasses - [@marshall-lee](https://github.com/marshall-lee).
|
234
|
+
* [#346](https://github.com/hashie/hashie/pull/346): Fixed `merge` breaking indifferent access - [@docwhat](https://github.com/docwhat), [@michaelherold](https://github.com/michaelherold).
|
235
|
+
* [#350](https://github.com/hashie/hashie/pull/350): Fixed from string translations used with `IgnoreUndeclared` - [@marshall-lee](https://github.com/marshall-lee).
|
210
236
|
|
211
237
|
## [3.4.3] - 2015-10-25
|
212
238
|
|
213
|
-
[3.4.3]: https://github.com/
|
239
|
+
[3.4.3]: https://github.com/hashie/hashie/compare/v3.4.2...v3.4.3
|
214
240
|
|
215
241
|
### Added
|
216
242
|
|
217
|
-
* [#306](https://github.com/
|
218
|
-
* [#314](https://github.com/
|
243
|
+
* [#306](https://github.com/hashie/hashie/pull/306): Added `Hashie::Extensions::Dash::Coercion` - [@marshall-lee](https://github.com/marshall-lee).
|
244
|
+
* [#314](https://github.com/hashie/hashie/pull/314): Added a `StrictKeyAccess` extension that will raise an error whenever a key is accessed that does not exist in the hash - [@pboling](https://github.com/pboling).
|
219
245
|
|
220
246
|
### Fixed
|
221
247
|
|
222
|
-
* [#304](https://github.com/
|
223
|
-
* [#310](https://github.com/
|
248
|
+
* [#304](https://github.com/hashie/hashie/pull/304): Ensured compatibility of `Hash` extensions with singleton objects - [@regexident](https://github.com/regexident).
|
249
|
+
* [#310](https://github.com/hashie/hashie/pull/310): Fixed `Hashie::Extensions::SafeAssignment` bug with private methods - [@marshall-lee](https://github.com/marshall-lee).
|
224
250
|
|
225
251
|
### Miscellaneous
|
226
252
|
|
227
|
-
* [#313](https://github.com/
|
228
|
-
* [#315](https://github.com/
|
253
|
+
* [#313](https://github.com/hashie/hashie/pull/313): Restrict pending spec to only Ruby versions 2.2.0-2.2.2 - [@pboling](https://github.com/pboling).
|
254
|
+
* [#315](https://github.com/hashie/hashie/pull/315): Default `bin/` scripts: `console` and `setup` - [@pboling](https://github.com/pboling).
|
229
255
|
|
230
256
|
## [3.4.2] - 2015-06-02
|
231
257
|
|
232
|
-
[3.4.2]: https://github.com/
|
258
|
+
[3.4.2]: https://github.com/hashie/hashie/compare/v3.4.1...v3.4.2
|
233
259
|
|
234
260
|
### Added
|
235
261
|
|
236
|
-
* [#297](https://github.com/
|
262
|
+
* [#297](https://github.com/hashie/hashie/pull/297): Extracted `Trash`'s behavior into a new `Dash::PropertyTranslation` extension - [@michaelherold](https://github.com/michaelherold).
|
237
263
|
|
238
264
|
### Removed
|
239
265
|
|
240
|
-
* [#292](https://github.com/
|
266
|
+
* [#292](https://github.com/hashie/hashie/pull/292): Removed `Mash#id` and `Mash#type` - [@jrochkind](https://github.com/jrochkind).
|
241
267
|
|
242
268
|
## [3.4.1] - 2015-03-31
|
243
269
|
|
244
|
-
[3.4.1]: https://github.com/
|
270
|
+
[3.4.1]: https://github.com/hashie/hashie/compare/v3.4.0...v3.4.1
|
245
271
|
|
246
272
|
### Added
|
247
273
|
|
248
|
-
* [#269](https://github.com/
|
249
|
-
* [#281](https://github.com/
|
274
|
+
* [#269](https://github.com/hashie/hashie/pull/272): Added Hashie::Extensions::DeepLocate - [@msievers](https://github.com/msievers).
|
275
|
+
* [#281](https://github.com/hashie/hashie/pull/281): Added #reverse_merge to Mash to override ActiveSupport's version - [@mgold](https://github.com/mgold).
|
250
276
|
|
251
277
|
### Fixed
|
252
278
|
|
253
|
-
* [#270](https://github.com/
|
254
|
-
* [#282](https://github.com/
|
279
|
+
* [#270](https://github.com/hashie/hashie/pull/277): Fixed ArgumentError raised when using IndifferentAccess and HashWithIndifferentAccess - [@gardenofwine](https://github.com/gardenofwine).
|
280
|
+
* [#282](https://github.com/hashie/hashie/pull/282): Fixed coercions in a subclass accumulating in the superclass - [@maxlinc](https://github.com/maxlinc), [@martinstreicher](https://github.com/martinstreicher).
|
255
281
|
|
256
282
|
## [3.4.0] - 2015-02-02
|
257
283
|
|
258
|
-
[3.4.0]: https://github.com/
|
284
|
+
[3.4.0]: https://github.com/hashie/hashie/compare/v3.3.2...v3.4.0
|
259
285
|
|
260
286
|
### Added
|
261
287
|
|
262
|
-
* [#251](https://github.com/
|
263
|
-
* [#252](https://github.com/
|
264
|
-
* [#254](https://github.com/
|
265
|
-
* [#260](https://github.com/
|
266
|
-
* [#271](https://github.com/
|
288
|
+
* [#251](https://github.com/hashie/hashie/pull/251): Added block support to indifferent access #fetch - [@jgraichen](https://github.com/jgraichen).
|
289
|
+
* [#252](https://github.com/hashie/hashie/pull/252): Added support for conditionally required Hashie::Dash attributes - [@ccashwell](https://github.com/ccashwell).
|
290
|
+
* [#254](https://github.com/hashie/hashie/pull/254): Added public utility methods for stringify and symbolize keys - [@maxlinc](https://github.com/maxlinc).
|
291
|
+
* [#260](https://github.com/hashie/hashie/pull/260): Added block support to Extensions::DeepMerge - [@galathius](https://github.com/galathius).
|
292
|
+
* [#271](https://github.com/hashie/hashie/pull/271): Added ability to define defaults based on current hash - [@gregory](https://github.com/gregory).
|
267
293
|
|
268
294
|
### Changed
|
269
295
|
|
270
|
-
* [#249](https://github.com/
|
271
|
-
* [#264](https://github.com/
|
296
|
+
* [#249](https://github.com/hashie/hashie/pull/249): SafeAssignment will now also protect hash-style assignments - [@jrochkind](https://github.com/jrochkind).
|
297
|
+
* [#264](https://github.com/hashie/hashie/pull/264): Methods such as abc? return true/false with Hashie::Extensions::MethodReader - [@Zloy](https://github.com/Zloy).
|
272
298
|
|
273
299
|
### Fixed
|
274
300
|
|
275
|
-
* [#247](https://github.com/
|
276
|
-
* [#256](https://github.com/
|
277
|
-
* [#259](https://github.com/
|
278
|
-
* [#261](https://github.com/
|
279
|
-
* [#269](https://github.com/
|
301
|
+
* [#247](https://github.com/hashie/hashie/pull/247): Fixed #stringify_keys and #symbolize_keys collision with ActiveSupport - [@bartoszkopinski](https://github.com/bartoszkopinski).
|
302
|
+
* [#256](https://github.com/hashie/hashie/pull/256): Inherited key coercions - [@Erol](https://github.com/Erol).
|
303
|
+
* [#259](https://github.com/hashie/hashie/pull/259): Fixed handling of default proc values in Mash - [@Erol](https://github.com/Erol).
|
304
|
+
* [#261](https://github.com/hashie/hashie/pull/261): Fixed bug where Dash.property modifies argument object - [@d-tw](https://github.com/d-tw).
|
305
|
+
* [#269](https://github.com/hashie/hashie/pull/269): Added #extractable_options? so ActiveSupport Array#extract_options! can extract it - [@ridiculous](https://github.com/ridiculous).
|
280
306
|
|
281
307
|
## [3.3.2] - 2014-11-26
|
282
308
|
|
283
|
-
[3.3.2]: https://github.com/
|
309
|
+
[3.3.2]: https://github.com/hashie/hashie/compare/v3.3.1...v3.3.2
|
284
310
|
|
285
311
|
### Added
|
286
312
|
|
287
|
-
* [#231](https://github.com/
|
288
|
-
* [#233](https://github.com/
|
289
|
-
* [#245](https://github.com/
|
313
|
+
* [#231](https://github.com/hashie/hashie/pull/231): Added support for coercion on class type that inherit from Hash - [@gregory](https://github.com/gregory).
|
314
|
+
* [#233](https://github.com/hashie/hashie/pull/233): Custom error messages for required properties in Hashie::Dash subclasses - [@joss](https://github.com/joss).
|
315
|
+
* [#245](https://github.com/hashie/hashie/pull/245): Added Hashie::Extensions::MethodAccessWithOverride to autoloads - [@Fritzinger](https://github.com/Fritzinger).
|
290
316
|
|
291
317
|
### Fixed
|
292
318
|
|
293
|
-
* [#221](https://github.com/
|
294
|
-
* [#224](https://github.com/
|
295
|
-
* [#228](https://github.com/
|
319
|
+
* [#221](https://github.com/hashie/hashie/pull/221): Reduced amount of allocated objects on calls with suffixes in Hashie::Mash - [@kubum](https://github.com/kubum).
|
320
|
+
* [#224](https://github.com/hashie/hashie/pull/224): Merging Hashie::Mash now correctly only calls the block on duplicate values - [@amysutedja](https://github.com/amysutedja).
|
321
|
+
* [#228](https://github.com/hashie/hashie/pull/228): Made Hashie::Extensions::Parsers::YamlErbParser pass template filename to ERB - [@jperville](https://github.com/jperville).
|
296
322
|
|
297
323
|
## [3.3.1] - 2014-08-26
|
298
324
|
|
299
|
-
[3.3.1]: https://github.com/
|
325
|
+
[3.3.1]: https://github.com/hashie/hashie/compare/v3.3.0...v3.3.1
|
300
326
|
|
301
327
|
### Added
|
302
328
|
|
303
|
-
* [#183](https://github.com/
|
304
|
-
* [#189](https://github.com/
|
305
|
-
* [#204](https://github.com/
|
306
|
-
* [#205](https://github.com/
|
307
|
-
* [#209](https://github.com/
|
329
|
+
* [#183](https://github.com/hashie/hashie/pull/183): Added Mash#load with YAML file support - [@gregory](https://github.com/gregory).
|
330
|
+
* [#189](https://github.com/hashie/hashie/pull/189): Added Rash#fetch - [@medcat](https://github.com/medcat).
|
331
|
+
* [#204](https://github.com/hashie/hashie/pull/204): Added Hashie::Extensions::MethodOverridingWriter and MethodAccessWithOverride - [@michaelherold](https://github.com/michaelherold).
|
332
|
+
* [#205](https://github.com/hashie/hashie/pull/205): Added Hashie::Extensions::Mash::SafeAssignment - [@michaelherold](https://github.com/michaelherold).
|
333
|
+
* [#209](https://github.com/hashie/hashie/pull/209): Added Hashie::Extensions::DeepFind - [@michaelherold](https://github.com/michaelherold).
|
308
334
|
|
309
335
|
### Fixed
|
310
336
|
|
311
|
-
* [#69](https://github.com/
|
312
|
-
* [#195](https://github.com/
|
313
|
-
* [#201](https://github.com/
|
314
|
-
* [#200](https://github.com/
|
315
|
-
* [#206](https://github.com/
|
316
|
-
* [#207](https://github.com/
|
337
|
+
* [#69](https://github.com/hashie/hashie/pull/69): Fixed regression in assigning multiple properties in Hashie::Trash - [@michaelherold](https://github.com/michaelherold), [@einzige](https://github.com/einzige), [@dblock](https://github.com/dblock).
|
338
|
+
* [#195](https://github.com/hashie/hashie/pull/195): Ensured that the same object is returned after injecting IndifferentAccess - [@michaelherold](https://github.com/michaelherold).
|
339
|
+
* [#201](https://github.com/hashie/hashie/pull/201): Hashie::Trash transforms can be inherited - [@fobocaster](https://github.com/fobocaster).
|
340
|
+
* [#200](https://github.com/hashie/hashie/pull/200): Improved coercion: primitives and error handling - [@maxlinc](https://github.com/maxlinc).
|
341
|
+
* [#206](https://github.com/hashie/hashie/pull/206): Fixed stack overflow from repetitively including coercion in subclasses - [@michaelherold](https://github.com/michaelherold).
|
342
|
+
* [#207](https://github.com/hashie/hashie/pull/207): Fixed inheritance of transformations in Trash - [@fobocaster](https://github.com/fobocaster).
|
317
343
|
|
318
344
|
## [3.2.0] - 2014-07-10
|
319
345
|
|
320
|
-
[3.2.0]: https://github.com/
|
346
|
+
[3.2.0]: https://github.com/hashie/hashie/compare/v3.1.0...v3.2.0
|
321
347
|
|
322
348
|
### Added
|
323
349
|
|
324
|
-
* [#177](https://github.com/
|
350
|
+
* [#177](https://github.com/hashie/hashie/pull/177): Added support for coercing enumerables and collections - [@gregory](https://github.com/gregory).
|
325
351
|
|
326
352
|
### Changed
|
327
353
|
|
328
|
-
* [#179](https://github.com/
|
329
|
-
* [#184](https://github.com/
|
354
|
+
* [#179](https://github.com/hashie/hashie/pull/179): Mash#values_at will convert each key before doing the lookup - [@nahiluhmot](https://github.com/nahiluhmot).
|
355
|
+
* [#184](https://github.com/hashie/hashie/pull/184): Allow ranges on Rash to match all Numeric types - [@medcat](https://github.com/medcat).
|
330
356
|
|
331
357
|
### Fixed
|
332
358
|
|
333
|
-
* [#164](https://github.com/
|
334
|
-
* [#187](https://github.com/
|
335
|
-
* [#190](https://github.com/
|
336
|
-
* [#192](https://github.com/
|
359
|
+
* [#164](https://github.com/hashie/hashie/pull/164), [#165](https://github.com/hashie/hashie/pull/165), [#166](https://github.com/hashie/hashie/pull/166): Fixed stack overflow when coercing mashes that contain ActiveSupport::HashWithIndifferentAccess values - [@numinit](https://github.com/numinit), [@kgrz](https://github.com/kgrz).
|
360
|
+
* [#187](https://github.com/hashie/hashie/pull/187): Automatically require version - [@medcat](https://github.com/medcat).
|
361
|
+
* [#190](https://github.com/hashie/hashie/issues/190): Fixed `coerce_key` with `from` Trash feature and Coercion extension - [@gregory](https://github.com/gregory).
|
362
|
+
* [#192](https://github.com/hashie/hashie/pull/192): Fixed StringifyKeys#stringify_keys! to recursively stringify keys of embedded ::Hash types - [@dblock](https://github.com/dblock).
|
337
363
|
|
338
364
|
## [3.1.0] - 2014-06-25
|
339
365
|
|
340
|
-
[3.1.0]: https://github.com/
|
366
|
+
[3.1.0]: https://github.com/hashie/hashie/compare/v3.0.0...v3.1.0
|
341
367
|
|
342
368
|
### Added
|
343
369
|
|
344
|
-
* [#172](https://github.com/
|
370
|
+
* [#172](https://github.com/hashie/hashie/pull/172): Added Dash and Trash#update_attributes! - [@gregory](https://github.com/gregory).
|
345
371
|
|
346
372
|
### Changed
|
347
373
|
|
348
|
-
* [#169](https://github.com/
|
349
|
-
* [#173](https://github.com/
|
374
|
+
* [#169](https://github.com/hashie/hashie/pull/169): Hash#to_hash will also convert nested objects that implement to_hash - [@gregory](https://github.com/gregory).
|
375
|
+
* [#173](https://github.com/hashie/hashie/pull/173): Auto include Dash::IndifferentAccess when IndifferentAccess is included in Dash - [@gregory](https://github.com/gregory).
|
350
376
|
|
351
377
|
### Fixed
|
352
378
|
|
353
|
-
* [#171](https://github.com/
|
354
|
-
* [#174](https://github.com/
|
379
|
+
* [#171](https://github.com/hashie/hashie/pull/171): Include Trash and Dash class name when raising `NoMethodError` - [@gregory](https://github.com/gregory).
|
380
|
+
* [#174](https://github.com/hashie/hashie/pull/174): Fixed `from` and `transform_with` Trash features when IndifferentAccess is included - [@gregory](https://github.com/gregory).
|
355
381
|
|
356
382
|
## [3.0.0] - 2014-06-03
|
357
383
|
|
358
|
-
[3.0.0]: https://github.com/
|
384
|
+
[3.0.0]: https://github.com/hashie/hashie/compare/v2.1.2...v3.0.0
|
359
385
|
|
360
386
|
Note: This version introduces several backward incompatible API changes. See [UPGRADING](UPGRADING.md) for details.
|
361
387
|
|
362
388
|
### Added
|
363
389
|
|
364
|
-
* [#149](https://github.com/
|
390
|
+
* [#149](https://github.com/hashie/hashie/issues/149): Allow IgnoreUndeclared and DeepMerge to be used with undeclared properties - [@jhaesus](https://github.com/jhaesus).
|
365
391
|
|
366
392
|
### Changed
|
367
393
|
|
368
|
-
* [#152](https://github.com/
|
369
|
-
* [#152](https://github.com/
|
394
|
+
* [#152](https://github.com/hashie/hashie/pull/152): Do not convert keys to String in Hashie::Dash and Hashie::Trash, use Hashie::Extensions::Dash::IndifferentAccess to achieve backward compatible behavior - [@dblock](https://github.com/dblock).
|
395
|
+
* [#152](https://github.com/hashie/hashie/pull/152): Do not automatically stringify keys in Hashie::Hash#to_hash, pass `:stringify_keys` to achieve backward compatible behavior - [@dblock](https://github.com/dblock).
|
370
396
|
|
371
397
|
### Fixed
|
372
398
|
|
373
|
-
* [#146](https://github.com/
|
374
|
-
* [#148](https://github.com/
|
375
|
-
* [#159](https://github.com/
|
399
|
+
* [#146](https://github.com/hashie/hashie/issues/146): Mash#respond_to? inconsistent with #method_missing and does not respond to #permitted? - [@dblock](https://github.com/dblock).
|
400
|
+
* [#148](https://github.com/hashie/hashie/pull/148): Consolidated Hashie::Hash#stringify_keys implementation - [@dblock](https://github.com/dblock).
|
401
|
+
* [#159](https://github.com/hashie/hashie/pull/159): Handle nil intermediate object on deep fetch - [@stephenaument](https://github.com/stephenaument).
|
376
402
|
|
377
403
|
## [2.1.2] - 2014-05-12
|
378
404
|
|
379
|
-
[2.1.2]: https://github.com/
|
405
|
+
[2.1.2]: https://github.com/hashie/hashie/compare/v2.1.1...v2.1.2
|
380
406
|
|
381
407
|
### Changed
|
382
408
|
|
383
|
-
* [#169](https://github.com/
|
409
|
+
* [#169](https://github.com/hashie/hashie/pull/169): Hash#to_hash will also convert nested objects that implement `to_hash` - [@gregory](https://github.com/gregory).
|
384
410
|
|
385
411
|
## [2.1.1] - 2014-04-12
|
386
412
|
|
387
|
-
[2.1.1]: https://github.com/
|
413
|
+
[2.1.1]: https://github.com/hashie/hashie/compare/v2.1.0...v2.1.1
|
388
414
|
|
389
415
|
### Fixed
|
390
416
|
|
391
|
-
* [#131](https://github.com/
|
392
|
-
* [#138](https://github.com/
|
393
|
-
* [#144](https://github.com/
|
417
|
+
* [#131](https://github.com/hashie/hashie/pull/131): Added IgnoreUndeclared, an extension to silently ignore undeclared properties at intialization - [@righi](https://github.com/righi).
|
418
|
+
* [#138](https://github.com/hashie/hashie/pull/138): Added Hashie::Rash, a hash whose keys can be regular expressions or ranges - [@epitron](https://github.com/epitron).
|
419
|
+
* [#144](https://github.com/hashie/hashie/issues/144): Fixed regression invoking `to_hash` with no parameters - [@mbleigh](https://github.com/mbleigh).
|
394
420
|
|
395
421
|
## [2.1.0] - 2014-04-06
|
396
422
|
|
397
|
-
[2.1.0]: https://github.com/
|
423
|
+
[2.1.0]: https://github.com/hashie/hashie/compare/v2.0.5...v2.1.0
|
398
424
|
|
399
425
|
### Added
|
400
426
|
|
401
|
-
* [#134](https://github.com/
|
427
|
+
* [#134](https://github.com/hashie/hashie/pull/134): Added deep_fetch extension for nested access - [@tylerdooling](https://github.com/tylerdooling).
|
402
428
|
|
403
429
|
### Changed
|
404
430
|
|
405
|
-
* [#89](https://github.com/
|
431
|
+
* [#89](https://github.com/hashie/hashie/issues/89): Do not respond to every method with suffix in Hashie::Mash, fixes Rails strong_parameters - [@Maxim-Filimonov](https://github.com/Maxim-Filimonov).
|
406
432
|
|
407
433
|
### Removed
|
408
434
|
|
409
435
|
* Removed support for Ruby 1.8.7 - [@dblock](https://github.com/dblock).
|
410
|
-
* [#136](https://github.com/
|
436
|
+
* [#136](https://github.com/hashie/hashie/issues/136): Removed Hashie::Extensions::Structure - [@markiz](https://github.com/markiz).
|
411
437
|
|
412
438
|
### Fixed
|
413
439
|
|
414
|
-
* [#69](https://github.com/
|
415
|
-
* [#99](https://github.com/
|
416
|
-
* [#100](https://github.com/
|
417
|
-
* [#103](https://github.com/
|
418
|
-
* [#107](https://github.com/
|
419
|
-
* [#110](https://github.com/
|
420
|
-
* [#111](https://github.com/
|
421
|
-
* [#113](https://github.com/
|
422
|
-
* [#120](https://github.com/
|
423
|
-
* [#129](https://github.com/
|
424
|
-
* [#130](https://github.com/
|
425
|
-
* [#133](https://github.com/
|
440
|
+
* [#69](https://github.com/hashie/hashie/issues/69): Fixed assigning multiple properties in Hashie::Trash - [@einzige](https://github.com/einzige).
|
441
|
+
* [#99](https://github.com/hashie/hashie/issues/99): Hash#deep_merge raises errors when it encounters integers - [@defsprite](https://github.com/defsprite).
|
442
|
+
* [#100](https://github.com/hashie/hashie/pull/100): IndifferentAccess#store will respect indifference - [@jrochkind](https://github.com/jrochkind).
|
443
|
+
* [#103](https://github.com/hashie/hashie/pull/103): Fixed support for Hashie::Dash properties that end in bang - [@thedavemarshall](https://github.com/thedavemarshall).
|
444
|
+
* [#107](https://github.com/hashie/hashie/pull/107): Fixed excessive value conversions, poor performance of deep merge in Hashie::Mash - [@davemitchell](https://github.com/dblock), [@dblock](https://github.com/dblock).
|
445
|
+
* [#110](https://github.com/hashie/hashie/pull/110): Correctly use Hash#default from Mash#method_missing - [@ryansouza](https://github.com/ryansouza).
|
446
|
+
* [#111](https://github.com/hashie/hashie/issues/111): Trash#translations correctly maps original to translated names - [@artm](https://github.com/artm).
|
447
|
+
* [#113](https://github.com/hashie/hashie/issues/113): Fixed Hash#merge with Hashie::Dash - [@spencer1248](https://github.com/spencer1248).
|
448
|
+
* [#120](https://github.com/hashie/hashie/pull/120): Pass options to recursive to_hash calls - [@pwillett](https://github.com/pwillett).
|
449
|
+
* [#129](https://github.com/hashie/hashie/pull/129): Added Trash#permitted_input_keys and inverse_translations - [@artm](https://github.com/artm).
|
450
|
+
* [#130](https://github.com/hashie/hashie/pull/130): IndifferentAccess now works without MergeInitializer - [@npj](https://github.com/npj).
|
451
|
+
* [#133](https://github.com/hashie/hashie/pull/133): Fixed Hash##to_hash with symbolize_keys - [@mhuggins](https://github.com/mhuggins).
|
426
452
|
|
427
453
|
### Miscellaneous
|
428
454
|
|
@@ -430,48 +456,48 @@ Note: This version introduces several backward incompatible API changes. See [UP
|
|
430
456
|
|
431
457
|
## [2.0.5] - 2013-05-10
|
432
458
|
|
433
|
-
[2.0.5]: https://github.com/
|
459
|
+
[2.0.5]: https://github.com/hashie/hashie/compare/v2.0.4...v2.0.5
|
434
460
|
|
435
461
|
### Fixed
|
436
462
|
|
437
|
-
* [#96](https://github.com/
|
463
|
+
* [#96](https://github.com/hashie/hashie/pull/96): Made coercion work better with non-symbol keys in Hashie::Mash - [@wapcaplet](https://github.com/wapcaplet).
|
438
464
|
|
439
465
|
## [2.0.4] - 2013-04-24
|
440
466
|
|
441
|
-
[2.0.4]: https://github.com/
|
467
|
+
[2.0.4]: https://github.com/hashie/hashie/compare/v2.0.3...v2.0.4
|
442
468
|
|
443
469
|
### Fixed
|
444
470
|
|
445
|
-
* [#94](https://github.com/
|
471
|
+
* [#94](https://github.com/hashie/hashie/pull/94): Made #fetch method consistent with normal Hash - [@markiz](https://github.com/markiz).
|
446
472
|
|
447
473
|
### Miscellaneous
|
448
474
|
|
449
|
-
* [#90](https://github.com/
|
475
|
+
* [#90](https://github.com/hashie/hashie/pull/90): Various doc tweaks - [@craiglittle](https://github.com/craiglittle).
|
450
476
|
|
451
477
|
## [2.0.3] - 2013-03-18
|
452
478
|
|
453
|
-
[2.0.3]: https://github.com/
|
479
|
+
[2.0.3]: https://github.com/hashie/hashie/compare/v2.0.2...v2.0.3
|
454
480
|
|
455
481
|
### Fixed
|
456
482
|
|
457
|
-
* [#68](https://github.com/
|
458
|
-
* [#88](https://github.com/
|
483
|
+
* [#68](https://github.com/hashie/hashie/pull/68): Fixed #replace - [@jimeh](https://github.com/jimeh).
|
484
|
+
* [#88](https://github.com/hashie/hashie/pull/88): Hashie::Mash.new(abc: true).respond_to?(:abc?) works - [@7even](https://github.com/7even).
|
459
485
|
|
460
486
|
## [2.0.2] - 2013-02-26
|
461
487
|
|
462
|
-
[2.0.2]: https://github.com/
|
488
|
+
[2.0.2]: https://github.com/hashie/hashie/compare/v2.0.1...v2.0.2
|
463
489
|
|
464
490
|
### Fixed
|
465
491
|
|
466
|
-
* [#85](https://github.com/
|
492
|
+
* [#85](https://github.com/hashie/hashie/pull/85): Added symbolize_keys back to to_hash - [@cromulus](https://github.com/cromulus).
|
467
493
|
|
468
494
|
## [2.0.1] - 2013-02-26
|
469
495
|
|
470
|
-
[2.0.1]: https://github.com/
|
496
|
+
[2.0.1]: https://github.com/hashie/hashie/compare/v2.0.0...v2.0.1
|
471
497
|
|
472
498
|
### Removed
|
473
499
|
|
474
|
-
* [#81](https://github.com/
|
500
|
+
* [#81](https://github.com/hashie/hashie/pull/81): Removed Mash#object_id override - [@matschaffer](https://github.com/matschaffer).
|
475
501
|
|
476
502
|
### Miscellaneous
|
477
503
|
|
@@ -479,27 +505,27 @@ Note: This version introduces several backward incompatible API changes. See [UP
|
|
479
505
|
|
480
506
|
## [2.0.0] - 2013-02-16
|
481
507
|
|
482
|
-
[2.0.0]: https://github.com/
|
508
|
+
[2.0.0]: https://github.com/hashie/hashie/compare/v1.2.0...v2.0.0
|
483
509
|
|
484
510
|
### Added
|
485
511
|
|
486
|
-
* [#41](https://github.com/
|
487
|
-
* [#78](https://github.com/
|
512
|
+
* [#41](https://github.com/hashie/hashie/pull/41): DeepMerge extension - [@nashby](https://github.com/nashby).
|
513
|
+
* [#78](https://github.com/hashie/hashie/pull/78): Merge and update accepts a block - [@jch](https://github.com/jch).
|
488
514
|
|
489
515
|
### Changed
|
490
516
|
|
491
|
-
* [#28](https://github.com/
|
492
|
-
* [#77](https://github.com/
|
517
|
+
* [#28](https://github.com/hashie/hashie/pull/28): Hashie::Extensions::Coercion coerce_keys takes arguments - [@mattfawcett](https://github.com/mattfawcett).
|
518
|
+
* [#77](https://github.com/hashie/hashie/pull/77): Removed id, type, and object_id as special allowable keys - [@jch](https://github.com/jch).
|
493
519
|
|
494
520
|
### Fixed
|
495
521
|
|
496
|
-
* [#27](https://github.com/
|
497
|
-
* [#39](https://github.com/
|
498
|
-
* [#49](https://github.com/
|
499
|
-
* [#62](https://github.com/
|
500
|
-
* [#63](https://github.com/
|
501
|
-
* [#66](https://github.com/
|
522
|
+
* [#27](https://github.com/hashie/hashie/pull/27): Initialize with merge coerces values - [@mattfawcett](https://github.com/mattfawcett).
|
523
|
+
* [#39](https://github.com/hashie/hashie/pull/39): Trash removes translated values on initialization - [@sleverbor](https://github.com/sleverbor).
|
524
|
+
* [#49](https://github.com/hashie/hashie/pull/49): Hashie::Hash inherits from ::Hash to avoid ambiguity - [@meh](https://github.com/meh), [@orend](https://github.com/orend).
|
525
|
+
* [#62](https://github.com/hashie/hashie/pull/62): Updated respond_to? method signature to match ruby core definition - [@dlupu](https://github.com/dlupu).
|
526
|
+
* [#63](https://github.com/hashie/hashie/pull/63): Dash defaults are dup'ed before assigned - [@ohrite](https://github.com/ohrite).
|
527
|
+
* [#66](https://github.com/hashie/hashie/pull/66): Mash#fetch works with symbol or string keys - [@arthwood](https://github.com/arthwood).
|
502
528
|
|
503
529
|
### Miscellaneous
|
504
530
|
|
505
|
-
* [#72](https://github.com/
|
531
|
+
* [#72](https://github.com/hashie/hashie/pull/72): Updated gemspec with license info - [@jordimassaguerpla](https://github.com/jordimassaguerpla).
|