nouislider-rails 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +40 -0
- data/Rakefile +1 -0
- data/lib/nouislider/rails/version.rb +5 -0
- data/lib/nouislider/rails.rb +9 -0
- data/nouislider-rails.gemspec +22 -0
- data/screenshot.png +0 -0
- data/vendor/assets/javascripts/jquery.nouislider.js +1650 -0
- data/vendor/assets/stylesheets/jquery.nouislider.css +165 -0
- metadata +98 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 23943f5ff9d0c4c8250cf42650d496927b85a4ba
|
4
|
+
data.tar.gz: 923878695c0f36b2a92ccf75360d4163e284a997
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 36e0aad250ccd59357bfa374bcefd6084346a2c0c74941939fed9ca6bffb23f8be25a6a9613455d165155bfca92fb00421e287132029c619daf6b1bcebef0ea4
|
7
|
+
data.tar.gz: 481477ce08cc866531a19df13f3f5a9be53afead08afb1e3afdc44faa6925f991928fd3af216246534412b72bf9e1635d8b9dee987aca16da6b7850cc448a626
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Charles Lee
|
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,40 @@
|
|
1
|
+
# Nouislider::Rails
|
2
|
+
|
3
|
+
Currently tracking 6.0 of jquery-noUiSlider: http://refreshless.com/nouislider/. All credit and thanks to @leongersen for the awesome library.
|
4
|
+
Sorry for not naming it jquery-nouislider-rails, but someone else started another gem a few months ago here (https://github.com/soycamo/jquery-nouislider-rails).
|
5
|
+
|
6
|
+
![screenshot from homepage](https://raw.github.com/chug2k/nouislider-rails/master/screenshot.png)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
gem 'nouislider-rails'
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install nouislider-rails
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
In your app/assets/javascript manifest file:
|
25
|
+
|
26
|
+
//= require jquery.nouislider
|
27
|
+
|
28
|
+
In your app/assets/stylesheets manifest file:
|
29
|
+
|
30
|
+
//= require jquery.nouislider
|
31
|
+
|
32
|
+
http://refreshless.com/nouislider/slider-design-styles has more information on integrating your own styles.
|
33
|
+
|
34
|
+
## Contributing
|
35
|
+
|
36
|
+
1. Fork it ( http://github.com/chug2k/nouislider-rails/fork )
|
37
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
38
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
39
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
40
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'nouislider/rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "nouislider-rails"
|
8
|
+
spec.version = Nouislider::Rails::VERSION
|
9
|
+
spec.authors = ["Charles Lee"]
|
10
|
+
spec.email = ["chug2k@gmail.com"]
|
11
|
+
spec.summary = "jquery-nouislider.js for the Rails asset pipeline."
|
12
|
+
spec.description = "Currently tracking 6.0 of jquery-noUiSlider: https://github.com/leongersen/noUiSlider). All credit and thanks to @leongersen for the awesome library."
|
13
|
+
spec.homepage = "https://github.com/chug2k/nouislider-rails"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
|
19
|
+
spec.add_dependency "railties", ">= 3.1"
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
21
|
+
spec.add_development_dependency "rake"
|
22
|
+
end
|
data/screenshot.png
ADDED
Binary file
|