vignette 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vignette/object_extensions.rb +3 -3
- data/lib/vignette/version.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: 9039cedf8647c0a9fed3af2baf4b8011394929ce
|
4
|
+
data.tar.gz: 0d80b115aeb70c0431f9aab3a77f008545e805c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32ecca1cb94d72395487b6f68aa76c96104324a3ecd26a95d639f4f07a59446d8e3993cd2241b66c6648bc863928da5221223ebdc583a5de1a2780da9fdbc312
|
7
|
+
data.tar.gz: 1969cbb84d8c21b44b2d24fe0a6486e69dc94193ed75e55bfd0c026ff69024c4914e0bcfffa9cd30fcf900b57cd8c2f2774d971e9862fbc15afb749d444c2982
|
@@ -24,10 +24,10 @@ module ObjectExtensions
|
|
24
24
|
"(#{Vignette::strip_path(loc.absolute_path)}:#{loc.lineno})"
|
25
25
|
end
|
26
26
|
|
27
|
-
result = if
|
28
|
-
vig[vignette_crc]['v']
|
29
|
-
elsif Vignette.force_choice && self.include?(Vignette.force_choice)
|
27
|
+
result = if Vignette.force_choice && self.include?(Vignette.force_choice)
|
30
28
|
Vignette.force_choice
|
29
|
+
elsif vig.has_key?(vignette_crc)
|
30
|
+
vig[vignette_crc]['v']
|
31
31
|
else
|
32
32
|
# Store key into storage if not available
|
33
33
|
new_value = self[Vignette::rand(length)]
|
data/lib/vignette/version.rb
CHANGED