bootstrap-chosen-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +37 -0
- data/Rakefile +1 -0
- data/lib/bootstrap-chosen-rails/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e50161b238c6bdd28b84fa7578e20d749b03887
|
4
|
+
data.tar.gz: 76f1e5f29b90df478aba1fb6293e46196f6a04d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1a5a32a78216a15e4c483a0a470c0c6d5762d9291000c97988df44ff9b2b94a1a0739973654fbcccd976a0dbf0e6e77332f1939625282418dee6e3a9d493d38
|
7
|
+
data.tar.gz: e7089cff98ebf4a4af5c3be4f606753608ba599e001741c285753f257f16c18e4f6ce5951288695c75b08d5000f5f9cf8399ef0af3176d5fb45f4e884faac7d1
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,2 +1,39 @@
|
|
1
1
|
# bootstrap-chosen-rails
|
2
2
|
An alternate stylesheet for Chosen that integrates with Bootstrap and Rails asset pipeline.
|
3
|
+
|
4
|
+
This is a port of [bootstrap-chosen](https://github.com/alxlit/bootstrap-chosen) into the rails asset pipeline. All credit goes to that person.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
gem 'bootstrap-chosen-rails'
|
11
|
+
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install bootstrap-chosen-rails
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
To use bootstrap-chosen-rails, just add it after you have imported bootstrap and the original chosen css.
|
24
|
+
|
25
|
+
Import Bootstrap-Chosen styles in `app/assets/stylesheets/application.scss`:
|
26
|
+
|
27
|
+
```scss
|
28
|
+
// "bootstrap" and "chosen" must be imported before "bootstrap-chosen"
|
29
|
+
@import "bootstrap-sprockets";
|
30
|
+
@import "bootstrap";
|
31
|
+
@import "chosen";
|
32
|
+
@import "bootstrap-chosen";
|
33
|
+
```
|
34
|
+
|
35
|
+
## Credits
|
36
|
+
|
37
|
+
Thanks to Alxlit for creating the scss to make this possible!
|
38
|
+
|
39
|
+
* [alxlit](https://github.com/alxlit)
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-chosen-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Carbine
|
@@ -21,6 +21,7 @@ files:
|
|
21
21
|
- Gemfile
|
22
22
|
- LICENSE
|
23
23
|
- README.md
|
24
|
+
- Rakefile
|
24
25
|
- bootstrap-chosen-rails.gemspec
|
25
26
|
- lib/bootstrap-chosen-rails.rb
|
26
27
|
- lib/bootstrap-chosen-rails/version.rb
|