map-icons-rails 1.0.4 → 1.0.5

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: 3eb4071db35d0700e3f06142cc1a0fc3cf7cfa20
4
- data.tar.gz: 0ccfcc841d14c7bd447c9feeb83edbd603139b1b
3
+ metadata.gz: 248f07fcd684d32f07270d23525e89a4305d2aaa
4
+ data.tar.gz: 16581f6209f141d6833522fad82ecd21f2d40b26
5
5
  SHA512:
6
- metadata.gz: c7e4e6d2766f6752f510844e7d1838b4990fc0c45409d0ac02ef9931713354f8ecfe1c9eb27b1b498bc0eac987da02306a5bc208bc562df30c95447c1882ede1
7
- data.tar.gz: 51d000ae8268de97b1836d2c5e99917c4f9ed012a8d535a20a83cd77eeca74472ce59b3c67dc755eec09a9a9a903286fb6de834e42ddc70cb88afdd1b1650c5d
6
+ metadata.gz: d56c579c5f18a86c55cc813d56fcd71b519a230c74d71c97d59a2a4009b27829fcdf4edf2209ffff02b35e074464e5cccdb7eb1ef0119dfd5dd5f3e9bbdf787a
7
+ data.tar.gz: 148b272620f3334a3b6e3fde922390d0900fc22bf820bdc4e6d8de1892594b2b3f392bdfac8a6dcc8d3c201a718cd2fa2849727d62fd1cf5d0725514dd5b4c32
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  module Map
2
2
  module Icons
3
3
  module Rails
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.5"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: map-icons-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Meira
@@ -49,20 +49,18 @@ files:
49
49
  - Gemfile
50
50
  - LICENSE.txt
51
51
  - README.md
52
- - Rakefile
52
+ - app/assets/fonts/map-icons.dev.svg
53
+ - app/assets/fonts/map-icons.eot
54
+ - app/assets/fonts/map-icons.svg
55
+ - app/assets/fonts/map-icons.ttf
56
+ - app/assets/fonts/map-icons.woff
57
+ - app/assets/javascripts/map-icons-ie7.js
58
+ - app/assets/javascripts/map-icons.js
59
+ - app/assets/stylesheets/map-icons.css
53
60
  - lib/map-icons-rails.rb
54
61
  - lib/map/icons/rails/engine.rb
55
62
  - lib/map/icons/rails/version.rb
56
63
  - map-icons-rails.gemspec
57
- - vendor/assets/fonts/map-icons.dev.svg
58
- - vendor/assets/fonts/map-icons.eot
59
- - vendor/assets/fonts/map-icons.svg
60
- - vendor/assets/fonts/map-icons.ttf
61
- - vendor/assets/fonts/map-icons.woff
62
- - vendor/assets/javascripts/map-icons-ie7.js
63
- - vendor/assets/javascripts/map-icons.js
64
- - vendor/assets/javascripts/map-icons.min.js
65
- - vendor/assets/stylesheets/map-icons.css
66
64
  homepage: ''
67
65
  licenses:
68
66
  - MIT
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -1,7 +0,0 @@
1
- /**
2
- * Map Icons created by Scott de Jonge
3
- *
4
- * @version 2.1
5
- * @url http://map-icons.com
6
- *
7
- */var Marker=function(e){google.maps.Marker.apply(this,arguments);if(e.label){this.MarkerLabel=new MarkerLabel({map:this.map,marker:this,text:e.label});this.MarkerLabel.bindTo("position",this,"position")}},MAP_PIN="M0-165c-27.618 0-50 21.966-50 49.054C-50-88.849 0 0 0 0s50-88.849 50-115.946C50-143.034 27.605-165 0-165z",SQUARE_PIN="M 50 -119.876 -50 -119.876 -50 -19.876 -13.232 -19.876 0.199 0 13.63 -19.876 50 -19.876 Z",SHEILD="M42.8-72.919c0.663-7.855 3.029-15.066 7.2-21.675L34.002-110c-5.054 4.189-10.81 6.509-17.332 6.919 c-5.976 0.52-11.642-0.574-16.971-3.287c-5.478 2.626-11.121 3.723-17.002 3.287c-6.086-0.523-11.577-2.602-16.495-6.281 l-16.041 15.398c3.945 6.704 6.143 13.72 6.574 21.045c0.205 3.373-0.795 8.016-3.038 14.018c-1.175 3.327-2.061 6.213-2.667 8.627 c-0.562 2.394-0.911 4.34-1.027 5.801c-0.082 6.396 1.78 12.168 5.602 17.302c2.986 3.745 7.911 7.886 14.748 12.41 c7.482 3.665 13.272 6.045 17.326 7.06c1.163 0.521 2.301 1.025 3.363 1.506C-7.9-5.708-6.766-5.232-5.586-4.713 C-3.034-3.242-1.243-1.646-0.301 0C0.858-1.782 2.69-3.338 5.122-4.713c1.717-0.723 3.173-1.346 4.341-1.896 c1.167-0.494 2.037-0.865 2.54-1.09c0.866-0.414 2.002-0.888 3.376-1.41c1.386-0.527 3.101-1.168 5.144-1.882 c3.951-1.348 6.83-2.62 8.655-3.77c6.634-4.524 11.48-8.595 14.566-12.235c3.958-5.152 5.879-10.953 5.79-17.475 c-0.232-2.922-1.52-7.594-3.85-13.959C43.463-64.631 42.479-69.445 42.8-72.919z",ROUTE="M49.986-58.919c-0.51-27.631-16.538-38.612-17.195-39.049l-2.479-1.692l-2.5 1.689c-4.147 2.817-8.449 4.247-12.783 4.247 c-7.178 0-12.051-3.864-12.256-4.032L-0.023-100l-2.776 2.248c-0.203 0.165-5.074 4.028-12.253 4.028 c-4.331 0-8.63-1.429-12.788-4.253l-2.486-1.678l-2.504 1.692c-1.702 1.17-16.624 12.192-17.165 38.907 C-50.211-56.731-43.792-12.754-0.003 0C47.609-13.912 50.23-56.018 49.986-58.919z",ROUNDED="M50-80c0-11-9-20-20-20h-60c-11 0-20 9-20 20v60c0 11 9 20 20 20h60c11 0 20-9 20-20V-80z";Marker.prototype=new google.maps.Marker;Marker.prototype.setMap=function(){google.maps.Marker.prototype.setMap.apply(this,arguments);this.MarkerLabel&&this.MarkerLabel.setMap.apply(this.MarkerLabel,arguments)};var MarkerLabel=function(e){var t=this;this.setValues(e);this.div=document.createElement("div");this.div.className="marker-label";var n=document.createElement("span");n.className="marker-icon";this.div.appendChild(n);google.maps.event.addDomListener(this.div,"click",function(e){e.stopPropagation&&e.stopPropagation();google.maps.event.trigger(t.marker,"click")})};MarkerLabel.prototype=new google.maps.OverlayView;MarkerLabel.prototype.onAdd=function(){var e=this.getPanes().overlayImage.appendChild(this.div),t=this;this.listeners=[google.maps.event.addListener(this,"position_changed",function(){t.draw()}),google.maps.event.addListener(this,"text_changed",function(){t.draw()}),google.maps.event.addListener(this,"zindex_changed",function(){t.draw()})]};MarkerLabel.prototype.onRemove=function(){this.div.parentNode.removeChild(this.div);for(var e=0,t=this.listeners.length;e<t;++e)google.maps.event.removeListener(this.listeners[e])};MarkerLabel.prototype.draw=function(){var e=this.getProjection(),t=e.fromLatLngToDivPixel(this.get("position")),n=this.div;n.style.left=t.x+"px";n.style.top=t.y+"px";n.style.display="block";n.style.zIndex=this.get("zIndex");this.div.innerHTML=this.get("text").toString()};