Skip to content

Commit

Permalink
Track http-cookie 1.0.0.pre9.
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Apr 3, 2013
1 parent 639c157 commit baccbeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -21,7 +21,7 @@ hoe = Hoe.spec 'mechanize' do
self.extra_deps << ['net-http-digest_auth', '~> 1.1', '>= 1.1.1']
self.extra_deps << ['net-http-persistent', '~> 2.5', '>= 2.5.2']
self.extra_deps << ['mime-types', '~> 1.17', '>= 1.17.2']
self.extra_deps << ['http-cookie', '~> 1.0.0.pre8']
self.extra_deps << ['http-cookie', '~> 1.0.0.pre9']
self.extra_deps << ['nokogiri', '~> 1.4']
self.extra_deps << ['ntlm-http', '~> 0.1', '>= 0.1.1']
self.extra_deps << ['webrobots', '< 0.2', '>= 0.0.9']
Expand Down
5 changes: 3 additions & 2 deletions test/test_mechanize_cookie_jar.rb
Expand Up @@ -123,8 +123,9 @@ def test_add_rejects_cookies_that_do_not_contain_an_embedded_dot

tld_cookie = Mechanize::Cookie.new(cookie_values(:domain => '.org'))
@jar.add(url, tld_cookie)
single_dot_cookie = Mechanize::Cookie.new(cookie_values(:domain => '.'))
@jar.add(url, single_dot_cookie)
# single dot domain is now treated as no domain
# single_dot_cookie = Mechanize::Cookie.new(cookie_values(:domain => '.'))
# @jar.add(url, single_dot_cookie)

assert_equal(0, @jar.cookies(url).length)
end
Expand Down

0 comments on commit baccbeb

Please sign in to comment.