mechanize 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mechanize might be problematic. Click here for more details.

data/History.txt CHANGED
@@ -1,5 +1,10 @@
1
1
  = Mechanize CHANGELOG
2
2
 
3
+ === 0.8.1
4
+
5
+ * Bug Fixes:
6
+ * Fixed problem with nil pointer when logger is set
7
+
3
8
  === 0.8.0
4
9
 
5
10
  * New Features:
data/lib/www/mechanize.rb CHANGED
@@ -46,7 +46,7 @@ module WWW
46
46
  class Mechanize
47
47
  ##
48
48
  # The version of Mechanize you are using.
49
- VERSION = '0.8.0'
49
+ VERSION = '0.8.1'
50
50
 
51
51
  ##
52
52
  # User Agent aliases
@@ -27,7 +27,7 @@ module WWW
27
27
  raise EOFError if @response.content_length() && @response.content_length() != total
28
28
  end
29
29
 
30
- response.each_header { |k,v|
30
+ @response.each_header { |k,v|
31
31
  Mechanize.log.debug("response-header: #{ k } => #{ v }")
32
32
  } if Mechanize.log
33
33
 
@@ -1,3 +1,5 @@
1
+ require 'pp'
2
+
1
3
  module WWW
2
4
  # :stopdoc:
3
5
  class Mechanize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mechanize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-20 00:00:00 -07:00
12
+ date: 2008-09-24 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency