leaflet-js 0.7.0.1 → 0.7.0.2

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: 4ea78c0ab215879e7a2610f94d3f448cb328b1b3
4
- data.tar.gz: 62cd5b1481a0b6ce468f8102206cf39e5a05f8cf
3
+ metadata.gz: dd8493b70d19234e4213b4175545ef73c697f77c
4
+ data.tar.gz: fdae1285531c819b03b818f5b079749645c556fa
5
5
  SHA512:
6
- metadata.gz: d13e3c7461069d36d70f5bf811949e0872bd25646e4218bae2542608c2f9c79ba6e1ddd77692f752971023b8a9cdfb73954a9ca6993c41a71fbc11b94eb44623
7
- data.tar.gz: 74f6bd047443450041b967138367b3eeab146aae42d8d1315c26bea9708cf24cdbac14356e2e791b99cc8314f257d4ede6888f70e2362c592155a7a4e804f8ae
6
+ metadata.gz: b2206d685349233b5ab72cf9da1691bf02fe7896a737fc5d7ad61b2ca928c2591a5e40d591f47a224f5111441cba27d2110edf7499f1094d0f0eac975f5fc3cc
7
+ data.tar.gz: 5da3cd4aea0a90b6bc347937b9e0e334e2015dfead6afd37f1e61688577525e38bb9726c593f48c9318659e0f59edc53829953e13280f708bcb2587d2617efc6
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = leaflet-js Changelog
2
2
 
3
+ === 0.7.0.2 (November 25, 2013)
4
+ * Ungroup assets, that idea did not work very well.
5
+
3
6
  === 0.7.0.1 (November 25, 2013)
4
7
  * Rearrange gem structure to group leaflet assets together
5
8
 
data/README.rdoc CHANGED
@@ -36,14 +36,20 @@ leaflet.label.css
36
36
 
37
37
  === Images
38
38
 
39
- leaflet-js/layers.png
40
- leaflet-js/layers-2x.png
41
- leaflet-js/marker-icon.png
42
- leaflet-js/marker-icon-2x.png
43
- leaflet-js/market-shadow.png
44
- leaflet-js/market-shadow-2x.png
45
- leaflet-js/spritesheet.png
46
- leaflet-js/spritesheet-2x.png
39
+ layers.png
40
+ layers-2x.png
41
+ marker-icon.png
42
+ marker-icon-2x.png
43
+ market-shadow.png
44
+ market-shadow-2x.png
45
+ spritesheet.png
46
+ spritesheet-2x.png
47
+
48
+ Note when using Rails in production, with asset digests on, the Leaflet.Draw marker tool will not display
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 images/marker-icon-2x.png.
51
+ The easiest solution to this issue is to copy the images to your public/images folder and not use
52
+ them via the asset pipeline.
47
53
 
48
54
  == Support
49
55
 
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.1'
4
+ spec.version = '0.7.0.2'
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
@@ -20,9 +20,9 @@ EOS
20
20
  'lib/leaflet/**/*',
21
21
  'lib/leaflet.draw/**/*',
22
22
  'lib/leaflet.label/**/*',
23
- 'vendor/assets/javascripts/**/*',
24
- 'vendor/assets/stylesheets/**/*',
25
- 'vendor/assets/images/leaflet-js/*'])
23
+ 'vendor/assets/javascripts/*',
24
+ 'vendor/assets/stylesheets/*',
25
+ 'vendor/assets/images/*'])
26
26
  spec.required_ruby_version = '>= 1.9.3'
27
27
  spec.date = Time.now
28
28
  end
@@ -1,6 +1,5 @@
1
1
  /*
2
2
  *= require 'leaflet.css.erb'
3
3
  *= require 'leaflet.draw.css.erb'
4
- *= require 'leaflet.draw.ie.css'
5
4
  *= require 'leaflet.label.css'
6
5
  */
@@ -23,12 +23,12 @@
23
23
  }
24
24
 
25
25
  .leaflet-draw-toolbar a {
26
- background-image: url(<%= asset_path 'leaflet-js/spritesheet.png' %>);
26
+ background-image: url(<%= asset_path 'spritesheet.png' %>);
27
27
  background-repeat: no-repeat;
28
28
  }
29
29
 
30
30
  .leaflet-retina .leaflet-draw-toolbar a {
31
- background-image: url(<%= asset_path 'leaflet-js/spritesheet-2x.png' %>);
31
+ background-image: url(<%= asset_path 'spritesheet-2x.png' %>);
32
32
  background-size: 270px 30px;
33
33
  }
34
34
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leaflet-js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.1
4
+ version: 0.7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Savage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-25 00:00:00.000000000 Z
11
+ date: 2013-11-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -310,13 +310,13 @@ files:
310
310
  - vendor/assets/stylesheets/leaflet.draw.css.erb
311
311
  - vendor/assets/stylesheets/leaflet.draw.ie.css
312
312
  - vendor/assets/stylesheets/leaflet.label.css
313
- - vendor/assets/images/leaflet-js/layers-2x.png
314
- - vendor/assets/images/leaflet-js/layers.png
315
- - vendor/assets/images/leaflet-js/marker-icon-2x.png
316
- - vendor/assets/images/leaflet-js/marker-icon.png
317
- - vendor/assets/images/leaflet-js/marker-shadow.png
318
- - vendor/assets/images/leaflet-js/spritesheet-2x.png
319
- - vendor/assets/images/leaflet-js/spritesheet.png
313
+ - vendor/assets/images/layers-2x.png
314
+ - vendor/assets/images/layers.png
315
+ - vendor/assets/images/marker-icon-2x.png
316
+ - vendor/assets/images/marker-icon.png
317
+ - vendor/assets/images/marker-shadow.png
318
+ - vendor/assets/images/spritesheet-2x.png
319
+ - vendor/assets/images/spritesheet.png
320
320
  homepage: https://github.com/cfis/leaflet-js
321
321
  licenses: []
322
322
  metadata: {}