activeadmin_latlng 1.3.0 → 1.4.0

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: 14dec92c919ee155151beefdf9a728cc4a396d30
4
- data.tar.gz: c8995e4af3755ab2b83d8e151002b6554cdc9353
3
+ metadata.gz: 4a24a5a985decc74f54b4160d88475ffbdd2a8fb
4
+ data.tar.gz: ef6f6533b89be67cbcd47099ca119dc716452137
5
5
  SHA512:
6
- metadata.gz: 55b61450179cd6cb61169822e8a89a3a371c411a50ba94c6762896ad47a744f9bc4fdebdfd4d782cfd542a6133d90a3b43d2826268f83bcd128b2c3c7bea7ff0
7
- data.tar.gz: 67d5669acd086063fd2331c61969653f7e4d92ea99777c9bfab31bf4188c545cb140677278bb82e40cb6810091fdf8a7f7ec8e49e55e07b67211d54008fd6799
6
+ metadata.gz: 6979d6cac46f79da5241de56baea9e44b626364b06964ce6624e127e4c6c96f61a2964cc05b48c3f10f35cac1bde436049feb480c04c7b2ebb2d37e807f65810
7
+ data.tar.gz: c349caab7fb929e62f4a6f7ab6ef6018264582c48ddde2988880201c22d52f21fdd5c136eccb8ff63cbde98790cc27f3350507281366d3cb3989a5ba1cd5248f
@@ -4,7 +4,7 @@ module ActiveAdmin
4
4
  def build(_, *args, &_block)
5
5
  super _, *args, &_block
6
6
  @template_name = 'openstreetmap.html.erb'
7
- @script_html = '<script src="http://cdnjs.buttflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>'
7
+ @script_html = '<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>'
8
8
  end
9
9
  end
10
10
  end
@@ -1,6 +1,6 @@
1
1
  <li>
2
2
  <%= loading_map_code %>
3
- <link rel="stylesheet" href="http://cdnjs.buttflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
3
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
4
4
  <script>
5
5
  var osmObject = {
6
6
  idLat: '<%= id_lat %>',
@@ -18,8 +18,8 @@
18
18
  console.log(e);
19
19
  }
20
20
 
21
- var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
22
- var osmAttrib='Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors';
21
+ var osmUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
22
+ var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
23
23
  var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 20, attribution: osmAttrib});
24
24
 
25
25
  osmObject.map.setView([lat, lon],10);
@@ -71,7 +71,7 @@
71
71
  },
72
72
 
73
73
  searchLocation: function(text, callback) {
74
- var requestUrl = "http://nominatim.openstreetmap.org/search?format=json&q="+text;
74
+ var requestUrl = "https://nominatim.openstreetmap.org/search?format=json&q="+text;
75
75
  $.ajax({
76
76
  url: requestUrl,
77
77
  type: "GET",
@@ -1,3 +1,3 @@
1
1
  module ActiveadminLatlng
2
- VERSION = "1.3.0".freeze
2
+ VERSION = "1.4.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_latlng
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Krylov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-04 00:00:00.000000000 Z
11
+ date: 2019-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin