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 +4 -4
- data/lib/spout/tasks/engine.rake +3 -3
- data/lib/spout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 209bb5bf5c31a3f7596226b3e119aa4b7c5ff3cf
|
4
|
+
data.tar.gz: 6aff8eb637f1be6395aaa26bfee359e77153e774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c0a6220974a8ea125ba64db2c19a321f35be44577d076819fdaae0a1f1a64e49e9922a096ef064ff330baae8183711cbfd75444429995b86ae12e0d5ff759b7
|
7
|
+
data.tar.gz: e4a03db82a5ae80ba6ba664ede073e32e1ed7deea077cfc2af2be911af6ec96dbbc57ac7aaed8aa76c29d7153787fa3583cebce567cd55c7a1f8f6709d5e3d80
|
data/lib/spout/tasks/engine.rake
CHANGED
@@ -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
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.
|
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-
|
11
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|