autumn_rails 0.0.3 → 0.0.4

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: 39adc6dc990198ecc139509a6e0feaa7844a844f
4
- data.tar.gz: bbba07b711c46a2d0c38e9df5a6f5644b496d64c
3
+ metadata.gz: 61e98480723c310857164cef32669fd7eca99b77
4
+ data.tar.gz: a83b8dd101825ecf432bc77a27e21a747ddd0044
5
5
  SHA512:
6
- metadata.gz: f078c67e99f91c916ed7c7a8887b3678beab07128078db7a6d44d3882b12702a6be2e9c31eead093f9585c801882311f73c2a432397a17ed3b128f7048c2b8a4
7
- data.tar.gz: 3dc3f082c6f2f3b4a30f0063a93a6740387037c638582ad9316e1817d20638a351a481d010c9c1fad07d6eed969ea08ac14380b9c9ae496bb684697f3687a677
6
+ metadata.gz: e4ecd89c55579dcb457eb6f1058b91e7018b675781bf5636c4436e1bb648ef5e843bc00a8749f9224873d4ce5f79d76a1fe9b96b42072e995a181f500a90c1ef
7
+ data.tar.gz: 52cd25ab9708d1766b4ca797c484dc44fe53ac8e7f09f42d9deb62f6dcd74de6fa231e6ff45f6ca5d151c1f1a849a8d302686d6b7f3bc95dbf39d4e1408753da
@@ -1,4 +1,4 @@
1
- /*! autumn - v0.0.3 - 2014-07-06
1
+ /*! autumn - v0.0.4 - 2014-09-06
2
2
  * https://github.com/guyisra/autumn
3
3
  * Copyright (c) 2014 Guy Israeli; Licensed MIT */
4
4
 
@@ -9,12 +9,25 @@
9
9
  // Create the defaults once
10
10
  var pluginName = "autumn",
11
11
  defaults = {
12
- scrollWheelZoom: false,
13
- center: [51.1788, -1.8262], //stonehenge, that's why
14
- maxZoom: 18,
15
- tiles_url: "http://{s}.tiles.mapbox.com/v3/<MAP ID>/{z}/{x}/{y}.png",
16
- attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>'
17
- };
12
+ center: null,
13
+ zoom: null,
14
+ layers: null,
15
+ minZoom: null,
16
+ maxZoom: 18,
17
+ maxBounds: null,
18
+ dragging: true,
19
+ touchZoom: true,
20
+ scrollWheelZoom: false,
21
+ doubleClickZoom: false,
22
+ boxZoom: true,
23
+ tapTolerance: 15,
24
+ trackResize: true,
25
+ worldCopyJump: false,
26
+ closePopupOnClick: true,
27
+ bounceAtZoomLimits: true,
28
+ tiles_url: "http://{s}.tiles.mapbox.com/v3/<MAP ID>/{z}/{x}/{y}.png",
29
+ attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>'
30
+ };
18
31
 
19
32
 
20
33
  // The actual plugin constructor
data/autumn_rails.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Guy Israeli"]
10
10
  spec.email = ["guy.israeli@gmail.com"]
11
11
  spec.summary = %q{leaflet.js for jQuery for Rails 3.1 and up}
12
- spec.description = %q{ Write a longer description. Optional.}
12
+ spec.description = %q{I couldn't find an easy and convinient way to attach maps to DOM elements with leaflet. So I wrote this plugin which hopefully helps working with leaflet maps.}
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
@@ -1,3 +1,3 @@
1
1
  module AutumnRails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autumn_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-06 00:00:00.000000000 Z
11
+ date: 2014-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,7 +52,9 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.1'
55
- description: " Write a longer description. Optional."
55
+ description: I couldn't find an easy and convinient way to attach maps to DOM elements
56
+ with leaflet. So I wrote this plugin which hopefully helps working with leaflet
57
+ maps.
56
58
  email:
57
59
  - guy.israeli@gmail.com
58
60
  executables: []