ruby-imagespec 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. data/lib/parser/swf.rb +1 -1
  2. metadata +2 -2
@@ -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.0
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-16 00:00:00.000000000 Z
15
+ date: 2012-08-22 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rake