sass-rails 5.0.1 → 5.0.2

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: e7c0fc5eaecf4cb011eed1e450b424e9e9eefdd4
4
- data.tar.gz: 51f88367b8a6c188a6cc39fd4acaf4eab846f874
3
+ metadata.gz: 55c513a3f71507fc677d283899588f96f322dd7a
4
+ data.tar.gz: 1b7ab12d457febdd1fec746079ad8cda768b1a97
5
5
  SHA512:
6
- metadata.gz: d5b49e1cef61d18d05bc4c8215dba06e84b7cd778e90bd52df99df1c73a9f53b3d8d68a20c9fb3c0e86c137ef4aed0235a20e33d855d6ccfd38ca7c6dd914a23
7
- data.tar.gz: e41d61768f3cbc02f03e1eafe2ce87b421ac91bc505abcb513ebebb9b4ccee1a40f82dfb0b7ddcc7cf40535cf33a7a43eaedfc7ef48c1e843b8f24db7b95eb0e
6
+ metadata.gz: 96b3c395fb7fecfd7d0a08643adacff06e931963f29bfaa90a72053d0eea23c19d182a35a4dfa289faa02a1e042232bab1b657663ac71cf1a298fa6e02529165
7
+ data.tar.gz: c60f85f493872acb97cea17863a5b4dbbe22607b0cea6e98c0a83e7d6173ab9749798352400793d7b0e2a79f87ee85549db4509dbaf5d239a6ce2d12555f6a0a
data/README.md CHANGED
@@ -96,6 +96,6 @@ If you need to test against local gems, use Bundler's gem :path option in the Ge
96
96
 
97
97
  ## Code Status
98
98
 
99
- * [![Travis CI](https://api.travis-ci.org/rails/sass-rails.png)](http://travis-ci.org/rails/sass-rails)
100
- * [![Gem Version](https://badge.fury.io/rb/sass-rails.png)](http://badge.fury.io/rb/sass-rails)
101
- * [![Dependencies](https://gemnasium.com/rails/sass-rails.png)](https://gemnasium.com/rails/sass-rails)
99
+ * [![Travis CI](https://api.travis-ci.org/rails/sass-rails.svg)](http://travis-ci.org/rails/sass-rails)
100
+ * [![Gem Version](https://badge.fury.io/rb/sass-rails.svg)](http://badge.fury.io/rb/sass-rails)
101
+ * [![Dependencies](https://gemnasium.com/rails/sass-rails.svg)](https://gemnasium.com/rails/sass-rails)
@@ -1,3 +1,4 @@
1
+ require 'sass'
1
2
  require 'sprockets/sass_functions'
2
3
 
3
4
  module Sprockets
@@ -1,3 +1,4 @@
1
+ require 'sass'
1
2
  require 'sass/logger'
2
3
 
3
4
  module Sass
@@ -1,3 +1,4 @@
1
+ require 'sass'
1
2
  require 'active_support/core_ext/class/attribute'
2
3
  require 'sprockets/railtie'
3
4
 
@@ -52,11 +53,11 @@ module Sass::Rails
52
53
  config.sass.full_exception = app.config.consider_all_requests_local
53
54
  end
54
55
 
55
- if app.assets
56
- app.assets.register_engine '.sass', Sass::Rails::SassTemplate
57
- app.assets.register_engine '.scss', Sass::Rails::ScssTemplate
56
+ config.assets.configure do |env|
57
+ env.register_engine '.sass', Sass::Rails::SassTemplate
58
+ env.register_engine '.scss', Sass::Rails::ScssTemplate
58
59
 
59
- app.assets.context_class.class_eval do
60
+ env.context_class.class_eval do
60
61
  class_attribute :sass_config
61
62
  self.sass_config = app.config.sass
62
63
  end
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Rails
3
- VERSION = "5.0.1"
3
+ VERSION = "5.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - wycats
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-29 00:00:00.000000000 Z
12
+ date: 2015-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -99,20 +99,6 @@ dependencies:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
101
  version: '1.1'
102
- - !ruby/object:Gem::Dependency
103
- name: rails
104
- requirement: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: '0'
109
- type: :development
110
- prerelease: false
111
- version_requirements: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: '0'
116
102
  - !ruby/object:Gem::Dependency
117
103
  name: sqlite3
118
104
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +121,6 @@ executables: []
135
121
  extensions: []
136
122
  extra_rdoc_files: []
137
123
  files:
138
- - CHANGELOG.md
139
124
  - MIT-LICENSE
140
125
  - README.md
141
126
  - lib/rails/generators/sass/assets/assets_generator.rb
@@ -174,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
159
  version: '0'
175
160
  requirements: []
176
161
  rubyforge_project:
177
- rubygems_version: 2.4.4
162
+ rubygems_version: 2.4.5
178
163
  signing_key:
179
164
  specification_version: 4
180
165
  summary: Sass adapter for the Rails asset pipeline.
@@ -1,69 +0,0 @@
1
- # CHANGELOG
2
-
3
- ## 5.0.1 (Dec 29, 2014)
4
-
5
- * Fixed @import glob related caching bug
6
-
7
- ## 5.0.0 (Dec 12, 2014)
8
-
9
- * Register scss and sass extensions for rake notes
10
- * Make possible to use sprockes > 2.8 and < 4
11
- * Make possible to use sass ~> 3.1
12
- * Deprecate .css.scss and .css.sass extentions
13
- * Limit `=require` to .css only files and `@import` to .scss files. Avoid mixing the two.
14
-
15
- ## 4.0.5 (Nov 25, 2014)
16
-
17
- * Make possible to use sprockets 2.12.
18
-
19
- ## 4.0.4 (Oct 29, 2014)
20
-
21
- * Make possible to use any sprockets version in the 2.11 series.
22
- * Require at least sass 3.2.2.
23
-
24
- ## 4.0.3 (Apr 4, 2014)
25
-
26
- * Make possible to use sprockets-rails 2.1.
27
-
28
- ## 4.0.2 (Mar 13, 2014)
29
-
30
- * Lock sprockets version to <= 2.11.0. Fixes #191.
31
-
32
- ## 4.0.1 (Oct 15, 2013)
33
-
34
- * Remove Post Processors from asset evaluation.
35
-
36
- ## 4.0.0 (Jun 25, 2013)
37
-
38
- * Add support for importing ERB files.
39
- * Remove `Sass::Rails::Compressor`. Use `Sprockets::SassCompressor` (`:sass` option) instead.
40
- * Remove `tilt` dependency.
41
- * Bump `sprockets-rails` to `2.0.0.rc4`.
42
-
43
- ## 4.0.0.rc1 (Apr 18, 2013)
44
-
45
- * No changes.
46
-
47
- ## 4.0.0.beta1 (Feb 25, 2013)
48
-
49
- * Remove `compress` option from `config.assets`. Instead, turn on
50
- compression for all environments except development.
51
- * Deprecate `asset_path` and `asset_url` with two arguments.
52
- * Add Rails 4 support.
53
- * Drop Ruby 1.8 support.
54
-
55
- ## 3.1.5.rc.1 (Oct 16, 2011)
56
-
57
- * Several bug fixes.
58
- * Performance and bug fixes when compressing stylesheets.
59
- * Update dependency to latest sass stable release to fix caching issues.
60
-
61
- ## 3.1.2 (Sept 15, 2011)
62
-
63
- * Add `asset-data-url` helper for base-64 encoding of assets within stylesheets.
64
- * Add explicit dependency on sprockets.
65
-
66
- ## 3.1.1 (Sept 13, 2011)
67
-
68
- * Add explicit version dependency on tilt.
69
- * Add MIT License.