twbs_sass_rails 4.6.0 → 4.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +23 -7
- data/lib/generators/twbs_sass_rails/install/install_generator.rb +2 -0
- data/lib/generators/twbs_sass_rails/install/templates/application.css +5 -5
- data/lib/generators/twbs_sass_rails/install/templates/application.js +3 -3
- data/lib/twbs_sass_rails/engine.rb +2 -0
- data/lib/twbs_sass_rails/version.rb +3 -1
- data/lib/twbs_sass_rails.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf2171487f71c1f85db1b71598f09ae4c6246657
|
4
|
+
data.tar.gz: 34e153b44dfea526a1b217e967fdfab45070ecbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb112443a5be3b0f3ebc4dbaa1d84ddffc73a0305b57820f3ca86fadc7c81f636142a05b85216321d45a6662b36d7cbc766190f6f32d6a353c4d48037e96ae92
|
7
|
+
data.tar.gz: cb17b7891fed1d36807126cfbc7897c11e475be75186b47dbab9d96baf0f10a7ea2167b16180f76e01adf9e7df1dd284bff515db064f9945f9556fb9277c36db
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/diowa/twbs_sass_rails/badges/gpa.svg)](https://codeclimate.com/github/diowa/twbs_sass_rails)
|
6
6
|
[![Coverage Status](https://coveralls.io/repos/github/diowa/twbs_sass_rails/badge.svg?branch=master)](https://coveralls.io/github/diowa/twbs_sass_rails?branch=master)
|
7
7
|
|
8
|
-
An opinionated gem which brings [Bootstrap for Sass](http://getbootstrap.com/), [Font Awesome](http://fontawesome.io) and [Respond.js](
|
8
|
+
An opinionated gem which brings [Bootstrap for Sass](http://getbootstrap.com/), [Font Awesome](http://fontawesome.io) and [Respond.js](https://github.com/scottjehl/Respond) assets into your Rails application.
|
9
9
|
|
10
10
|
|
11
11
|
|
@@ -22,6 +22,22 @@ $ rails g twbs_sass_rails:install
|
|
22
22
|
```
|
23
23
|
|
24
24
|
|
25
|
+
#### Rails 5.1.x
|
26
|
+
|
27
|
+
Rails 5.1 [drops jQuery as a default dependency](http://weblog.rubyonrails.org/2017/2/23/Rails-5-1-beta1/).
|
28
|
+
|
29
|
+
If you need the JavaScript part of Bootstrap, add to your Gemfile
|
30
|
+
|
31
|
+
```rb
|
32
|
+
gem 'jquery-rails', '~> 4.3'
|
33
|
+
```
|
34
|
+
|
35
|
+
and replace `//= require rails-ujs` in your application JavaScript manifest with
|
36
|
+
|
37
|
+
```js
|
38
|
+
//= require jquery
|
39
|
+
//= require jquery_ujs
|
40
|
+
```
|
25
41
|
|
26
42
|
#### Rails 3.2.x
|
27
43
|
|
@@ -74,7 +90,7 @@ Use FontAwesome:
|
|
74
90
|
```
|
75
91
|
|
76
92
|
### Bootstrap theme
|
77
|
-
If you want to use the [Bootstrap theme](
|
93
|
+
If you want to use the [Bootstrap theme](https://getbootstrap.com/examples/theme/), uncomment `//@import "twbs/bootstrap/theme"` in your `twbs.css.scss`.
|
78
94
|
|
79
95
|
### Customize SCSS components
|
80
96
|
If you want to exclude some SCSS components, remove `@import "twbs/bootstrap";` from your `twbs.css.scss` and add the components you need, e.g.:
|
@@ -154,19 +170,19 @@ For more information on SemVer, please visit [http://semver.org/](http://semver.
|
|
154
170
|
|
155
171
|
**Geremia Taglialatela**
|
156
172
|
|
157
|
-
+
|
158
|
-
+
|
173
|
+
+ https://github.com/tagliala
|
174
|
+
+ https://twitter.com/gtagliala
|
159
175
|
|
160
176
|
**Cesidio Di Landa**
|
161
177
|
|
162
|
-
+
|
163
|
-
+
|
178
|
+
+ https://github.com/cesidio
|
179
|
+
+ https://twitter.com/cesid
|
164
180
|
|
165
181
|
|
166
182
|
|
167
183
|
## Copyright and license
|
168
184
|
|
169
|
-
Copyright
|
185
|
+
Copyright 2017 diowa under [the BSD 2-Clause license](LICENSE).
|
170
186
|
|
171
187
|
bootstrap-sass is licensed under the MIT License
|
172
188
|
|
@@ -2,13 +2,13 @@
|
|
2
2
|
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
3
|
* listed below.
|
4
4
|
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets,
|
6
|
-
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
|
6
|
+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
7
|
*
|
8
8
|
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any
|
10
|
-
*
|
11
|
-
* file per style scope.
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
12
|
*
|
13
13
|
*= stub twbs-variables
|
14
14
|
*= require twbs
|
@@ -1,11 +1,11 @@
|
|
1
1
|
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
2
|
// listed below.
|
3
3
|
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts,
|
5
|
-
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
|
5
|
+
// vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
6
|
//
|
7
7
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
9
|
//
|
10
10
|
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
11
|
// about supported directives.
|
data/lib/twbs_sass_rails.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twbs_sass_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.6.
|
4
|
+
version: 4.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diowa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|