cul_image_props 0.1.0 → 0.1.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.
|
@@ -132,13 +132,13 @@ class EXIF_header
|
|
|
132
132
|
elsif l == 4
|
|
133
133
|
return src.unpack('N')[0]
|
|
134
134
|
else
|
|
135
|
-
raise "Unexpected packed Fixnum length: " +
|
|
135
|
+
raise "Unexpected packed Fixnum length: " + l.to_s
|
|
136
136
|
end
|
|
137
137
|
end
|
|
138
138
|
# extract multibyte integer in Intel format (little endian)
|
|
139
139
|
def s2n_intel(src)
|
|
140
140
|
x = 0
|
|
141
|
-
|
|
141
|
+
l = src.length
|
|
142
142
|
if l == 1
|
|
143
143
|
return src[0]
|
|
144
144
|
elsif l == 2
|
|
@@ -146,7 +146,7 @@ class EXIF_header
|
|
|
146
146
|
elsif l == 4
|
|
147
147
|
return src.unpack('V')[0]
|
|
148
148
|
else
|
|
149
|
-
raise "Unexpected packed Fixnum length: " +
|
|
149
|
+
raise "Unexpected packed Fixnum length: " + l.to_s
|
|
150
150
|
end
|
|
151
151
|
end
|
|
152
152
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cul_image_props
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Benjamin Armintor
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-06-18 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rspec
|