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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 196be79b8ba920292a1e9322f8ab84f4ddfa1fd1
4
- data.tar.gz: c7ec87488bf8c8f5cb57dc192e2c011402d3540f
3
+ metadata.gz: aee8ea3546f25377842740f40f7151c87acf9ade
4
+ data.tar.gz: 5d27a9f351421792d79a782faa420f4f9b82e098
5
5
  SHA512:
6
- metadata.gz: e281220e3815bae46954f16b5d0126d1ea601771e51ac69a426449c6351af93b0ff64916636d8f5f092027a462a46a5639e8391cbe9801b4b609f1b0dbaf3300
7
- data.tar.gz: 9b2d4e372dc309a4e7509d49eeaaa0d43d4ee9c7df82ecaaf729dc1bc31b93bc62bcfef21318baaa3a0989f5d4f7d1f9394549bd023713bb3ac7716078d0b8a2
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 test_hash = v[vignette_crc]
29
- test_hash['name']
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
@@ -1,3 +1,3 @@
1
1
  module Vignette
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vignette
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Hayes