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.
- data/CHANGELOG.txt +4 -0
- data/lib/www/mechanize.rb +2 -2
- metadata +2 -2
data/CHANGELOG.txt
CHANGED
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.
|
|
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.
|
|
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
|
+
date: 2008-03-13 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|