xamarin-test-cloud 0.9.25 → 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85ed9efbc323a787e8b9f5ae9e6057e8475300e3
4
- data.tar.gz: 564c37f98b8f66e2b40dea7afb89911aaed01c01
3
+ metadata.gz: 72938e4a557f9d98993ad373f5e5f34e7ace88f9
4
+ data.tar.gz: 721d60f44d48906665f1dc1157ca3d03c646214c
5
5
  SHA512:
6
- metadata.gz: be4b2cc3852a6bf6e705036c43dfec794e5e1c75dcdbb87436bc26960aadbf72524eee94a1758140282300abe2e90163bc87583e6e507dc3824a361629b0f5be
7
- data.tar.gz: eea97022ae901f721fab31f6952af7471e4f15c461b0abcdda2edaa0f76f41363ad0de0ee4d1514be8cf077ac3c72c97d6ad3ccf906a430e24d1a7e24ab24393
6
+ metadata.gz: 2673d070f34437ff2bf0f028b464c8154f5a55af2c652d5a8f71657433d9d0cc4639909a49d951fc123ce1d5546a342555a42c27289f35ebe40325fc7d6e344f
7
+ data.tar.gz: ab39e1b3682b939a1accce1a5c69cc662baf947eaef54455adac4c384a4fb5d9aed3c692b18ff68407bcf3bad2a7089ddb9a6c557fdb0ff0799a04b4b05fe12b
@@ -1,5 +1,6 @@
1
1
  require 'thor'
2
2
  require 'yaml'
3
+ require 'erb'
3
4
  require 'rubygems'
4
5
  require 'zip/zip'
5
6
  require 'digest'
@@ -11,6 +12,7 @@ require 'fileutils'
11
12
  require 'retriable'
12
13
  require 'xamarin-test-cloud/version'
13
14
 
15
+
14
16
  module XamarinTestCloud
15
17
 
16
18
  class ValidationError < Thor::InvocationError
@@ -573,7 +575,7 @@ module XamarinTestCloud
573
575
  def test_server_path
574
576
  require 'digest/md5'
575
577
  digest = Digest::MD5.file(app).hexdigest
576
- File.join('test_servers', "#{digest}_#{calabash_android_version}.apk")
578
+ File.join(self.workspace, 'test_servers', "#{digest}_#{calabash_android_version}.apk")
577
579
  end
578
580
 
579
581
  def all_files(tmpdir)
@@ -619,7 +621,7 @@ module XamarinTestCloud
619
621
  if block_given?
620
622
  exec_options = exec_options.merge({:method => :post, :url => "#{host}/#{address}", :payload => args,
621
623
  :timeout => 90000000,
622
- :open_timeout => 90000000,
624
+ :open_timeout => 15,
623
625
  :headers => {:content_type => 'multipart/form-data'}})
624
626
  response = RestClient::Request.execute(exec_options) do |response, request, result, &other_block|
625
627
  block.call(response, request, result, &other_block)
@@ -767,7 +769,7 @@ module XamarinTestCloud
767
769
 
768
770
 
769
771
  begin
770
- config_yml = YAML.load_file(config_path)
772
+ config_yml = YAML.load(ERB.new(File.read(config_path)).result)
771
773
  rescue Exception => e
772
774
  puts "Unable to parse #{config_path} as yml. Is this your Cucumber.yml file?"
773
775
  raise ValidationError, e
@@ -1,3 +1,3 @@
1
1
  module XamarinTestCloud
2
- VERSION = '0.9.25'
2
+ VERSION = '0.9.26'
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.25
4
+ version: 0.9.26
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: 2013-09-15 00:00:00.000000000 Z
12
+ date: 2013-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.0.2
144
+ rubygems_version: 2.0.3
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Command-line interface to Xamarin Test Cloud
@@ -152,4 +152,3 @@ test_files:
152
152
  - test/ipa/features/support/hooks.rb
153
153
  - test/ipa/features/support/launch.rb
154
154
  - test/test_parser.rb
155
- has_rdoc: