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 +4 -4
- data/History.md +7 -1
- data/lib/capybara/queries/current_path_query.rb +4 -4
- data/lib/capybara/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2017d799f06c188c4e2295da57f68898b39b2130
|
4
|
+
data.tar.gz: d888f69a4571d7f905cad39a94b45ba25700e306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|
data/lib/capybara/version.rb
CHANGED