calabash-cucumber 0.9.82 → 0.9.84

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- calabash-cucumber (0.9.81)
4
+ calabash-cucumber (0.9.84)
5
5
  CFPropertyList
6
6
  cucumber
7
7
  json
@@ -336,8 +336,14 @@ module Calabash
336
336
 
337
337
 
338
338
  def url_for(verb)
339
- url = URI.parse(ENV['DEVICE_ENDPOINT']|| "http://localhost:37265/")
340
- url.path = '/'+verb
339
+ url = URI.parse(ENV['DEVICE_ENDPOINT']|| "http://localhost:37265")
340
+ path = url.path
341
+ if path.end_with?"/"
342
+ path = "#{path}#{verb}"
343
+ else
344
+ path = "#{path}/#{verb}"
345
+ end
346
+ url.path = path
341
347
  url
342
348
  end
343
349
 
@@ -1,4 +1,3 @@
1
- require 'net/http/persistent'
2
1
  require 'sim_launcher'
3
2
  require 'CFPropertyList'
4
3
 
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Cucumber
3
- VERSION = "0.9.82"
4
- FRAMEWORK_VERSION = "0.9.82"
3
+ VERSION = "0.9.84"
4
+ FRAMEWORK_VERSION = "0.9.84"
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.82
4
+ version: 0.9.84
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: 2012-08-09 00:00:00.000000000 Z
12
+ date: 2012-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber