spout 0.6.0.beta5 → 0.6.0.beta6

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: 334f5a8e2330e851b8334cf6109d73dfef8486f6
4
- data.tar.gz: 95347c28437cbe8866dbf11a903c0e877ce7bb48
3
+ metadata.gz: 209bb5bf5c31a3f7596226b3e119aa4b7c5ff3cf
4
+ data.tar.gz: 6aff8eb637f1be6395aaa26bfee359e77153e774
5
5
  SHA512:
6
- metadata.gz: 3797558300ae6080c8371ab11d9cbbf92c7174dd1c2bd59341d3c1b84fb88fed299b0409cb6b12018032694ecd06b2e265621e5a77948fdfaecc3f25d795d9e2
7
- data.tar.gz: 0f139f427db50c0ec1019ecc62bdc881c87d71e16d637d7788340dac4df0a42ecea2c15fa5020d1b8c72a8412b0bdaf24153b52a8a5f856b3780275f46cbac75
6
+ metadata.gz: 0c0a6220974a8ea125ba64db2c19a321f35be44577d076819fdaae0a1f1a64e49e9922a096ef064ff330baae8183711cbfd75444429995b86ae12e0d5ff759b7
7
+ data.tar.gz: e4a03db82a5ae80ba6ba664ede073e32e1ed7deea077cfc2af2be911af6ec96dbbc57ac7aaed8aa76c29d7153787fa3583cebce567cd55c7a1f8f6709d5e3d80
@@ -139,7 +139,7 @@ class SpoutCoverageResult
139
139
  file = Dir.glob("variables/**/#{column}.json").first
140
140
  @file_name_test = (file != nil)
141
141
  @json = JSON.parse(File.read(file)) rescue @json = {}
142
- @json_id_test = (@json['id'].downcase == column)
142
+ @json_id_test = (@json['id'].to_s.downcase == column)
143
143
  end
144
144
 
145
145
  def load_valid_values
@@ -263,7 +263,7 @@ def import_variables
263
263
  hash['labels'] = labels if labels.size > 0
264
264
  hash['other'] = row unless row.empty?
265
265
 
266
- file_name = File.join(folder, id.downcase + '.json')
266
+ file_name = File.join(folder, id.to_s.downcase + '.json')
267
267
  File.open(file_name, 'w') do |file|
268
268
  file.write(JSON.pretty_generate(hash) + "\n")
269
269
  end
@@ -308,7 +308,7 @@ def import_domains
308
308
  folder = domain_hash["folder"]
309
309
  FileUtils.mkpath folder
310
310
 
311
- file_name = File.join(folder, domain_name.downcase + '.json')
311
+ file_name = File.join(folder, domain_name.to_s.downcase + '.json')
312
312
 
313
313
  File.open(file_name, 'w') do |file|
314
314
  file.write(JSON.pretty_generate(domain_hash["options"]) + "\n")
data/lib/spout/version.rb CHANGED
@@ -3,7 +3,7 @@ module Spout
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
5
  TINY = 0
6
- BUILD = "beta5" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta6" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.beta5
4
+ version: 0.6.0.beta6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake