rainforest-cli 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rainforest/cli.rb +2 -1
- data/lib/rainforest/cli/version.rb +1 -1
- metadata +1 -1
data/lib/rainforest/cli.rb
CHANGED
@@ -19,6 +19,7 @@ module Rainforest
|
|
19
19
|
|
20
20
|
post_opts[:conflict] = @options.conflict if @options.conflict
|
21
21
|
post_opts[:browsers] = @options.browsers if @options.browsers
|
22
|
+
post_opts[:gem_version] = Rainforest::Cli::VERSION
|
22
23
|
|
23
24
|
puts "Issuing run"
|
24
25
|
|
@@ -36,7 +37,7 @@ module Rainforest
|
|
36
37
|
|
37
38
|
while running
|
38
39
|
sleep 5
|
39
|
-
response = get "#{API_URL}/#{run_id}"
|
40
|
+
response = get "#{API_URL}/#{run_id}?gem_version=#{Rainforest::Cli::VERSION}"
|
40
41
|
if %w(queued in_progress sending_webhook waiting_for_callback).include?(response["state"])
|
41
42
|
puts "Run #{run_id} is #{response['state']} and is #{response['current_progress']['percent']}% complete"
|
42
43
|
running = false if response["result"] == 'failed' && @options.failfast?
|