ruby-imagespec 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/parser/swf.rb +1 -1
- metadata +2 -2
data/lib/parser/swf.rb
CHANGED
@@ -21,7 +21,7 @@ class ImageSpec
|
|
21
21
|
# Read the entire stream into memory because the
|
22
22
|
# dimensions aren't stored in a standard location
|
23
23
|
stream.rewind
|
24
|
-
contents = stream.read
|
24
|
+
contents = stream.read.force_encoding("ASCII-8BIT")
|
25
25
|
|
26
26
|
# Our 'signature' is the first 3 bytes
|
27
27
|
# Either FWS or CWS. CWS indicates compression
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-imagespec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-08-
|
15
|
+
date: 2012-08-22 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rake
|