gogo_maps 0.0.4 → 0.0.5

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: 6e946a3c75ceaea0f122976307b89122effc974a
4
- data.tar.gz: 78ed74e1f04f613a3ce0b572fc7fcb87a67feef7
3
+ metadata.gz: 214de8fecd1e9b7a258de32a1113557f6af2d409
4
+ data.tar.gz: d28cd8addf55e22eeed81f78acaf24b146d1b248
5
5
  SHA512:
6
- metadata.gz: 7af054199eb82c3c9951d32c627788f673694ca56952e0c6f12514666f008330c9e1f428eaa39d82b7c90b5bb50039784a3c75f646092e37c57d5db179a5069a
7
- data.tar.gz: 266b192a89bbeba04853339a86d5134d5f3b663f1c968890dc453eab4c7db719baf9d8f65c319b74cde21e455619e0fea84bc68fefc79b417f2d08d058df79b8
6
+ metadata.gz: 95931298ff7f224e6855f5940d0925532e8d5ae892f93d28f4a32e1a2a8d276b5359c1e2fcbce83e4416b25db8d4fd1662cfe7ccfe52bc4ebb18c221737d5c76
7
+ data.tar.gz: 1cdda3f069f7b3cf549a2bae9e74863136536dd6085de21f30a1979d6d334c3701478e38506a71d07c1f849a75b7453860e7d9900060997ecddb28cb45a91bb1
@@ -1,3 +1,3 @@
1
1
  module GogoMaps
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/gogo_maps.rb CHANGED
@@ -15,8 +15,8 @@ module GogoMaps
15
15
  end
16
16
 
17
17
  def random(opts={})
18
- lat = ((-160..160).to_a.sample + rand).round(8)
19
- lng = ((-160..160).to_a.sample + rand).round(8)
18
+ lat = ((-180..180).to_a.sample + rand).round(8)
19
+ lng = ((-180..180).to_a.sample + rand).round(8)
20
20
  get({latlng:[lat, lng].join(',')}.merge(opts))
21
21
  rescue
22
22
  random #FIXIT:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gogo_maps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - gogotanaka