frameworks-capybara 0.2.28 → 0.2.29
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/.travis.yml +0 -4
- data/CHANGES +3 -0
- data/Gemfile.lock +1 -1
- data/lib/monkey-patches/capybara-mechanize-patches.rb +14 -8
- data/lib/version.rb +1 -1
- metadata +4 -4
data/.travis.yml
CHANGED
data/CHANGES
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
0.2.29
|
2
|
+
Updated add_cookie patch to use new http_cookie API, following Mechanize changes (see http://bit.ly/12Do1l7)
|
3
|
+
|
1
4
|
0.2.28
|
2
5
|
Updated Mechanize::CookieJar add patch to work with latest capybara-mechanize.
|
3
6
|
Added support for httpOnly cookie flag to capybara mechanize patch
|
data/Gemfile.lock
CHANGED
@@ -82,14 +82,20 @@ class Capybara::Mechanize::Driver
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
FakeURI = Struct.new(:host)
|
86
85
|
def add_cookie(attribs)
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
86
|
+
|
87
|
+
cookie = HTTP::Cookie.new(
|
88
|
+
attribs[:name],
|
89
|
+
attribs[:value],
|
90
|
+
:domain => attribs[:domain],
|
91
|
+
:for_domain => true,
|
92
|
+
:path => '/',
|
93
|
+
:expires => attribs[:expires],
|
94
|
+
:secure => attribs[:secure],
|
95
|
+
:httponly => attribs[:httponly]
|
96
|
+
)
|
97
|
+
|
98
|
+
browser.agent.cookie_jar.add(cookie)
|
99
|
+
|
94
100
|
end
|
95
101
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frameworks-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 29
|
10
|
+
version: 0.2.29
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- matt robbins
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-06-
|
18
|
+
date: 2013-06-11 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
prerelease: false
|