vignette 0.0.11 → 0.0.12
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 +2 -2
- 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: aee8ea3546f25377842740f40f7151c87acf9ade
|
4
|
+
data.tar.gz: 5d27a9f351421792d79a782faa420f4f9b82e098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b339372591c6138ee84b52001e4b6f777b9a5c75f194a499742a85a68208187ee8dddd159886388d27ad25fdc162093bb2d2886f089423bc67bf8cba735b04
|
7
|
+
data.tar.gz: d5d633fce6996d3c6a5e194807a610d660604e6bfeee655da18ab54741d757abb2555e2429d9abc2616862006b6af2bcb5b4e801c65ecfa6362aa02f004852eb
|
@@ -25,8 +25,8 @@ module ObjectExtensions
|
|
25
25
|
|
26
26
|
test_name = if expect_consistent_name && name.present?
|
27
27
|
name
|
28
|
-
elsif
|
29
|
-
|
28
|
+
elsif v[vignette_crc]
|
29
|
+
v[vignette_crc]['n']
|
30
30
|
elsif name.present? # this logic looks weird, but this is if we don't expect consistent names *and* we don't have a name in v[]
|
31
31
|
name
|
32
32
|
else
|
data/lib/vignette/version.rb
CHANGED