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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16867f3cde48106f2f2c5c39e42b24ba351abe8b82256a56fc75aa9379d2b220
4
- data.tar.gz: d0efc036db3b3dc900703d4d7ddd1579354ce37c650fbbeb1ec3c79cf86a380d
3
+ metadata.gz: 3e24f38ee1aae456dcb51651d88749efaddccd34333aedee76dbbc37324c9703
4
+ data.tar.gz: da2b976feeea24bad0767c2057ec9c21d5cf0c8add818a05e84ecabd590fc56f
5
5
  SHA512:
6
- metadata.gz: 9c344c2dd8ae9ba5adf6ffc706d15b03e9383ccbebefada863317879a273ef5459a8e580133170cd2d158b59ef90b6be8a17dd099926cba99e3ff041f5ce718f
7
- data.tar.gz: 6dba5e1eb620e566e01eceb9c248bfb935c298928c0107d6840f1da80ad2aa528a65e1ab585cb2f055db8fb0a68dc87b33d8dfc526130f0a05b10918a3783acc
6
+ metadata.gz: 2acd8bcf1b0dd12fb3b979884da1ba12d8c19a5d0759ae926ef5c5b10acca8e8886eedee665e8604bb2e06a906c09b4eba59ddbf679a412ce04f2ad1cca5f63d
7
+ data.tar.gz: 30559bb2c5c062c575c3865f52893f8cf3732f2beaf9edf102763bdeb7fde64682bf9298dabadfb9af9d160b6e0efdfce4185fdc62ffb17f4893fdca526fd758
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swiftrail (0.1.4)
4
+ swiftrail (0.1.5)
5
5
  nokogiri (~> 1.10)
6
6
  thor (~> 0.20)
7
7
 
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
@@ -1,3 +1,3 @@
1
1
  module Swiftrail
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swiftrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slavko Krucaj