sass-rails 3.1.0.rc.2 → 3.1.0.rc.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,6 +44,22 @@ The [list of supported options](http://sass-lang.com/docs/yardoc/file.SASS_REFER
44
44
  files (containing mixins and variables) because it is difficult to control the
45
45
  cascade ordering for imports that contain styles using this approach.
46
46
 
47
+ * **Asset Helpers**. When using the asset pipeline, paths to assets must be rewritten.
48
+ When referencing assets use the following asset helpers:
49
+
50
+ * `asset_path($relative-asset-path, $asset-class)` - Returns a string to the asset.
51
+ For example: `asset_path("rails.png", image)` becomes `"/assets/rails.png"`
52
+ * `asset_url($relative-asset-path, $asset-class)` - Returns url reference to the asset.
53
+
54
+ For example: `asset_url("rails.png", image)` becomes `url(/assets/rails.png)`
55
+ * As a convenience, for each of the following asset classes there are
56
+ corresponding `_path` and `_url` helpers:
57
+ image, font, video, audio, javascript, stylesheet.
58
+
59
+ For example: `image_url("rails.png")` becomes `url(/assets/rails.png)` and
60
+ `image_path("rails.png")` becomes `"/assets/rails.png"`.
61
+
62
+
47
63
  ## Running Tests
48
64
 
49
65
  $ bundle install
@@ -2,5 +2,5 @@
2
2
  // They will automatically be included in application.css.
3
3
  // You can use Sass here: http://sass-lang.com/
4
4
 
5
- body.<%= name.dasherize %>
5
+ body.<%= name.parameterize.dasherize %>
6
6
  // Place scoped styles here
@@ -2,6 +2,6 @@
2
2
  // They will automatically be included in application.css.
3
3
  // You can use Sass (SCSS) here: http://sass-lang.com/
4
4
 
5
- body.<%= name.dasherize %> {
5
+ body.<%= name.parameterize.dasherize %> {
6
6
  // Place scoped styles here
7
7
  }
@@ -4,8 +4,10 @@ module Sass
4
4
  end
5
5
 
6
6
  require 'sass/rails/compressor'
7
+ require 'sass/rails/logger'
7
8
  require 'sass/rails/railtie'
8
9
  require 'sass/rails/monkey_patches'
10
+ require 'sass/rails/helpers'
9
11
  require 'sass/rails/importer'
10
12
  require 'sass/rails/template_handlers'
11
13
  require 'sass/rails/version'
@@ -0,0 +1,38 @@
1
+ module Sass
2
+ module Rails
3
+ module Helpers
4
+
5
+ def asset_path(asset, kind)
6
+ Sass::Script::String.new(public_path(asset.value, kind.value), true)
7
+ end
8
+
9
+ def asset_url(asset, kind)
10
+ Sass::Script::String.new(%Q{url(#{public_path(asset.value, kind.value)})})
11
+ end
12
+
13
+ [:image, :font, :video, :audio, :javascript, :stylesheet].each do |asset_class|
14
+ class_eval %Q{
15
+ def #{asset_class}_path(asset)
16
+ asset_path(asset, Sass::Script::String.new("#{asset_class}"))
17
+ end
18
+ def #{asset_class}_url(asset)
19
+ asset_url(asset, Sass::Script::String.new("#{asset_class}"))
20
+ end
21
+ }, __FILE__, __LINE__ - 7
22
+ end
23
+
24
+ protected
25
+ def public_path(asset, kind)
26
+ options[:custom][:resolver].public_path(asset, kind.pluralize)
27
+ end
28
+ end
29
+ end
30
+ end
31
+
32
+ module Sass
33
+ module Script
34
+ module Functions
35
+ include Sass::Rails::Helpers
36
+ end
37
+ end
38
+ end
@@ -14,6 +14,7 @@ module Sass::Rails
14
14
 
15
15
  def initialize(context)
16
16
  @context = context
17
+ @resolver = Resolver.new(context)
17
18
  end
18
19
 
19
20
  def sass_file?(filename)
@@ -30,22 +31,23 @@ module Sass::Rails
30
31
  def resolve(name, base_pathname = nil)
31
32
  name = Pathname.new(name)
32
33
  if base_pathname && base_pathname.to_s.size > 0
33
- name = base_pathname.dirname.relative_path_from(context.pathname.dirname).join(name)
34
+ root = Pathname.new(context.root_path)
35
+ name = base_pathname.relative_path_from(root).join(name)
34
36
  end
35
37
  partial_name = name.dirname.join("_#{name.basename}")
36
- sprockets_resolve(name) || sprockets_resolve(partial_name)
38
+ @resolver.resolve(name) || @resolver.resolve(partial_name)
37
39
  end
38
40
 
39
41
  def find_relative(name, base, options)
40
42
  base_pathname = Pathname.new(base)
41
43
  if name =~ GLOB
42
44
  glob_imports(name, base_pathname, options)
43
- elsif pathname = resolve(name, base_pathname)
45
+ elsif pathname = resolve(name, base_pathname.dirname)
44
46
  context.depend_on(pathname)
45
47
  if sass_file?(pathname)
46
48
  Sass::Engine.new(pathname.read, options.merge(:filename => pathname.to_s, :importer => self, :syntax => syntax(pathname)))
47
49
  else
48
- Sass::Engine.new(sprockets_process(pathname), options.merge(:filename => pathname.to_s, :importer => self, :syntax => :scss))
50
+ Sass::Engine.new(@resolver.process(pathname), options.merge(:filename => pathname.to_s, :importer => self, :syntax => :scss))
49
51
  end
50
52
  else
51
53
  nil
@@ -60,7 +62,7 @@ module Sass::Rails
60
62
  if sass_file?(pathname)
61
63
  Sass::Engine.new(pathname.read, options.merge(:filename => pathname.to_s, :importer => self, :syntax => syntax(pathname)))
62
64
  else
63
- Sass::Engine.new(sprockets_process(pathname), options.merge(:filename => pathname.to_s, :importer => self, :syntax => :scss))
65
+ Sass::Engine.new(@resolver.process(pathname), options.merge(:filename => pathname.to_s, :importer => self, :syntax => :scss))
64
66
  end
65
67
  else
66
68
  nil
@@ -68,7 +70,7 @@ module Sass::Rails
68
70
  end
69
71
 
70
72
  def each_globbed_file(glob, base_pathname, options)
71
- Dir["#{base_pathname.dirname}/#{glob}"].sort.each do |filename|
73
+ Dir["#{base_pathname}/#{glob}"].sort.each do |filename|
72
74
  next if filename == options[:filename]
73
75
  yield filename if File.directory?(filename) || context.asset_requirable?(filename)
74
76
  end
@@ -76,7 +78,7 @@ module Sass::Rails
76
78
 
77
79
  def glob_imports(glob, base_pathname, options)
78
80
  contents = ""
79
- each_globbed_file(glob, base_pathname, options) do |filename|
81
+ each_globbed_file(glob, base_pathname.dirname, options) do |filename|
80
82
  if File.directory?(filename)
81
83
  context.depend_on(filename)
82
84
  elsif context.asset_requirable?(filename)
@@ -95,7 +97,7 @@ module Sass::Rails
95
97
  def mtime(name, options)
96
98
  if name =~ GLOB && options[:filename]
97
99
  mtime = nil
98
- each_globbed_file(name, Pathname.new(options[:filename]), options) do |p|
100
+ each_globbed_file(name, Pathname.new(options[:filename]).dirname, options) do |p|
99
101
  mtime ||= File.mtime(p)
100
102
  mtime = [mtime, File.mtime(p)].max
101
103
  end
@@ -113,16 +115,6 @@ module Sass::Rails
113
115
  "Sass::Rails::Importer(#{context.pathname})"
114
116
  end
115
117
 
116
- private
117
- def sprockets_resolve(path)
118
- context.resolve(path, :content_type => :self)
119
- rescue Sprockets::FileNotFound, Sprockets::ContentTypeMismatch
120
- nil
121
- end
122
-
123
- def sprockets_process(path)
124
- context.environment[path].to_s
125
- end
126
118
  end
127
119
 
128
120
  end
@@ -0,0 +1,19 @@
1
+ module Sass
2
+ module Rails
3
+ class Logger < Sass::Logger::Base
4
+ def _log(level, message)
5
+
6
+ case level
7
+ when :trace, :debug
8
+ ::Rails.logger.debug message
9
+ when :warn
10
+ ::Rails.logger.warn message
11
+ when :error
12
+ ::Rails.logger.error message
13
+ when :info
14
+ ::Rails.logger.info message
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,20 +1,36 @@
1
- require 'sprockets/railtie'
1
+ module Sass::Rails::SassContext
2
+ attr_accessor :sass_config
3
+ end
2
4
 
3
- module Sprockets
4
- class Railtie < ::Rails::Railtie
5
-
6
- module SassContext
7
- attr_accessor :sass_config
8
- end
5
+ module Sass::Rails::SprocketsConfig
6
+ def self.included(base)
7
+ base.alias_method_chain :asset_environment, :sass_config
8
+ end
9
9
 
10
- protected
10
+ def asset_environment_with_sass_config(app, *args)
11
+ env = asset_environment_without_sass_config(app, *args)
12
+ env.context_class.extend(Sass::Rails::SassContext)
13
+ env.context_class.sass_config = app.config.sass
14
+ env
15
+ end
16
+ end
11
17
 
12
- def asset_environment_with_sass_config(app, *args)
13
- env = asset_environment_without_sass_config(app, *args)
14
- env.context_class.extend(SassContext)
15
- env.context_class.sass_config = app.config.sass
16
- env
18
+ begin
19
+ # Before sprockets was extracted from rails
20
+ require 'sprockets/railtie'
21
+ module Sprockets
22
+ class Railtie < ::Rails::Railtie
23
+ include Sass::Rails::SprocketsConfig
24
+ end
25
+ end
26
+ rescue LoadError
27
+ # After sprockets was extracted into sprockets-rails
28
+ require 'sprockets/rails/railtie'
29
+ module Sprockets
30
+ module Rails
31
+ class Railtie < ::Rails::Railtie
32
+ include Sass::Rails::SprocketsConfig
33
+ end
17
34
  end
18
- alias_method_chain :asset_environment, :sass_config
19
35
  end
20
36
  end
@@ -12,6 +12,10 @@ module Sass::Rails
12
12
  config.sass.read_cache = true
13
13
  # Display line comments above each selector as a debugging aid
14
14
  config.sass.line_comments = true
15
+ # Initialize the load paths to an empty array
16
+ config.sass.load_paths = []
17
+ # Send Sass logs to Rails.logger
18
+ config.sass.logger = Sass::Rails::Logger.new
15
19
 
16
20
  initializer :setup_sass do |app|
17
21
  # Only emit one kind of syntax because though we have registered two kinds of generators
@@ -30,7 +34,6 @@ module Sass::Rails
30
34
  # Display a stack trace in the css output when in development-like environments.
31
35
  config.sass.full_exception = app.config.consider_all_requests_local
32
36
  end
33
-
34
37
  end
35
38
 
36
39
  initializer :setup_compression do |app|
@@ -39,5 +42,9 @@ module Sass::Rails
39
42
  app.config.assets.css_compressor = CssCompressor.new
40
43
  end
41
44
  end
45
+
46
+ config.after_initialize do |app|
47
+ Sass::logger = app.config.sass.logger
48
+ end
42
49
  end
43
50
  end
@@ -2,6 +2,32 @@ require 'tilt'
2
2
  require 'sprockets'
3
3
 
4
4
  module Sass::Rails
5
+
6
+ class Resolver
7
+
8
+ attr_accessor :context
9
+
10
+ def initialize(context)
11
+ @context = context
12
+ end
13
+
14
+ def resolve(path, content_type = :self)
15
+ options = {}
16
+ options[:content_type] = content_type unless content_type.nil?
17
+ context.resolve(path, options)
18
+ rescue Sprockets::FileNotFound, Sprockets::ContentTypeMismatch
19
+ nil
20
+ end
21
+
22
+ def public_path(path, scope)
23
+ context.asset_paths.compute_public_path(path, scope)
24
+ end
25
+
26
+ def process(path)
27
+ context.environment[path].to_s
28
+ end
29
+ end
30
+
5
31
  class SassTemplate < Tilt::SassTemplate
6
32
  self.default_mime_type = 'text/css'
7
33
 
@@ -31,7 +57,10 @@ module Sass::Rails
31
57
  :line => line,
32
58
  :syntax => syntax,
33
59
  :importer => importer,
34
- :load_paths => load_paths
60
+ :load_paths => load_paths,
61
+ :custom => {
62
+ :resolver => Resolver.new(scope)
63
+ }
35
64
  )
36
65
  end
37
66
 
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Rails
3
- VERSION = "3.1.0.rc.2"
3
+ VERSION = "3.1.0.rc.3"
4
4
  end
5
5
  end
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = "sass-rails"
16
16
 
17
- s.add_runtime_dependency 'sass', '>= 3.1.2'
17
+ s.add_runtime_dependency 'sass', '>= 3.1.3'
18
18
  s.add_runtime_dependency 'railties', '~> 3.1.0.rc1'
19
19
  s.add_runtime_dependency 'actionpack', '~> 3.1.0.rc1'
20
20
  s.add_runtime_dependency 'sprockets', '>= 2.0.0.beta.9'
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails'
3
+ gem 'rails', "~> 3.1.0.rc4"
4
4
  gem 'sqlite3'
5
5
 
6
6
  # Asset template engines
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails'
3
+ gem 'rails', "~> 3.1.0.rc4"
4
4
  gem 'sqlite3'
5
5
 
6
6
  # Asset template engines
@@ -8,3 +8,9 @@
8
8
  color: yellow;
9
9
  @include background-from-partial(red);
10
10
  }
11
+
12
+ .rails {
13
+ asset-path: asset-path("rails.png", image);
14
+ asset-url: asset-url("rails.png", image);
15
+ image-url: image-url("rails.png");
16
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ *= require partials/_sass_import
3
+ *= require partials/_scss_import
4
+ *= require_tree ./globbed
5
+ *= require subfolder/plain
6
+ *= require subfolder/second_level
7
+ */
@@ -0,0 +1,24 @@
1
+ require 'test_helper'
2
+
3
+ class SassRailsLoggerTest < Sass::Rails::TestCase
4
+ test "setting a sass-rails logger as the sass default logger" do
5
+ within_rails_app "scss_project" do
6
+ logger_class_name = runcmd 'rails runner "print Sass::logger.class.name"'
7
+ assert_equal Sass::Rails::Logger.name, logger_class_name
8
+ end
9
+ end
10
+
11
+ [:debug, :warn, :info, :error, :trace].each do |level|
12
+ test "sending a #{level} message to the sass logger writes to the environment log file" do
13
+ within_rails_app "scss_project" do
14
+ app_root = runcmd 'rails runner "print Rails.root"'
15
+
16
+ message = "[#{level}]: sass message"
17
+ runcmd %{rails runner "Sass::logger.log_level = :#{level}; Sass::logger.log(:#{level}, '#{message}')"}
18
+
19
+ log_output = File.open("#{app_root}/log/development.log").read
20
+ assert log_output.include?(message), "the #{level} log message was not found in the log file"
21
+ end
22
+ end
23
+ end
24
+ end
@@ -14,7 +14,7 @@ class SassRailsTest < Sass::Rails::TestCase
14
14
  assert_not_output(/conflict/)
15
15
  end
16
16
  end
17
- test "sass files are generated during scaffold generation sass projects" do
17
+ test "sass files are generated during scaffold generation of sass projects" do
18
18
  within_rails_app "sass_project" do
19
19
  runcmd "rails generate scaffold foo"
20
20
  assert_file_exists "app/assets/stylesheets/foos.css.sass"
@@ -22,10 +22,28 @@ class SassRailsTest < Sass::Rails::TestCase
22
22
  assert_not_output(/conflict/)
23
23
  end
24
24
  end
25
+ test "scss template has correct dasherized css class for namespaced controllers" do
26
+ within_rails_app "scss_project" do
27
+ runcmd "rails generate controller foo/bar"
28
+ assert_file_exists "app/assets/stylesheets/foo/bar.css.scss"
29
+ assert_match File.read("app/assets/stylesheets/foo/bar.css.scss"), /\.foo-bar/
30
+ end
31
+ end
32
+ test "sass template has correct dasherized css class for namespaced controllers" do
33
+ within_rails_app "sass_project" do
34
+ runcmd "rails generate controller foo/bar"
35
+ assert_file_exists "app/assets/stylesheets/foo/bar.css.sass"
36
+ assert_match File.read("app/assets/stylesheets/foo/bar.css.sass"), /\.foo-bar/
37
+ end
38
+ end
25
39
  test "templates are registered with sprockets" do
26
40
  assert_equal Sass::Rails::SassTemplate, Sprockets.engines[".sass"]
27
41
  assert_equal Sass::Rails::ScssTemplate, Sprockets.engines[".scss"]
28
42
  end
43
+ test "sprockets require works correctly" do
44
+ css_output = sprockets_render("scss_project", "css_application.css")
45
+ assert_match css_output, /globbed/
46
+ end
29
47
  test "sass imports work correctly" do
30
48
  css_output = sprockets_render("scss_project", "application.css.scss")
31
49
  assert_match css_output, /main/
@@ -40,6 +58,12 @@ class SassRailsTest < Sass::Rails::TestCase
40
58
  assert_match css_output, /plain-old-css/
41
59
  assert_match css_output, /another-plain-old-css/
42
60
  end
61
+ test "sass asset paths work" do
62
+ css_output = sprockets_render("scss_project", "application.css.scss")
63
+ assert_match css_output, %r{asset-path:\s*"/assets/rails.png"}
64
+ assert_match css_output, %r{asset-url:\s*url\(/assets/rails.png\)}
65
+ assert_match css_output, %r{image-url:\s*url\(/assets/rails.png\)}
66
+ end
43
67
  test "css compressor compresses" do
44
68
  assert_equal "div{color:red}\n", Sass::Rails::CssCompressor.new.compress(<<CSS)
45
69
  div {
@@ -1,5 +1,7 @@
1
1
  require 'fileutils'
2
2
  require 'tmpdir'
3
+ require 'action_view/helpers/capture_helper'
4
+
3
5
 
4
6
  class Sass::Rails::TestCase < ActiveSupport::TestCase
5
7
 
@@ -27,15 +29,39 @@ class Sass::Rails::TestCase < ActiveSupport::TestCase
27
29
  File.expand_path("../../fixtures/#{path}", __FILE__)
28
30
  end
29
31
 
32
+ module TestAssetPaths
33
+ attr_accessor :assets
34
+ end
35
+
30
36
  def sprockets_render(project, filename)
31
- @env = Sprockets::Environment.new
32
- @env.context_class.class_eval do
37
+ env = Sprockets::Environment.new
38
+ env.context_class.class_eval do
39
+ def self.assets=(assets)
40
+ @assets = assets
41
+ end
42
+ def self.assets
43
+ @assets
44
+ end
33
45
  def self.sass_config
34
46
  Sass::Rails::Railtie.config.sass
35
47
  end
48
+ def config
49
+ @config ||= ActiveSupport::InheritableOptions.new
50
+ end
51
+ include Sprockets::Helpers::RailsHelper
52
+ def asset_paths_with_testing
53
+ paths = asset_paths_without_testing
54
+ unless paths.is_a?(TestAssetPaths)
55
+ paths.extend(TestAssetPaths)
56
+ paths.assets = self.class.assets
57
+ end
58
+ paths
59
+ end
60
+ alias_method_chain :asset_paths, :testing
36
61
  end
37
- @env.paths << fixture_path("#{project}/app/assets/stylesheets")
38
- @env[filename].to_s
62
+ env.context_class.assets = env
63
+ env.paths << fixture_path("#{project}/app/assets/stylesheets")
64
+ env[filename].to_s
39
65
  end
40
66
 
41
67
  def assert_file_exists(filename)
metadata CHANGED
@@ -1,15 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424097
5
4
  prerelease: 6
6
- segments:
7
- - 3
8
- - 1
9
- - 0
10
- - rc
11
- - 2
12
- version: 3.1.0.rc.2
5
+ version: 3.1.0.rc.3
13
6
  platform: ruby
14
7
  authors:
15
8
  - wycats
@@ -18,7 +11,7 @@ autorequire:
18
11
  bindir: bin
19
12
  cert_chain: []
20
13
 
21
- date: 2011-06-07 00:00:00 -07:00
14
+ date: 2011-06-26 00:00:00 -07:00
22
15
  default_executable:
23
16
  dependencies:
24
17
  - !ruby/object:Gem::Dependency
@@ -29,12 +22,7 @@ dependencies:
29
22
  requirements:
30
23
  - - ">="
31
24
  - !ruby/object:Gem::Version
32
- hash: 7
33
- segments:
34
- - 3
35
- - 1
36
- - 2
37
- version: 3.1.2
25
+ version: 3.1.3
38
26
  type: :runtime
39
27
  version_requirements: *id001
40
28
  - !ruby/object:Gem::Dependency
@@ -45,13 +33,6 @@ dependencies:
45
33
  requirements:
46
34
  - - ~>
47
35
  - !ruby/object:Gem::Version
48
- hash: 15424103
49
- segments:
50
- - 3
51
- - 1
52
- - 0
53
- - rc
54
- - 1
55
36
  version: 3.1.0.rc1
56
37
  type: :runtime
57
38
  version_requirements: *id002
@@ -63,13 +44,6 @@ dependencies:
63
44
  requirements:
64
45
  - - ~>
65
46
  - !ruby/object:Gem::Version
66
- hash: 15424103
67
- segments:
68
- - 3
69
- - 1
70
- - 0
71
- - rc
72
- - 1
73
47
  version: 3.1.0.rc1
74
48
  type: :runtime
75
49
  version_requirements: *id003
@@ -81,13 +55,6 @@ dependencies:
81
55
  requirements:
82
56
  - - ">="
83
57
  - !ruby/object:Gem::Version
84
- hash: 62196465
85
- segments:
86
- - 2
87
- - 0
88
- - 0
89
- - beta
90
- - 9
91
58
  version: 2.0.0.beta.9
92
59
  type: :runtime
93
60
  version_requirements: *id004
@@ -116,7 +83,9 @@ files:
116
83
  - lib/sass-rails.rb
117
84
  - lib/sass/rails.rb
118
85
  - lib/sass/rails/compressor.rb
86
+ - lib/sass/rails/helpers.rb
119
87
  - lib/sass/rails/importer.rb
88
+ - lib/sass/rails/logger.rb
120
89
  - lib/sass/rails/monkey_patches.rb
121
90
  - lib/sass/rails/railtie.rb
122
91
  - lib/sass/rails/template_handlers.rb
@@ -171,6 +140,7 @@ files:
171
140
  - test/fixtures/scss_project/app/assets/javascripts/application.js
172
141
  - test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss
173
142
  - test/fixtures/scss_project/app/assets/stylesheets/application.css.scss
143
+ - test/fixtures/scss_project/app/assets/stylesheets/css_application.css
174
144
  - test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss
175
145
  - test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
176
146
  - test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass
@@ -215,6 +185,7 @@ files:
215
185
  - test/fixtures/scss_project/script/rails
216
186
  - test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep
217
187
  - test/fixtures/scss_project/vendor/plugins/.gitkeep
188
+ - test/sass_rails_logger_test.rb
218
189
  - test/sass_rails_test.rb
219
190
  - test/support/sass_rails_test_case.rb
220
191
  - test/test_helper.rb
@@ -232,25 +203,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
203
  requirements:
233
204
  - - ">="
234
205
  - !ruby/object:Gem::Version
235
- hash: 3
236
- segments:
237
- - 0
238
206
  version: "0"
239
207
  required_rubygems_version: !ruby/object:Gem::Requirement
240
208
  none: false
241
209
  requirements:
242
210
  - - ">"
243
211
  - !ruby/object:Gem::Version
244
- hash: 25
245
- segments:
246
- - 1
247
- - 3
248
- - 1
249
212
  version: 1.3.1
250
213
  requirements: []
251
214
 
252
215
  rubyforge_project: sass-rails
253
- rubygems_version: 1.6.2
216
+ rubygems_version: 1.5.3
254
217
  signing_key:
255
218
  specification_version: 3
256
219
  summary: Sass adapter for the Rails asset pipeline.
@@ -304,6 +267,7 @@ test_files:
304
267
  - test/fixtures/scss_project/app/assets/javascripts/application.js
305
268
  - test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss
306
269
  - test/fixtures/scss_project/app/assets/stylesheets/application.css.scss
270
+ - test/fixtures/scss_project/app/assets/stylesheets/css_application.css
307
271
  - test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss
308
272
  - test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
309
273
  - test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass
@@ -348,6 +312,7 @@ test_files:
348
312
  - test/fixtures/scss_project/script/rails
349
313
  - test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep
350
314
  - test/fixtures/scss_project/vendor/plugins/.gitkeep
315
+ - test/sass_rails_logger_test.rb
351
316
  - test/sass_rails_test.rb
352
317
  - test/support/sass_rails_test_case.rb
353
318
  - test/test_helper.rb