leaflet-fullscreen-rails 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +46 -0
- data/Rakefile +1 -0
- data/leaflet-fullscreen-rails.gemspec +20 -0
- data/lib/leaflet-fullscreen-rails.rb +10 -0
- data/lib/leaflet-fullscreen-rails/version.rb +7 -0
- metadata +54 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Klaas Endrikat
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Leaflet::Fullscreen::Rails
|
2
|
+
|
3
|
+
Integrates the [Leaflet Fullscreen] plugin with Rails asset pipeline
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'leaflet-fullscreen-rails'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install leaflet-fullscreen-rails
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
Add the following to your `app/assets/javascripts/application.js`:
|
22
|
+
|
23
|
+
//= require leaflet.fullscreen
|
24
|
+
|
25
|
+
Add the following to your `app/assets/stylesheets/application.css`:
|
26
|
+
|
27
|
+
*= require leaflet.fullscreen
|
28
|
+
|
29
|
+
Examples can be found at [brunob]
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
1. Fork it
|
34
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
35
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
36
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
37
|
+
5. Create new Pull Request
|
38
|
+
|
39
|
+
## License
|
40
|
+
MIT License, full text of license see [here][License]
|
41
|
+
|
42
|
+
*Free Software, Fuck Yeah!*
|
43
|
+
|
44
|
+
[License]: https://github.com/kendrikat/leaflet-fullscreen-rails/blob/master/LICENSE.txt "LICENSE"
|
45
|
+
[Leaflet Fullscreen]: https://github.com/brunob/leaflet.fullscreen
|
46
|
+
[brunob]: https://github.com/brunob/leaflet.fullscreen#how-
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'leaflet-fullscreen-rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "leaflet-fullscreen-rails"
|
8
|
+
gem.version = Leaflet::Fullscreen::Rails::VERSION
|
9
|
+
gem.authors = ["Klaas Endrikat"]
|
10
|
+
gem.email = ["klaas.endrikat@googlemail.com"]
|
11
|
+
gem.description = %q{Integrates the Leaflet Fullscreen plugin with Rails asset pipeline}
|
12
|
+
gem.summary = %q{Leaflet Fullscreen plugin for Rails}
|
13
|
+
gem.license = 'MIT'
|
14
|
+
gem.homepage = "https://github.com/kendrikat/leaflet-fullscreen-rails"
|
15
|
+
|
16
|
+
gem.files = `git ls-files`.split($/)
|
17
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
18
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
+
gem.require_paths = ["lib"]
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: leaflet-fullscreen-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Klaas Endrikat
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-07-26 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Integrates the Leaflet Fullscreen plugin with Rails asset pipeline
|
15
|
+
email:
|
16
|
+
- klaas.endrikat@googlemail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- Gemfile
|
23
|
+
- LICENSE.txt
|
24
|
+
- README.md
|
25
|
+
- Rakefile
|
26
|
+
- leaflet-fullscreen-rails.gemspec
|
27
|
+
- lib/leaflet-fullscreen-rails.rb
|
28
|
+
- lib/leaflet-fullscreen-rails/version.rb
|
29
|
+
homepage: https://github.com/kendrikat/leaflet-fullscreen-rails
|
30
|
+
licenses:
|
31
|
+
- MIT
|
32
|
+
post_install_message:
|
33
|
+
rdoc_options: []
|
34
|
+
require_paths:
|
35
|
+
- lib
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
requirements: []
|
49
|
+
rubyforge_project:
|
50
|
+
rubygems_version: 1.8.24
|
51
|
+
signing_key:
|
52
|
+
specification_version: 3
|
53
|
+
summary: Leaflet Fullscreen plugin for Rails
|
54
|
+
test_files: []
|