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.
@@ -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?
@@ -1,5 +1,5 @@
1
1
  module Rainforest
2
2
  module Cli
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforest-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: