nice_hash 1.18.3 → 1.18.4
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/lib/nice/hash/add_to_ruby.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35aa5c31a19f5080af41e4b842f7bd41bc26f660259c9c0e3e066efabea49aa3
|
|
4
|
+
data.tar.gz: 4ab21f3761514b9ab5a79d49c553ac297be1970ffdd8392c633c6e7b0bc5ac3b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc215c07e819c008f2fecb82c6bdc1b26dd86b48dc542c56bc87936aeab80a64df6def0850835f5c249912867cbc78d2ea8d573f42963ad8866f69e182ef9dce
|
|
7
|
+
data.tar.gz: f238daa2302fd029c03a421fb092ebba6ec4dea0ccd9f0b2c0d66707039dc88861f0d33d5079826df2abd1827ff04a58922922fe207a51e5a369a471f3e3a301
|
|
@@ -109,6 +109,14 @@ class Array
|
|
|
109
109
|
NiceHash.nice_filter(self, keys)
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
###########################################################################
|
|
113
|
+
# returns a clean copy
|
|
114
|
+
###########################################################################
|
|
115
|
+
def deep_copy
|
|
116
|
+
NiceHash.deep_clone(self)
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
alias nice_copy deep_copy
|
|
112
120
|
end
|
|
113
121
|
|
|
114
122
|
require "date"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nice_hash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.18.
|
|
4
|
+
version: 1.18.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mario Ruiz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: string_pattern
|