xamarin-test-cloud 0.9.4 → 0.9.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 302fbd76c27655c791f64527defcd3197e84806d
4
- data.tar.gz: 3dd8b5afef287d26e9a222ae2c5444efc48661be
3
+ metadata.gz: 978c78382c5be8bbbb025e0aae28451bdcbda8d2
4
+ data.tar.gz: 6971d45bd4ea72c844cc7eda63a6c97778ba839b
5
5
  SHA512:
6
- metadata.gz: 65278d8ae47a43a7e4fc26f12c2239f7338b2cc8625396b4f0cc15f9b3b916f1e8a39fbe9b822f7b89d94e3267344e2518bf1da53cde5bafbb4ba9328d2980a3
7
- data.tar.gz: 217c24c3231daa30dc1c30d70e880ef0811a38a9087d68068cb5dd2a8a3e2dd90de341ea00b6c48b70389f3b57c25b24e07dd3569b5ea52637404a2e45f0ecc8
6
+ metadata.gz: 0f5bffa3b63df65cd84306e832f3eab5a3fa0eab1d8a91736d7c3ca91444657755b8813919a840568810f8324023f93ee7dd777c4721341a691649c99529ee47
7
+ data.tar.gz: c5d69753c5165a476043058538494b45dd77edb27c7a209b253e3aa92bde4791d9154e52150c0086ddfb93f98a08b847962ec9bcd775d84b49099ac2aa9fdefe
@@ -198,17 +198,26 @@ module XamarinTestCloud
198
198
  def wait_for_job(id)
199
199
  while(true)
200
200
  status_json = JSON.parse(http_post("status", {'id' => id, 'api_key' => api_key}))
201
-
201
+
202
+
202
203
  log "Status: #{status_json["status_description"]}"
203
204
  if status_json["status"] == "finished"
204
205
  puts "Done!"
206
+ if ENV['DEBUG'] == '1'
207
+ log "Status JSON result"
208
+ puts status_json
209
+ end
205
210
  log_header "Test Summary"
206
211
  calabash_data = status_json["calabash_data"]
207
- puts "Total scenarios: #{calabash_data["scenarios"]["total"]}"
208
- puts "#{calabash_data["scenarios"]["passed"]} passed"
209
- puts "#{calabash_data["scenarios"]["failed"]} failed"
210
212
 
211
- puts "Total steps: #{calabash_data["steps"]["total"]}"
213
+ if calabash_data
214
+ puts "Total scenarios: #{calabash_data["scenarios"]["total"]}"
215
+
216
+ puts "#{calabash_data["scenarios"]["passed"]} passed"
217
+ puts "#{calabash_data["scenarios"]["failed"]} failed"
218
+
219
+ puts "Total steps: #{calabash_data["steps"]["total"]}"
220
+ end
212
221
  exit 0
213
222
  end
214
223
 
@@ -1,3 +1,3 @@
1
1
  module XamarinTestCloud
2
- VERSION = '0.9.4'
2
+ VERSION = '0.9.5'
3
3
  end
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.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.0.5
132
+ rubygems_version: 2.0.2
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Command-line interface to Xamarin Test Cloud
@@ -140,3 +140,4 @@ test_files:
140
140
  - test/ipa/features/support/hooks.rb
141
141
  - test/ipa/features/support/launch.rb
142
142
  - test/test_parser.rb
143
+ has_rdoc: