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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9996a8526d91adbf80fb5c9f3be291cc961858fa
4
- data.tar.gz: d735c75980fdaba856cbb42472fff9e505a4ca4a
3
+ metadata.gz: bf2171487f71c1f85db1b71598f09ae4c6246657
4
+ data.tar.gz: 34e153b44dfea526a1b217e967fdfab45070ecbf
5
5
  SHA512:
6
- metadata.gz: 36ee2d04720cecebcd26f268a8fa791e992518d35ead0f67fc97d3d33e9cc95715299c0365cebf4c4ec76409499a4b3a1c2d472fc6de4d6f3dc1f6fc5fcef5e4
7
- data.tar.gz: d0dac64eded0d8f28a98e1e478621eaef829c14ffb58342459b5a127b9308fafe0a479907421bbb1116015733bd209608bb2d2593788bc5f4fa10b80acfd0708
6
+ metadata.gz: cb112443a5be3b0f3ebc4dbaa1d84ddffc73a0305b57820f3ca86fadc7c81f636142a05b85216321d45a6662b36d7cbc766190f6f32d6a353c4d48037e96ae92
7
+ data.tar.gz: cb17b7891fed1d36807126cfbc7897c11e475be75186b47dbab9d96baf0f10a7ea2167b16180f76e01adf9e7df1dd284bff515db064f9945f9556fb9277c36db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.6.1
4
+
5
+ * Maintenance release
6
+
3
7
  ## 4.6.0
4
8
 
5
9
  * Rails 5.1 compatibility
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](http://github.com/scottjehl/Respond) assets into your Rails application.
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](http://getbootstrap.com/examples/theme/), uncomment `//@import "twbs/bootstrap/theme"` in your `twbs.css.scss`.
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
- + http://github.com/tagliala
158
- + http://twitter.com/gtagliala
173
+ + https://github.com/tagliala
174
+ + https://twitter.com/gtagliala
159
175
 
160
176
  **Cesidio Di Landa**
161
177
 
162
- + http://github.com/cesidio
163
- + http://twitter.com/cesid
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 2016 diowa under [the BSD 2-Clause license](LICENSE).
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
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module TwbsSassRails
2
4
  module Generators
3
5
  class InstallGenerator < ::Rails::Generators::Base
@@ -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, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
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 styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
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, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'sass-rails'
2
4
 
3
5
  module TwbsSassRails
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module TwbsSassRails
2
- VERSION = '4.6.0'.freeze
4
+ VERSION = '4.6.1'.freeze
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'sass'
2
4
  ::Sass::Script::Number.precision = [10, ::Sass::Script::Number.precision].max
3
5
  require 'twbs_sass_rails/engine'
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.0
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-04-28 00:00:00.000000000 Z
11
+ date: 2017-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails