mechanize 0.7.3 → 0.7.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.
Files changed (3) hide show
  1. data/CHANGELOG.txt +4 -0
  2. data/lib/www/mechanize.rb +2 -2
  3. metadata +2 -2
data/CHANGELOG.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  = Mechanize CHANGELOG
2
2
 
3
+ == 0.7.4
4
+
5
+ * doh!
6
+
3
7
  == 0.7.3
4
8
 
5
9
  * Pages are now yielded to a blocks given to WWW::Mechanize#get
data/lib/www/mechanize.rb CHANGED
@@ -38,7 +38,7 @@ module WWW
38
38
  class Mechanize
39
39
  ##
40
40
  # The version of Mechanize you are using.
41
- VERSION = '0.7.3'
41
+ VERSION = '0.7.4'
42
42
 
43
43
  ##
44
44
  # User Agent aliases
@@ -567,7 +567,7 @@ module WWW
567
567
  begin
568
568
  Zlib::GzipReader.new(body).read
569
569
  rescue Zlib::BufError => e
570
- log.error('Caught a Zlib::BufError')
570
+ log.error('Caught a Zlib::BufError') if log
571
571
  body.rewind
572
572
  body.read(10)
573
573
  Zlib::Inflate.new(-Zlib::MAX_WBITS).inflate(body.read)
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.7.3
4
+ version: 0.7.4
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-03-12 00:00:00 -07:00
12
+ date: 2008-03-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency