sass-rails 3.1.3 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sass/rails/railtie.rb +2 -2
- data/lib/sass/rails/version.rb +1 -1
- metadata +4 -4
data/lib/sass/rails/railtie.rb
CHANGED
@@ -41,7 +41,7 @@ module Sass::Rails
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
initializer :setup_sass, :group => :
|
44
|
+
initializer :setup_sass, :group => :all do |app|
|
45
45
|
# Only emit one kind of syntax because though we have registered two kinds of generators
|
46
46
|
syntax = app.config.sass.preferred_syntax.to_sym
|
47
47
|
alt_syntax = syntax == :sass ? "scss" : "sass"
|
@@ -64,7 +64,7 @@ module Sass::Rails
|
|
64
64
|
Sass.logger = app.config.sass.logger
|
65
65
|
end
|
66
66
|
|
67
|
-
initializer :setup_compression, :group => :
|
67
|
+
initializer :setup_compression, :group => :all do |app|
|
68
68
|
if app.config.assets.compress
|
69
69
|
# Use sass's css_compressor
|
70
70
|
app.config.assets.css_compressor = CssCompressor.new
|
data/lib/sass/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 3.1.
|
9
|
+
- 4
|
10
|
+
version: 3.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- wycats
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-10-01 23:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|