exiftool 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/exiftool.rb +3 -0
- data/lib/exiftool/field_parser.rb +1 -1
- data/lib/exiftool/version.rb +1 -1
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 910908d5f0f83f412883644c911b63df24be598fc6ee9cc6b4e3555d3aabe4ff
|
4
|
+
data.tar.gz: 9859f9f20d72bba3dd9b8577aff0059118070ced6fdae5885521c6726f722092
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d778dba97dcdfa9f3ca613af37a36133e1f6fb724a39d93162b7bcca52fc6222f3fdfd2ef7a497d63f7af0ad4a3bfbf349b2d6357571fd864db466032af62445
|
7
|
+
data.tar.gz: f8b32e9d8414ce4adb0987a4f17046f690bf130c9492f3406325fe9c876af6ab74766294c2c5dabf479c18c0e6f34d11af4c1e9dfed2ad018f50f009a881075f
|
data/lib/exiftool.rb
CHANGED
@@ -8,8 +8,11 @@ require 'forwardable'
|
|
8
8
|
# Exiftool Class
|
9
9
|
class Exiftool
|
10
10
|
class NoSuchFile < StandardError; end
|
11
|
+
|
11
12
|
class NotAFile < StandardError; end
|
13
|
+
|
12
14
|
class ExiftoolNotInstalled < StandardError; end
|
15
|
+
|
13
16
|
class NoDefaultResultWithMultiget < StandardError; end
|
14
17
|
|
15
18
|
class << self
|
@@ -54,7 +54,7 @@ class Exiftool
|
|
54
54
|
def as_lat_long
|
55
55
|
return raw_value if raw_value.is_a?(Numeric)
|
56
56
|
|
57
|
-
value, direction = raw_value.split
|
57
|
+
value, direction = raw_value.split
|
58
58
|
return unless value =~ /\A\d+\.?\d*\z/
|
59
59
|
|
60
60
|
value.to_f * (%w[S W].include?(direction) ? -1 : 1)
|
data/lib/exiftool/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exiftool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew McEachen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -109,6 +109,34 @@ dependencies:
|
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: rubocop-minitest
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: rubocop-rake
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
112
140
|
- !ruby/object:Gem::Dependency
|
113
141
|
name: simplecov
|
114
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
211
|
version: '0'
|
184
212
|
requirements:
|
185
213
|
- ExifTool (see http://exiftool.org)
|
186
|
-
rubygems_version: 3.1.
|
214
|
+
rubygems_version: 3.1.4
|
187
215
|
signing_key:
|
188
216
|
specification_version: 4
|
189
217
|
summary: Multiget ExifTool wrapper for ruby
|