testdroid-api-client 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -0
- data/Gemfile.lock +48 -22
- data/lib/testdroid-api-client.rb +22 -6
- data/lib/testdroid-api-filter-builder.rb +145 -0
- data/lib/testdroid_api/admin.rb +25 -0
- data/lib/testdroid_api/admin_device_models.rb +10 -0
- data/lib/testdroid_api/admin_device_problems.rb +9 -0
- data/lib/testdroid_api/admin_device_statuses.rb +12 -0
- data/lib/testdroid_api/admin_devices.rb +10 -0
- data/lib/testdroid_api/apikey_client.rb +120 -0
- data/lib/testdroid_api/client.rb +166 -123
- data/lib/testdroid_api/cloud_list_resource.rb +73 -70
- data/lib/testdroid_api/cloud_resource.rb +83 -71
- data/lib/testdroid_api/config.rb +7 -7
- data/lib/testdroid_api/device_groups.rb +8 -9
- data/lib/testdroid_api/device_runs.rb +4 -2
- data/lib/testdroid_api/device_session_connections.rb +10 -0
- data/lib/testdroid_api/device_sessions.rb +12 -12
- data/lib/testdroid_api/devices.rb +8 -11
- data/lib/testdroid_api/file_sets.rb +8 -9
- data/lib/testdroid_api/files.rb +57 -58
- data/lib/testdroid_api/label_groups.rb +9 -10
- data/lib/testdroid_api/labels.rb +9 -10
- data/lib/testdroid_api/parameters.rb +7 -8
- data/lib/testdroid_api/projects.rb +13 -15
- data/lib/testdroid_api/properties.rb +13 -0
- data/lib/testdroid_api/runs.rb +13 -12
- data/lib/testdroid_api/services.rb +18 -0
- data/lib/testdroid_api/user.rb +6 -6
- data/sample/sample.rb +16 -11
- data/testdroid-api-client.gemspec +4 -2
- metadata +53 -3
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "testdroid-api-client"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.3.0"
|
4
4
|
|
5
5
|
|
6
6
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
7
|
-
s.authors = ["Sakari Rautiainen"]
|
7
|
+
s.authors = ["Sakari Rautiainen", "Marek Sierociński"]
|
8
8
|
s.date = %q{2014-12-19}
|
9
9
|
s.description = %q{Ruby client for testdroid api v2}
|
10
10
|
s.license = "MIT"
|
@@ -17,6 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.summary = %q{Testdroid API Client!}
|
18
18
|
s.add_runtime_dependency "oauth2",'~> 0.9'
|
19
19
|
s.add_runtime_dependency "faraday",'~> 0.8.8', '>= 0.8.8'
|
20
|
+
s.add_runtime_dependency "rest-client",'~> 2.0', '>= 2.0.0'
|
21
|
+
s.add_runtime_dependency "deep_merge",'~> 1.1', '>= 1.1.1'
|
20
22
|
s.add_development_dependency "bump",'~> 0.5'
|
21
23
|
s.add_development_dependency "rake"
|
22
24
|
s.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testdroid-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sakari Rautiainen
|
8
|
+
- Marek Sierociński
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
@@ -44,6 +45,46 @@ dependencies:
|
|
44
45
|
- - ">="
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: 0.8.8
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rest-client
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 2.0.0
|
58
|
+
type: :runtime
|
59
|
+
prerelease: false
|
60
|
+
version_requirements: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - "~>"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '2.0'
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 2.0.0
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: deep_merge
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.1'
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.1.1
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.1'
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 1.1.1
|
47
88
|
- !ruby/object:Gem::Dependency
|
48
89
|
name: bump
|
49
90
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,12 +195,20 @@ files:
|
|
154
195
|
- LICENSE
|
155
196
|
- README.md
|
156
197
|
- lib/testdroid-api-client.rb
|
198
|
+
- lib/testdroid-api-filter-builder.rb
|
199
|
+
- lib/testdroid_api/admin.rb
|
200
|
+
- lib/testdroid_api/admin_device_models.rb
|
201
|
+
- lib/testdroid_api/admin_device_problems.rb
|
202
|
+
- lib/testdroid_api/admin_device_statuses.rb
|
203
|
+
- lib/testdroid_api/admin_devices.rb
|
204
|
+
- lib/testdroid_api/apikey_client.rb
|
157
205
|
- lib/testdroid_api/client.rb
|
158
206
|
- lib/testdroid_api/cloud_list_resource.rb
|
159
207
|
- lib/testdroid_api/cloud_resource.rb
|
160
208
|
- lib/testdroid_api/config.rb
|
161
209
|
- lib/testdroid_api/device_groups.rb
|
162
210
|
- lib/testdroid_api/device_runs.rb
|
211
|
+
- lib/testdroid_api/device_session_connections.rb
|
163
212
|
- lib/testdroid_api/device_sessions.rb
|
164
213
|
- lib/testdroid_api/devices.rb
|
165
214
|
- lib/testdroid_api/file_sets.rb
|
@@ -168,7 +217,9 @@ files:
|
|
168
217
|
- lib/testdroid_api/labels.rb
|
169
218
|
- lib/testdroid_api/parameters.rb
|
170
219
|
- lib/testdroid_api/projects.rb
|
220
|
+
- lib/testdroid_api/properties.rb
|
171
221
|
- lib/testdroid_api/runs.rb
|
222
|
+
- lib/testdroid_api/services.rb
|
172
223
|
- lib/testdroid_api/user.rb
|
173
224
|
- pkg/testdroid-api-client-0.0.3.gem
|
174
225
|
- pkg/testdroid-api-client-0.0.4.gem
|
@@ -261,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
312
|
version: '0'
|
262
313
|
requirements: []
|
263
314
|
rubyforge_project:
|
264
|
-
rubygems_version: 2.
|
315
|
+
rubygems_version: 2.4.8
|
265
316
|
signing_key:
|
266
317
|
specification_version: 3
|
267
318
|
summary: Testdroid API Client!
|
@@ -327,4 +378,3 @@ test_files:
|
|
327
378
|
- spec/project_spec.rb
|
328
379
|
- spec/run_spec.rb
|
329
380
|
- spec/spec_helper.rb
|
330
|
-
has_rdoc:
|