xamarin-test-cloud 0.10.0.pre1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xamarin-test-cloud/cli.rb +14 -3
- data/lib/xamarin-test-cloud/version.rb +1 -1
- metadata +36 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0cec22a46900529476eefcfd387d5dc97dedbbc
|
4
|
+
data.tar.gz: 7b7bb6d17156291186b684fcd83c5349047f966d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75b50f5a7d3d502f59f1380aedc19df50d3e35cc2b987c3625e45588f0a1ef3822ab618d56d41c70706793b0f23ce02143a094314c2e8c096c0da7205369ca27
|
7
|
+
data.tar.gz: d54020a9a94b3920ead7dd866ce490688eeb1f76970e2b7cdecbc52bd7bcfdc127ca5ae7b0517396fbc75bba1c80227620b9eafc83f86b043d3c664367d647a4
|
@@ -26,7 +26,7 @@ module XamarinTestCloud
|
|
26
26
|
class CLI < Thor
|
27
27
|
include Thor::Actions
|
28
28
|
|
29
|
-
attr_accessor :app, :api_key, :appname, :test_parameters,
|
29
|
+
attr_accessor :app, :api_key, :appname, :test_parameters, :user,
|
30
30
|
:workspace, :config, :profile, :skip_config_check, :dry_run,
|
31
31
|
:device_selection, :pretty, :async, :priority, :endpoint_path,
|
32
32
|
:locale, :series,
|
@@ -138,6 +138,12 @@ module XamarinTestCloud
|
|
138
138
|
:required => false,
|
139
139
|
:type => :string
|
140
140
|
|
141
|
+
method_option 'user',
|
142
|
+
:desc => 'Email address of the user uploading',
|
143
|
+
:aliases => '-u',
|
144
|
+
:required => false,
|
145
|
+
:type => :string
|
146
|
+
|
141
147
|
|
142
148
|
|
143
149
|
def submit(app, api_key)
|
@@ -165,6 +171,8 @@ module XamarinTestCloud
|
|
165
171
|
|
166
172
|
self.app = app_path
|
167
173
|
|
174
|
+
self.user = options['user']
|
175
|
+
|
168
176
|
self.async = options[:async]
|
169
177
|
|
170
178
|
self.dry_run = options['dry-run']
|
@@ -235,6 +243,7 @@ module XamarinTestCloud
|
|
235
243
|
|
236
244
|
if debug?
|
237
245
|
puts "Host = #{self.host}"
|
246
|
+
puts "User = #{self.user}"
|
238
247
|
puts "App = #{self.app}"
|
239
248
|
puts "App Name = #{self.app}"
|
240
249
|
puts "TestParams = #{self.test_parameters}"
|
@@ -260,6 +269,7 @@ module XamarinTestCloud
|
|
260
269
|
|
261
270
|
log_header('Test enqueued')
|
262
271
|
puts "User: #{json['user_email']}"
|
272
|
+
puts "Team: #{json['team']}" if json['team']
|
263
273
|
|
264
274
|
|
265
275
|
rejected_devices = json['rejected_devices']
|
@@ -298,8 +308,8 @@ module XamarinTestCloud
|
|
298
308
|
|
299
309
|
def wait_for_job(id)
|
300
310
|
while(true)
|
301
|
-
status_json = retriable :tries => 60, :interval => 10 do
|
302
|
-
JSON.parse(http_post("status_v3", {'id' => id, 'api_key' => api_key}))
|
311
|
+
status_json = Retriable.retriable :tries => 60, :interval => 10 do
|
312
|
+
JSON.parse(http_post("status_v3", {'id' => id, 'api_key' => api_key, 'user' => user}))
|
303
313
|
end
|
304
314
|
|
305
315
|
if debug?
|
@@ -376,6 +386,7 @@ module XamarinTestCloud
|
|
376
386
|
|
377
387
|
upload_data = {'files' => files,
|
378
388
|
'paths' => paths,
|
389
|
+
'user' => self.user,
|
379
390
|
'client_version' => XamarinTestCloud::VERSION,
|
380
391
|
'app_file' => app_file,
|
381
392
|
'device_selection' => device_selection_data,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xamarin-test-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -49,16 +49,16 @@ dependencies:
|
|
49
49
|
name: json
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.8'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.8'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rubyzip
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +79,14 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.6
|
82
|
+
version: '1.6'
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.6
|
89
|
+
version: '1.6'
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: mime-types
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,16 +105,22 @@ dependencies:
|
|
105
105
|
name: retriable
|
106
106
|
requirement: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.3.3.1
|
111
|
+
- - <
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '2.0'
|
111
114
|
type: :runtime
|
112
115
|
prerelease: false
|
113
116
|
version_requirements: !ruby/object:Gem::Requirement
|
114
117
|
requirements:
|
115
|
-
- -
|
118
|
+
- - '>='
|
116
119
|
- !ruby/object:Gem::Version
|
117
120
|
version: 1.3.3.1
|
121
|
+
- - <
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '2.0'
|
118
124
|
- !ruby/object:Gem::Dependency
|
119
125
|
name: rake
|
120
126
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,6 +135,20 @@ dependencies:
|
|
129
135
|
- - ~>
|
130
136
|
- !ruby/object:Gem::Version
|
131
137
|
version: '10.3'
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
name: test-unit
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 3.0.9
|
145
|
+
type: :development
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ~>
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 3.0.9
|
132
152
|
description: Xamarin Test Cloud lets you automatically test your app on hundreds of
|
133
153
|
mobile devices
|
134
154
|
email:
|
@@ -139,11 +159,11 @@ executables:
|
|
139
159
|
extensions: []
|
140
160
|
extra_rdoc_files: []
|
141
161
|
files:
|
162
|
+
- CHANGES.txt
|
163
|
+
- README.md
|
142
164
|
- bin/test-cloud
|
143
165
|
- lib/xamarin-test-cloud/cli.rb
|
144
166
|
- lib/xamarin-test-cloud/version.rb
|
145
|
-
- README.md
|
146
|
-
- CHANGES.txt
|
147
167
|
- test/ipa/features/step_definitions/calabash_steps.rb
|
148
168
|
- test/ipa/features/step_definitions/my_first_steps.rb
|
149
169
|
- test/ipa/features/support/env.rb
|
@@ -164,12 +184,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
184
|
version: '0'
|
165
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
186
|
requirements:
|
167
|
-
- - '
|
187
|
+
- - '>='
|
168
188
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
189
|
+
version: '0'
|
170
190
|
requirements: []
|
171
191
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.4.2
|
173
193
|
signing_key:
|
174
194
|
specification_version: 4
|
175
195
|
summary: Command-line interface to Xamarin Test Cloud
|
@@ -180,3 +200,4 @@ test_files:
|
|
180
200
|
- test/ipa/features/support/hooks.rb
|
181
201
|
- test/ipa/features/support/launch.rb
|
182
202
|
- test/test_parser.rb
|
203
|
+
has_rdoc:
|