swiftrail 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/swiftrail/cli.rb +2 -2
- data/lib/swiftrail/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e24f38ee1aae456dcb51651d88749efaddccd34333aedee76dbbc37324c9703
|
4
|
+
data.tar.gz: da2b976feeea24bad0767c2057ec9c21d5cf0c8add818a05e84ecabd590fc56f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2acd8bcf1b0dd12fb3b979884da1ba12d8c19a5d0759ae926ef5c5b10acca8e8886eedee665e8604bb2e06a906c09b4eba59ddbf679a412ce04f2ad1cca5f63d
|
7
|
+
data.tar.gz: 30559bb2c5c062c575c3865f52893f8cf3732f2beaf9edf102763bdeb7fde64682bf9298dabadfb9af9d160b6e0efdfce4185fdc62ffb17f4893fdca526fd758
|
data/Gemfile.lock
CHANGED
data/lib/swiftrail/cli.rb
CHANGED
@@ -33,10 +33,10 @@ module Swiftrail
|
|
33
33
|
method_option :output_folder, type: :string, desc: 'Ouptut folder for your results'
|
34
34
|
def coverage
|
35
35
|
results = swiftrail_coverage.coverage_report(options[:run_id])
|
36
|
-
if options[output_folder].nil?
|
36
|
+
if options['output_folder'].nil?
|
37
37
|
puts(JSON.pretty_generate(results))
|
38
38
|
else
|
39
|
-
write(results, File.join(output_folder, 'coverage.swiftrail'))
|
39
|
+
write(results, File.join(options['output_folder'], 'coverage.swiftrail'))
|
40
40
|
end
|
41
41
|
|
42
42
|
end
|
data/lib/swiftrail/version.rb
CHANGED