serialized-hashie 0.0.0.dev → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b305ccfa0e54e4a808259f967ed9d4ebc7cc95b7fa52b8930196ae97d6db5a39
4
- data.tar.gz: 77edb806bc4dd9f7b425ddacc4c566925debc1d5e5fd02add53b7b883fcccf4d
3
+ metadata.gz: adf5116d3184f67d700de3786bb6d3265229e0fe8232fd28020cfd8eb359c574
4
+ data.tar.gz: 9b1f1dd779738b72377c0771868c21b7e6120d553d51d14c8237a3dc84c33706
5
5
  SHA512:
6
- metadata.gz: b417aa6c94e37ca8eb989faf359ffea46d145f66174f9560a7e4ecd1b4f02909bc86190c79da913c76e388c63971dbe0a24f68db9b2c204ad846cf593c6f49ab
7
- data.tar.gz: 6c486630d660930d70e7bfd740d53013c7c35ea4d683309e4d7277fd30efd76b5b24ca4f34fb2367a91f0b8b8e4455733aa91e23290b4b9e1144e77a23caf43f
6
+ metadata.gz: 6f6115c1441227095a2e5f4dd7eebd1984be759f821438f9cda7dec4c275df7e875019387691abca751947409185b240f9f6945cedf741a69be9fd3f540d53e7
7
+ data.tar.gz: 393287f6c178c9401a93a9dd4d6f095d9867470398206455a22d99ec86888120989c95c129116d5e4b73dd985a763fe894ad0c6841f5cd38a4cdbab2b3bc5187
@@ -17,12 +17,12 @@ jobs:
17
17
  with:
18
18
  ruby-version: 2.6.x
19
19
 
20
- - name: Build Gem
21
- run: gem build *.gemspec
22
-
23
20
  - name: Export version from tag name
24
21
  run: echo "${GITHUB_REF/refs\/tags\//}" > VERSION
25
22
 
23
+ - name: Build Gem
24
+ run: gem build *.gemspec
25
+
26
26
  - name: Setup credentials
27
27
  run: |
28
28
  mkdir -p $HOME/.gem
@@ -19,6 +19,10 @@ module SerializedHashie
19
19
  @dump_extensions ||= Extensions.new
20
20
  end
21
21
 
22
+ def load_hash_extensions
23
+ @load_hash_extensions ||= Extensions.new
24
+ end
25
+
22
26
  end
23
27
 
24
28
  end
@@ -63,7 +63,11 @@ module SerializedHashie
63
63
  end
64
64
 
65
65
  def load_value(value)
66
- return load_hash(value) if value.is_a?(::Hash)
66
+ if value.is_a?(::Hash)
67
+ hash = SerializedHashie.load_hash_extensions.run(value)
68
+ return load_hash(hash)
69
+ end
70
+
67
71
  return value.map { |v| load_value(v) } if value.is_a?(Array)
68
72
 
69
73
  SerializedHashie.load_extensions.run(value)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serialized-hashie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.dev
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
@@ -102,9 +102,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
102
  version: 2.3.0
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - ">"
105
+ - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: 1.3.1
107
+ version: '0'
108
108
  requirements: []
109
109
  rubygems_version: 3.0.3
110
110
  signing_key: