everythingrb 0.6.0 → 0.6.1
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 +9 -1
- data/lib/everythingrb/hash.rb +4 -2
- data/lib/everythingrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b9e75a4ff5bce17b493a5bc4daf5aa10a75f27595357ec95b70aa3932c1efc5
|
4
|
+
data.tar.gz: 46da82100d5790428215588491af3ad0812fc522909b332de6c0dd51151c9673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1de280d38a6f4fe14c5b59dbe8f7273150e809644da8c5d249c6ae5633f8a8584a065c926b341f8a5d7f41c1696d6f6db69a90a9ea13fda892fd0a9456ca09f
|
7
|
+
data.tar.gz: 1ad2e6dce38aab4fe6d96b5cb6447635ccdea4f65d43cf353f66d5f654c42818a063ac902532e19a9550a6e8374325bb3654f98b14d957bcbfbb1a2335382792
|
data/CHANGELOG.md
CHANGED
@@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
15
15
|
### Removed
|
16
16
|
-->
|
17
17
|
|
18
|
+
## [0.6.1] - 12025-04-26
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
|
22
|
+
- Fixed invalid use of `private` in `Hash` when ActiveSupport is enabled. This unintentionally caused other public methods to be private
|
23
|
+
|
18
24
|
## [0.6.0] - 12025-04-26
|
19
25
|
|
20
26
|
### BREAKING CHANGES:
|
@@ -215,7 +221,9 @@ This change aligns our method signatures with Ruby's conventions and matches our
|
|
215
221
|
|
216
222
|
- Added alias `each` to `each_pair` in OpenStruct for better enumerable compatibility
|
217
223
|
|
218
|
-
[unreleased]: https://github.com/itsthedevman/everythingrb/compare/v0.
|
224
|
+
[unreleased]: https://github.com/itsthedevman/everythingrb/compare/v0.6.1...HEAD
|
225
|
+
[0.6.1]: https://github.com/itsthedevman/everythingrb/compare/v0.6.0...v0.6.1
|
226
|
+
[0.6.0]: https://github.com/itsthedevman/everythingrb/compare/v0.5.0...v0.6.0
|
219
227
|
[0.5.0]: https://github.com/itsthedevman/everythingrb/compare/v0.4.0...v0.5.0
|
220
228
|
[0.4.0]: https://github.com/itsthedevman/everythingrb/compare/v0.3.1...v0.4.0
|
221
229
|
[0.3.1]: https://github.com/itsthedevman/everythingrb/compare/v0.3.0...v0.3.1
|
data/lib/everythingrb/hash.rb
CHANGED
@@ -412,8 +412,6 @@ class Hash
|
|
412
412
|
end
|
413
413
|
end
|
414
414
|
|
415
|
-
private
|
416
|
-
|
417
415
|
# https://github.com/rails/rails/blob/main/activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb#L25
|
418
416
|
def _deep_transform_values_with_key(object, key, &block)
|
419
417
|
case object
|
@@ -430,6 +428,8 @@ class Hash
|
|
430
428
|
end
|
431
429
|
end
|
432
430
|
|
431
|
+
private :_deep_transform_values_with_key
|
432
|
+
|
433
433
|
# https://github.com/rails/rails/blob/main/activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb#L36
|
434
434
|
def _deep_transform_values_with_key!(object, key, &block)
|
435
435
|
case object
|
@@ -445,6 +445,8 @@ class Hash
|
|
445
445
|
block.call(object, key)
|
446
446
|
end
|
447
447
|
end
|
448
|
+
|
449
|
+
private :_deep_transform_values_with_key!
|
448
450
|
end
|
449
451
|
|
450
452
|
#
|
data/lib/everythingrb/version.rb
CHANGED