cache_crispies 0.2.0 → 0.2.1

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: 76074205a976b800720f4573f27c03e60e0d9aaa6467c20b2e2ad70fe8b2df61
4
- data.tar.gz: 8c26453bad074e191ce415009917ffb8b99a4d7b1273f15b9be774d8bc42c686
3
+ metadata.gz: 857d0744e791b1a0fcb11a97eb9b0cc453770d9e5c6bbebb84bdc7837bf69abf
4
+ data.tar.gz: 27b2b36f326fe88bcb4a5c9c3462933dfae0c0e47f75a00a011a8066afebbd65
5
5
  SHA512:
6
- metadata.gz: 361709a032d7b2e8c1d4600945fc2897021c8665f6b51b5e82a5d1edff3003afc547d7905b2679569f945f3a98066b256defea701835bf9317990e896ada65c0
7
- data.tar.gz: 5562570b2b96d1c18b336c28229749a9d98a9ecddf27772f586c7ea95b21134c5862574a37577499f80c901ec21cd298b2b8698d2b4d7a4747cdf59f4e2c18a1
6
+ metadata.gz: 7861a2cd9a3eafa762234d32bbdc1499f5c89c7da04c7d8dfa9d5184ca25bb7b966412cb7ef8239f8f2f55c51f844b9417d03bccb8dc0d7a918e0026c59149c6
7
+ data.tar.gz: 5246144362972f7b3678fe7a8f94ae351a6cc12d3ab4df9dd15f727f798f3394a8d338d23da2669589b2ea0877e134fc49e063153f5ee36b808b52649eb503bb
@@ -19,8 +19,6 @@ module CacheCrispies
19
19
  hash = {}
20
20
 
21
21
  serializer.attributes.each do |attrib|
22
- next unless show?(attrib)
23
-
24
22
  deepest_hash = hash
25
23
 
26
24
  attrib.nesting.each do |key|
@@ -28,6 +26,8 @@ module CacheCrispies
28
26
  deepest_hash = deepest_hash[key]
29
27
  end
30
28
 
29
+ next unless show?(attrib)
30
+
31
31
  value = value_for(attrib)
32
32
 
33
33
  if attrib.key
@@ -2,5 +2,5 @@
2
2
 
3
3
  module CacheCrispies
4
4
  # The version of the gem
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
@@ -85,7 +85,8 @@ describe CacheCrispies::HashBuilder do
85
85
  { name: 'Other Kind of Sugar' },
86
86
  ]
87
87
  }
88
- }
88
+ },
89
+ health: {}
89
90
  })
90
91
  end
91
92
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_crispies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble