testdroid-api-client 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +2 -2
  3. data/.travis.yml +8 -0
  4. data/Gemfile.lock +39 -37
  5. data/README.md +26 -41
  6. data/lib/testdroid-api-client.rb +1 -4
  7. data/lib/testdroid-api-filter-builder.rb +1 -1
  8. data/lib/testdroid_api/admin.rb +5 -5
  9. data/lib/testdroid_api/admin_device_models.rb +1 -1
  10. data/lib/testdroid_api/admin_device_problems.rb +1 -1
  11. data/lib/testdroid_api/admin_device_statuses.rb +1 -1
  12. data/lib/testdroid_api/admin_devices.rb +1 -1
  13. data/lib/testdroid_api/apikey_client.rb +31 -31
  14. data/lib/testdroid_api/client.rb +39 -47
  15. data/lib/testdroid_api/cloud_list_resource.rb +11 -15
  16. data/lib/testdroid_api/cloud_resource.rb +7 -7
  17. data/lib/testdroid_api/device_groups.rb +2 -1
  18. data/lib/testdroid_api/device_session_connections.rb +1 -1
  19. data/lib/testdroid_api/device_sessions.rb +11 -2
  20. data/lib/testdroid_api/devices.rb +1 -1
  21. data/lib/testdroid_api/files.rb +8 -47
  22. data/lib/testdroid_api/frameworks.rb +11 -0
  23. data/lib/testdroid_api/label_groups.rb +1 -1
  24. data/lib/testdroid_api/labels.rb +1 -1
  25. data/lib/testdroid_api/projects.rb +2 -7
  26. data/lib/testdroid_api/properties.rb +1 -1
  27. data/lib/testdroid_api/runs.rb +12 -3
  28. data/lib/testdroid_api/services.rb +1 -1
  29. data/lib/testdroid_api/user.rb +7 -2
  30. data/sample/BitbarSampleApp.apk +0 -0
  31. data/sample/BitbarSampleAppTest.apk +0 -0
  32. data/sample/sample.rb +22 -27
  33. data/spec/client_spec.rb +7 -7
  34. data/spec/device_groups_spec.rb +30 -17
  35. data/spec/files_spec.rb +29 -20
  36. data/spec/fixtures/apk.apk +0 -0
  37. data/spec/fixtures/cassettes/device_groups_authorize.json +1 -0
  38. data/spec/fixtures/cassettes/device_groups_create.json +1 -0
  39. data/spec/fixtures/cassettes/device_groups_delete.json +1 -0
  40. data/spec/fixtures/cassettes/device_groups_get_all.json +1 -0
  41. data/spec/fixtures/cassettes/device_groups_get_one.json +1 -0
  42. data/spec/fixtures/cassettes/files_authorize.json +1 -0
  43. data/spec/fixtures/cassettes/files_delete.json +1 -0
  44. data/spec/fixtures/cassettes/files_get_all.json +1 -0
  45. data/spec/fixtures/cassettes/files_get_one.json +1 -0
  46. data/spec/fixtures/cassettes/files_upload.json +1 -0
  47. data/spec/fixtures/cassettes/label_groups_authorize.json +1 -0
  48. data/spec/fixtures/cassettes/label_groups_create.json +1 -0
  49. data/spec/fixtures/cassettes/label_groups_delete.json +1 -0
  50. data/spec/fixtures/cassettes/label_groups_get_all.json +1 -0
  51. data/spec/fixtures/cassettes/label_groups_get_labels.json +1 -0
  52. data/spec/fixtures/cassettes/label_groups_get_one.json +1 -0
  53. data/spec/fixtures/cassettes/projects_authorize.json +1 -0
  54. data/spec/fixtures/cassettes/projects_create.json +1 -0
  55. data/spec/fixtures/cassettes/projects_delete.json +1 -0
  56. data/spec/fixtures/cassettes/projects_get_all.json +1 -0
  57. data/spec/fixtures/cassettes/projects_get_one.json +1 -0
  58. data/spec/fixtures/cassettes/runs_abort_run.json +1 -0
  59. data/spec/fixtures/cassettes/runs_authorize.json +1 -0
  60. data/spec/fixtures/cassettes/runs_get_project_runs.json +1 -0
  61. data/spec/fixtures/cassettes/runs_start_run.json +1 -0
  62. data/spec/label_groups_spec.rb +35 -42
  63. data/spec/projects_spec.rb +41 -0
  64. data/spec/runs_spec.rb +41 -0
  65. data/spec/spec_helper.rb +3 -4
  66. data/testdroid-api-client.gemspec +12 -12
  67. metadata +53 -162
  68. data/lib/testdroid_api/config.rb +0 -9
  69. data/lib/testdroid_api/device_runs.rb +0 -22
  70. data/lib/testdroid_api/file_sets.rb +0 -11
  71. data/lib/testdroid_api/parameters.rb +0 -10
  72. data/spec/device_runs_spec.rb +0 -25
  73. data/spec/file_sets_spec.rb +0 -47
  74. data/spec/fixtures/cassettes/dg_all_device_groups.json +0 -1
  75. data/spec/fixtures/cassettes/dg_device_group_4165.json +0 -1
  76. data/spec/fixtures/cassettes/dg_oauth2_auth_device_groups.json +0 -1
  77. data/spec/fixtures/cassettes/dr_all_run_171221_device_runs.json +0 -1
  78. data/spec/fixtures/cassettes/dr_device_run_33044722.json +0 -1
  79. data/spec/fixtures/cassettes/dr_oauth2_auth_device_runs.json +0 -1
  80. data/spec/fixtures/cassettes/dr_run_33044722_device_runs.json +0 -1
  81. data/spec/fixtures/cassettes/f_add_file_set.json +0 -1
  82. data/spec/fixtures/cassettes/f_android_app_file.json +0 -1
  83. data/spec/fixtures/cassettes/f_file_sets.json +0 -1
  84. data/spec/fixtures/cassettes/f_oauth2_auth_files.json +0 -1
  85. data/spec/fixtures/cassettes/f_upload_files.json +0 -1
  86. data/spec/fixtures/cassettes/fs_add_file_set.json +0 -1
  87. data/spec/fixtures/cassettes/fs_add_file_to_fileset.json +0 -1
  88. data/spec/fixtures/cassettes/fs_delete_file_set.json +0 -1
  89. data/spec/fixtures/cassettes/fs_file_sets.json +0 -1
  90. data/spec/fixtures/cassettes/fs_get_file_set.json +0 -1
  91. data/spec/fixtures/cassettes/fs_oauth2_auth_files.json +0 -1
  92. data/spec/fixtures/cassettes/fs_update_file_set.json +0 -1
  93. data/spec/fixtures/cassettes/fu_oauth2_auth_files.json +0 -1
  94. data/spec/fixtures/cassettes/lg_all_label_groups.json +0 -1
  95. data/spec/fixtures/cassettes/lg_get_resources_by_label.json +0 -1
  96. data/spec/fixtures/cassettes/lg_label_group_1058800.json +0 -1
  97. data/spec/fixtures/cassettes/lg_labels_of_group_1058800.json +0 -1
  98. data/spec/fixtures/cassettes/lg_oauth2_auth_label_groups.json +0 -1
  99. data/spec/fixtures/cassettes/p_all_projects.json +0 -1
  100. data/spec/fixtures/cassettes/p_create_project.json +0 -1
  101. data/spec/fixtures/cassettes/p_get_run_devices.json +0 -1
  102. data/spec/fixtures/cassettes/p_oauth2_auth.json +0 -1
  103. data/spec/fixtures/cassettes/p_oauth2_local.json +0 -1
  104. data/spec/fixtures/cassettes/p_project_id_33029366.json +0 -1
  105. data/spec/fixtures/cassettes/p_run_project.json +0 -1
  106. data/spec/fixtures/cassettes/pc_get_current.json +0 -1
  107. data/spec/fixtures/cassettes/pc_oauth2_auth_config.json +0 -1
  108. data/spec/fixtures/cassettes/pc_set_current_config.json +0 -1
  109. data/spec/fixtures/cassettes/pc_validate_config.json +0 -1
  110. data/spec/fixtures/cassettes/pcp_delete_params.json +0 -1
  111. data/spec/fixtures/cassettes/pcp_get_current.json +0 -1
  112. data/spec/fixtures/cassettes/pcp_oauth2_auth_config.json +0 -1
  113. data/spec/fixtures/cassettes/pcp_set_current_config.json +0 -1
  114. data/spec/fixtures/cassettes/pcp_validate_config.json +0 -1
  115. data/spec/fixtures/cassettes/r_all_project_33029366_runs.json +0 -1
  116. data/spec/fixtures/cassettes/r_delete_test_run.json +0 -1
  117. data/spec/fixtures/cassettes/r_oauth2_auth_runs.json +0 -1
  118. data/spec/fixtures/cassettes/r_run_171221.json +0 -1
  119. data/spec/fixtures/cassettes/r_run_project.json +0 -1
  120. data/spec/fixtures/cassettes/upload_files.json +0 -1
  121. data/spec/fixtures/project.json +0 -8
  122. data/spec/project_config_parameters_spec.rb +0 -44
  123. data/spec/project_config_spec.rb +0 -36
  124. data/spec/project_spec.rb +0 -56
  125. data/spec/run_spec.rb +0 -33
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ describe TestdroidAPI::Project do
4
+ before :all do
5
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_authorize') do
6
+ @user = client_local_host.authorize
7
+ end
8
+ end
9
+
10
+ P_ID = nil
11
+
12
+ it 'create project' do
13
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_create') do
14
+ project = @user.projects.create({:params => {:name => 'My Project'}})
15
+ expect(project.name).to eq 'My Project'
16
+ P_ID = project.id
17
+ end
18
+ end
19
+
20
+ it 'get projects' do
21
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_get_all') do
22
+ expect(@user.projects.list.length).to satisfy {|n| n > 0}
23
+ end
24
+ end
25
+
26
+ it 'get project using id' do
27
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_get_one') do
28
+ project = @user.projects.get(P_ID)
29
+ expect(project.common).to be_falsey
30
+ expect(project.name).to eq('My Project')
31
+ expect(project.id).to eq(P_ID)
32
+ end
33
+ end
34
+
35
+ it 'delete project' do
36
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_delete') do
37
+ @user.projects.get(P_ID).delete
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ describe TestdroidAPI::Project do
4
+ before :all do
5
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_authorize') do
6
+ @user = client_local_host.authorize
7
+ end
8
+ end
9
+
10
+ P_ID = nil
11
+ TR_ID = nil
12
+
13
+ it 'start test run' do
14
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_start_run') do
15
+ framework_id = @user.available_frameworks.list({:filter => "s_osType_eq_ANDROID;s_name_like_%AppCrawler"})[0].id
16
+ app_file_id = @user.files.upload(File.join(File.dirname(__FILE__), 'fixtures', 'apk.apk')).id
17
+
18
+ test_run = @user.runs.create("{\"osType\": \"ANDROID\", \"projectName\": \"My new Project\",
19
+ \"frameworkId\":#{framework_id}, \"files\": [{\"id\": #{app_file_id}, \"action\": \"INSTALL\" }]}")
20
+
21
+ P_ID = test_run.project_id
22
+ TR_ID = test_run.id
23
+ end
24
+ end
25
+
26
+ it 'get project test runs' do
27
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_get_project_runs') do
28
+ test_runs = @user.projects.get(P_ID).runs
29
+ expect(test_runs.total).to eq(1)
30
+ end
31
+ end
32
+
33
+ it 'abort test run' do
34
+ VCR.use_cassette(File.basename(__FILE__).split('_spec')[0] + '_abort_run') do
35
+ test_run = @user.projects.get(P_ID).runs.get(TR_ID)
36
+ test_run.abort
37
+ expect(test_run.state).to eq("FINISHED")
38
+ end
39
+ end
40
+
41
+ end
@@ -1,6 +1,5 @@
1
1
  gem 'rspec'
2
2
  gem 'rspec-collection_matchers'
3
- gem 'faraday', '~> 0.8.8'
4
3
 
5
4
  require 'rspec'
6
5
  require 'json'
@@ -9,14 +8,13 @@ require 'webmock/rspec'
9
8
  require 'vcr'
10
9
 
11
10
  include TestdroidAPI
12
- CLOUD_ENDPOINT='https://cloud.testdroid.com'
13
11
 
14
12
 
15
13
  VCR.configure do |c|
16
14
  puts "init VCR"
17
15
  c.cassette_library_dir = File.join(File.dirname(__FILE__), 'fixtures', 'cassettes')
18
16
  c.hook_into :webmock , :faraday
19
- c.default_cassette_options = {:serialize_with => :json, :preserve_exact_body_bytes => true, :decode_compressed_response => true}
17
+ c.default_cassette_options = {:serialize_with => :json, :preserve_exact_body_bytes => true, :decode_compressed_response => true}
20
18
  c.allow_http_connections_when_no_cassette = false
21
19
  end
22
20
 
@@ -26,7 +24,8 @@ def client
26
24
  rescue Exception => e
27
25
  end
28
26
  end
29
- def client_local_host(local_cloud='http://localhost:8080/testdroid-cloud')
27
+
28
+ def client_local_host(local_cloud='http://localhost/testdroid-cloud')
30
29
  @client_local_host ||= begin
31
30
  client_local_host = Client.new('admin@localhost', 'admin', local_cloud)
32
31
  rescue Exception => e
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "testdroid-api-client"
3
- s.version = "0.3.0"
3
+ s.version = "0.4.0"
4
4
 
5
5
 
6
6
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
7
7
  s.authors = ["Sakari Rautiainen", "Marek Sierociński"]
8
- s.date = %q{2014-12-19}
8
+ s.date = %q{2017-04-26}
9
9
  s.description = %q{Ruby client for testdroid api v2}
10
10
  s.license = "MIT"
11
11
  s.email = %q{sakari.rautiainen@bitbar.com}
@@ -15,22 +15,22 @@ Gem::Specification.new do |s|
15
15
  s.require_paths = ['lib']
16
16
  s.rubygems_version = %q{2.2.2}
17
17
  s.summary = %q{Testdroid API Client!}
18
- s.add_runtime_dependency "oauth2",'~> 0.9'
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'
22
- s.add_development_dependency "bump",'~> 0.5'
18
+ s.add_runtime_dependency "oauth2",'~> 1.4'
19
+ s.add_runtime_dependency "faraday",'~> 0.17', '>= 0.17'
20
+ s.add_runtime_dependency "rest-client",'~> 2.1'
21
+ s.add_runtime_dependency "deep_merge",'~> 1.2'
22
+ s.add_development_dependency "bump",'~> 0.8'
23
23
  s.add_development_dependency "rake"
24
24
  s.add_development_dependency "rspec"
25
25
  s.add_development_dependency "rspec-collection_matchers"
26
- s.add_development_dependency "vcr", '~> 2.9'
27
- s.add_development_dependency "webmock", '~> 1.9'
28
- s.add_development_dependency "yard", '~> 0.8'
26
+ s.add_development_dependency "vcr", '~> 5.0'
27
+ s.add_development_dependency "webmock", '~> 3.7'
28
+ s.add_development_dependency "yard", '~> 0.9.20'
29
29
 
30
- if s.respond_to? :specification_version then
30
+ if s.respond_to? :specification_version
31
31
  s.specification_version = 3
32
32
 
33
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
33
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
34
34
  else
35
35
  end
36
36
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testdroid-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sakari Rautiainen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-19 00:00:00.000000000 Z
12
+ date: 2017-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth2
@@ -17,88 +17,76 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.9'
20
+ version: '1.4'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.9'
27
+ version: '1.4'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: faraday
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.8.8
34
+ version: '0.17'
35
35
  - - ">="
36
36
  - !ruby/object:Gem::Version
37
- version: 0.8.8
37
+ version: '0.17'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - "~>"
43
43
  - !ruby/object:Gem::Version
44
- version: 0.8.8
44
+ version: '0.17'
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.8
47
+ version: '0.17'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rest-client
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.0'
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 2.0.0
54
+ version: '2.1'
58
55
  type: :runtime
59
56
  prerelease: false
60
57
  version_requirements: !ruby/object:Gem::Requirement
61
58
  requirements:
62
59
  - - "~>"
63
60
  - !ruby/object:Gem::Version
64
- version: '2.0'
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: 2.0.0
61
+ version: '2.1'
68
62
  - !ruby/object:Gem::Dependency
69
63
  name: deep_merge
70
64
  requirement: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '1.1'
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: 1.1.1
68
+ version: '1.2'
78
69
  type: :runtime
79
70
  prerelease: false
80
71
  version_requirements: !ruby/object:Gem::Requirement
81
72
  requirements:
82
73
  - - "~>"
83
74
  - !ruby/object:Gem::Version
84
- version: '1.1'
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- version: 1.1.1
75
+ version: '1.2'
88
76
  - !ruby/object:Gem::Dependency
89
77
  name: bump
90
78
  requirement: !ruby/object:Gem::Requirement
91
79
  requirements:
92
80
  - - "~>"
93
81
  - !ruby/object:Gem::Version
94
- version: '0.5'
82
+ version: '0.8'
95
83
  type: :development
96
84
  prerelease: false
97
85
  version_requirements: !ruby/object:Gem::Requirement
98
86
  requirements:
99
87
  - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '0.5'
89
+ version: '0.8'
102
90
  - !ruby/object:Gem::Dependency
103
91
  name: rake
104
92
  requirement: !ruby/object:Gem::Requirement
@@ -147,42 +135,42 @@ dependencies:
147
135
  requirements:
148
136
  - - "~>"
149
137
  - !ruby/object:Gem::Version
150
- version: '2.9'
138
+ version: '5.0'
151
139
  type: :development
152
140
  prerelease: false
153
141
  version_requirements: !ruby/object:Gem::Requirement
154
142
  requirements:
155
143
  - - "~>"
156
144
  - !ruby/object:Gem::Version
157
- version: '2.9'
145
+ version: '5.0'
158
146
  - !ruby/object:Gem::Dependency
159
147
  name: webmock
160
148
  requirement: !ruby/object:Gem::Requirement
161
149
  requirements:
162
150
  - - "~>"
163
151
  - !ruby/object:Gem::Version
164
- version: '1.9'
152
+ version: '3.7'
165
153
  type: :development
166
154
  prerelease: false
167
155
  version_requirements: !ruby/object:Gem::Requirement
168
156
  requirements:
169
157
  - - "~>"
170
158
  - !ruby/object:Gem::Version
171
- version: '1.9'
159
+ version: '3.7'
172
160
  - !ruby/object:Gem::Dependency
173
161
  name: yard
174
162
  requirement: !ruby/object:Gem::Requirement
175
163
  requirements:
176
164
  - - "~>"
177
165
  - !ruby/object:Gem::Version
178
- version: '0.8'
166
+ version: 0.9.20
179
167
  type: :development
180
168
  prerelease: false
181
169
  version_requirements: !ruby/object:Gem::Requirement
182
170
  requirements:
183
171
  - - "~>"
184
172
  - !ruby/object:Gem::Version
185
- version: '0.8'
173
+ version: 0.9.20
186
174
  description: Ruby client for testdroid api v2
187
175
  email: sakari.rautiainen@bitbar.com
188
176
  executables: []
@@ -190,6 +178,7 @@ extensions: []
190
178
  extra_rdoc_files: []
191
179
  files:
192
180
  - ".gitignore"
181
+ - ".travis.yml"
193
182
  - Gemfile
194
183
  - Gemfile.lock
195
184
  - LICENSE
@@ -205,91 +194,54 @@ files:
205
194
  - lib/testdroid_api/client.rb
206
195
  - lib/testdroid_api/cloud_list_resource.rb
207
196
  - lib/testdroid_api/cloud_resource.rb
208
- - lib/testdroid_api/config.rb
209
197
  - lib/testdroid_api/device_groups.rb
210
- - lib/testdroid_api/device_runs.rb
211
198
  - lib/testdroid_api/device_session_connections.rb
212
199
  - lib/testdroid_api/device_sessions.rb
213
200
  - lib/testdroid_api/devices.rb
214
- - lib/testdroid_api/file_sets.rb
215
201
  - lib/testdroid_api/files.rb
202
+ - lib/testdroid_api/frameworks.rb
216
203
  - lib/testdroid_api/label_groups.rb
217
204
  - lib/testdroid_api/labels.rb
218
- - lib/testdroid_api/parameters.rb
219
205
  - lib/testdroid_api/projects.rb
220
206
  - lib/testdroid_api/properties.rb
221
207
  - lib/testdroid_api/runs.rb
222
208
  - lib/testdroid_api/services.rb
223
209
  - lib/testdroid_api/user.rb
224
- - pkg/testdroid-api-client-0.0.3.gem
225
- - pkg/testdroid-api-client-0.0.4.gem
226
- - pkg/testdroid-api-client-0.0.5.gem
227
- - pkg/testdroid-api-client-0.0.6.gem
228
- - pkg/testdroid-api-client-0.0.7.gem
229
- - pkg/testdroid-api-client-0.1.0.gem
230
- - pkg/testdroid-api-client-0.1.1.gem
231
- - pkg/testdroid-api-client-0.1.2.gem
210
+ - sample/BitbarSampleApp.apk
211
+ - sample/BitbarSampleAppTest.apk
232
212
  - sample/sample.rb
233
213
  - spec/client_spec.rb
234
214
  - spec/device_groups_spec.rb
235
- - spec/device_runs_spec.rb
236
- - spec/file_sets_spec.rb
237
215
  - spec/files_spec.rb
238
216
  - spec/fixtures/apk.apk
239
- - spec/fixtures/cassettes/.DS_Store
240
- - spec/fixtures/cassettes/dg_all_device_groups.json
241
- - spec/fixtures/cassettes/dg_device_group_4165.json
242
- - spec/fixtures/cassettes/dg_oauth2_auth_device_groups.json
243
- - spec/fixtures/cassettes/dr_all_run_171221_device_runs.json
244
- - spec/fixtures/cassettes/dr_device_run_33044722.json
245
- - spec/fixtures/cassettes/dr_oauth2_auth_device_runs.json
246
- - spec/fixtures/cassettes/dr_run_33044722_device_runs.json
247
- - spec/fixtures/cassettes/f_add_file_set.json
248
- - spec/fixtures/cassettes/f_android_app_file.json
249
- - spec/fixtures/cassettes/f_file_sets.json
250
- - spec/fixtures/cassettes/f_oauth2_auth_files.json
251
- - spec/fixtures/cassettes/f_upload_files.json
252
- - spec/fixtures/cassettes/fs_add_file_set.json
253
- - spec/fixtures/cassettes/fs_add_file_to_fileset.json
254
- - spec/fixtures/cassettes/fs_delete_file_set.json
255
- - spec/fixtures/cassettes/fs_file_sets.json
256
- - spec/fixtures/cassettes/fs_get_file_set.json
257
- - spec/fixtures/cassettes/fs_oauth2_auth_files.json
258
- - spec/fixtures/cassettes/fs_update_file_set.json
259
- - spec/fixtures/cassettes/fu_oauth2_auth_files.json
260
- - spec/fixtures/cassettes/lg_all_label_groups.json
261
- - spec/fixtures/cassettes/lg_get_resources_by_label.json
262
- - spec/fixtures/cassettes/lg_label_group_1058800.json
263
- - spec/fixtures/cassettes/lg_labels_of_group_1058800.json
264
- - spec/fixtures/cassettes/lg_oauth2_auth_label_groups.json
265
- - spec/fixtures/cassettes/p_all_projects.json
266
- - spec/fixtures/cassettes/p_create_project.json
267
- - spec/fixtures/cassettes/p_get_run_devices.json
268
- - spec/fixtures/cassettes/p_oauth2_auth.json
269
- - spec/fixtures/cassettes/p_oauth2_local.json
270
- - spec/fixtures/cassettes/p_project_id_33029366.json
271
- - spec/fixtures/cassettes/p_run_project.json
272
- - spec/fixtures/cassettes/pc_get_current.json
273
- - spec/fixtures/cassettes/pc_oauth2_auth_config.json
274
- - spec/fixtures/cassettes/pc_set_current_config.json
275
- - spec/fixtures/cassettes/pc_validate_config.json
276
- - spec/fixtures/cassettes/pcp_delete_params.json
277
- - spec/fixtures/cassettes/pcp_get_current.json
278
- - spec/fixtures/cassettes/pcp_oauth2_auth_config.json
279
- - spec/fixtures/cassettes/pcp_set_current_config.json
280
- - spec/fixtures/cassettes/pcp_validate_config.json
281
- - spec/fixtures/cassettes/r_all_project_33029366_runs.json
282
- - spec/fixtures/cassettes/r_delete_test_run.json
283
- - spec/fixtures/cassettes/r_oauth2_auth_runs.json
284
- - spec/fixtures/cassettes/r_run_171221.json
285
- - spec/fixtures/cassettes/r_run_project.json
286
- - spec/fixtures/cassettes/upload_files.json
287
- - spec/fixtures/project.json
217
+ - spec/fixtures/cassettes/device_groups_authorize.json
218
+ - spec/fixtures/cassettes/device_groups_create.json
219
+ - spec/fixtures/cassettes/device_groups_delete.json
220
+ - spec/fixtures/cassettes/device_groups_get_all.json
221
+ - spec/fixtures/cassettes/device_groups_get_one.json
222
+ - spec/fixtures/cassettes/files_authorize.json
223
+ - spec/fixtures/cassettes/files_delete.json
224
+ - spec/fixtures/cassettes/files_get_all.json
225
+ - spec/fixtures/cassettes/files_get_one.json
226
+ - spec/fixtures/cassettes/files_upload.json
227
+ - spec/fixtures/cassettes/label_groups_authorize.json
228
+ - spec/fixtures/cassettes/label_groups_create.json
229
+ - spec/fixtures/cassettes/label_groups_delete.json
230
+ - spec/fixtures/cassettes/label_groups_get_all.json
231
+ - spec/fixtures/cassettes/label_groups_get_labels.json
232
+ - spec/fixtures/cassettes/label_groups_get_one.json
233
+ - spec/fixtures/cassettes/projects_authorize.json
234
+ - spec/fixtures/cassettes/projects_create.json
235
+ - spec/fixtures/cassettes/projects_delete.json
236
+ - spec/fixtures/cassettes/projects_get_all.json
237
+ - spec/fixtures/cassettes/projects_get_one.json
238
+ - spec/fixtures/cassettes/runs_abort_run.json
239
+ - spec/fixtures/cassettes/runs_authorize.json
240
+ - spec/fixtures/cassettes/runs_get_project_runs.json
241
+ - spec/fixtures/cassettes/runs_start_run.json
288
242
  - spec/label_groups_spec.rb
289
- - spec/project_config_parameters_spec.rb
290
- - spec/project_config_spec.rb
291
- - spec/project_spec.rb
292
- - spec/run_spec.rb
243
+ - spec/projects_spec.rb
244
+ - spec/runs_spec.rb
293
245
  - spec/spec_helper.rb
294
246
  - testdroid-api-client.gemspec
295
247
  homepage: http://rubygems.org/gems/testdroid-api-client
@@ -312,69 +264,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
264
  version: '0'
313
265
  requirements: []
314
266
  rubyforge_project:
315
- rubygems_version: 2.4.8
267
+ rubygems_version: 2.7.7
316
268
  signing_key:
317
269
  specification_version: 3
318
270
  summary: Testdroid API Client!
319
- test_files:
320
- - spec/client_spec.rb
321
- - spec/device_groups_spec.rb
322
- - spec/device_runs_spec.rb
323
- - spec/file_sets_spec.rb
324
- - spec/files_spec.rb
325
- - spec/fixtures/apk.apk
326
- - spec/fixtures/cassettes/.DS_Store
327
- - spec/fixtures/cassettes/dg_all_device_groups.json
328
- - spec/fixtures/cassettes/dg_device_group_4165.json
329
- - spec/fixtures/cassettes/dg_oauth2_auth_device_groups.json
330
- - spec/fixtures/cassettes/dr_all_run_171221_device_runs.json
331
- - spec/fixtures/cassettes/dr_device_run_33044722.json
332
- - spec/fixtures/cassettes/dr_oauth2_auth_device_runs.json
333
- - spec/fixtures/cassettes/dr_run_33044722_device_runs.json
334
- - spec/fixtures/cassettes/f_add_file_set.json
335
- - spec/fixtures/cassettes/f_android_app_file.json
336
- - spec/fixtures/cassettes/f_file_sets.json
337
- - spec/fixtures/cassettes/f_oauth2_auth_files.json
338
- - spec/fixtures/cassettes/f_upload_files.json
339
- - spec/fixtures/cassettes/fs_add_file_set.json
340
- - spec/fixtures/cassettes/fs_add_file_to_fileset.json
341
- - spec/fixtures/cassettes/fs_delete_file_set.json
342
- - spec/fixtures/cassettes/fs_file_sets.json
343
- - spec/fixtures/cassettes/fs_get_file_set.json
344
- - spec/fixtures/cassettes/fs_oauth2_auth_files.json
345
- - spec/fixtures/cassettes/fs_update_file_set.json
346
- - spec/fixtures/cassettes/fu_oauth2_auth_files.json
347
- - spec/fixtures/cassettes/lg_all_label_groups.json
348
- - spec/fixtures/cassettes/lg_get_resources_by_label.json
349
- - spec/fixtures/cassettes/lg_label_group_1058800.json
350
- - spec/fixtures/cassettes/lg_labels_of_group_1058800.json
351
- - spec/fixtures/cassettes/lg_oauth2_auth_label_groups.json
352
- - spec/fixtures/cassettes/p_all_projects.json
353
- - spec/fixtures/cassettes/p_create_project.json
354
- - spec/fixtures/cassettes/p_get_run_devices.json
355
- - spec/fixtures/cassettes/p_oauth2_auth.json
356
- - spec/fixtures/cassettes/p_oauth2_local.json
357
- - spec/fixtures/cassettes/p_project_id_33029366.json
358
- - spec/fixtures/cassettes/p_run_project.json
359
- - spec/fixtures/cassettes/pc_get_current.json
360
- - spec/fixtures/cassettes/pc_oauth2_auth_config.json
361
- - spec/fixtures/cassettes/pc_set_current_config.json
362
- - spec/fixtures/cassettes/pc_validate_config.json
363
- - spec/fixtures/cassettes/pcp_delete_params.json
364
- - spec/fixtures/cassettes/pcp_get_current.json
365
- - spec/fixtures/cassettes/pcp_oauth2_auth_config.json
366
- - spec/fixtures/cassettes/pcp_set_current_config.json
367
- - spec/fixtures/cassettes/pcp_validate_config.json
368
- - spec/fixtures/cassettes/r_all_project_33029366_runs.json
369
- - spec/fixtures/cassettes/r_delete_test_run.json
370
- - spec/fixtures/cassettes/r_oauth2_auth_runs.json
371
- - spec/fixtures/cassettes/r_run_171221.json
372
- - spec/fixtures/cassettes/r_run_project.json
373
- - spec/fixtures/cassettes/upload_files.json
374
- - spec/fixtures/project.json
375
- - spec/label_groups_spec.rb
376
- - spec/project_config_parameters_spec.rb
377
- - spec/project_config_spec.rb
378
- - spec/project_spec.rb
379
- - spec/run_spec.rb
380
- - spec/spec_helper.rb
271
+ test_files: []