aromat 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/aromat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd9b278b654eef1cc2d123d7b4e1b0a74ecc896d
|
4
|
+
data.tar.gz: 5311728241a8bcb82c6d410f96e944904dcd75fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daae54fd83f0f70f502259b65b9cc9a29bad44cae357ba1dd96734b1437761c3790a7d2977ee257013e29c25227acd2f38833412e5f1c4c7c7b3cd3f89d76ca2
|
7
|
+
data.tar.gz: d829b288150b0ed8b1c10f23d7f3a5c0a4775ed7493f795012e5d29abf28bf162138b8e625940545c40e9a3f670503e5b9d89f1bc5f20a309e81facd542fdd5a
|
data/README.md
CHANGED
@@ -47,17 +47,17 @@ a.sym_keys
|
|
47
47
|
A _dclone_ method is monkey-patched into the *Array* and *Hash* classes, and provides a way to recursively *deep-clone* an instance.
|
48
48
|
|
49
49
|
```ruby
|
50
|
-
a = { foo: 'bar', bar: :kill_me, nested: [{ problems: 'none' }] }
|
50
|
+
a = { foo: 'bar', mail: true, bar: :kill_me, nested: [{ problems: 'none' }] }
|
51
51
|
b = a.dclone
|
52
52
|
b[:nested] << :foo
|
53
|
-
b[:nested][:problems] = 'no way'
|
53
|
+
b[:nested][0][:problems] = 'no way'
|
54
54
|
b[:test] = :bork
|
55
55
|
b[:foo] = nil
|
56
56
|
b.delete :bar
|
57
57
|
a
|
58
|
-
# => {:foo=>
|
58
|
+
# => {:foo=>"bar", :mail=>true, :bar=>:kill_me, :nested=>[{:problems=>"none"}]}
|
59
59
|
b
|
60
|
-
# => {:foo=>
|
60
|
+
# => {:foo=>nil, :mail=>true, :nested=>[{:problems=>"no way"}, :foo], :test=>:bork}
|
61
61
|
```
|
62
62
|
|
63
63
|
### Right/Left Padding
|
data/lib/aromat/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aromat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.6.
|
100
|
+
rubygems_version: 2.6.14
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Small extensions to Ruby core libraries to make your life easier
|