administrate-field-lat_lng 1.0.0 → 1.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: bd05f2c706f9d1a5ae17d96579c12b349c4230be
4
- data.tar.gz: a07039d2a865715cc923912acc850250b05c34ff
3
+ metadata.gz: a9697b1b334703605d57f04c95003d3a9eb3687d
4
+ data.tar.gz: ec9891c70c7dd4bb73e89ddc5bde533b60bf2329
5
5
  SHA512:
6
- metadata.gz: f5ab5557ff5a31e1cccff462f9c5b17fb07da9f06780b9ddccf1b15f40bc45513e14c749f8054a296302464a248f5a4ae5cfe6468b560539976077a545592dbe
7
- data.tar.gz: a939b9f777e3c8c53ed6daf77235cf7822a240b9b1a8e3bc008f8f3e0db44a356d5ad625bf3952b1f6a9687642b92122c731a394477db506c5ce79bdf7b56232
6
+ metadata.gz: d5d90ed6a7f4f24564d9296e0a2bf5d34ab6a21e83139e3a96a54c6a4cb2e71ac97aa7a430978b142a7c5ae3b14aa9446a0f97f9aaff76fdefa44798870c8aca
7
+ data.tar.gz: 06e62d1466b1dd3d0f10fc67a781aad41b09c823b3f143bea04e0b8abe3635dd7c7b6a663f80117d97000d5f588409cd9efccd833763cef8e0349f5f021f3373
data/README.md CHANGED
@@ -54,7 +54,7 @@ Additional options that are available:
54
54
 
55
55
  ## Usage notes
56
56
 
57
- This gem depends on being able to access `cdn.leafletjs.com` for the Leaflet JS and CSS. Let me know if you want this to change and be based on the asset pipeline.
57
+ This gem depends on being able to access `cdnjs.cloudflare.com` for the Leaflet JS and CSS. Let me know if you want this to change and be based on the asset pipeline.
58
58
 
59
59
  Currently you can only have one pair of lat/lng per model type. Supporting multiple pairs would not be hard, so let me know if you need that functionality.
60
60
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "administrate-field-lat_lng"
7
- spec.version = "1.0.0"
7
+ spec.version = "1.0.1"
8
8
  spec.authors = ["Rich Daley"]
9
9
  spec.email = ["rich@fishpercolator.co.uk"]
10
10
 
@@ -7,8 +7,8 @@ module Administrate
7
7
  class Engine < ::Rails::Engine
8
8
  end
9
9
 
10
- JS_URL = "http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"
11
- CSS_URL = "http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css"
10
+ JS_URL = "//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"
11
+ CSS_URL = "//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css"
12
12
 
13
13
  # True if the :lat option has been provided, or field is called :lat
14
14
  def lat?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-lat_lng
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Daley