frameworks-capybara 0.2.27 → 0.2.28
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/Gemfile.lock +34 -33
- data/frameworks-capybara.gemspec +1 -1
- data/lib/monkey-patches/capybara-mechanize-patches.rb +2 -0
- data/lib/monkey-patches/mechanize-patches.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +107 -40
- checksums.yaml +0 -7
data/CHANGES
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
frameworks-capybara (0.2.
|
5
|
-
capybara (
|
4
|
+
frameworks-capybara (0.2.28)
|
5
|
+
capybara (~> 1.1.2)
|
6
6
|
capybara-celerity
|
7
7
|
capybara-mechanize (>= 0.3.0)
|
8
8
|
cucumber (>= 0.10.5)
|
@@ -13,9 +13,8 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: http://rubygems.org/
|
15
15
|
specs:
|
16
|
-
|
17
|
-
|
18
|
-
capybara (1.1.2)
|
16
|
+
builder (3.2.2)
|
17
|
+
capybara (1.1.4)
|
19
18
|
mime-types (>= 1.16)
|
20
19
|
nokogiri (>= 1.3.3)
|
21
20
|
rack (>= 1.0.0)
|
@@ -29,39 +28,40 @@ GEM
|
|
29
28
|
capybara (~> 1.1)
|
30
29
|
mechanize (~> 2.3)
|
31
30
|
celerity (0.9.2)
|
32
|
-
childprocess (0.3.
|
33
|
-
ffi (~> 1.0, >= 1.0.
|
34
|
-
cucumber (1.2
|
31
|
+
childprocess (0.3.9)
|
32
|
+
ffi (~> 1.0, >= 1.0.11)
|
33
|
+
cucumber (1.3.2)
|
35
34
|
builder (>= 2.1.2)
|
36
35
|
diff-lcs (>= 1.1.3)
|
37
|
-
gherkin (~> 2.
|
38
|
-
|
36
|
+
gherkin (~> 2.12.0)
|
37
|
+
multi_json (~> 1.3)
|
39
38
|
diff-lcs (1.1.3)
|
40
|
-
domain_name (0.5.
|
41
|
-
unf (
|
42
|
-
ffi (1.1
|
43
|
-
gherkin (2.
|
44
|
-
|
45
|
-
headless (0.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
mechanize (2.
|
39
|
+
domain_name (0.5.11)
|
40
|
+
unf (>= 0.0.5, < 1.0.0)
|
41
|
+
ffi (1.8.1)
|
42
|
+
gherkin (2.12.0)
|
43
|
+
multi_json (~> 1.3)
|
44
|
+
headless (1.0.1)
|
45
|
+
http-cookie (1.0.1)
|
46
|
+
domain_name (~> 0.5)
|
47
|
+
json (1.8.0)
|
48
|
+
mechanize (2.7.1)
|
50
49
|
domain_name (~> 0.5, >= 0.5.1)
|
50
|
+
http-cookie (~> 1.0.0)
|
51
51
|
mime-types (~> 1.17, >= 1.17.2)
|
52
52
|
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
53
53
|
net-http-persistent (~> 2.5, >= 2.5.2)
|
54
54
|
nokogiri (~> 1.4)
|
55
55
|
ntlm-http (~> 0.1, >= 0.1.1)
|
56
|
-
webrobots (
|
57
|
-
mime-types (1.
|
58
|
-
multi_json (1.
|
59
|
-
net-http-digest_auth (1.
|
60
|
-
net-http-persistent (2.
|
61
|
-
nokogiri (1.5.
|
56
|
+
webrobots (>= 0.0.9, < 0.2)
|
57
|
+
mime-types (1.23)
|
58
|
+
multi_json (1.7.5)
|
59
|
+
net-http-digest_auth (1.3)
|
60
|
+
net-http-persistent (2.8)
|
61
|
+
nokogiri (1.5.9)
|
62
62
|
ntlm-http (0.1.1)
|
63
|
-
rack (1.
|
64
|
-
rack-test (0.6.
|
63
|
+
rack (1.5.2)
|
64
|
+
rack-test (0.6.2)
|
65
65
|
rack (>= 1.0)
|
66
66
|
rake (0.9.2.2)
|
67
67
|
rspec (2.11.0)
|
@@ -73,18 +73,19 @@ GEM
|
|
73
73
|
diff-lcs (~> 1.1.3)
|
74
74
|
rspec-mocks (2.11.2)
|
75
75
|
rubyzip (0.9.9)
|
76
|
-
selenium-webdriver (2.
|
76
|
+
selenium-webdriver (2.33.0)
|
77
77
|
childprocess (>= 0.2.5)
|
78
|
-
libwebsocket (~> 0.1.3)
|
79
78
|
multi_json (~> 1.0)
|
80
79
|
rubyzip
|
81
|
-
|
80
|
+
websocket (~> 1.0.4)
|
81
|
+
unf (0.1.1)
|
82
82
|
unf_ext
|
83
|
-
unf_ext (0.0.
|
83
|
+
unf_ext (0.0.6)
|
84
84
|
w3c_validators (1.2)
|
85
85
|
json
|
86
86
|
nokogiri
|
87
|
-
webrobots (0.
|
87
|
+
webrobots (0.1.1)
|
88
|
+
websocket (1.0.7)
|
88
89
|
xpath (0.1.4)
|
89
90
|
nokogiri (~> 1.3)
|
90
91
|
|
data/frameworks-capybara.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.files = `git ls-files`.split("\n")
|
22
22
|
|
23
|
-
s.add_runtime_dependency("capybara", ["
|
23
|
+
s.add_runtime_dependency("capybara", ["~>1.1.2"])
|
24
24
|
s.add_runtime_dependency("capybara-mechanize", [">=0.3.0"])
|
25
25
|
s.add_runtime_dependency("json")
|
26
26
|
s.add_runtime_dependency("headless")
|
@@ -40,12 +40,14 @@ class Capybara::Mechanize::Driver
|
|
40
40
|
browser.agent.cookie_jar.jar.each do |domain|
|
41
41
|
domain[1].each do |path|
|
42
42
|
path[1].each do |cookie|
|
43
|
+
|
43
44
|
cookies.push({
|
44
45
|
:name => cookie[1].name,
|
45
46
|
:value => cookie[1].value,
|
46
47
|
:domain => cookie[1].domain,
|
47
48
|
:secure => cookie[1].secure,
|
48
49
|
:expires => cookie[1].expires,
|
50
|
+
:httponly => cookie[1].httponly,
|
49
51
|
:path => cookie[1].path
|
50
52
|
})
|
51
53
|
end
|
@@ -4,9 +4,9 @@ require 'mechanize'
|
|
4
4
|
#we check after response and it may be the last response we need it to clear here.
|
5
5
|
class Mechanize::CookieJar
|
6
6
|
alias_method :old_add, :add
|
7
|
-
def add(
|
7
|
+
def add(*args)
|
8
8
|
cleanup
|
9
|
-
old_add(
|
9
|
+
old_add(*args)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
#This patch may still be required, think it is only not needed now because we don't run
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frameworks-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 47
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 28
|
10
|
+
version: 0.2.28
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- matt robbins
|
@@ -9,91 +15,142 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2013-
|
18
|
+
date: 2013-06-03 00:00:00 Z
|
13
19
|
dependencies:
|
14
20
|
- !ruby/object:Gem::Dependency
|
15
21
|
prerelease: false
|
22
|
+
name: capybara
|
16
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
17
25
|
requirements:
|
18
|
-
- -
|
26
|
+
- - ~>
|
19
27
|
- !ruby/object:Gem::Version
|
20
|
-
|
21
|
-
|
22
|
-
|
28
|
+
hash: 23
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 1
|
32
|
+
- 2
|
33
|
+
version: 1.1.2
|
23
34
|
requirement: *id001
|
35
|
+
type: :runtime
|
24
36
|
- !ruby/object:Gem::Dependency
|
25
37
|
prerelease: false
|
38
|
+
name: capybara-mechanize
|
26
39
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
27
41
|
requirements:
|
28
42
|
- - ">="
|
29
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 19
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 3
|
48
|
+
- 0
|
30
49
|
version: 0.3.0
|
31
|
-
name: capybara-mechanize
|
32
|
-
type: :runtime
|
33
50
|
requirement: *id002
|
51
|
+
type: :runtime
|
34
52
|
- !ruby/object:Gem::Dependency
|
35
53
|
prerelease: false
|
54
|
+
name: json
|
36
55
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
37
57
|
requirements:
|
38
|
-
-
|
39
|
-
- ">="
|
58
|
+
- - ">="
|
40
59
|
- !ruby/object:Gem::Version
|
60
|
+
hash: 3
|
61
|
+
segments:
|
62
|
+
- 0
|
41
63
|
version: "0"
|
42
|
-
name: json
|
43
|
-
type: :runtime
|
44
64
|
requirement: *id003
|
65
|
+
type: :runtime
|
45
66
|
- !ruby/object:Gem::Dependency
|
46
67
|
prerelease: false
|
47
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
48
|
-
requirements:
|
49
|
-
- *id004
|
50
68
|
name: headless
|
69
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
requirement: *id004
|
51
79
|
type: :runtime
|
52
|
-
requirement: *id005
|
53
80
|
- !ruby/object:Gem::Dependency
|
54
81
|
prerelease: false
|
55
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- *id004
|
58
82
|
name: capybara-celerity
|
83
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
89
|
+
segments:
|
90
|
+
- 0
|
91
|
+
version: "0"
|
92
|
+
requirement: *id005
|
59
93
|
type: :runtime
|
60
|
-
requirement: *id006
|
61
94
|
- !ruby/object:Gem::Dependency
|
62
95
|
prerelease: false
|
63
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- *id004
|
66
96
|
name: w3c_validators
|
97
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
|
+
requirement: *id006
|
67
107
|
type: :runtime
|
68
|
-
requirement: *id007
|
69
108
|
- !ruby/object:Gem::Dependency
|
70
109
|
prerelease: false
|
71
|
-
|
110
|
+
name: cucumber
|
111
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
72
113
|
requirements:
|
73
114
|
- - ">="
|
74
115
|
- !ruby/object:Gem::Version
|
116
|
+
hash: 61
|
117
|
+
segments:
|
118
|
+
- 0
|
119
|
+
- 10
|
120
|
+
- 5
|
75
121
|
version: 0.10.5
|
76
|
-
|
122
|
+
requirement: *id007
|
77
123
|
type: :runtime
|
78
|
-
requirement: *id008
|
79
124
|
- !ruby/object:Gem::Dependency
|
80
125
|
prerelease: false
|
81
|
-
version_requirements: &id009 !ruby/object:Gem::Requirement
|
82
|
-
requirements:
|
83
|
-
- *id004
|
84
126
|
name: rake
|
127
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
hash: 3
|
133
|
+
segments:
|
134
|
+
- 0
|
135
|
+
version: "0"
|
136
|
+
requirement: *id008
|
85
137
|
type: :development
|
86
|
-
requirement: *id009
|
87
138
|
- !ruby/object:Gem::Dependency
|
88
139
|
prerelease: false
|
89
|
-
|
140
|
+
name: rspec
|
141
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
90
143
|
requirements:
|
91
144
|
- - ">="
|
92
145
|
- !ruby/object:Gem::Version
|
146
|
+
hash: 23
|
147
|
+
segments:
|
148
|
+
- 1
|
149
|
+
- 0
|
150
|
+
- 0
|
93
151
|
version: 1.0.0
|
94
|
-
|
152
|
+
requirement: *id009
|
95
153
|
type: :development
|
96
|
-
requirement: *id010
|
97
154
|
description: Gem to ease the pain of managing capybara driver config and provide a home for common utils and patches
|
98
155
|
email:
|
99
156
|
- mcrobbins@gmail.com
|
@@ -137,25 +194,35 @@ files:
|
|
137
194
|
homepage:
|
138
195
|
licenses: []
|
139
196
|
|
140
|
-
metadata: {}
|
141
|
-
|
142
197
|
post_install_message:
|
143
198
|
rdoc_options: []
|
144
199
|
|
145
200
|
require_paths:
|
146
201
|
- lib
|
147
202
|
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
148
204
|
requirements:
|
149
|
-
-
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
hash: 3
|
208
|
+
segments:
|
209
|
+
- 0
|
210
|
+
version: "0"
|
150
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
|
+
none: false
|
151
213
|
requirements:
|
152
|
-
-
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
hash: 3
|
217
|
+
segments:
|
218
|
+
- 0
|
219
|
+
version: "0"
|
153
220
|
requirements: []
|
154
221
|
|
155
222
|
rubyforge_project:
|
156
|
-
rubygems_version:
|
223
|
+
rubygems_version: 1.8.24
|
157
224
|
signing_key:
|
158
|
-
specification_version:
|
225
|
+
specification_version: 3
|
159
226
|
summary: Gem to ease the pain of managing capybara driver config and provide a home for common utils and patches
|
160
227
|
test_files: []
|
161
228
|
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
data.tar.gz: ab5b9abaabd8dfe9737d72865d6ce9b37d0fea51
|
4
|
-
metadata.gz: edd4be6e73ca7066a9a31de7b4d59dfcc452b2e1
|
5
|
-
SHA512:
|
6
|
-
data.tar.gz: ad6e54282325501494a8f05f8d8d2a5bf31e55206a478b566ea8a5cf8d545da5df3516d7110fdfcb156d510d3c0fa4c5009ec89c955009b0d430556b96f0f26c
|
7
|
-
metadata.gz: 353f27a495e368900fbd968a29bc0aabee03a12da03416a2e2639e02c72eb2571d2c4d24915a1ae5a12b9343652af3949167d22ba7f7dabf634a25e1e308cb2e
|