capybara 2.6.1 → 2.6.2

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: e5985137b591f7a4e2cbbf6b20421d486981d488
4
- data.tar.gz: 031024ac9b627c9e98db4b980e39da8f36958d71
3
+ metadata.gz: 2017d799f06c188c4e2295da57f68898b39b2130
4
+ data.tar.gz: d888f69a4571d7f905cad39a94b45ba25700e306
5
5
  SHA512:
6
- metadata.gz: 7dbda63286764baa2f63ec5b0e642a43e470c58384a0e3c7818162c9b03a201d06dde88a905d342278cc7228d50fd07fce73a78cd74537fc393cec152a9d9408
7
- data.tar.gz: 356c3776d5fe1dd0653022faccbc31912739b2dcd1934e2929b480ec0627be78643a0a4fe4906362a3891931891c4c2eafcc4cfc6a5761d32cd7d090c09e1370
6
+ metadata.gz: e3f921aa7e1b91b0067f5aaba1ffd93e99d462d3dae69af0b2f0eff39a05f9c281fdeb1df463738a122cf91150f21f6ccd608d336622ea622edc3e5ef5fda723
7
+ data.tar.gz: bac4d2d336de32d9fc131d8c660569a6881cfa0bbf902e4647e26a3b52abfa31f25f81d83abe73a873c37dfc02581403c4cec9c48e411bdb0abedbc1a253cb9f
data/History.md CHANGED
@@ -1,5 +1,11 @@
1
+ #Version 2.6.2
2
+ Relase date: 2016-01-27
3
+
4
+ ### Fixed
5
+ * support for more than just addressable 2.4.0 [Thomas Walpole]
6
+
1
7
  # Version 2.6.1
2
- Release data: 2016-01-27
8
+ Release date: 2016-01-27
3
9
 
4
10
  ### Fixed
5
11
  * Add missing require for addressable [Jorge Bejar]
@@ -1,4 +1,4 @@
1
- require 'addressable'
1
+ require 'addressable/uri'
2
2
 
3
3
  module Capybara
4
4
  # @api private
@@ -17,16 +17,16 @@ module Capybara
17
17
  session.current_url
18
18
  else
19
19
  if options[:only_path]
20
- Addressable::URI.parse(session.current_url).path
20
+ ::Addressable::URI.parse(session.current_url).path
21
21
  else
22
- Addressable::URI.parse(session.current_url).request_uri
22
+ ::Addressable::URI.parse(session.current_url).request_uri
23
23
  end
24
24
  end
25
25
 
26
26
  if @expected_path.is_a? Regexp
27
27
  @actual_path.match(@expected_path)
28
28
  else
29
- Addressable::URI.parse(@expected_path) == Addressable::URI.parse(@actual_path)
29
+ ::Addressable::URI.parse(@expected_path) == Addressable::URI.parse(@actual_path)
30
30
  end
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  module Capybara
2
- VERSION = '2.6.1'
2
+ VERSION = '2.6.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Walpole