xamarin-test-cloud 0.9.26 → 0.9.27
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 +8 -3
- data/lib/xamarin-test-cloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bddeecea66572446f9f5aa80883e1e4144e7527d
|
|
4
|
+
data.tar.gz: aa6f558b65c0b651e6d3ee6023ddb892a6acdead
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ab3a0bcced94c6ad8a64d3001c2ed9388b9668f62e160a2c77d6f6df80492bd3d09079993677886080aef650e3cb9e45171494d1aa72e7ecb6308e6f25cc97d
|
|
7
|
+
data.tar.gz: 7a58b4c899ed970bb4446f8fef2c7f0983ff927b6c2f0fb7935d343743074b71fbbe1b4b49c315cde00eb82138c78f821425ed6b5780bff22927ba98657d772d
|
|
@@ -175,6 +175,7 @@ module XamarinTestCloud
|
|
|
175
175
|
|
|
176
176
|
self.workspace = File.join(self.workspace, File::Separator)
|
|
177
177
|
|
|
178
|
+
|
|
178
179
|
unless self.app_explorer
|
|
179
180
|
unless File.directory?(File.join(self.workspace, 'features'))
|
|
180
181
|
log_header "Did not find features folder in workspace #{self.workspace}"
|
|
@@ -404,6 +405,11 @@ module XamarinTestCloud
|
|
|
404
405
|
case response.code
|
|
405
406
|
when 200..202
|
|
406
407
|
response
|
|
408
|
+
when 400
|
|
409
|
+
abort do
|
|
410
|
+
puts 'Bad request'
|
|
411
|
+
puts response.body
|
|
412
|
+
end
|
|
407
413
|
when 403
|
|
408
414
|
abort do
|
|
409
415
|
puts 'Invalid API key'
|
|
@@ -651,8 +657,7 @@ module XamarinTestCloud
|
|
|
651
657
|
raise ValidationError, "Unzipping #{ipa} to #{dir} failed: Did not find a Payload directory (invalid .ipa)."
|
|
652
658
|
end
|
|
653
659
|
app_dir = Dir.foreach("#{dir}/Payload").find { |d| /\.app$/.match(d) }
|
|
654
|
-
|
|
655
|
-
res = `otool "#{File.expand_path(dir)}/Payload/#{app_dir}/#{app}" -o 2> /dev/null | grep CalabashServer`
|
|
660
|
+
res = `otool "#{File.expand_path(dir)}/Payload/#{app_dir}/"* -o 2> /dev/null | grep CalabashServer`
|
|
656
661
|
|
|
657
662
|
if /CalabashServer/.match(res)
|
|
658
663
|
puts "ipa: #{ipa} *contains* calabash.framework"
|
|
@@ -660,7 +665,7 @@ module XamarinTestCloud
|
|
|
660
665
|
end
|
|
661
666
|
|
|
662
667
|
unless result
|
|
663
|
-
res = `otool "#{File.expand_path(dir)}/Payload/#{app_dir}
|
|
668
|
+
res = `otool "#{File.expand_path(dir)}/Payload/#{app_dir}/"* -o 2> /dev/null | grep FrankServer`
|
|
664
669
|
if /FrankServer/.match(res)
|
|
665
670
|
puts "ipa: #{ipa} *contains* FrankServer"
|
|
666
671
|
raise ValidationError, 'Frank not supported just yet'
|
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
|
+
version: 0.9.27
|
|
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: 2014-01-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: thor
|