kudzu 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kudzu/model/page.rb +2 -2
- data/lib/kudzu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db3d736219c8aca35b41dfe61719a37173b3498b
|
4
|
+
data.tar.gz: f507bd70b91637bcd3ead95ee32f41265992e863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c347c175eaede25b129be8fd33a28dbd4b84e71b30fb1cc545dba64b2179a946a0407d9c0a20f457f56a854e27e1db764ce0a8292302f97c44744d019e3d4eb0
|
7
|
+
data.tar.gz: dba9ecd5ef6419df880ed7a8e4043b4eb52fad6745cd3cdcdefaaf647496c92dc7ce6aa982db2d5690074c28006ef4649b5a7174dcb353d83d83534a07b3140f
|
data/lib/kudzu/model/page.rb
CHANGED
@@ -93,9 +93,9 @@ module Kudzu
|
|
93
93
|
def decode_body(body)
|
94
94
|
if text?
|
95
95
|
if find_encoding
|
96
|
-
body.force_encoding(charset).encode('utf-8', invalid: :replace, undef: :replace)
|
96
|
+
body.dup.force_encoding(charset).encode('utf-8', invalid: :replace, undef: :replace)
|
97
97
|
else
|
98
|
-
body.encode('utf-8', invalid: :replace, undef: :replace)
|
98
|
+
body.dup.encode('utf-8', invalid: :replace, undef: :replace)
|
99
99
|
end
|
100
100
|
else
|
101
101
|
body
|
data/lib/kudzu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kudzu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|