geocomplete_rails 1.5.0 → 1.5.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: 743debf105efd2d7793ef00157ea1b72a37506f1
4
- data.tar.gz: 74a4a27954fe36740330411739a1e7a814a9ab4f
3
+ metadata.gz: 43b92e73bf0f5cfb17e00e1a4f75de6128c5ea8f
4
+ data.tar.gz: bda6054004784ca677129256971b7b12dd94ec05
5
5
  SHA512:
6
- metadata.gz: 48539cb76d70373efcddd5e752f31e5882f2fc406e71d3f3e56b0b426bf678d9f02f96086cb0af88d2365a9d3ffa5d38fbb6299ca33c14f5364884972bad5cf2
7
- data.tar.gz: 648ff0c3fd6930212a103497f617ff281594f473b42dee41901d85fa2621779cab025bcf825dd304c242abef753b546f42f848c5e1e61edb83a39f20d0b9feb6
6
+ metadata.gz: 24f50672c48cbcce31ebc739592884ac51fff5a8bbcfc2f7c557a4cf01c997e5d5c674f6239930150b04b9de157ea7ff481a09c8543fa76fc23f7b63d3349a33
7
+ data.tar.gz: 02c04cc0e9769475c7c9e4ef8b00ac42878856bc236babfbcbd30f35626e47beb0d700f4b94b7d8c494281e37dc9678825ced0744416f175af25092e3eec2e58
@@ -447,7 +447,7 @@
447
447
  placeChanged: function(){
448
448
  var place = this.autocomplete.getPlace();
449
449
 
450
- if (!place.geometry){
450
+ if (!place || !place.geometry){
451
451
  if (this.options.autoselect) {
452
452
  // Automatically selects the highlighted item or the first item from the
453
453
  // suggestions list.
@@ -497,4 +497,4 @@
497
497
  }
498
498
  };
499
499
 
500
- })( jQuery, window, document );
500
+ })( jQuery, window, document );
@@ -1,3 +1,3 @@
1
1
  module GeocompleteRails
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geocomplete_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-14 00:00:00.000000000 Z
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler