cookiejar 0.3.2 → 0.3.4
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.
- checksums.yaml +5 -5
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.travis.yml +17 -0
- data/Gemfile +2 -0
- data/LICENSE +1 -1
- data/README.markdown +20 -1
- data/Rakefile +11 -12
- data/_config.yml +1 -0
- data/cookiejar.gemspec +28 -0
- data/lib/cookiejar/cookie.rb +57 -63
- data/lib/cookiejar/cookie_validation.rb +105 -100
- data/lib/cookiejar/jar.rb +51 -49
- data/lib/cookiejar/version.rb +4 -0
- data/lib/cookiejar.rb +2 -1
- data/spec/cookie_spec.rb +90 -90
- data/spec/cookie_validation_spec.rb +147 -155
- data/spec/jar_spec.rb +107 -110
- data/spec/spec_helper.rb +5 -0
- metadata +55 -22
data/spec/jar_spec.rb
CHANGED
@@ -1,235 +1,232 @@
|
|
1
|
-
require '
|
2
|
-
require 'yaml'
|
3
|
-
require 'rubygems'
|
1
|
+
require 'spec_helper'
|
4
2
|
|
5
3
|
include CookieJar
|
6
4
|
|
7
5
|
describe Jar do
|
8
6
|
describe '.setCookie' do
|
9
|
-
it
|
10
|
-
jar = Jar.new
|
7
|
+
it 'should allow me to set a cookie' do
|
8
|
+
jar = Jar.new
|
11
9
|
jar.set_cookie 'http://foo.com/', 'foo=bar'
|
12
10
|
end
|
13
|
-
it
|
14
|
-
jar = Jar.new
|
11
|
+
it 'should allow me to set multiple cookies' do
|
12
|
+
jar = Jar.new
|
15
13
|
jar.set_cookie 'http://foo.com/', 'foo=bar'
|
16
14
|
jar.set_cookie 'http://foo.com/', 'bar=baz'
|
17
15
|
jar.set_cookie 'http://auth.foo.com/', 'foo=bar'
|
18
|
-
jar.set_cookie 'http://auth.foo.com/', 'auth=135121...;domain=foo.com'
|
16
|
+
jar.set_cookie 'http://auth.foo.com/', 'auth=135121...;domain=foo.com'
|
19
17
|
end
|
20
|
-
it
|
18
|
+
it 'should allow me to set multiple cookies in 1 header' do
|
21
19
|
jar = Jar.new
|
22
20
|
jar.set_cookie 'http://foo.com/', 'my_cookie=123456; Domain=foo.com; expires=Thu, 31 Dec 2037 23:59:59 GMT; Path=/, other_cookie=helloworld; Domain=foo.com; expires=Thu, 31 Dec 2037 23:59:59 GMT, last_cookie=098765'
|
23
21
|
end
|
24
22
|
end
|
25
23
|
describe '.get_cookies' do
|
26
|
-
it
|
27
|
-
jar = Jar.new
|
24
|
+
it 'should let me read back cookies which are set' do
|
25
|
+
jar = Jar.new
|
28
26
|
jar.set_cookie 'http://foo.com/', 'foo=bar'
|
29
27
|
jar.set_cookie 'http://foo.com/', 'bar=baz'
|
30
28
|
jar.set_cookie 'http://auth.foo.com/', 'foo=bar'
|
31
29
|
jar.set_cookie 'http://auth.foo.com/', 'auth=135121...;domain=foo.com'
|
32
|
-
jar.get_cookies('http://foo.com/').
|
30
|
+
expect(jar.get_cookies('http://foo.com/')).to have(3).items
|
33
31
|
end
|
34
|
-
it
|
32
|
+
it 'should let me read back a multiple cookies from 1 header' do
|
35
33
|
jar = Jar.new
|
36
34
|
jar.set_cookie 'http://foo.com/', 'my_cookie=123456; Domain=foo.com; expires=Thu, 31 Dec 2037 23:59:59 GMT; Path=/, other_cookie=helloworld; Domain=foo.com; expires=Thu, 31 Dec 2037 23:59:59 GMT, last_cookie=098765'
|
37
|
-
jar.get_cookie_header('http://foo.com/').
|
35
|
+
expect(jar.get_cookie_header('http://foo.com/')).to eq 'last_cookie=098765;my_cookie=123456;other_cookie=helloworld'
|
38
36
|
end
|
39
|
-
it
|
37
|
+
it 'should return cookies longest path first' do
|
40
38
|
jar = Jar.new
|
41
|
-
uri = 'http://foo.com/a/b/c/d'
|
39
|
+
uri = 'http://foo.com/a/b/c/d'
|
42
40
|
jar.set_cookie uri, 'a=bar'
|
43
41
|
jar.set_cookie uri, 'b=baz;path=/a/b/c/d'
|
44
42
|
jar.set_cookie uri, 'c=bar;path=/a/b'
|
45
43
|
jar.set_cookie uri, 'd=bar;path=/a/'
|
46
44
|
cookies = jar.get_cookies(uri)
|
47
|
-
cookies.
|
48
|
-
cookies[0].name.
|
49
|
-
cookies[1].name.
|
50
|
-
cookies[2].name.
|
51
|
-
cookies[3].name.
|
45
|
+
expect(cookies).to have(4).items
|
46
|
+
expect(cookies[0].name).to eq 'b'
|
47
|
+
expect(cookies[1].name).to eq 'a'
|
48
|
+
expect(cookies[2].name).to eq 'c'
|
49
|
+
expect(cookies[3].name).to eq 'd'
|
52
50
|
end
|
53
|
-
it
|
51
|
+
it 'should not return expired cookies' do
|
54
52
|
jar = Jar.new
|
55
53
|
uri = 'http://localhost/'
|
56
54
|
jar.set_cookie uri, 'foo=bar;expires=Wednesday, 09-Nov-99 23:12:40 GMT'
|
57
55
|
cookies = jar.get_cookies(uri)
|
58
|
-
cookies.
|
56
|
+
expect(cookies).to have(0).items
|
59
57
|
end
|
60
58
|
end
|
61
59
|
describe '.get_cookie_headers' do
|
62
|
-
it
|
60
|
+
it 'should return cookie headers' do
|
63
61
|
jar = Jar.new
|
64
|
-
uri = 'http://foo.com/a/b/c/d'
|
62
|
+
uri = 'http://foo.com/a/b/c/d'
|
65
63
|
jar.set_cookie uri, 'a=bar'
|
66
64
|
jar.set_cookie uri, 'b=baz;path=/a/b/c/d'
|
67
65
|
cookie_headers = jar.get_cookie_header uri
|
68
|
-
cookie_headers.
|
66
|
+
expect(cookie_headers).to eq 'b=baz;a=bar'
|
69
67
|
end
|
70
|
-
it
|
68
|
+
it 'should handle a version 1 cookie' do
|
71
69
|
jar = Jar.new
|
72
|
-
uri = 'http://foo.com/a/b/c/d'
|
70
|
+
uri = 'http://foo.com/a/b/c/d'
|
73
71
|
jar.set_cookie uri, 'a=bar'
|
74
72
|
jar.set_cookie uri, 'b=baz;path=/a/b/c/d'
|
75
73
|
jar.set_cookie2 uri, 'c=baz;Version=1;path="/"'
|
76
74
|
cookie_headers = jar.get_cookie_header uri
|
77
|
-
cookie_headers.
|
75
|
+
expect(cookie_headers).to eq '$Version=0;b=baz;$Path="/a/b/c/d";a=bar;$Path="/a/b/c/",$Version=1;c=baz;$Path="/"'
|
78
76
|
end
|
79
77
|
end
|
80
78
|
describe '.add_cookie' do
|
81
|
-
it
|
79
|
+
it 'should let me add a pre-existing cookie' do
|
82
80
|
jar = Jar.new
|
83
81
|
cookie = Cookie.from_set_cookie 'http://localhost/', 'foo=bar'
|
84
82
|
jar.add_cookie cookie
|
85
83
|
end
|
86
84
|
end
|
87
85
|
describe '.to_a' do
|
88
|
-
it
|
89
|
-
uri = 'http://foo.com/a/b/c/d'
|
86
|
+
it 'should return me an array of all cookie objects' do
|
87
|
+
uri = 'http://foo.com/a/b/c/d'
|
90
88
|
jar = Jar.new
|
91
89
|
jar.set_cookie uri, 'a=bar;expires=Wednesday, 09-Nov-99 23:12:40 GMT'
|
92
90
|
jar.set_cookie uri, 'b=baz;path=/a/b/c/d'
|
93
91
|
jar.set_cookie uri, 'c=bar;path=/a/b'
|
94
92
|
jar.set_cookie uri, 'd=bar;path=/a/'
|
95
93
|
jar.set_cookie 'http://localhost/', 'foo=bar'
|
96
|
-
jar.to_a.
|
94
|
+
expect(jar.to_a).to have(5).items
|
97
95
|
end
|
98
96
|
end
|
99
97
|
describe '.expire_cookies' do
|
100
|
-
it
|
101
|
-
uri = 'http://foo.com/a/b/c/d'
|
98
|
+
it 'should expire cookies which are no longer valid' do
|
99
|
+
uri = 'http://foo.com/a/b/c/d'
|
102
100
|
jar = Jar.new
|
103
101
|
jar.set_cookie uri, 'a=bar;expires=Wednesday, 09-Nov-99 23:12:40 GMT'
|
104
102
|
jar.set_cookie uri, 'b=baz;path=/a/b/c/d;expires=Wednesday, 01-Nov-2028 12:00:00 GMT'
|
105
103
|
jar.set_cookie uri, 'c=bar;path=/a/b'
|
106
104
|
jar.set_cookie uri, 'd=bar;path=/a/'
|
107
105
|
jar.set_cookie 'http://localhost/', 'foo=bar'
|
108
|
-
jar.to_a.
|
106
|
+
expect(jar.to_a).to have(5).items
|
109
107
|
jar.expire_cookies
|
110
|
-
jar.to_a.
|
108
|
+
expect(jar.to_a).to have(4).items
|
111
109
|
end
|
112
|
-
it
|
113
|
-
uri = 'http://foo.com/a/b/c/d'
|
110
|
+
it 'should let me expire all session cookies' do
|
111
|
+
uri = 'http://foo.com/a/b/c/d'
|
114
112
|
jar = Jar.new
|
115
113
|
jar.set_cookie uri, 'a=bar;expires=Wednesday, 09-Nov-99 23:12:40 GMT'
|
116
114
|
jar.set_cookie uri, 'b=baz;path=/a/b/c/d;expires=Wednesday, 01-Nov-2028 12:00:00 GMT'
|
117
115
|
jar.set_cookie uri, 'c=bar;path=/a/b'
|
118
116
|
jar.set_cookie uri, 'd=bar;path=/a/'
|
119
117
|
jar.set_cookie 'http://localhost/', 'foo=bar'
|
120
|
-
jar.to_a.
|
118
|
+
expect(jar.to_a).to have(5).items
|
121
119
|
jar.expire_cookies true
|
122
|
-
jar.to_a.
|
120
|
+
expect(jar.to_a).to have(1).items
|
123
121
|
end
|
124
122
|
end
|
125
123
|
describe '#set_cookies_from_headers' do
|
126
|
-
it
|
124
|
+
it 'should handle a Set-Cookie header' do
|
127
125
|
jar = Jar.new
|
128
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
129
|
-
|
130
|
-
cookies.
|
131
|
-
jar.to_a.
|
126
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
127
|
+
'Set-Cookie' => 'foo=bar'
|
128
|
+
expect(cookies).to have(1).items
|
129
|
+
expect(jar.to_a).to have(1).items
|
132
130
|
end
|
133
|
-
it
|
131
|
+
it 'should handle a set-cookie header' do
|
134
132
|
jar = Jar.new
|
135
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
136
|
-
|
137
|
-
cookies.
|
138
|
-
jar.to_a.
|
133
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
134
|
+
'set-cookie' => 'foo=bar'
|
135
|
+
expect(cookies).to have(1).items
|
136
|
+
expect(jar.to_a).to have(1).items
|
139
137
|
end
|
140
|
-
it
|
138
|
+
it 'should handle multiple Set-Cookie headers' do
|
141
139
|
jar = Jar.new
|
142
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
143
|
-
|
144
|
-
cookies.
|
145
|
-
jar.to_a.
|
140
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
141
|
+
'Set-Cookie' => ['foo=bar', 'bar=baz']
|
142
|
+
expect(cookies).to have(2).items
|
143
|
+
expect(jar.to_a).to have(2).items
|
146
144
|
end
|
147
|
-
it
|
145
|
+
it 'should handle a Set-Cookie2 header' do
|
148
146
|
jar = Jar.new
|
149
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
150
|
-
|
151
|
-
cookies.
|
152
|
-
jar.to_a.
|
147
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
148
|
+
'Set-Cookie2' => 'foo=bar;Version=1'
|
149
|
+
expect(cookies).to have(1).items
|
150
|
+
expect(jar.to_a).to have(1).items
|
153
151
|
end
|
154
|
-
it
|
152
|
+
it 'should handle a set-cookie2 header' do
|
155
153
|
jar = Jar.new
|
156
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
157
|
-
|
158
|
-
cookies.
|
159
|
-
jar.to_a.
|
154
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
155
|
+
'set-cookie2' => 'foo=bar;Version=1'
|
156
|
+
expect(cookies).to have(1).items
|
157
|
+
expect(jar.to_a).to have(1).items
|
160
158
|
end
|
161
|
-
it
|
159
|
+
it 'should handle multiple Set-Cookie2 headers' do
|
162
160
|
jar = Jar.new
|
163
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
164
|
-
|
165
|
-
cookies.
|
166
|
-
jar.to_a.
|
161
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
162
|
+
'Set-Cookie2' => ['foo=bar;Version=1', 'bar=baz;Version=1']
|
163
|
+
expect(cookies).to have(2).items
|
164
|
+
expect(jar.to_a).to have(2).items
|
167
165
|
end
|
168
|
-
it
|
166
|
+
it 'should handle mixed distinct Set-Cookie and Set-Cookie2 headers' do
|
169
167
|
jar = Jar.new
|
170
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
171
|
-
|
172
|
-
|
173
|
-
cookies.
|
174
|
-
jar.to_a.
|
168
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
169
|
+
'Set-Cookie' => 'foo=bar',
|
170
|
+
'Set-Cookie2' => 'bar=baz;Version=1'
|
171
|
+
expect(cookies).to have(2).items
|
172
|
+
expect(jar.to_a).to have(2).items
|
175
173
|
end
|
176
|
-
it
|
174
|
+
it 'should handle overlapping Set-Cookie and Set-Cookie2 headers' do
|
177
175
|
jar = Jar.new
|
178
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
179
|
-
|
180
|
-
|
181
|
-
cookies.
|
182
|
-
jar.to_a.
|
176
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
177
|
+
'Set-Cookie' => ['foo=bar', 'bar=baz'],
|
178
|
+
'Set-Cookie2' => 'foo=bar;Version=1'
|
179
|
+
expect(cookies).to have(2).items
|
180
|
+
expect(jar.to_a).to have(2).items
|
183
181
|
# and has the version 1 cookie
|
184
|
-
cookies.find do |cookie|
|
182
|
+
expect(cookies.find do |cookie|
|
185
183
|
cookie.name == 'foo'
|
186
|
-
end.version.
|
184
|
+
end.version).to eq 1
|
187
185
|
end
|
188
|
-
it
|
186
|
+
it 'should silently drop invalid cookies' do
|
189
187
|
jar = Jar.new
|
190
|
-
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
191
|
-
|
192
|
-
cookies.
|
193
|
-
jar.to_a.
|
188
|
+
cookies = jar.set_cookies_from_headers 'http://localhost/',
|
189
|
+
'Set-Cookie' => ['foo=bar', 'bar=baz;domain=.foo.com']
|
190
|
+
expect(cookies).to have(1).items
|
191
|
+
expect(jar.to_a).to have(1).items
|
194
192
|
end
|
195
193
|
end
|
196
194
|
begin
|
197
195
|
require 'json'
|
198
|
-
describe
|
199
|
-
it
|
200
|
-
|
196
|
+
describe '.to_json' do
|
197
|
+
it 'should serialize cookies to JSON' do
|
201
198
|
c = Cookie.from_set_cookie 'https://localhost/', 'foo=bar;secure;expires=Wed, 01-Nov-2028 12:00:00 GMT'
|
202
199
|
jar = Jar.new
|
203
200
|
jar.add_cookie c
|
204
201
|
json = jar.to_json
|
205
|
-
json.
|
202
|
+
expect(json).to be_a String
|
206
203
|
end
|
207
204
|
end
|
208
|
-
describe
|
209
|
-
it
|
210
|
-
json =
|
205
|
+
describe '.json_create' do
|
206
|
+
it 'should deserialize a JSON array to a jar' do
|
207
|
+
json = '[{"name":"foo","value":"bar","domain":"localhost.local","path":"\\/","created_at":"2009-09-11 12:51:03 -0600","expiry":"2028-11-01 12:00:00 GMT","secure":true}]'
|
211
208
|
array = JSON.parse json
|
212
|
-
|
209
|
+
|
213
210
|
jar = Jar.json_create array
|
214
|
-
jar.get_cookies('https://localhost/').
|
211
|
+
expect(jar.get_cookies('https://localhost/')).to have(1).items
|
215
212
|
end
|
216
|
-
it
|
217
|
-
json =
|
213
|
+
it 'should deserialize a JSON hash to a jar' do
|
214
|
+
json = '{"cookies":[{"name":"foo","value":"bar","domain":"localhost.local","path":"\\/","created_at":"2009-09-11 12:51:03 -0600","expiry":"2028-11-01 12:00:00 GMT","secure":true}]}'
|
218
215
|
hash = JSON.parse json
|
219
|
-
|
216
|
+
|
220
217
|
jar = Jar.json_create hash
|
221
|
-
jar.get_cookies('https://localhost/').
|
218
|
+
expect(jar.get_cookies('https://localhost/')).to have(1).items
|
222
219
|
end
|
223
|
-
|
224
|
-
it
|
225
|
-
json =
|
226
|
-
jar = JSON.parse json, :
|
227
|
-
jar.get_cookies('https://localhost/').
|
220
|
+
|
221
|
+
it 'should automatically deserialize to a jar' do
|
222
|
+
json = '{"json_class":"CookieJar::Jar","cookies":[{"name":"foo","value":"bar","domain":"localhost.local","path":"\\/","created_at":"2009-09-11 12:51:03 -0600","expiry":"2028-11-01 12:00:00 GMT","secure":true}]}'
|
223
|
+
jar = JSON.parse json, create_additions: true
|
224
|
+
expect(jar.get_cookies('https://localhost/')).to have(1).items
|
228
225
|
end
|
229
226
|
end
|
230
227
|
rescue LoadError
|
231
|
-
it
|
232
|
-
|
228
|
+
it 'does not appear the JSON library is installed' do
|
229
|
+
raise 'please install the JSON library'
|
233
230
|
end
|
234
231
|
end
|
235
232
|
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,85 +1,116 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cookiejar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Waite
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '10.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '10.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-collection_matchers
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rspec
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '3.0'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '3.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: yard
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 0.8.7
|
61
|
+
version: 0.9.20
|
51
62
|
type: :development
|
52
63
|
prerelease: false
|
53
64
|
version_requirements: !ruby/object:Gem::Requirement
|
54
65
|
requirements:
|
55
66
|
- - "~>"
|
56
67
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
68
|
+
version: 0.9.20
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.9.3
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
58
80
|
- - ">="
|
59
81
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
82
|
+
version: 0.9.3
|
61
83
|
description: Allows for parsing and returning cookies in Ruby HTTP client code
|
62
|
-
email:
|
84
|
+
email:
|
85
|
+
- david@alkaline-solutions.com
|
63
86
|
executables: []
|
64
87
|
extensions: []
|
65
88
|
extra_rdoc_files: []
|
66
89
|
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- ".rspec"
|
92
|
+
- ".travis.yml"
|
93
|
+
- Gemfile
|
67
94
|
- LICENSE
|
68
95
|
- README.markdown
|
69
96
|
- Rakefile
|
97
|
+
- _config.yml
|
70
98
|
- contributors.json
|
99
|
+
- cookiejar.gemspec
|
71
100
|
- lib/cookiejar.rb
|
72
101
|
- lib/cookiejar/cookie.rb
|
73
102
|
- lib/cookiejar/cookie_validation.rb
|
74
103
|
- lib/cookiejar/jar.rb
|
104
|
+
- lib/cookiejar/version.rb
|
75
105
|
- spec/cookie_spec.rb
|
76
106
|
- spec/cookie_validation_spec.rb
|
77
107
|
- spec/jar_spec.rb
|
78
|
-
|
108
|
+
- spec/spec_helper.rb
|
109
|
+
homepage: http://alkaline-solutions.com
|
79
110
|
licenses:
|
80
111
|
- BSD-2-Clause
|
81
112
|
metadata: {}
|
82
|
-
post_install_message:
|
113
|
+
post_install_message:
|
83
114
|
rdoc_options:
|
84
115
|
- "--title"
|
85
116
|
- CookieJar -- Client-side HTTP Cookies
|
@@ -96,10 +127,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
127
|
- !ruby/object:Gem::Version
|
97
128
|
version: '0'
|
98
129
|
requirements: []
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
specification_version: 3
|
130
|
+
rubygems_version: 3.5.3
|
131
|
+
signing_key:
|
132
|
+
specification_version: 4
|
103
133
|
summary: Client-side HTTP Cookie library
|
104
|
-
test_files:
|
105
|
-
|
134
|
+
test_files:
|
135
|
+
- spec/cookie_spec.rb
|
136
|
+
- spec/cookie_validation_spec.rb
|
137
|
+
- spec/jar_spec.rb
|
138
|
+
- spec/spec_helper.rb
|