calabash-cucumber 0.9.129 → 0.9.132

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,7 +45,8 @@ def build(options={:build_dir=>"Calabash",
45
45
  end
46
46
 
47
47
  def console
48
- unless ENV['IRBRC']
48
+ path = ENV['CALABASH_IRBRC']
49
+ unless path
49
50
  path = File.expand_path(File.join(@script_dir,".irbrc"))
50
51
  ENV['IRBRC'] = path
51
52
  end
@@ -21,10 +21,10 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency( "CFPropertyList" )
22
22
  s.add_dependency( "sim_launcher", "0.4.6")
23
23
  s.add_dependency( "slowhandcuke" )
24
- s.add_dependency( "location-one", "~>0.0.8")
25
- s.add_dependency( "httpclient","2.2.7")
24
+ s.add_dependency( "location-one", "~>0.0.9")
25
+ s.add_dependency( "httpclient","2.3.2")
26
26
  s.add_dependency( "bundler", "~> 1.1")
27
- s.add_dependency( "run_loop", "0.0.3" )
27
+ s.add_dependency( "run_loop", "0.0.5" )
28
28
  s.add_dependency( "awesome_print")
29
29
 
30
30
  end
@@ -509,9 +509,10 @@ EOF
509
509
  break
510
510
  rescue HTTPClient::TimeoutError, HTTPClient::KeepAliveDisconnected => e
511
511
  if count < CAL_HTTP_RETRY_COUNT-1
512
- sleep(0.5)
513
512
  @http.reset_all
514
513
  @http=nil
514
+ STDOUT.write "Waiting 5 secs before retry...\n"
515
+ sleep(5)
515
516
  STDOUT.write "Retrying.. #{e.class}: (#{e})\n"
516
517
  STDOUT.flush
517
518
 
@@ -547,6 +548,9 @@ EOF
547
548
  http.connect_timeout = 15
548
549
  http.send_timeout = 15
549
550
  http.receive_timeout = 15
551
+ if ENV['DEBUG_HTTP'] and (ENV['DEBUG_HTTP'] != "0")
552
+ http.debug_dev = $stdout
553
+ end
550
554
  http
551
555
  end
552
556
  end
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Cucumber
3
- VERSION = "0.9.129"
3
+ VERSION = "0.9.132"
4
4
  FRAMEWORK_VERSION = "0.9.126"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.129
4
+ version: 0.9.132
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 0.0.8
101
+ version: 0.0.9
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 0.0.8
109
+ version: 0.0.9
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: httpclient
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 2.2.7
117
+ version: 2.3.2
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - '='
124
124
  - !ruby/object:Gem::Version
125
- version: 2.2.7
125
+ version: 2.3.2
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: bundler
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - '='
148
148
  - !ruby/object:Gem::Version
149
- version: 0.0.3
149
+ version: 0.0.5
150
150
  type: :runtime
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ dependencies:
154
154
  requirements:
155
155
  - - '='
156
156
  - !ruby/object:Gem::Version
157
- version: 0.0.3
157
+ version: 0.0.5
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: awesome_print
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -324,4 +324,3 @@ specification_version: 3
324
324
  summary: Client for calabash-ios-server for automated functional testing on iOS
325
325
  test_files:
326
326
  - features/step_definitions/calabash_steps.rb
327
- has_rdoc: