visioner 1.0.2 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 661dd036602216d1767c24025efee8ae00aef4d6
4
- data.tar.gz: 38708891140a66e6e29eb2d9d57fca778516fd41
3
+ metadata.gz: 21aa84d393670115bc8b35759a3c235e3c1b7090
4
+ data.tar.gz: e9f12532026d429242015d0488daf08ed8236bca
5
5
  SHA512:
6
- metadata.gz: c25ea3a53fe54d81aa04a5a4df7c921ef6c1c2c2ef12be35752aaf00b7d29c9b466969020d78bcd52c6017cc14640a166336431a7c1ba28fc3d31c28abb69163
7
- data.tar.gz: 927acbe852419e92e26c68c8ff43ab8703b9f8931aacefe32c30f15cf76b08222b42c92af590487aacc0241cef31a59ce95a83b851da461140d42cb8094a2dab
6
+ metadata.gz: 2a8123a77a5160f66368d10d67a1a08cca276fb6013eac6142047fb969c112368a9ec29b5cfc04396d8b48979fcc919cf3d7294ce9454c604d53c5c80741d455
7
+ data.tar.gz: 860a8b816896ba30879b7abc692a475a2325673b9d7907b14037ffdd8f725b768c6090915aa224525e12cb188e3107c5efbb71a518e0907891286951cf1c946a
@@ -1,3 +1,3 @@
1
1
  module Visioner
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
data/lib/visioner.rb CHANGED
@@ -108,7 +108,7 @@ module Visioner
108
108
  locality = ''
109
109
  if options[:format].include? 'locality'
110
110
  locality = 'unknown' # Fallback
111
- locality = self.get_place(exif.gps.latitude, exif.gps.longitude, 'locality') if exif.gps_latitude && exif.gps_longitude
111
+ locality = self.get_place(exif.gps.latitude, exif.gps.longitude, 'locality') if exif && exif.gps_latitude && exif.gps_longitude
112
112
  end
113
113
 
114
114
  options[:format].sub! 'label', label
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visioner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre-Jean Bergeron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-27 00:00:00.000000000 Z
11
+ date: 2016-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler