rubysketch 0.3.13 → 0.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +5 -0
- data/VERSION +1 -1
- data/examples/image.rb +1 -1
- data/lib/rubysketch/processing.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11106527579020a3b5bd37a616605f659099ca5523cb314399850652a647c96f
|
4
|
+
data.tar.gz: a18591f7c86b38291a11eac844ff6da0a43a3916c79df3f7bf4eff330a5f1ebf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f78963b6a956b4a68194963fb4de22a007ba075aad59d9a69fe752b596615bbf21189e5e404cb4d8346a3f287d6b7b061d027dc5e05bf7598904f99e21342d
|
7
|
+
data.tar.gz: 4a054bd08ebdaa62e3fab7dd853cad2aa95fa7f9d6ed414992d0d7df8eb6de7d17dd5fc27925d544f3aec9866ad3ccef0c9d5c5e09bdc7ed8703f31801d9dbe3
|
data/ChangeLog.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.14
|
data/examples/image.rb
CHANGED
@@ -2436,8 +2436,10 @@ module RubySketch
|
|
2436
2436
|
|
2437
2437
|
unless path.file?
|
2438
2438
|
URI.open uri do |input|
|
2439
|
+
input.set_encoding nil# disable default_internal
|
2439
2440
|
tmpdir.mkdir unless tmpdir.directory?
|
2440
2441
|
path.open('w') do |output|
|
2442
|
+
output.set_encoding Encoding::ASCII_8BIT
|
2441
2443
|
while buf = input.read(2 ** 16)
|
2442
2444
|
output.write buf
|
2443
2445
|
end
|