cane-hashcheck 1.0.0 → 1.1.0

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: ad5b2a9165abf78a92dcc3580fe11c26c96e831f
4
- data.tar.gz: 75b1346acb4d209e86cfbf30c23f51177d02c8fb
3
+ metadata.gz: c47adb3d6706afa10b570b5463aa1dd558f71b9c
4
+ data.tar.gz: 0ce9c5a3192dda4666d823c0e6693b4a7cd63428
5
5
  SHA512:
6
- metadata.gz: 0c574db145582aa594f27c6ef0342c3bebcff6255e16825a9092a0ea5b63e4e492fb50df8bc2fb02be0f9ceec5c49451f5b2e1eaabfdceb7adc157e1ec8d0734
7
- data.tar.gz: 908465e611ffb9146b74dd7fdde825d25f816d43eefdb8fcf1f862499a495bccf48df31c62e1ca5f8b36efd81b9fd2b6a7bf7ecb6a8166706655df156056538b
6
+ metadata.gz: 62556ca821047b33b9e047b3de3e22cf24e245db5d13cb1b32cbaf189736a131d83a418c68849d6a0725437e7f8a796c9706e1013fdf355054c5c54c8668f3ae
7
+ data.tar.gz: ddae7ebec69215afee4be07ef7138dfb61eceae1891e44503e58ffbc0b02ca795446aa84ee2eae20b56562f542741d0ce2d99c0678450ce2ada3035c79937fb4
@@ -49,7 +49,7 @@ module Cane
49
49
  end
50
50
 
51
51
  def invalid?(line)
52
- line =~ /([^'"A-Z\d])\s+=>\s+/
52
+ line =~ /([^'"A-Z\d\s])\s+=>\s+/
53
53
  end
54
54
 
55
55
  def file_names
@@ -1,5 +1,5 @@
1
1
  module Cane
2
2
  module Hashcheck
3
- VERSION = '1.0.0'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
@@ -21,6 +21,7 @@ describe Cane::HashCheck do
21
21
  totally: 'valid',
22
22
  :not => :valid,
23
23
  TOTALLY => :valid,
24
+ LOTS_OF => :whitespace_is_valid,
24
25
  18 => 1 # this is valid, hash rockets are required for ints
25
26
  }
26
27
  {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cane-hashcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hunt