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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14e681b688f83b82db19b79ec27b150d184b5e37
4
- data.tar.gz: 89986f4f57047ca9db6be07637637d677c62017c
3
+ metadata.gz: db3d736219c8aca35b41dfe61719a37173b3498b
4
+ data.tar.gz: f507bd70b91637bcd3ead95ee32f41265992e863
5
5
  SHA512:
6
- metadata.gz: f410c8145362c4f1857c6e0c8234ee31c185935ac1e0e9ef225dd107eb47ab6e18cb634b5cff55708ad341ce1e2a2de048a1b4029aa38a39e9f23b034e1132e0
7
- data.tar.gz: 7026b20f36faeffc690360c3ff228046be457d890841cbe7a62f20390c3f002c3a64dead33fd4255f7f226ad6ada3fb2e53eb3781ac63e9fc00ed9775a2c787d
6
+ metadata.gz: c347c175eaede25b129be8fd33a28dbd4b84e71b30fb1cc545dba64b2179a946a0407d9c0a20f457f56a854e27e1db764ce0a8292302f97c44744d019e3d4eb0
7
+ data.tar.gz: dba9ecd5ef6419df880ed7a8e4043b4eb52fad6745cd3cdcdefaaf647496c92dc7ce6aa982db2d5690074c28006ef4649b5a7174dcb353d83d83534a07b3140f
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Kudzu
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
3
3
  end
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.3
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-01-15 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable