nested_hash_builder 0.1.1 → 0.1.2
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/nested_hash_builder/version.rb +1 -1
- data/lib/nested_hash_builder.rb +1 -7
- 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: 3ae91f6f35a7eb80ad36ce8aa4c828850dd664c4e974f8739efcbfdd431513ca
|
4
|
+
data.tar.gz: 0ec36c55778d92787c705a98aebfd5ad6039937c7b3d80482819364a57a53a7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83535f7620d3828bcfd4920ba64e5eb6e3f1e357659efe2b434c34eedd7e21bc203096b91245792db905b5a87b02b68a75e463638c13df558dca7a18f7368e10
|
7
|
+
data.tar.gz: aac7aa1b776fd43b616fd2810ac4121fa2a5960d0abd7f671324864b8696aea5dd0bce7c89f35a3df34710cc8812f0ee49ebb3c596d5bcd8f75220993e7797be
|
data/lib/nested_hash_builder.rb
CHANGED
@@ -31,15 +31,9 @@ module NestedHashBuilder
|
|
31
31
|
alias build call
|
32
32
|
end
|
33
33
|
|
34
|
-
module ProxyConstants
|
35
|
-
T = ::T
|
36
|
-
end
|
37
|
-
|
38
34
|
# Object that is the receiver of all
|
39
35
|
# the building methods.
|
40
|
-
class Proxy
|
41
|
-
include ProxyConstants
|
42
|
-
|
36
|
+
class Proxy
|
43
37
|
#: (?base: Hash[untyped, untyped], ?symbolize: bool) -> void
|
44
38
|
def initialize(base: {}, symbolize: true)
|
45
39
|
@hash = base.dup
|