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 +4 -4
- data/app/assets/javascripts/jquery.autumn.js +20 -7
- data/autumn_rails.gemspec +1 -1
- data/lib/autumn_rails/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61e98480723c310857164cef32669fd7eca99b77
|
4
|
+
data.tar.gz: a83b8dd101825ecf432bc77a27e21a747ddd0044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4ecd89c55579dcb457eb6f1058b91e7018b675781bf5636c4436e1bb648ef5e843bc00a8749f9224873d4ce5f79d76a1fe9b96b42072e995a181f500a90c1ef
|
7
|
+
data.tar.gz: 52cd25ab9708d1766b4ca797c484dc44fe53ac8e7f09f42d9deb62f6dcd74de6fa231e6ff45f6ca5d151c1f1a849a8d302686d6b7f3bc95dbf39d4e1408753da
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! autumn - v0.0.
|
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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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 © <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{
|
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
|
|
data/lib/autumn_rails/version.rb
CHANGED
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.
|
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-
|
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:
|
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: []
|