bootstrap-chosen-rails 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d698d56dde39f2925aad6073ff2969343b3fa31d
4
- data.tar.gz: 3d5e91e2756d520e907cacb1d395f5fbca2ca3f0
3
+ metadata.gz: 5e50161b238c6bdd28b84fa7578e20d749b03887
4
+ data.tar.gz: 76f1e5f29b90df478aba1fb6293e46196f6a04d7
5
5
  SHA512:
6
- metadata.gz: 045171d43a9edd4c6b9f22729d318ef308eb20c211c96609692f09c7e439233f1f7e0b85f6b11a532c0fc32589b43aa2956244dae4a59e1726ff57afae07429c
7
- data.tar.gz: ed0e9e2cde3a72971b44da0a9ea408a08e71dfffb3cb5f287f1aec22ad88c8d4a43dd78a3bff5a38dc73df288277a231e588e7d91f5b01f7f66bcf3765b807b4
6
+ metadata.gz: d1a5a32a78216a15e4c483a0a470c0c6d5762d9291000c97988df44ff9b2b94a1a0739973654fbcccd976a0dbf0e6e77332f1939625282418dee6e3a9d493d38
7
+ data.tar.gz: e7089cff98ebf4a4af5c3be4f606753608ba599e001741c285753f257f16c18e4f6ce5951288695c75b08d5000f5f9cf8399ef0af3176d5fb45f4e884faac7d1
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in bootstrap-rails.gemspec
3
+ # Specify your gem's dependencies in bootstrap-chosen-rails.gemspec
4
4
  gemspec
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"
@@ -1,5 +1,5 @@
1
1
  module BootstrapChosenRails
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
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.2
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