autocomplete_address_safe 0.1.1 → 0.1.2

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: 91b436fc3054a05a5a9bd3f02636146ba3e5dc25
4
- data.tar.gz: 002045640cdbb14aee2c839ebbf8916a8e867607
3
+ metadata.gz: 7c4ddf10b1cec245a39eeef8234379d8894a3b23
4
+ data.tar.gz: 0aced88f24c231e12f0b976153d0f79b59f80734
5
5
  SHA512:
6
- metadata.gz: c96a76d7b299e257a788ceb6b45c0710cf6a75a0b5c157f2710c881e9d0f260346c965be8c48c38dd20cdf6ddd12df2a4fe0b36ece779bbc37ccc5a91406d4a8
7
- data.tar.gz: 5834787927398258f30af42230176d39c6bde8a7924f523b1662a897694825a91e5d5b4cf0e5ee35f00cb4dd790c6ffb689311e263b98bf5a84d2416f8278ad7
6
+ metadata.gz: 45a0c326f4982322beb8dac713bb7ac25f003c587d5a24e4723c8e129441c4858e5d384fe721a910003b185797b7b26057ebfcc95e776411f5aaa2eb741d88c6
7
+ data.tar.gz: 309833d87850065f4683449a06c0c736da3c7fd41fecffb558096e08d198e1d71d44d9274736b9fd4da76bc21e166d7f9abd29c87bf0cef8f4736b8ff442dec9
@@ -1,5 +1,6 @@
1
1
  // This example displays an address form, using the autocomplete feature
2
2
  // of the Google Places API to help users fill in the information.
3
+ document.write('<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places"></script>');
3
4
 
4
5
  var placeSearch, autocomplete;
5
6
  var componentForm = {
@@ -1,3 +1,3 @@
1
1
  module AutocompleteAddressSafe
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autocomplete_address_safe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saul Felipe Ramirez
@@ -55,7 +55,6 @@ files:
55
55
  - app/assets/javascript/autocomplete_address_options.js.erb
56
56
  - app/assets/javascript/autocomplete_address_safe.js
57
57
  - app/assets/javascript/barracuda.js
58
- - app/assets/javascript/googlecore.js
59
58
  - app/assets/javascript/googlemaps.js
60
59
  - autocomplete_address_safe.gemspec
61
60
  - bin/console
@@ -1,21 +0,0 @@
1
- window.google = window.google || {};
2
- google.maps = google.maps || {};
3
- (function() {
4
-
5
- function getScript(src) {
6
- document.write('<' + 'script src="' + src + '"><' + '/script>');
7
- }
8
-
9
- var modules = google.maps.modules = {};
10
- google.maps.__gjsload__ = function(name, text) {
11
- modules[name] = text;
12
- };
13
-
14
- google.maps.Load = function(apiLoad) {
15
- delete google.maps.Load;
16
- apiLoad([0.009999999776482582,[[["https://mts0.googleapis.com/vt?lyrs=m@316000000\u0026src=api\u0026hl=es-ES\u0026","https://mts1.googleapis.com/vt?lyrs=m@316000000\u0026src=api\u0026hl=es-ES\u0026"],null,null,null,null,"m@316000000",["https://mts0.google.com/vt?lyrs=m@316000000\u0026src=api\u0026hl=es-ES\u0026","https://mts1.google.com/vt?lyrs=m@316000000\u0026src=api\u0026hl=es-ES\u0026"]],[["https://khms0.googleapis.com/kh?v=178\u0026hl=es-ES\u0026","https://khms1.googleapis.com/kh?v=178\u0026hl=es-ES\u0026"],null,null,null,1,"178",["https://khms0.google.com/kh?v=178\u0026hl=es-ES\u0026","https://khms1.google.com/kh?v=178\u0026hl=es-ES\u0026"]],null,[["https://mts0.googleapis.com/vt?lyrs=t@132,r@316000000\u0026src=api\u0026hl=es-ES\u0026","https://mts1.googleapis.com/vt?lyrs=t@132,r@316000000\u0026src=api\u0026hl=es-ES\u0026"],null,null,null,null,"t@132,r@316000000",["https://mts0.google.com/vt?lyrs=t@132,r@316000000\u0026src=api\u0026hl=es-ES\u0026","https://mts1.google.com/vt?lyrs=t@132,r@316000000\u0026src=api\u0026hl=es-ES\u0026"]],null,null,[["https://cbks0.googleapis.com/cbk?","https://cbks1.googleapis.com/cbk?"]],[["https://khms0.googleapis.com/kh?v=86\u0026hl=es-ES\u0026","https://khms1.googleapis.com/kh?v=86\u0026hl=es-ES\u0026"],null,null,null,null,"86",["https://khms0.google.com/kh?v=86\u0026hl=es-ES\u0026","https://khms1.google.com/kh?v=86\u0026hl=es-ES\u0026"]],[["https://mts0.googleapis.com/mapslt?hl=es-ES\u0026","https://mts1.googleapis.com/mapslt?hl=es-ES\u0026"]],[["https://mts0.googleapis.com/mapslt/ft?hl=es-ES\u0026","https://mts1.googleapis.com/mapslt/ft?hl=es-ES\u0026"]],[["https://mts0.googleapis.com/vt?hl=es-ES\u0026","https://mts1.googleapis.com/vt?hl=es-ES\u0026"]],[["https://mts0.googleapis.com/mapslt/loom?hl=es-ES\u0026","https://mts1.googleapis.com/mapslt/loom?hl=es-ES\u0026"]],[["https://mts0.googleapis.com/mapslt?hl=es-ES\u0026","https://mts1.googleapis.com/mapslt?hl=es-ES\u0026"]],[["https://mts0.googleapis.com/mapslt/ft?hl=es-ES\u0026","https://mts1.googleapis.com/mapslt/ft?hl=es-ES\u0026"]],[["https://mts0.googleapis.com/mapslt/loom?hl=es-ES\u0026","https://mts1.googleapis.com/mapslt/loom?hl=es-ES\u0026"]]],["es-ES","US",null,0,null,null,"https://maps.gstatic.com/mapfiles/","https://csi.gstatic.com","https://maps.googleapis.com","https://maps.googleapis.com",null,"https://maps.google.com","https://gg.google.com","https://maps.gstatic.com/maps-api-v3/api/images/","https://www.google.com/maps",0],["https://maps.gstatic.com/maps-api-v3/api/js/21/7/intl/es_ALL","3.21.7"],[3093155694],1,null,null,null,null,null,"",["places"],null,1,"https://khms.googleapis.com/mz?v=178\u0026",null,"https://earthbuilder.googleapis.com","https://earthbuilder.googleapis.com",null,"https://mts.googleapis.com/vt/icon",[["https://mts0.googleapis.com/vt","https://mts1.googleapis.com/vt"],["https://mts0.googleapis.com/vt","https://mts1.googleapis.com/vt"],null,null,null,null,null,null,null,null,null,null,["https://mts0.google.com/vt","https://mts1.google.com/vt"],"/maps/vt",316000000,132],2,500,[null,"https://g0.gstatic.com/landmark/tour","https://g0.gstatic.com/landmark/config",null,"https://www.google.com/maps/preview/log204","","https://static.panoramio.com.storage.googleapis.com/photos/",["https://geo0.ggpht.com/cbk","https://geo1.ggpht.com/cbk","https://geo2.ggpht.com/cbk","https://geo3.ggpht.com/cbk"]],["https://www.google.com/maps/api/js/master?pb=!1m2!1u21!2s7!2ses-ES!3sUS!4s21/7/intl/es_ALL","https://www.google.com/maps/api/js/widget?pb=!1m2!1u21!2s7!2ses-ES"],null,1,0,"/maps/api/js/ApplicationService.GetEntityDetails",0,null,null,[null,null,null,null,null,null,null,null,null,[0,0],[0,0,0]]], loadScriptTime);
17
- };
18
- var loadScriptTime = (new Date).getTime();
19
- getScript("https://maps.gstatic.com/maps-api-v3/api/js/21/7/intl/es_ALL/main.js");
20
- getScript("https://maps.gstatic.com/maps-api-v3/api/js/21/7/intl/es_ALL/places.js");
21
- })();