exifr 1.1.2 → 1.1.3
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.
- data/CHANGELOG +6 -0
- data/lib/exifr/tiff.rb +1 -1
- data/tests/data/bad-shutter_speed_value.exif +0 -0
- metadata +22 -40
data/CHANGELOG
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
EXIF Reader 1.1.3
|
2
|
+
* bug fix; "[GH#27] some error when :shutter_speed_value is too big"; thanks to zamia
|
3
|
+
|
4
|
+
EXIF Reader 1.1.2
|
5
|
+
* bug fix; "[GH#25] Incorrect values being extracted for a number of fields"; thanks to Matthew McEachen
|
6
|
+
|
1
7
|
EXIF Reader 1.1.1
|
2
8
|
* feature; "added gps convenience method to make accessing location data easier (degrees to float conversion)"
|
3
9
|
* bug fix; "[GH#22] Fix warnings about uninitialized @comment"; thanks to Ryan Greenberg"
|
data/lib/exifr/tiff.rb
CHANGED
@@ -330,7 +330,7 @@ module EXIFR
|
|
330
330
|
:gps_longitude => proc { |v| Degrees.new(v) },
|
331
331
|
:gps_dest_latitude => proc { |v| Degrees.new(v) },
|
332
332
|
:gps_dest_longitude => proc { |v| Degrees.new(v) },
|
333
|
-
:shutter_speed_value => proc { |v| v.map { |v| rational(1, (2 ** v).to_i) } },
|
333
|
+
:shutter_speed_value => proc { |v| v.map { |v| v.abs < 100 ? rational(1, (2 ** v).to_i) : nil } },
|
334
334
|
:aperture_value => proc { |v| v.map { |v| round(1.4142 ** v, 1) } }
|
335
335
|
})
|
336
336
|
|
Binary file
|
metadata
CHANGED
@@ -1,34 +1,25 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: exifr
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 1.1.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- R.W. van 't Veer
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2012-02-20 00:00:00 +01:00
|
19
|
-
default_executable:
|
12
|
+
date: 2012-05-31 00:00:00.000000000 Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
14
|
description:
|
23
15
|
email: remco@remvee.net
|
24
|
-
executables:
|
16
|
+
executables:
|
25
17
|
- exifr
|
26
18
|
extensions: []
|
27
|
-
|
28
|
-
extra_rdoc_files:
|
19
|
+
extra_rdoc_files:
|
29
20
|
- README.rdoc
|
30
21
|
- CHANGELOG
|
31
|
-
files:
|
22
|
+
files:
|
32
23
|
- Rakefile
|
33
24
|
- bin/exifr
|
34
25
|
- lib/exifr.rb
|
@@ -53,47 +44,38 @@ files:
|
|
53
44
|
- tests/data/Trust-DC3500_MINI.exif
|
54
45
|
- tests/data/user-comment.exif
|
55
46
|
- tests/data/weird_date.exif
|
47
|
+
- tests/data/bad-shutter_speed_value.exif
|
56
48
|
- tests/jpeg_test.rb
|
57
49
|
- tests/test_helper.rb
|
58
50
|
- tests/tiff_test.rb
|
59
51
|
- README.rdoc
|
60
52
|
- CHANGELOG
|
61
|
-
has_rdoc: true
|
62
53
|
homepage: http://github.com/remvee/exifr/
|
63
54
|
licenses: []
|
64
|
-
|
65
55
|
post_install_message:
|
66
|
-
rdoc_options:
|
56
|
+
rdoc_options:
|
67
57
|
- --title
|
68
58
|
- EXIF Reader for Ruby API Documentation
|
69
59
|
- --main
|
70
60
|
- README.rdoc
|
71
|
-
require_paths:
|
61
|
+
require_paths:
|
72
62
|
- lib
|
73
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
64
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
79
|
-
|
80
|
-
- 0
|
81
|
-
version: "0"
|
82
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
70
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
version: "0"
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
91
75
|
requirements: []
|
92
|
-
|
93
76
|
rubyforge_project:
|
94
|
-
rubygems_version: 1.
|
77
|
+
rubygems_version: 1.8.24
|
95
78
|
signing_key:
|
96
79
|
specification_version: 3
|
97
80
|
summary: EXIF Reader is a module to read EXIF from JPEG images.
|
98
81
|
test_files: []
|
99
|
-
|