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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e9801146be9164bb998b8ef8cd5bbc1c74d280e7f78200429296c1dde2a56b9
4
- data.tar.gz: 7905c172857802486f3f9525233a7e20bfce8c6adee7f53e49f6ce49d57e0822
3
+ metadata.gz: 910908d5f0f83f412883644c911b63df24be598fc6ee9cc6b4e3555d3aabe4ff
4
+ data.tar.gz: 9859f9f20d72bba3dd9b8577aff0059118070ced6fdae5885521c6726f722092
5
5
  SHA512:
6
- metadata.gz: 1988ab26fb045372c7362f62a07b32353d8e6b5acfd41b963f3b281b357d02d9b24bba234844f9ee9d2b2bf73e655dd95ddd58b5d24f15f7f0a2583a531156e8
7
- data.tar.gz: a393570684163893fab56518ab1dfa6be33a6dd124b7ec914e6b95b4465571ab69393935f22c18510eea7e8009ef5887b5b1c5f1a351fbe205dff08fc2144ab3
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Exiftool
4
- VERSION = Gem::Version.new('1.2.2')
4
+ VERSION = Gem::Version.new('1.2.3')
5
5
  end
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.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: 2020-10-06 00:00:00.000000000 Z
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.2
214
+ rubygems_version: 3.1.4
187
215
  signing_key:
188
216
  specification_version: 4
189
217
  summary: Multiget ExifTool wrapper for ruby