Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:sparklemotion/mechanize

  • Loading branch information...
commit 9e0a5e5f58e9302683727a626d2d90e036f61a05 2 parents ea054d8 + 2c6c675
@leejarvis leejarvis authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  Rakefile
  2. +1 −0  lib/mechanize/cookie_jar.rb
View
2  Rakefile
@@ -22,7 +22,7 @@ hoe = Hoe.spec 'mechanize' do
self.extra_deps << ['mime-types', '~> 1.17', '>= 1.17.2']
self.extra_deps << ['nokogiri', '~> 1.4']
self.extra_deps << ['ntlm-http', '~> 0.1', '>= 0.1.1']
- self.extra_deps << ['webrobots', '~> 0.0', '>= 0.0.9']
+ self.extra_deps << ['webrobots', '< 0.2', '>= 0.0.9']
self.extra_deps << ['domain_name', '~> 0.5', '>= 0.5.1']
self.spec_extras[:required_ruby_version] = '>= 1.8.7'
View
1  lib/mechanize/cookie_jar.rb
@@ -187,6 +187,7 @@ def load_cookiestxt(io)
# Write cookies to Mozilla cookies.txt-style IO stream
def dump_cookiestxt(io)
+ io.puts "# HTTP Cookie File"
to_a.each do |cookie|
io.puts([
cookie.domain,
Please sign in to comment.
Something went wrong with that request. Please try again.