exiftool 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: e4740d0ed79880a71c9907a0ec7db8440dfdfc1f
4
- data.tar.gz: d26828b0b26e7501a71f220cae6199e84cd7d96a
3
+ metadata.gz: ae08d330e8f9086986527091a050c7bd18dcc88d
4
+ data.tar.gz: 6c61a287a2f4cf37fde00f7580d630427268a40d
5
5
  SHA512:
6
- metadata.gz: 8c1347dd40ba873d843cf54fdd83e94602f83c224dcc905dde07f5f6c6860f210b985a4ea6436bdc4b84a9b65da8ec37ff9b0deaf6947eb4c16a3e7bd5ee677c
7
- data.tar.gz: 5ba9b66ae005ba9e7515a3cf8354b40aeeaa6e78e52380728b6fbb0d2e3509fb25418db1a89683ae8068da1769c9691094a52601092e5b67bbcaf09ade56617b
6
+ metadata.gz: 9d8de3cd3b7288d05e420791c5735987855a184b01f4005f18d2c99b41cf145250c92b1fdfc37af9bc8e5093bb071a90a90d5faf68baaaf6e49dba5edbf326ee
7
+ data.tar.gz: 4da77b1bbe069e7986ad63725a4f008b26dd1a9a0498e57320bf4a729f4916a9a9090a0864b76b75300a2e9dbba2ddf0bd63a126150b8f99b38ffc63918c910f
@@ -46,6 +46,7 @@ class Exiftool
46
46
  end
47
47
 
48
48
  def as_lat_long
49
+ return raw_value if raw_value.is_a?(Numeric)
49
50
  value, direction = raw_value.split(' ')
50
51
  if value =~ /\A\d+\.?\d*\z/
51
52
  value.to_f * (['S', 'W'].include?(direction) ? -1 : 1)
@@ -1,3 +1,3 @@
1
1
  class Exiftool
2
- VERSION = Gem::Version.new('1.0.0')
2
+ VERSION = Gem::Version.new('1.0.1')
3
3
  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.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew McEachen