rainforest-cli 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm use 1.9.3@rainforest-cli
1
+ rvm use 1.9.3@rainforest-cli --create
@@ -1,7 +1,7 @@
1
1
  require "rainforest/cli/version"
2
2
  require "rainforest/cli/options"
3
- require 'httparty'
4
- require 'json'
3
+ require "httparty"
4
+ require "json"
5
5
 
6
6
  module Rainforest
7
7
  module Cli
@@ -29,7 +29,7 @@ module Rainforest
29
29
  sleep 5
30
30
  response = get "#{API_URL}/#{run_id}"
31
31
  if %w(queued in_progress sending_webhook waiting_for_callback).include?(response["state"])
32
- puts "Run #{run_id} is still running"
32
+ puts "Run #{run_id} is still running: #{response['current_progress']['percent']}% complete."
33
33
  else
34
34
  puts "Run #{run_id} is now #{response["state"]} and has #{response["result"]}"
35
35
  running = false
@@ -1,5 +1,5 @@
1
1
  module Rainforest
2
2
  module Cli
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -6,11 +6,11 @@ require 'rainforest/cli/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "rainforest-cli"
8
8
  spec.version = Rainforest::Cli::VERSION
9
- spec.authors = ["Simon Mathieu"]
10
- spec.email = ["simon.math@gmail.com"]
9
+ spec.authors = ["Simon Mathieu", "Russell Smith"]
10
+ spec.email = ["simon@rainforestqa.com", "russ@rainforestqa.com"]
11
11
  spec.description = %q{Command line utility for RainforestQA}
12
12
  spec.summary = %q{Command line utility for RainforestQA}
13
- spec.homepage = "http://rainforestqa.com"
13
+ spec.homepage = "https://www.rainforestqa.com/"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,18 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforest-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Simon Mathieu
9
+ - Russell Smith
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
- date: 2013-08-16 00:00:00.000000000 Z
13
+ date: 2013-08-21 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: httparty
15
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
16
19
  requirements:
17
20
  - - ! '>='
18
21
  - !ruby/object:Gem::Version
@@ -20,6 +23,7 @@ dependencies:
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
23
27
  requirements:
24
28
  - - ! '>='
25
29
  - !ruby/object:Gem::Version
@@ -27,6 +31,7 @@ dependencies:
27
31
  - !ruby/object:Gem::Dependency
28
32
  name: bundler
29
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
30
35
  requirements:
31
36
  - - ~>
32
37
  - !ruby/object:Gem::Version
@@ -34,6 +39,7 @@ dependencies:
34
39
  type: :development
35
40
  prerelease: false
36
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
37
43
  requirements:
38
44
  - - ~>
39
45
  - !ruby/object:Gem::Version
@@ -41,6 +47,7 @@ dependencies:
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
50
+ none: false
44
51
  requirements:
45
52
  - - ! '>='
46
53
  - !ruby/object:Gem::Version
@@ -48,13 +55,15 @@ dependencies:
48
55
  type: :development
49
56
  prerelease: false
50
57
  version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
51
59
  requirements:
52
60
  - - ! '>='
53
61
  - !ruby/object:Gem::Version
54
62
  version: '0'
55
63
  description: Command line utility for RainforestQA
56
64
  email:
57
- - simon.math@gmail.com
65
+ - simon@rainforestqa.com
66
+ - russ@rainforestqa.com
58
67
  executables:
59
68
  - rainforest
60
69
  extensions: []
@@ -74,29 +83,30 @@ files:
74
83
  - rainforest-cli.gemspec
75
84
  - spec/options_spec.rb
76
85
  - spec/spec_helper.rb
77
- homepage: http://rainforestqa.com
86
+ homepage: https://www.rainforestqa.com/
78
87
  licenses:
79
88
  - MIT
80
- metadata: {}
81
89
  post_install_message:
82
90
  rdoc_options: []
83
91
  require_paths:
84
92
  - lib
85
93
  required_ruby_version: !ruby/object:Gem::Requirement
94
+ none: false
86
95
  requirements:
87
96
  - - ! '>='
88
97
  - !ruby/object:Gem::Version
89
98
  version: '0'
90
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
91
101
  requirements:
92
102
  - - ! '>='
93
103
  - !ruby/object:Gem::Version
94
104
  version: '0'
95
105
  requirements: []
96
106
  rubyforge_project:
97
- rubygems_version: 2.0.5
107
+ rubygems_version: 1.8.25
98
108
  signing_key:
99
- specification_version: 4
109
+ specification_version: 3
100
110
  summary: Command line utility for RainforestQA
101
111
  test_files:
102
112
  - spec/options_spec.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDY4YmViMTU2MTQ0Y2RhNWMyMDE5N2FkODdiZjRmMDNmZTFlMDI1NA==
5
- data.tar.gz: !binary |-
6
- M2EzNTU0ZTFjMGYxOTkxY2ZiNjM0NWJjMTQxYTBlOWE4ODExNjllYg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- YzBhMGM1MzY0MTdlY2M5MzQ4NWIzM2M1ODZhZDc1OWRlNzA4ZWM3YWM2NmM0
10
- ZDcxNDc2MTQ5NjI1Yzc0Yzg1NjEwODZjNGEwNDEwOGFiODczNGVmOTNlYzVi
11
- NjI4NWUyNTkwYTk4YzFiYmE4MjM2NGNkNTZlYTVmM2QxNjBjYWE=
12
- data.tar.gz: !binary |-
13
- NTE1MGRmYjc3Y2I0MTNjYWZiNTRiNjFlNTA0MTc0MGMxNjY5MjQ1M2M1NThl
14
- ZjJiMDYxNjBhYjVhYzcwYzM3Zjk4MTc4OGY3ODFhY2I1ZThjYjNkZmYyYTJi
15
- YThlMTk3YjUwMzU1OTMzODkyNjQ2OWNhM2EzYTBiMGJlZDE3N2Y=