rainforest 1.0.7 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -6
  3. data/.travis.yml +13 -1
  4. data/Gemfile +6 -0
  5. data/README.md +72 -21
  6. data/Rakefile +6 -13
  7. data/VERSION +1 -1
  8. data/bin/rainforest-console +1 -1
  9. data/gemfiles/default-with-activesupport.gemfile +8 -1
  10. data/gemfiles/json.gemfile +10 -2
  11. data/gemfiles/yajl.gemfile +10 -2
  12. data/lib/rainforest.rb +61 -240
  13. data/lib/rainforest/apibits/api_client.rb +28 -0
  14. data/lib/rainforest/apibits/api_endpoint.rb +11 -0
  15. data/lib/rainforest/apibits/api_list.rb +88 -0
  16. data/lib/rainforest/apibits/api_method.rb +95 -0
  17. data/lib/rainforest/apibits/api_object.rb +52 -0
  18. data/lib/rainforest/apibits/api_resource.rb +153 -0
  19. data/lib/rainforest/apibits/headers_builder.rb +47 -0
  20. data/lib/rainforest/apibits/params_builder.rb +27 -0
  21. data/lib/rainforest/apibits/path_builder.rb +38 -0
  22. data/lib/rainforest/apibits/requester.rb +104 -0
  23. data/lib/rainforest/apibits/util.rb +51 -0
  24. data/lib/rainforest/clients/default_client.rb +59 -0
  25. data/lib/rainforest/endpoints/client_stats_endpoint.rb +11 -0
  26. data/lib/rainforest/endpoints/environment_runs_endpoint.rb +11 -0
  27. data/lib/rainforest/endpoints/environments_endpoint.rb +48 -0
  28. data/lib/rainforest/endpoints/generator_rows_endpoint.rb +17 -0
  29. data/lib/rainforest/endpoints/generators_endpoint.rb +48 -0
  30. data/lib/rainforest/endpoints/integrations_endpoint.rb +33 -0
  31. data/lib/rainforest/endpoints/run_tests_endpoint.rb +20 -0
  32. data/lib/rainforest/endpoints/runs_endpoint.rb +48 -0
  33. data/lib/rainforest/endpoints/schedules_endpoint.rb +48 -0
  34. data/lib/rainforest/endpoints/site_environments_endpoint.rb +24 -0
  35. data/lib/rainforest/endpoints/sites_endpoint.rb +39 -0
  36. data/lib/rainforest/endpoints/tests_endpoint.rb +57 -0
  37. data/lib/rainforest/endpoints/users_endpoint.rb +48 -0
  38. data/lib/rainforest/errors/api_connection_error.rb +1 -1
  39. data/lib/rainforest/errors/api_error.rb +32 -1
  40. data/lib/rainforest/errors/authentication_error.rb +1 -1
  41. data/lib/rainforest/errors/rainforest_error.rb +2 -9
  42. data/lib/rainforest/resources/client_stats.rb +31 -0
  43. data/lib/rainforest/resources/environment.rb +73 -0
  44. data/lib/rainforest/resources/generator.rb +73 -0
  45. data/lib/rainforest/resources/integration.rb +52 -0
  46. data/lib/rainforest/resources/run.rb +93 -0
  47. data/lib/rainforest/resources/schedule.rb +63 -0
  48. data/lib/rainforest/resources/site.rb +53 -0
  49. data/lib/rainforest/resources/site_environment.rb +40 -0
  50. data/lib/rainforest/resources/test.rb +98 -0
  51. data/lib/rainforest/resources/user.rb +75 -0
  52. data/rainforest.gemspec +8 -6
  53. data/test/rainforest/api_client_test.rb +51 -0
  54. data/test/rainforest/api_endpoint_test.rb +13 -0
  55. data/test/rainforest/api_list_test.rb +49 -0
  56. data/test/rainforest/api_method_test.rb +78 -0
  57. data/test/rainforest/headers_builder_test.rb +28 -0
  58. data/test/rainforest/params_builder_test.rb +57 -0
  59. data/test/rainforest/path_builder_test.rb +50 -0
  60. data/test/rainforest/requester_test.rb +86 -0
  61. data/test/rainforest/util_test.rb +41 -19
  62. data/test/test_data.rb +72 -0
  63. data/test/test_helper.rb +17 -134
  64. metadata +99 -59
  65. data/CONTRIBUTORS +0 -2
  66. data/History.txt +0 -4
  67. data/LICENSE +0 -21
  68. data/lib/data/ca-certificates.crt +0 -3918
  69. data/lib/rainforest/api_operations/create.rb +0 -16
  70. data/lib/rainforest/api_operations/delete.rb +0 -11
  71. data/lib/rainforest/api_operations/list.rb +0 -16
  72. data/lib/rainforest/api_operations/update.rb +0 -61
  73. data/lib/rainforest/api_resource.rb +0 -33
  74. data/lib/rainforest/errors/invalid_request_error.rb +0 -10
  75. data/lib/rainforest/json.rb +0 -21
  76. data/lib/rainforest/list_object.rb +0 -35
  77. data/lib/rainforest/rainforest_object.rb +0 -165
  78. data/lib/rainforest/run.rb +0 -8
  79. data/lib/rainforest/singleton_api_resource.rb +0 -20
  80. data/lib/rainforest/util.rb +0 -100
  81. data/test/rainforest/api_resource_test.rb +0 -11
  82. data/test/rainforest/auth_test.rb +0 -24
  83. data/test/rainforest/list_object_test.rb +0 -7
  84. data/test/rainforest/metadata_test.rb +0 -7
  85. data/test/rainforest/run_test.rb +0 -36
@@ -2,28 +2,50 @@ require File.expand_path('../../test_helper', __FILE__)
2
2
 
3
3
  module Rainforest
4
4
  class UtilTest < ::Test::Unit::TestCase
5
- should "symbolize_names should convert names to symbols" do
6
- start = {
7
- 'foo' => 'bar',
8
- 'array' => [{ 'foo' => 'bar' }],
9
- 'nested' => {
10
- 1 => 2,
11
- :symbol => 9,
12
- 'string' => nil
5
+ context '#symbolize_keys' do
6
+ should "convert keys to symbols" do
7
+ start = {
8
+ 'foo' => 'bar',
9
+ 'array' => [{ 'foo' => 'bar' }],
10
+ 'nested' => {
11
+ 1 => 2,
12
+ :symbol => 9,
13
+ 'string' => nil
14
+ }
13
15
  }
14
- }
15
- finish = {
16
- :foo => 'bar',
17
- :array => [{ :foo => 'bar' }],
18
- :nested => {
19
- 1 => 2,
20
- :symbol => 9,
21
- :string => nil
16
+ finish = {
17
+ :foo => 'bar',
18
+ :array => [{ :foo => 'bar' }],
19
+ :nested => {
20
+ 1 => 2,
21
+ :symbol => 9,
22
+ :string => nil
23
+ }
22
24
  }
23
- }
24
25
 
25
- symbolized = Rainforest::Util.symbolize_names(start)
26
- assert_equal(finish, symbolized)
26
+ symbolized = Util.symbolize_keys(start)
27
+ assert_equal(finish, symbolized)
28
+ end
29
+ end
30
+
31
+ context '#sorta_deep_clone' do
32
+ # Super hand wavy test.. but it works for now so whatever.
33
+ should 'clone well enough that we dont accidentally alter json' do
34
+ start = { :a => "abc", :b => [ { :c => "c-1" }, { :c => "c-2" } ] }
35
+ cloned = Util.sorta_deep_clone(start)
36
+
37
+ cloned[:a] = "123"
38
+ cloned[:b] << { :c => "c-3" }
39
+ cloned[:b][0][:c] = "c-one"
40
+
41
+ assert_equal({ :a => "abc", :b => [ { :c => "c-1" }, { :c => "c-2" } ] }, start)
42
+ end
43
+ end
44
+
45
+ context '#constantize' do
46
+ should 'convert :ApiResource to the class object' do
47
+ assert_equal(ApiResource, Util.constantize(:ApiResource))
48
+ end
27
49
  end
28
50
  end
29
51
  end
@@ -0,0 +1,72 @@
1
+ module Rainforest
2
+ module TestData
3
+
4
+ def test_response(body, code=200)
5
+ # When an exception is raised, restclient clobbers method_missing. Hence we
6
+ # can't just use the stubs interface.
7
+ body = JSON.generate(body) if !(body.kind_of? String)
8
+ m = mock
9
+ m.instance_variable_set('@rainforest_values', { :body => body, :code => code })
10
+ def m.body; @rainforest_values[:body]; end
11
+ def m.code; @rainforest_values[:code]; end
12
+ m
13
+ end
14
+
15
+ def test_mock_resource
16
+ {
17
+ :object => 'mock_resource',
18
+ :name => 'test mr name',
19
+ :nested => {
20
+ :id => 'test_nested_id',
21
+ :object => 'nested_resource',
22
+ :price => 500
23
+ },
24
+ :nested_alt_id => 'nested_alt_id',
25
+ :nested_with => {
26
+ :id => 'nested_with_id',
27
+ :price => 500
28
+ },
29
+ :thash => { :some_key => "some value" },
30
+ :tarray => ["abc", "xyz"],
31
+ :id => 'test_mock_resource_id'
32
+ }
33
+ end
34
+
35
+ def test_mock_resource_list
36
+ {
37
+ :object => 'list',
38
+ :data => [test_mock_resource, test_mock_resource, test_mock_resource],
39
+ }
40
+ end
41
+
42
+
43
+ # Errors
44
+ def test_api_error
45
+ {
46
+ :error => {
47
+ :type => "api_error"
48
+ }
49
+ }
50
+ end
51
+
52
+ def test_invalid_api_key_error
53
+ {
54
+ :error => {
55
+ :type => "invalid_request_error",
56
+ :message => "Invalid API Key provided: invalid"
57
+ }
58
+ }
59
+ end
60
+
61
+ def test_missing_id_error
62
+ {
63
+ :error => {
64
+ :param => "id",
65
+ :type => "invalid_request_error",
66
+ :message => "Missing id"
67
+ }
68
+ }
69
+ end
70
+
71
+ end
72
+ end
@@ -1,158 +1,41 @@
1
- $LOAD_PATH << File.join(File.dirname(__FILE__), "..", "lib")
2
1
  require 'rainforest'
3
2
  require 'test/unit'
4
3
  require 'mocha/setup'
5
4
  require 'stringio'
6
5
  require 'shoulda'
6
+ require File.expand_path('../test_data', __FILE__)
7
+ # require File.expand_path('../mock_resource', __FILE__)
7
8
 
8
- #monkeypatch request methods
9
+ # monkeypatch request methods
9
10
  module Rainforest
10
- @mock_rest_client = nil
11
-
12
- def self.mock_rest_client=(mock_client)
13
- @mock_rest_client = mock_client
11
+ class << self
12
+ attr_accessor :mock_rest_client
14
13
  end
15
14
 
16
- def self.execute_request(opts)
17
- get_params = (opts[:headers] || {})[:params]
18
- post_params = opts[:payload]
19
- case opts[:method]
20
- when :get then @mock_rest_client.get opts[:url], get_params, post_params
21
- when :post then @mock_rest_client.post opts[:url], get_params, post_params
22
- when :delete then @mock_rest_client.delete opts[:url], get_params, post_params
15
+ module Requester
16
+ def self.request(method, url, params, headers)
17
+ case method
18
+ when :get then Rainforest::mock_rest_client.get(url, headers, params)
19
+ when :put then Rainforest::mock_rest_client.put(url, headers, params)
20
+ when :post then Rainforest::mock_rest_client.post(url, headers, params)
21
+ when :delete then Rainforest::mock_rest_client.delete(url, headers, params)
22
+ else
23
+ raise "Invalid method"
24
+ end
23
25
  end
24
26
  end
25
27
  end
26
28
 
27
- def test_response(body, code=200)
28
- # When an exception is raised, restclient clobbers method_missing. Hence we
29
- # can't just use the stubs interface.
30
- body = MultiJson.dump(body) if !(body.kind_of? String)
31
- m = mock
32
- m.instance_variable_set('@rainforest_values', { :body => body, :code => code })
33
- def m.body; @rainforest_values[:body]; end
34
- def m.code; @rainforest_values[:code]; end
35
- m
36
- end
37
-
38
- def test_test(params={})
39
- {
40
- id: 2181,
41
- object: "Test",
42
- created_at: "2013-11-05T04:57:55Z",
43
- test_id: 2181,
44
- site_id: 860,
45
- title: "shit works",
46
- result: "no_result",
47
- start_uri: "/ghost/signin",
48
- run_mode: "default",
49
- deleted: false,
50
- deletable: true,
51
- editable: true,
52
- browsers: [
53
- {
54
- name: "chrome",
55
- state: "enabled"
56
- },{
57
- name: "firefox",
58
- state: "enabled"
59
- },{
60
- name: "ie8",
61
- state: "enabled"
62
- },{
63
- name: "ie9",
64
- state: "enabled"
65
- },{
66
- name: "safari",
67
- state: "enabled"
68
- }
69
- ],
70
- tags: [],
71
- dry_run_url: "https://fierce-thicket-5713.herokuapp.com/turker/dry_run/L4nI_HqGn6ZT4fvecPmDng?turkSubmitTo=%2Fthanks",
72
- last_run: {
73
- id: 4244,
74
- created_at: "2013-11-13T14:38:01Z",
75
- state: "in_progress"
76
- }
77
- }.merge(params)
78
- end
79
-
80
- def test_run(params={})
81
- {
82
- id: 4244,
83
- object: "Run",
84
- created_at: "2013-11-13T14:38:01Z",
85
- environment_id: 1144,
86
- test_count: 1,
87
- state_log: [
88
- {
89
- id: 11741379,
90
- created_at: "2013-11-13T14:38:04Z",
91
- event: "validate_run!",
92
- from: "queued",
93
- state_column: "state",
94
- stateful_id: 4244,
95
- stateful_type: "Run",
96
- to: "validating",
97
- transitioned_at: "2013-11-13T14:38:04Z",
98
- updated_at: "2013-11-13T14:38:04Z"
99
- },{
100
- id: 11741378,
101
- created_at: "2013-11-13T14:38:04Z",
102
- event: "validated!",
103
- from: "validating",
104
- state_column: "state",
105
- stateful_id: 4244,
106
- stateful_type: "Run",
107
- to: "in_progress",
108
- transitioned_at: "2013-11-13T14:38:04Z",
109
- updated_at: "2013-11-13T14:38:04Z"
110
- }
111
- ],
112
- state: "in_progress",
113
- result: "no_result",
114
- expected_wait_time: 5400.0,
115
- browsers: [
116
- {
117
- name: "chrome",
118
- state: "enabled"
119
- },{
120
- name: "firefox",
121
- state: "enabled"
122
- },{
123
- name: "ie8",
124
- state: "enabled"
125
- },{
126
- name: "ie9",
127
- state: "enabled"
128
- },{
129
- name: "safari",
130
- state: "enabled"
131
- }
132
- ],
133
- requested_tests: [2181]
134
- }.merge(params)
135
- end
136
-
137
- def test_run_array
138
- {
139
- data: [test_run, test_run, test_run],
140
- url: '/1/runs'
141
- }
142
- end
143
-
144
- class Test::Unit::TestCase
29
+ class ::Test::Unit::TestCase
30
+ include Rainforest::TestData
145
31
  include Mocha
146
32
 
147
33
  setup do
148
34
  @mock = mock
149
35
  Rainforest.mock_rest_client = @mock
150
- Rainforest.api_key="foo"
151
36
  end
152
37
 
153
38
  teardown do
154
39
  Rainforest.mock_rest_client = nil
155
- Rainforest.api_key=nil
156
40
  end
157
41
  end
158
-
metadata CHANGED
@@ -1,121 +1,131 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Jon Calhon
7
+ - Apibits.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.4'
27
27
  - !ruby/object:Gem::Dependency
28
- name: multi_json
28
+ name: mime-types
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.4
34
- - - <
33
+ version: '1.25'
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '2'
36
+ version: '3.0'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - '>='
41
+ - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.0.4
44
- - - <
43
+ version: '1.25'
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '2'
46
+ version: '3.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: json
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 1.8.1
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 1.8.1
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: mocha
49
63
  requirement: !ruby/object:Gem::Requirement
50
64
  requirements:
51
- - - ~>
65
+ - - "~>"
52
66
  - !ruby/object:Gem::Version
53
67
  version: 0.13.2
54
68
  type: :development
55
69
  prerelease: false
56
70
  version_requirements: !ruby/object:Gem::Requirement
57
71
  requirements:
58
- - - ~>
72
+ - - "~>"
59
73
  - !ruby/object:Gem::Version
60
74
  version: 0.13.2
61
75
  - !ruby/object:Gem::Dependency
62
76
  name: shoulda
63
77
  requirement: !ruby/object:Gem::Requirement
64
78
  requirements:
65
- - - ~>
79
+ - - "~>"
66
80
  - !ruby/object:Gem::Version
67
81
  version: 3.4.0
68
82
  type: :development
69
83
  prerelease: false
70
84
  version_requirements: !ruby/object:Gem::Requirement
71
85
  requirements:
72
- - - ~>
86
+ - - "~>"
73
87
  - !ruby/object:Gem::Version
74
88
  version: 3.4.0
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: test-unit
77
91
  requirement: !ruby/object:Gem::Requirement
78
92
  requirements:
79
- - - '>='
93
+ - - ">="
80
94
  - !ruby/object:Gem::Version
81
95
  version: '0'
82
96
  type: :development
83
97
  prerelease: false
84
98
  version_requirements: !ruby/object:Gem::Requirement
85
99
  requirements:
86
- - - '>='
100
+ - - ">="
87
101
  - !ruby/object:Gem::Version
88
102
  version: '0'
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: rake
91
105
  requirement: !ruby/object:Gem::Requirement
92
106
  requirements:
93
- - - '>='
107
+ - - ">="
94
108
  - !ruby/object:Gem::Version
95
109
  version: '0'
96
110
  type: :development
97
111
  prerelease: false
98
112
  version_requirements: !ruby/object:Gem::Requirement
99
113
  requirements:
100
- - - '>='
114
+ - - ">="
101
115
  - !ruby/object:Gem::Version
102
116
  version: '0'
103
- description: Rainforest allows you to create tests for your website in plain English,
104
- then run them across all major browsers with a single click. See https://www.rainforestqa.com/
105
- for details.
117
+ description: Rainforest automates your functional and integration testing with our
118
+ QA-as-a-Service API.
106
119
  email:
107
- - joncalhoun@gmail.com
120
+ - libraries@apibits.com
108
121
  executables:
109
122
  - rainforest-console
110
123
  extensions: []
111
124
  extra_rdoc_files: []
112
125
  files:
113
- - .gitignore
114
- - .travis.yml
115
- - CONTRIBUTORS
126
+ - ".gitignore"
127
+ - ".travis.yml"
116
128
  - Gemfile
117
- - History.txt
118
- - LICENSE
119
129
  - README.md
120
130
  - Rakefile
121
131
  - VERSION
@@ -123,34 +133,60 @@ files:
123
133
  - gemfiles/default-with-activesupport.gemfile
124
134
  - gemfiles/json.gemfile
125
135
  - gemfiles/yajl.gemfile
126
- - lib/data/ca-certificates.crt
127
136
  - lib/rainforest.rb
128
- - lib/rainforest/api_operations/create.rb
129
- - lib/rainforest/api_operations/delete.rb
130
- - lib/rainforest/api_operations/list.rb
131
- - lib/rainforest/api_operations/update.rb
132
- - lib/rainforest/api_resource.rb
137
+ - lib/rainforest/apibits/api_client.rb
138
+ - lib/rainforest/apibits/api_endpoint.rb
139
+ - lib/rainforest/apibits/api_list.rb
140
+ - lib/rainforest/apibits/api_method.rb
141
+ - lib/rainforest/apibits/api_object.rb
142
+ - lib/rainforest/apibits/api_resource.rb
143
+ - lib/rainforest/apibits/headers_builder.rb
144
+ - lib/rainforest/apibits/params_builder.rb
145
+ - lib/rainforest/apibits/path_builder.rb
146
+ - lib/rainforest/apibits/requester.rb
147
+ - lib/rainforest/apibits/util.rb
148
+ - lib/rainforest/clients/default_client.rb
149
+ - lib/rainforest/endpoints/client_stats_endpoint.rb
150
+ - lib/rainforest/endpoints/environment_runs_endpoint.rb
151
+ - lib/rainforest/endpoints/environments_endpoint.rb
152
+ - lib/rainforest/endpoints/generator_rows_endpoint.rb
153
+ - lib/rainforest/endpoints/generators_endpoint.rb
154
+ - lib/rainforest/endpoints/integrations_endpoint.rb
155
+ - lib/rainforest/endpoints/run_tests_endpoint.rb
156
+ - lib/rainforest/endpoints/runs_endpoint.rb
157
+ - lib/rainforest/endpoints/schedules_endpoint.rb
158
+ - lib/rainforest/endpoints/site_environments_endpoint.rb
159
+ - lib/rainforest/endpoints/sites_endpoint.rb
160
+ - lib/rainforest/endpoints/tests_endpoint.rb
161
+ - lib/rainforest/endpoints/users_endpoint.rb
133
162
  - lib/rainforest/errors/api_connection_error.rb
134
163
  - lib/rainforest/errors/api_error.rb
135
164
  - lib/rainforest/errors/authentication_error.rb
136
- - lib/rainforest/errors/invalid_request_error.rb
137
165
  - lib/rainforest/errors/rainforest_error.rb
138
- - lib/rainforest/json.rb
139
- - lib/rainforest/list_object.rb
140
- - lib/rainforest/rainforest_object.rb
141
- - lib/rainforest/run.rb
142
- - lib/rainforest/singleton_api_resource.rb
143
- - lib/rainforest/util.rb
166
+ - lib/rainforest/resources/client_stats.rb
167
+ - lib/rainforest/resources/environment.rb
168
+ - lib/rainforest/resources/generator.rb
169
+ - lib/rainforest/resources/integration.rb
170
+ - lib/rainforest/resources/run.rb
171
+ - lib/rainforest/resources/schedule.rb
172
+ - lib/rainforest/resources/site.rb
173
+ - lib/rainforest/resources/site_environment.rb
174
+ - lib/rainforest/resources/test.rb
175
+ - lib/rainforest/resources/user.rb
144
176
  - lib/rainforest/version.rb
145
177
  - rainforest.gemspec
146
- - test/rainforest/api_resource_test.rb
147
- - test/rainforest/auth_test.rb
148
- - test/rainforest/list_object_test.rb
149
- - test/rainforest/metadata_test.rb
150
- - test/rainforest/run_test.rb
178
+ - test/rainforest/api_client_test.rb
179
+ - test/rainforest/api_endpoint_test.rb
180
+ - test/rainforest/api_list_test.rb
181
+ - test/rainforest/api_method_test.rb
182
+ - test/rainforest/headers_builder_test.rb
183
+ - test/rainforest/params_builder_test.rb
184
+ - test/rainforest/path_builder_test.rb
185
+ - test/rainforest/requester_test.rb
151
186
  - test/rainforest/util_test.rb
187
+ - test/test_data.rb
152
188
  - test/test_helper.rb
153
- homepage: https://github.com/joncalhoun/rainforest-ruby
189
+ homepage: https://docs.rainfroestqa.com
154
190
  licenses:
155
191
  - MIT
156
192
  metadata: {}
@@ -160,25 +196,29 @@ require_paths:
160
196
  - lib
161
197
  required_ruby_version: !ruby/object:Gem::Requirement
162
198
  requirements:
163
- - - '>='
199
+ - - ">="
164
200
  - !ruby/object:Gem::Version
165
201
  version: '0'
166
202
  required_rubygems_version: !ruby/object:Gem::Requirement
167
203
  requirements:
168
- - - '>='
204
+ - - ">="
169
205
  - !ruby/object:Gem::Version
170
206
  version: '0'
171
207
  requirements: []
172
208
  rubyforge_project:
173
- rubygems_version: 2.0.3
209
+ rubygems_version: 2.2.2
174
210
  signing_key:
175
211
  specification_version: 4
176
- summary: Ruby bindings for the Rainforest API
212
+ summary: Ruby bindings for Rainforest API
177
213
  test_files:
178
- - test/rainforest/api_resource_test.rb
179
- - test/rainforest/auth_test.rb
180
- - test/rainforest/list_object_test.rb
181
- - test/rainforest/metadata_test.rb
182
- - test/rainforest/run_test.rb
214
+ - test/rainforest/api_client_test.rb
215
+ - test/rainforest/api_endpoint_test.rb
216
+ - test/rainforest/api_list_test.rb
217
+ - test/rainforest/api_method_test.rb
218
+ - test/rainforest/headers_builder_test.rb
219
+ - test/rainforest/params_builder_test.rb
220
+ - test/rainforest/path_builder_test.rb
221
+ - test/rainforest/requester_test.rb
183
222
  - test/rainforest/util_test.rb
223
+ - test/test_data.rb
184
224
  - test/test_helper.rb