bootflat-rails 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f94156d717642588061db3a2a74fe17834ebaf56
4
- data.tar.gz: be1d1b9a3ee6a5a03226dd3e76f2fd6e63442af5
3
+ metadata.gz: 07d0c2e7bb5fd4264429dec7cd31d78766d2299b
4
+ data.tar.gz: 27c23fef69bce108a685408a469558318257b55e
5
5
  SHA512:
6
- metadata.gz: 02949e2c66215a919132671171d3edcc3da9019ca09a8136226144450b856ece638ceb97586165dac687626318fe9db0358061b890f12762d45f82f39c6f5a65
7
- data.tar.gz: e7d03e255df8cd83f8548e94827324c5cfbf3a0638cb26308f64fc9c20e6505d9f270a530877d558e4fb8b7bdcc054160ea3578199b5ff7ecd66b570334b1af3
6
+ metadata.gz: 087ab10819ad68651612389843c1e2327588d6cc65907eab29a8e6b2005a5332bea17d689e612def14b475cdadc3af691d9320ebf39a9bf0be4a177d819fa196
7
+ data.tar.gz: e48777255edb4b59ee6d30ab84ca4b9a6ef4a86cb89297a5fd4d1c1798d77ae15dab0bd10f70b432d4ddef164a0ad3b5a3b7dfc70982630705e68d5362e5a4a0
data/README.md CHANGED
@@ -41,11 +41,15 @@ An example of using iCheck for radio/checkbox would be:
41
41
  increaseArea: '20%'
42
42
  });
43
43
 
44
+ You can also add following line to your `Application.js` if you want to apply icheck on all checkboxes and radio buttons:
45
+
46
+ ...
47
+ //= require bootflat_icheck
48
+
49
+
44
50
  That's pretty much all!
45
51
 
46
52
  ### TODO
47
53
 
48
- ~~1. Rebuild gem to use and depend on twitter-bootstrap3-rails, remove bootstrap.min.js and bootstrap.min.css -- verify~~
49
- ~~2. Include a test app (and a style guide on Rails, inspired from [this](http://bootflat.github.io/documentation.html)).~~
50
- 3. Write tests (sure.)
51
- ~~4. Fix bugs.~~
54
+ 1. Write tests (sure.)
55
+ 2. Include bootflat_form_for and bootflat_form_tag helpers or use existing gem (ex. [rails-bootstrap-forms](https://github.com/bootstrap-ruby/rails-bootstrap-forms))
@@ -1,3 +1,3 @@
1
1
  module BootflatRails
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
@@ -0,0 +1,13 @@
1
+ $(function() {
2
+
3
+ $(':checkbox').iCheck({
4
+ checkboxClass: 'icheckbox_flat',
5
+ cursor: true
6
+ });
7
+
8
+ $(':radio').iCheck({
9
+ radioClass: 'iradio_flat',
10
+ cursor: true
11
+ });
12
+
13
+ });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootflat-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zak El Fassi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-31 00:00:00.000000000 Z
12
+ date: 2014-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass-rails
@@ -81,6 +81,7 @@ files:
81
81
  - lib/bootflat-rails/engine.rb
82
82
  - lib/bootflat-rails/version.rb
83
83
  - vendor/assets/images/check_flat.png
84
+ - vendor/assets/javascripts/bootflat_icheck.js
84
85
  - vendor/assets/javascripts/icheck.min.js
85
86
  - vendor/assets/stylesheets/bootflat.scss
86
87
  - vendor/assets/stylesheets/bootflat/_accordion.scss