strum-json 0.0.5 → 0.0.6

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: 37e07cd2c107cd505d79a6f059d275d96b60e919eb3266634160f0d7d4301e91
4
- data.tar.gz: 624c379c20a52ba20cd833d848b661b6bbc92f7bc0c6bff7dee56eec6ceaa165
3
+ metadata.gz: 6d71979404a1b6332a733b34cb5f38ea459ea0658490b1c4744768ad02c01c1c
4
+ data.tar.gz: 494357e65f7270efca15af6f5746e3ad9092ac9ae274f5f12ca5d537119fd347
5
5
  SHA512:
6
- metadata.gz: a95accb4cebabe4e1015acbb2393a9a5cf6170330c73ace6a9f6da700afa99f5f8e076386c8f32000bfcbf380e2d67959bd4605f6394a006a71ba27101f850f1
7
- data.tar.gz: 4950117e0b759a0c7b1256a24bd9e5ad8e06d4b66d2794468324fb219edeff6ecea1893289370aaf26cb5e206d1308df8535f8f341793e075fa817d6624d0ee3
6
+ metadata.gz: 9f7a2c87ca88d4cc2f53cf0e3291e14861a78a10633d37fdf2f96a22b52dcf821d8f9fafc39c851ad7e5d29edeef42bf706c67c8675bcb9b37367b9e6cee49c7
7
+ data.tar.gz: 4e29c7635af0ad020874242b4069733c7b1a161c03c8dd97cb951c9bdaafce37fcfecdfa91a84087950eb2e49aae11e8789e72826ff9379fb38883b7166fcaa5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strum-json (0.0.5)
4
+ strum-json (0.0.6)
5
5
  dry-inflector (~> 0.2.0)
6
6
  json (~> 2.3)
7
7
  json-schema (~> 2.8.1)
@@ -15,13 +15,13 @@ GEM
15
15
  ast (2.4.2)
16
16
  diff-lcs (1.4.4)
17
17
  dry-inflector (0.2.1)
18
- json (2.5.1)
18
+ json (2.6.1)
19
19
  json-schema (2.8.1)
20
20
  addressable (>= 2.4)
21
21
  parallel (1.20.1)
22
22
  parser (3.0.1.1)
23
23
  ast (~> 2.4.1)
24
- public_suffix (4.0.6)
24
+ public_suffix (4.0.7)
25
25
  rainbow (3.0.0)
26
26
  rake (13.0.3)
27
27
  regexp_parser (2.1.1)
@@ -56,7 +56,7 @@ GEM
56
56
  rubocop (~> 1.0)
57
57
  rubocop-ast (>= 1.1.0)
58
58
  ruby-progressbar (1.11.0)
59
- strum-service (0.2.1)
59
+ strum-service (0.2.2)
60
60
  unicode-display_width (2.0.0)
61
61
 
62
62
  PLATFORMS
@@ -71,4 +71,4 @@ DEPENDENCIES
71
71
  strum-json!
72
72
 
73
73
  BUNDLED WITH
74
- 2.2.27
74
+ 2.3.13
@@ -19,6 +19,7 @@ module Strum
19
19
  private
20
20
 
21
21
  def deep_transform_keys(hash)
22
+ return hash.map { |h| deep_transform_keys(h) } if hash.is_a?(Array)
22
23
  return hash unless hash.is_a?(Hash)
23
24
 
24
25
  hash.each_with_object({}) do |(key, value), result|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Strum
4
4
  module Json
5
- VERSION = "0.0.5"
5
+ VERSION = "0.0.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strum-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serhiy Nazarov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector