leaflet-js 0.7.0.2 → 0.7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +5 -3
- data/leaflet-js.gemspec +2 -2
- metadata +3 -3
- data/LICENSE +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b03ee2106fe7a6d088ef730fcef1b07b724dc50a
|
4
|
+
data.tar.gz: 0bbb5f2dbba03ef4da047b685385b9dc593db13d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fba51442a0a84bcfeae193a6f61c2bd8b22d4b09a1c3f9797b1dc2a27307f317c0c42037b7979ee3b81347632cb3d8bb1c1fae81cbe846da56cc272bda1a2453
|
7
|
+
data.tar.gz: 705f41d1a057d730b280ad31a79da2db398cb3ea120b42c9b627c15c8c8bd7b23435eaf12d3fa66f568dbfa5e523fc7d9f7ff1a94a2e228e240d6105a6e361a6
|
data/README.rdoc
CHANGED
@@ -47,9 +47,11 @@ spritesheet-2x.png
|
|
47
47
|
|
48
48
|
Note when using Rails in production, with asset digests on, the Leaflet.Draw marker tool will not display
|
49
49
|
an icon. The issue is that images included in this gem will be have a digest added to their name. However,
|
50
|
-
the leaflet javascript code will be looking for images/marker-icon.png or
|
51
|
-
|
52
|
-
|
50
|
+
the leaflet javascript code will be looking for asset/images/marker-icon.png or
|
51
|
+
assets/images/marker-icon-2x.png.
|
52
|
+
|
53
|
+
One solution is to copy the images to your public/images folder. Then you have to tell leaflet about the
|
54
|
+
path by setting L.Icon.Default.imagePath to '/images'
|
53
55
|
|
54
56
|
== Support
|
55
57
|
|
data/leaflet-js.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = 'leaflet-js'
|
4
|
-
spec.version = '0.7.0.
|
4
|
+
spec.version = '0.7.0.3'
|
5
5
|
spec.homepage = 'https://github.com/cfis/leaflet-js'
|
6
6
|
spec.summary = <<-EOS
|
7
7
|
Wraps the Leaflet Javascript Mapping Library in a Rails asset gem. Also include Leaflet.Label
|
@@ -13,7 +13,6 @@ EOS
|
|
13
13
|
spec.platform = Gem::Platform::RUBY
|
14
14
|
spec.files = Dir.glob(['leaflet-js.gemspec',
|
15
15
|
'CHANGELOG.rdoc',
|
16
|
-
'LICENSE',
|
17
16
|
'Rakefile',
|
18
17
|
'README.rdoc',
|
19
18
|
'lib/leaflet-js.rb',
|
@@ -24,5 +23,6 @@ EOS
|
|
24
23
|
'vendor/assets/stylesheets/*',
|
25
24
|
'vendor/assets/images/*'])
|
26
25
|
spec.required_ruby_version = '>= 1.9.3'
|
26
|
+
spec.license = 'MIT'
|
27
27
|
spec.date = Time.now
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leaflet-js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.
|
4
|
+
version: 0.7.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
@@ -18,7 +18,6 @@ extra_rdoc_files: []
|
|
18
18
|
files:
|
19
19
|
- leaflet-js.gemspec
|
20
20
|
- CHANGELOG.rdoc
|
21
|
-
- LICENSE
|
22
21
|
- Rakefile
|
23
22
|
- README.rdoc
|
24
23
|
- lib/leaflet-js.rb
|
@@ -318,7 +317,8 @@ files:
|
|
318
317
|
- vendor/assets/images/spritesheet-2x.png
|
319
318
|
- vendor/assets/images/spritesheet.png
|
320
319
|
homepage: https://github.com/cfis/leaflet-js
|
321
|
-
licenses:
|
320
|
+
licenses:
|
321
|
+
- MIT
|
322
322
|
metadata: {}
|
323
323
|
post_install_message:
|
324
324
|
rdoc_options: []
|
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
Copyright (c) 2008-2011 Charlie Savage and contributors
|
2
|
-
Copyright (c) 2002-2007 Sean Chittenden and contributors
|
3
|
-
Copyright (c) 2001 Wai-Sun "Squidster" Chia
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
7
|
-
the Software without restriction, including without limitation the rights to
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
9
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
10
|
-
so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|