through_hierarchy 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: d035058e70928adac98eda0a5bfbb11f64511184
4
- data.tar.gz: ea5fdd65f17ffca9c986110d25779d2cd77e2246
3
+ metadata.gz: d41873c002c11a72dcafce92b48442528bc65dd9
4
+ data.tar.gz: d73325d3873043e7cc5d032f5e328b9e1d4599e3
5
5
  SHA512:
6
- metadata.gz: 7ffd8d6d39235e151ab3f1f66eb0fa0167065dc2d10626b50ec30f737a50818d4baf618e0cc7823a29cedc663cebdf9b7edfc4a1d86bbcffdc9c512514692d9e
7
- data.tar.gz: ae0d68f9add8a0eb7b8bec6c10e6004e58219a31b1d744e130fac861d0ac760aa5de7e04c0f96552bcdb8e1b7f5327e39d3b4415a86d7d1c51c7dd93236717fb
6
+ metadata.gz: fac69ea4f39f547be70efb5f21887ebdab5d87991a608654212bbf688082b46acdc77f07e75bfe249232db57e918b71108e139229ebda3805a209f695545a5fd
7
+ data.tar.gz: 2646834aba9ac917a833d8869a2e79ea1f1faad44fa9d12a8c8ca7df28b6cebc61bf943430e7efc08a45b91fb6266b4d59f556fc6da9fd4b7800c10d9ab51a7f
@@ -12,7 +12,7 @@ module ThroughHierarchy
12
12
  end
13
13
 
14
14
  def filters
15
- or_conditions(hierarchy_instances.map{|instance| filter(instance)})
15
+ or_conditions(hierarchy_instances.compact.map{|instance| filter(instance)})
16
16
  end
17
17
 
18
18
  def filter(instance)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: through_hierarchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Schwartz