semi 0.8.2 → 0.8.3

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: 10aef880a97bf2ec221a37333db09d3a52a7349a
4
- data.tar.gz: 2bece1b209d45e9f85272cec7be6d0a4aae3751c
3
+ metadata.gz: 580eb8d376ba4101f2e2c84662ccf5869565ff85
4
+ data.tar.gz: 1a83723ef50b5e35b8618df4082fd46cd6c4b8fe
5
5
  SHA512:
6
- metadata.gz: bfe8d81e2f90f9e8bee0a990e0174a0d161ac0251e0e08fe761ec148a93f742122b44262bf85eb8706fdfb02e9808056a56a2d9d8a42e5ccea233c74ff118550
7
- data.tar.gz: b176085553df888376d7b0127b7a2c34bca87f10224e51d27f9235550045abe8c63c631c8cf2f2933ca39f3f654ec3113465f271fc45b78e2d66020ea77ab463
6
+ metadata.gz: 8cebb91f0dc58ef4f1e51f46265b53b25f6100dd831c1df7969251bbfea83bd3a5a1a5b11beabc034996d79efa9402ff34b93720a0d47441933496bb0befc73e
7
+ data.tar.gz: 71f9fa49b0a91815b61b0dd5fa2bfa897e2dba917e367c507104e0a10154f2da99ce0db09ae9f3de59e7335ee03884f604b206aef8aa163d038c0928f9fc115c
@@ -33,9 +33,9 @@ module Semi::Variables
33
33
  end
34
34
 
35
35
  # test to see if the value is a common true value
36
- if value =~ /true|yes|on|enable/i
36
+ if value =~ /^(true|yes|on|enable)$/i
37
37
  real_value = true
38
- elsif value =~ /false|no|off|disable/i
38
+ elsif value =~ /^(false|no|off|disable)$/i
39
39
  real_value = false
40
40
  end
41
41
 
@@ -1,3 +1,3 @@
1
1
  module Semi
2
- version = '0.8.2'
2
+ version = '0.8.3'
3
3
  end
@@ -90,6 +90,8 @@ describe Semi::Variable do
90
90
  ['http://www:888', 'Semi::Variables::Url', nil],
91
91
  ['http://www/some/file', 'Semi::Variables::Url', nil],
92
92
  ['http:/www/', 'Semi::Variables::Path', nil],
93
+ ['production', 'Semi::Variables::String', 'string'],
94
+ ['production', 'Semi::Variables::String', nil],
93
95
 
94
96
  ].each do |test|
95
97
  it "#import identifies #{test[0]} as #{test[1]}" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerard Hickey