calabash-cucumber 0.9.163.pre8 → 0.9.163.pre9

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: 935fb322920c42a450cfed4c7007ec349410a7fc
4
- data.tar.gz: 37c61285dbbfc659e4327d4f8a2154d20ad64198
3
+ metadata.gz: de227d6f2931645082536e7dbb07fed3341c597d
4
+ data.tar.gz: c26da236393494bddeb9c2362b52fc1b6c050eec
5
5
  SHA512:
6
- metadata.gz: f28162d1b34ed65dde3b08119cda37fa54860f6c57f79caf1095c37f1f360f13018c41b74f183018ed5686a5bef84de3a4e40f47220d3a06faef10177de6f6e6
7
- data.tar.gz: cc0c773558508bf20ef69e526485a1c5e456d3fb09b29893da03e5784780aa88b0264d4238f96e3cfbf511c4b15f2b9374f9517f2c4168f08e3296c9fccc0039
6
+ metadata.gz: 278abf811a30efa1203d646e2e498fe9cf487a2774e7f554dba9d7663546b3f31372c39a5e0963d60cd0ea1b4aaed34a5db350f97074b5162cf845096e52736a
7
+ data.tar.gz: cf5d1927bf871f1fc8f02ccf7d45c1b9e95ce9a4c78053cfb8d8b54dbab3a04701c7661bbd20dce5db6a8863cf2fdc3ef82c65ec0f2cff8ef42708b53452b9bd
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  s.add_dependency( "geocoder", "~>1.1.8")
27
27
  s.add_dependency( "httpclient","~> 2.3.3")
28
28
  s.add_dependency( "bundler", "~> 1.1")
29
- s.add_dependency( "run_loop", "~> 0.1.0.pre7" )
29
+ s.add_dependency( "run_loop", "~> 0.1.0.pre8" )
30
30
  s.add_dependency( "awesome_print")
31
31
  s.add_dependency( "xamarin-test-cloud", "~> 0.9.25")
32
32
 
@@ -22,6 +22,7 @@ module Calabash
22
22
  include Calabash::Cucumber::UIA
23
23
  include Calabash::Cucumber::StatusBarHelpers
24
24
  include Calabash::Cucumber::RotationHelpers
25
+ include Calabash::Cucumber::PlaybackHelpers
25
26
 
26
27
 
27
28
  def macro(txt)
@@ -49,18 +49,18 @@ module Calabash
49
49
  if not @http
50
50
  @http = init_request(options)
51
51
  end
52
- if options[:debug] || (ENV['DEBUG_HTTP'] == '1' && options[:debug] != false)
53
- previous_debug_dev = @http.debug_dev
54
- @http.debug_dev = $stdout
55
- end
52
+ #if options[:debug] || (ENV['DEBUG_HTTP'] == '1' && options[:debug] != false)
53
+ # previous_debug_dev = @http.debug_dev
54
+ # @http.debug_dev = $stdout
55
+ #end
56
56
  if options[:method] == :post
57
57
  body = @http.post(options[:uri], options[:body]).body
58
58
  else
59
59
  body = @http.get(options[:uri], options[:body]).body
60
60
  end
61
- if options[:debug] || (ENV['DEBUG_HTTP'] == '1' && options[:debug] != false)
62
- @http.debug_dev = previous_debug_dev
63
- end
61
+ #if options[:debug] || (ENV['DEBUG_HTTP'] == '1' && options[:debug] != false)
62
+ # @http.debug_dev = previous_debug_dev
63
+ #end
64
64
  break
65
65
  rescue Exception => e
66
66
 
@@ -89,11 +89,14 @@ module Calabash
89
89
  body
90
90
  end
91
91
 
92
- def init_request(url=nil)
92
+ def init_request(options={})
93
93
  http = HTTPClient.new
94
94
  http.connect_timeout = 30
95
95
  http.send_timeout = 30
96
96
  http.receive_timeout = 30
97
+ if options[:debug] || (ENV['DEBUG_HTTP'] == '1' && options[:debug] != false)
98
+ http.debug_dev = $stdout
99
+ end
97
100
  http
98
101
  end
99
102
 
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Cucumber
3
- VERSION = '0.9.163.pre8'
3
+ VERSION = '0.9.163.pre9'
4
4
  FRAMEWORK_VERSION = '0.9.163.pre7'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.163.pre8
4
+ version: 0.9.163.pre9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-27 00:00:00.000000000 Z
11
+ date: 2013-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - ~>
158
158
  - !ruby/object:Gem::Version
159
- version: 0.1.0.pre7
159
+ version: 0.1.0.pre8
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ~>
165
165
  - !ruby/object:Gem::Version
166
- version: 0.1.0.pre7
166
+ version: 0.1.0.pre8
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: awesome_print
169
169
  requirement: !ruby/object:Gem::Requirement