geo_monitor 0.2.1 → 0.2.2

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: 8edd9a0dd0bcd08d02fc4400dc7d2cfbee0377a8
4
- data.tar.gz: b0936f2d79429dfc09c99b0d6c35df4c98fa7f61
3
+ metadata.gz: ab151f6a639c1f3b4359ace4fb8318fcdc66dac5
4
+ data.tar.gz: 48b9226547651a2676467158695986c044597863
5
5
  SHA512:
6
- metadata.gz: 2e324ce987b9bb270f2a1d7cddcc6b8b7a95a2b67bd71a1a6d94411f24206401f4f3688be8ec18ec26dcd4b4be37645b74db69e94d197aa441d2b19a3735ed62
7
- data.tar.gz: 8164dc7de57025d8f35019f325cb9a878b63d80111a4cf6ca5954eaff290e5820f3d9eb4fefde6ca934de33e9d715932e17fda260d6065b14a653a0c7fbd5e52
6
+ metadata.gz: c2c4540c22beb12877d6d9ecafdbcc77bf000cc1e9263fa2a9fc3978df67470239dbd952680812ef34f76f231d1a38a9599be61bc36cf7e8e41660177747c564
7
+ data.tar.gz: 4d9ccfd4a1996e7d10f4d7cfb5dcbf349f4126658632a229a8d144e681b1d6635ff4022efb252617b0b3c25d7ec5a0b9e1b49540be76ff41989a59c61450799f
@@ -18,7 +18,7 @@ module GeoMonitor
18
18
 
19
19
  def bounding_box
20
20
  w, e, n, s = bbox.delete('ENVELOPE(').delete(')').delete(' ').split(',')
21
- GeoMonitor::BoundingBox.new(north: n, south: s, east: e, west: w)
21
+ ::GeoMonitor::BoundingBox.new(north: n, south: s, east: e, west: w)
22
22
  end
23
23
 
24
24
  def check
@@ -20,8 +20,8 @@ module GeoMonitor
20
20
  def tile_bounds
21
21
  tile = tile_number
22
22
  zoom = zoom_level
23
- sw = GeoMonitor::LatLngPoint.from_number(tile[:x], tile[:y], zoom).to_3857
24
- ne = GeoMonitor::LatLngPoint.from_number(tile[:x] + 1, tile[:y] - 1, zoom).to_3857
23
+ sw = ::GeoMonitor::LatLngPoint.from_number(tile[:x], tile[:y], zoom).to_3857
24
+ ne = ::GeoMonitor::LatLngPoint.from_number(tile[:x] + 1, tile[:y] - 1, zoom).to_3857
25
25
  self.class.new(
26
26
  north: ne.lat,
27
27
  east: ne.lng,
@@ -1,3 +1,3 @@
1
1
  module GeoMonitor
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed