gmaps4rails 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gmaps4rails (2.0.0)
4
+ gmaps4rails (2.0.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module Gmaps4rails
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
@@ -9,5 +9,9 @@ class @Gmaps.Google.Objects.Bound extends Gmaps.Base
9
9
  _.each collection, (object)=>
10
10
  object.updateBounds(@)
11
11
 
12
+ # position can be:
13
+ # - [ lat, lng]
14
+ # - { lat: , lng: }
15
+ # - a google.maps.LatLng
12
16
  extend: (value)->
13
- @getServiceObject().extend value
17
+ @getServiceObject().extend @primitives().latLngFromPosition(value)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmaps4rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: