cul_image_props 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ def self.make_string(seq)
10
10
  seq.each { |c|
11
11
  # Screen out non-printing characters
12
12
  if 32 <= c and c < 256
13
- str += chr(c)
13
+ str += c.chr
14
14
  end
15
15
  }
16
16
  # If no printing chars
@@ -141,7 +141,7 @@ class EXIF_header
141
141
  x = 0
142
142
  l = src.length
143
143
  if l == 1
144
- return src[0]
144
+ return src.unpack('C')[0]
145
145
  elsif l == 2
146
146
  return src.unpack('v')[0]
147
147
  elsif l == 4
@@ -1,7 +1,7 @@
1
1
  module Cul
2
2
  module Image
3
3
  module Properties
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cul_image_props
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-09 00:00:00.000000000 Z
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri