wayfinder 0.1.0 → 0.1.1
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/wayfinder.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88bc6422ac71a5af67a65164b52b831a40bcec6f
|
|
4
|
+
data.tar.gz: ad3dcef00e3239163c3d60350497e8286892cb18
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8fed5b745655b2639997e6b61251550f83ddccbc1e4e17937c2d272d3550a21e626477d7055e7cfce7aba10040acf1ef58109c77178d40970e75af7361240d04
|
|
7
|
+
data.tar.gz: 93647613f905e4a4fa31cdce92df5bb108958884e998979c4bd261b7a2967ee428636c8b8d03036b0b1ee1deaf19546b75743d6c0f518716bc1254ff9aa7608e
|
data/lib/wayfinder.rb
CHANGED
|
@@ -64,7 +64,7 @@ module Wayfinder
|
|
|
64
64
|
|
|
65
65
|
## Returns an array of items in the modifier stack marked with 'active: true'
|
|
66
66
|
def active_stack
|
|
67
|
-
source_data.modifiers.select { |item| item.active }
|
|
67
|
+
source_data.modifiers.select { |item| item.fetch('active', true) }
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
## Returns an array of object who affect the specified attribute
|