dwaite-cookiejar 0.1.2 → 0.1.3
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/lib/cookiejar/cookie.rb +2 -2
- data/test/cookie_test.rb +5 -0
- metadata +3 -4
data/lib/cookiejar/cookie.rb
CHANGED
data/test/cookie_test.rb
CHANGED
@@ -37,6 +37,11 @@ describe Cookie do
|
|
37
37
|
cookie = Cookie.from_set_cookie 'http://localhost/', 'foo=bar;domain=.local'
|
38
38
|
cookie.domain.should == '.local'
|
39
39
|
end
|
40
|
+
it "should accept secure cookies" do
|
41
|
+
cookie = Cookie.from_set_cookie 'https://www.google.com/a/blah', 'GALX=RgmSftjnbPM;Path=/a/;Secure'
|
42
|
+
cookie.name.should == 'GALX'
|
43
|
+
cookie.secure.should be_true
|
44
|
+
end
|
40
45
|
end
|
41
46
|
describe '.validate_cookie' do
|
42
47
|
localaddr = 'http://localhost/foo/bar/'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dwaite-cookiejar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Waite
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-11 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -30,7 +30,6 @@ files:
|
|
30
30
|
- test/jar_test.rb
|
31
31
|
has_rdoc: false
|
32
32
|
homepage: http://alkaline-solutions.com
|
33
|
-
licenses:
|
34
33
|
post_install_message:
|
35
34
|
rdoc_options:
|
36
35
|
- --title
|
@@ -52,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
51
|
requirements: []
|
53
52
|
|
54
53
|
rubyforge_project:
|
55
|
-
rubygems_version: 1.
|
54
|
+
rubygems_version: 1.2.0
|
56
55
|
signing_key:
|
57
56
|
specification_version: 3
|
58
57
|
summary: Client-side HTTP Cookie library
|