wireframe-sass-rails 3.1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. data/.gitignore +5 -0
  2. data/Gemfile +13 -0
  3. data/README.markdown +68 -0
  4. data/Rakefile +12 -0
  5. data/lib/rails/generators/sass/assets/assets_generator.rb +13 -0
  6. data/lib/rails/generators/sass/assets/templates/stylesheet.css.sass +3 -0
  7. data/lib/rails/generators/sass/scaffold/scaffold_generator.rb +9 -0
  8. data/lib/rails/generators/sass_scaffold.rb +16 -0
  9. data/lib/rails/generators/scss/assets/assets_generator.rb +13 -0
  10. data/lib/rails/generators/scss/assets/templates/stylesheet.css.scss +3 -0
  11. data/lib/rails/generators/scss/scaffold/scaffold_generator.rb +10 -0
  12. data/lib/sass-rails.rb +1 -0
  13. data/lib/sass/rails.rb +12 -0
  14. data/lib/sass/rails/compressor.rb +15 -0
  15. data/lib/sass/rails/helpers.rb +38 -0
  16. data/lib/sass/rails/importer.rb +122 -0
  17. data/lib/sass/rails/logger.rb +21 -0
  18. data/lib/sass/rails/railtie.rb +74 -0
  19. data/lib/sass/rails/template_handlers.rb +86 -0
  20. data/lib/sass/rails/version.rb +5 -0
  21. data/sass-rails.gemspec +25 -0
  22. data/test/fixtures/engine_project/.gitignore +6 -0
  23. data/test/fixtures/engine_project/Gemfile +7 -0
  24. data/test/fixtures/engine_project/README.rdoc +3 -0
  25. data/test/fixtures/engine_project/Rakefile +39 -0
  26. data/test/fixtures/engine_project/app/assets/images/engine_project/.gitkeep +0 -0
  27. data/test/fixtures/engine_project/app/assets/javascripts/engine_project/application.js +9 -0
  28. data/test/fixtures/engine_project/app/assets/stylesheets/engine_project/application.css +7 -0
  29. data/test/fixtures/engine_project/app/controllers/engine_project/application_controller.rb +4 -0
  30. data/test/fixtures/engine_project/app/helpers/engine_project/application_helper.rb +4 -0
  31. data/test/fixtures/engine_project/app/views/layouts/engine_project/application.html.erb +14 -0
  32. data/test/fixtures/engine_project/config/routes.rb +2 -0
  33. data/test/fixtures/engine_project/lib/engine_project.rb +4 -0
  34. data/test/fixtures/engine_project/lib/engine_project/engine.rb +5 -0
  35. data/test/fixtures/engine_project/lib/engine_project/version.rb +3 -0
  36. data/test/fixtures/engine_project/lib/tasks/engine_project_tasks.rake +4 -0
  37. data/test/fixtures/engine_project/script/rails +6 -0
  38. data/test/fixtures/engine_project/test/dummy/Rakefile +7 -0
  39. data/test/fixtures/engine_project/test/dummy/app/assets/javascripts/application.js +9 -0
  40. data/test/fixtures/engine_project/test/dummy/app/assets/stylesheets/application.css +7 -0
  41. data/test/fixtures/engine_project/test/dummy/app/controllers/application_controller.rb +3 -0
  42. data/test/fixtures/engine_project/test/dummy/app/helpers/application_helper.rb +2 -0
  43. data/test/fixtures/engine_project/test/dummy/app/mailers/.gitkeep +0 -0
  44. data/test/fixtures/engine_project/test/dummy/app/models/.gitkeep +0 -0
  45. data/test/fixtures/engine_project/test/dummy/app/views/layouts/application.html.erb +14 -0
  46. data/test/fixtures/engine_project/test/dummy/config.ru +4 -0
  47. data/test/fixtures/engine_project/test/dummy/config/application.rb +42 -0
  48. data/test/fixtures/engine_project/test/dummy/config/boot.rb +10 -0
  49. data/test/fixtures/engine_project/test/dummy/config/database.yml +25 -0
  50. data/test/fixtures/engine_project/test/dummy/config/environment.rb +5 -0
  51. data/test/fixtures/engine_project/test/dummy/config/environments/development.rb +27 -0
  52. data/test/fixtures/engine_project/test/dummy/config/environments/production.rb +51 -0
  53. data/test/fixtures/engine_project/test/dummy/config/environments/test.rb +39 -0
  54. data/test/fixtures/engine_project/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  55. data/test/fixtures/engine_project/test/dummy/config/initializers/inflections.rb +10 -0
  56. data/test/fixtures/engine_project/test/dummy/config/initializers/mime_types.rb +5 -0
  57. data/test/fixtures/engine_project/test/dummy/config/initializers/secret_token.rb +7 -0
  58. data/test/fixtures/engine_project/test/dummy/config/initializers/session_store.rb +8 -0
  59. data/test/fixtures/engine_project/test/dummy/config/initializers/wrap_parameters.rb +12 -0
  60. data/test/fixtures/engine_project/test/dummy/config/locales/en.yml +5 -0
  61. data/test/fixtures/engine_project/test/dummy/config/routes.rb +4 -0
  62. data/test/fixtures/engine_project/test/dummy/lib/assets/.gitkeep +0 -0
  63. data/test/fixtures/engine_project/test/dummy/log/.gitkeep +0 -0
  64. data/test/fixtures/engine_project/test/dummy/public/404.html +26 -0
  65. data/test/fixtures/engine_project/test/dummy/public/422.html +26 -0
  66. data/test/fixtures/engine_project/test/dummy/public/500.html +26 -0
  67. data/test/fixtures/engine_project/test/dummy/public/favicon.ico +0 -0
  68. data/test/fixtures/engine_project/test/dummy/script/rails +6 -0
  69. data/test/fixtures/sass_project/.gitignore +5 -0
  70. data/test/fixtures/sass_project/Gemfile +7 -0
  71. data/test/fixtures/sass_project/README +261 -0
  72. data/test/fixtures/sass_project/Rakefile +7 -0
  73. data/test/fixtures/sass_project/app/assets/images/rails.png +0 -0
  74. data/test/fixtures/sass_project/app/assets/javascripts/application.js +9 -0
  75. data/test/fixtures/sass_project/app/assets/stylesheets/application.css +7 -0
  76. data/test/fixtures/sass_project/app/controllers/application_controller.rb +3 -0
  77. data/test/fixtures/sass_project/app/helpers/application_helper.rb +2 -0
  78. data/test/fixtures/sass_project/app/mailers/.gitkeep +0 -0
  79. data/test/fixtures/sass_project/app/models/.gitkeep +0 -0
  80. data/test/fixtures/sass_project/app/views/layouts/application.html.erb +14 -0
  81. data/test/fixtures/sass_project/config.ru +4 -0
  82. data/test/fixtures/sass_project/config/application.rb +52 -0
  83. data/test/fixtures/sass_project/config/boot.rb +6 -0
  84. data/test/fixtures/sass_project/config/database.yml +25 -0
  85. data/test/fixtures/sass_project/config/environment.rb +5 -0
  86. data/test/fixtures/sass_project/config/environments/development.rb +27 -0
  87. data/test/fixtures/sass_project/config/environments/production.rb +54 -0
  88. data/test/fixtures/sass_project/config/environments/test.rb +39 -0
  89. data/test/fixtures/sass_project/config/initializers/backtrace_silencers.rb +7 -0
  90. data/test/fixtures/sass_project/config/initializers/inflections.rb +10 -0
  91. data/test/fixtures/sass_project/config/initializers/mime_types.rb +5 -0
  92. data/test/fixtures/sass_project/config/initializers/secret_token.rb +7 -0
  93. data/test/fixtures/sass_project/config/initializers/session_store.rb +8 -0
  94. data/test/fixtures/sass_project/config/initializers/wrap_parameters.rb +12 -0
  95. data/test/fixtures/sass_project/config/locales/en.yml +5 -0
  96. data/test/fixtures/sass_project/config/routes.rb +58 -0
  97. data/test/fixtures/sass_project/db/seeds.rb +7 -0
  98. data/test/fixtures/sass_project/doc/README_FOR_APP +2 -0
  99. data/test/fixtures/sass_project/lib/tasks/.gitkeep +0 -0
  100. data/test/fixtures/sass_project/log/.gitkeep +0 -0
  101. data/test/fixtures/sass_project/public/404.html +26 -0
  102. data/test/fixtures/sass_project/public/422.html +26 -0
  103. data/test/fixtures/sass_project/public/500.html +26 -0
  104. data/test/fixtures/sass_project/public/favicon.ico +0 -0
  105. data/test/fixtures/sass_project/public/index.html +241 -0
  106. data/test/fixtures/sass_project/public/robots.txt +5 -0
  107. data/test/fixtures/sass_project/script/rails +6 -0
  108. data/test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep +0 -0
  109. data/test/fixtures/sass_project/vendor/plugins/.gitkeep +0 -0
  110. data/test/fixtures/scss_project/.gitignore +5 -0
  111. data/test/fixtures/scss_project/Gemfile +7 -0
  112. data/test/fixtures/scss_project/README +261 -0
  113. data/test/fixtures/scss_project/Rakefile +7 -0
  114. data/test/fixtures/scss_project/app/assets/images/rails.png +0 -0
  115. data/test/fixtures/scss_project/app/assets/javascripts/application.js +9 -0
  116. data/test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss +3 -0
  117. data/test/fixtures/scss_project/app/assets/stylesheets/application.css.scss +19 -0
  118. data/test/fixtures/scss_project/app/assets/stylesheets/css_application.css +7 -0
  119. data/test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss +3 -0
  120. data/test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss +3 -0
  121. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass +5 -0
  122. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss +9 -0
  123. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_without_css_ext.scss +3 -0
  124. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass +2 -0
  125. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss +3 -0
  126. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss +3 -0
  127. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css +3 -0
  128. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css +3 -0
  129. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss +1 -0
  130. data/test/fixtures/scss_project/app/controllers/application_controller.rb +3 -0
  131. data/test/fixtures/scss_project/app/helpers/application_helper.rb +2 -0
  132. data/test/fixtures/scss_project/app/mailers/.gitkeep +0 -0
  133. data/test/fixtures/scss_project/app/models/.gitkeep +0 -0
  134. data/test/fixtures/scss_project/app/views/layouts/application.html.erb +14 -0
  135. data/test/fixtures/scss_project/config.ru +4 -0
  136. data/test/fixtures/scss_project/config/application.rb +49 -0
  137. data/test/fixtures/scss_project/config/boot.rb +6 -0
  138. data/test/fixtures/scss_project/config/database.yml +25 -0
  139. data/test/fixtures/scss_project/config/environment.rb +5 -0
  140. data/test/fixtures/scss_project/config/environments/development.rb +27 -0
  141. data/test/fixtures/scss_project/config/environments/production.rb +54 -0
  142. data/test/fixtures/scss_project/config/environments/test.rb +39 -0
  143. data/test/fixtures/scss_project/config/initializers/backtrace_silencers.rb +7 -0
  144. data/test/fixtures/scss_project/config/initializers/inflections.rb +10 -0
  145. data/test/fixtures/scss_project/config/initializers/mime_types.rb +5 -0
  146. data/test/fixtures/scss_project/config/initializers/secret_token.rb +7 -0
  147. data/test/fixtures/scss_project/config/initializers/session_store.rb +8 -0
  148. data/test/fixtures/scss_project/config/initializers/wrap_parameters.rb +12 -0
  149. data/test/fixtures/scss_project/config/locales/en.yml +5 -0
  150. data/test/fixtures/scss_project/config/routes.rb +58 -0
  151. data/test/fixtures/scss_project/db/seeds.rb +7 -0
  152. data/test/fixtures/scss_project/doc/README_FOR_APP +2 -0
  153. data/test/fixtures/scss_project/lib/tasks/.gitkeep +0 -0
  154. data/test/fixtures/scss_project/log/.gitkeep +0 -0
  155. data/test/fixtures/scss_project/public/404.html +26 -0
  156. data/test/fixtures/scss_project/public/422.html +26 -0
  157. data/test/fixtures/scss_project/public/500.html +26 -0
  158. data/test/fixtures/scss_project/public/favicon.ico +0 -0
  159. data/test/fixtures/scss_project/public/index.html +241 -0
  160. data/test/fixtures/scss_project/public/robots.txt +5 -0
  161. data/test/fixtures/scss_project/script/rails +6 -0
  162. data/test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep +0 -0
  163. data/test/fixtures/scss_project/vendor/plugins/.gitkeep +0 -0
  164. data/test/sass_rails_logger_test.rb +26 -0
  165. data/test/sass_rails_test.rb +88 -0
  166. data/test/support/sass_rails_test_case.rb +151 -0
  167. data/test/test_helper.rb +28 -0
  168. metadata +427 -0
@@ -0,0 +1,151 @@
1
+ unless defined?(Bundler)
2
+ $stderr.puts "You didn't run bundle exec did you? Try again: bundle exec rake test"
3
+ exit 1
4
+ end
5
+ require 'fileutils'
6
+ require 'tmpdir'
7
+ require 'sprockets/helpers/rails_helper'
8
+
9
+ class Sass::Rails::TestCase < ActiveSupport::TestCase
10
+
11
+ class ExecutionError < StandardError
12
+ attr_accessor :output
13
+ def initialize(message, output = nil)
14
+ super(message)
15
+ self.output = output
16
+ end
17
+ def message
18
+ "#{super}\nOutput was:\n#{output}"
19
+ end
20
+ end
21
+
22
+ module SilentError
23
+ attr_accessor :output
24
+ def message
25
+ "#{super}\nOutput was:\n#{output}"
26
+ end
27
+ end
28
+
29
+ protected
30
+
31
+ def fixture_path(path)
32
+ File.expand_path("../../fixtures/#{path}", __FILE__)
33
+ end
34
+
35
+ module TestAssetPaths
36
+ attr_accessor :assets
37
+ end
38
+
39
+ def sprockets_render(project, filename)
40
+ within_rails_app(project) do
41
+ runcmd "ruby script/rails runner 'puts Rails.application.assets[#{filename.inspect}]'"
42
+ end
43
+ end
44
+
45
+ def assert_file_exists(filename)
46
+ assert File.exists?(filename), "could not find #{filename}. PWD=#{Dir.pwd}\nDid find: #{Dir.glob(File.dirname(filename)+"/*").join(", ")}"
47
+ end
48
+
49
+ def assert_not_output(match)
50
+ assert_no_match match, $last_ouput
51
+ end
52
+
53
+ def assert_output(match)
54
+ assert $last_ouput.to_s =~ match, "#{match} was not found in #{$last_ouput.inspect}"
55
+ end
56
+
57
+ # Copies a rails app fixture to a temp directory
58
+ # and changes to that directory during the yield.
59
+ #
60
+ # Automatically changes back to the working directory
61
+ # and removes the temp directory when done.
62
+ def within_rails_app(name, without_gems = [], gem_locations = $gem_locations)
63
+ sourcedir = File.expand_path("../../fixtures/#{name}", __FILE__)
64
+ Dir.mktmpdir do |tmpdir|
65
+ FileUtils.cp_r "#{sourcedir}/.", tmpdir
66
+ Dir.chdir(tmpdir) do
67
+ gem_locations.each {|name, path| modify_gem_location name, path}
68
+ without_gems.each {|name| remove_gem name}
69
+ runcmd "bundle install --verbose"
70
+ yield
71
+ end
72
+ end
73
+ end
74
+
75
+ def process_gemfile(gemfile = "Gemfile", &blk)
76
+ gem_contents = File.readlines(gemfile)
77
+ gem_contents.map!(&blk)
78
+ gem_contents.compact!
79
+ File.open(gemfile, "w") do |f|
80
+ f.print(gem_contents.join(""))
81
+ end
82
+ end
83
+
84
+ def modify_gem_location(gemname, path, gemfile = "Gemfile")
85
+ found = false
86
+ process_gemfile(gemfile) do |line|
87
+ if line =~ /gem *(["'])#{Regexp.escape(gemname)}\1/
88
+ found = true
89
+ %Q{gem "#{gemname}", :path => #{path.inspect}\n}
90
+ else
91
+ line
92
+ end
93
+ end
94
+ unless found
95
+ File.open(gemfile, "a") do |f|
96
+ f.print(%Q{\ngem "#{gemname}", :path => #{path.inspect}\n})
97
+ end
98
+ end
99
+ end
100
+
101
+ def remove_gem(gemname)
102
+ process_gemfile(gemfile) do |line|
103
+ line unless line =~ /gem *(["'])#{Regexp.escape(gemname)}\1/
104
+ end
105
+ end
106
+
107
+ def silently
108
+ output = StringIO.new
109
+ $stderr, old_stderr = output, $stderr
110
+ $stdout, old_stdout = output, $stdout
111
+ begin
112
+ yield
113
+ rescue ExecutionError => e
114
+ raise
115
+ rescue => e
116
+ e.extend(SilentError)
117
+ e.output = output.string
118
+ raise
119
+ end
120
+ ensure
121
+ $stderr = old_stderr
122
+ $stdout = old_stdout
123
+ end
124
+
125
+ # executes a system command
126
+ # raises an error if it does not complete successfully
127
+ # returns the output as a string if it does complete successfully
128
+ def runcmd(cmd, working_directory = Dir.pwd, clean_env = true, gemfile = "Gemfile", env = {})
129
+ # There's a bug in bundler where with_clean_env doesn't clear out the BUNDLE_GEMFILE environment setting
130
+ # https://github.com/carlhuda/bundler/issues/1133
131
+ env["BUNDLE_GEMFILE"] = "#{working_directory}/#{gemfile}" if clean_env
132
+ todo = Proc.new do
133
+ r, w = IO.pipe
134
+ pid = Kernel.spawn(env, cmd, :out =>w , :err => w, :chdir => working_directory)
135
+ w.close
136
+ Process.wait
137
+ output = r.read
138
+ r.close
139
+ unless $?.exitstatus == 0
140
+ raise ExecutionError, "Command failed with exit status #{$?.exitstatus}: #{cmd}", output
141
+ end
142
+ $last_ouput = output
143
+ end
144
+ if clean_env
145
+ Bundler.with_clean_env(&todo)
146
+ else
147
+ todo.call
148
+ end
149
+ end
150
+
151
+ end
@@ -0,0 +1,28 @@
1
+ # Configure Rails Envinronment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require 'rails'
5
+ require "rails/test_help"
6
+ require 'sass/rails'
7
+ require 'sfl'
8
+ require 'mocha'
9
+
10
+ Rails.backtrace_cleaner.remove_silencers!
11
+
12
+ # Set locations of local gems in this hash.
13
+ # They will be added/replaced in the generated Gemfiles
14
+ # You should also set them in the local Gemfile
15
+ $gem_locations = {
16
+ "sass-rails" => File.expand_path("../../", __FILE__)
17
+ }
18
+
19
+ # Uncomment this if you need to test against a local rails checkout
20
+ # $gem_locations["rails"] = "/Users/chris/Projects/rails"
21
+ # Uncomment this if you need to test against a local sass checkout
22
+ # $gem_locations["sass"] = "/Users/chris/Projects/sass"
23
+ # Uncomment this if you need to test against a local sprockets checkout
24
+ # $gem_locations["sprockets"] = "/Users/chris/Projects/sprockets"
25
+
26
+
27
+ # Load support files
28
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
metadata ADDED
@@ -0,0 +1,427 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wireframe-sass-rails
3
+ version: !ruby/object:Gem::Version
4
+ hash: 117
5
+ prerelease:
6
+ segments:
7
+ - 3
8
+ - 1
9
+ - 0
10
+ - 1
11
+ version: 3.1.0.1
12
+ platform: ruby
13
+ authors:
14
+ - wycats
15
+ - chriseppstein
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2011-09-02 00:00:00 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: sass
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 11
31
+ segments:
32
+ - 3
33
+ - 1
34
+ - 4
35
+ version: 3.1.4
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ name: railties
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ hash: 3
47
+ segments:
48
+ - 3
49
+ - 1
50
+ - 0
51
+ version: 3.1.0
52
+ type: :runtime
53
+ version_requirements: *id002
54
+ - !ruby/object:Gem::Dependency
55
+ name: actionpack
56
+ prerelease: false
57
+ requirement: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ hash: 3
63
+ segments:
64
+ - 3
65
+ - 1
66
+ - 0
67
+ version: 3.1.0
68
+ type: :runtime
69
+ version_requirements: *id003
70
+ description: Sass adapter for the Rails asset pipeline.
71
+ email:
72
+ - wycats@gmail.com
73
+ - chris@eppsteins.net
74
+ executables: []
75
+
76
+ extensions: []
77
+
78
+ extra_rdoc_files: []
79
+
80
+ files:
81
+ - .gitignore
82
+ - Gemfile
83
+ - README.markdown
84
+ - Rakefile
85
+ - lib/rails/generators/sass/assets/assets_generator.rb
86
+ - lib/rails/generators/sass/assets/templates/stylesheet.css.sass
87
+ - lib/rails/generators/sass/scaffold/scaffold_generator.rb
88
+ - lib/rails/generators/sass_scaffold.rb
89
+ - lib/rails/generators/scss/assets/assets_generator.rb
90
+ - lib/rails/generators/scss/assets/templates/stylesheet.css.scss
91
+ - lib/rails/generators/scss/scaffold/scaffold_generator.rb
92
+ - lib/sass-rails.rb
93
+ - lib/sass/rails.rb
94
+ - lib/sass/rails/compressor.rb
95
+ - lib/sass/rails/helpers.rb
96
+ - lib/sass/rails/importer.rb
97
+ - lib/sass/rails/logger.rb
98
+ - lib/sass/rails/railtie.rb
99
+ - lib/sass/rails/template_handlers.rb
100
+ - lib/sass/rails/version.rb
101
+ - sass-rails.gemspec
102
+ - test/fixtures/engine_project/.gitignore
103
+ - test/fixtures/engine_project/Gemfile
104
+ - test/fixtures/engine_project/README.rdoc
105
+ - test/fixtures/engine_project/Rakefile
106
+ - test/fixtures/engine_project/app/assets/images/engine_project/.gitkeep
107
+ - test/fixtures/engine_project/app/assets/javascripts/engine_project/application.js
108
+ - test/fixtures/engine_project/app/assets/stylesheets/engine_project/application.css
109
+ - test/fixtures/engine_project/app/controllers/engine_project/application_controller.rb
110
+ - test/fixtures/engine_project/app/helpers/engine_project/application_helper.rb
111
+ - test/fixtures/engine_project/app/views/layouts/engine_project/application.html.erb
112
+ - test/fixtures/engine_project/config/routes.rb
113
+ - test/fixtures/engine_project/lib/engine_project.rb
114
+ - test/fixtures/engine_project/lib/engine_project/engine.rb
115
+ - test/fixtures/engine_project/lib/engine_project/version.rb
116
+ - test/fixtures/engine_project/lib/tasks/engine_project_tasks.rake
117
+ - test/fixtures/engine_project/script/rails
118
+ - test/fixtures/engine_project/test/dummy/Rakefile
119
+ - test/fixtures/engine_project/test/dummy/app/assets/javascripts/application.js
120
+ - test/fixtures/engine_project/test/dummy/app/assets/stylesheets/application.css
121
+ - test/fixtures/engine_project/test/dummy/app/controllers/application_controller.rb
122
+ - test/fixtures/engine_project/test/dummy/app/helpers/application_helper.rb
123
+ - test/fixtures/engine_project/test/dummy/app/mailers/.gitkeep
124
+ - test/fixtures/engine_project/test/dummy/app/models/.gitkeep
125
+ - test/fixtures/engine_project/test/dummy/app/views/layouts/application.html.erb
126
+ - test/fixtures/engine_project/test/dummy/config.ru
127
+ - test/fixtures/engine_project/test/dummy/config/application.rb
128
+ - test/fixtures/engine_project/test/dummy/config/boot.rb
129
+ - test/fixtures/engine_project/test/dummy/config/database.yml
130
+ - test/fixtures/engine_project/test/dummy/config/environment.rb
131
+ - test/fixtures/engine_project/test/dummy/config/environments/development.rb
132
+ - test/fixtures/engine_project/test/dummy/config/environments/production.rb
133
+ - test/fixtures/engine_project/test/dummy/config/environments/test.rb
134
+ - test/fixtures/engine_project/test/dummy/config/initializers/backtrace_silencers.rb
135
+ - test/fixtures/engine_project/test/dummy/config/initializers/inflections.rb
136
+ - test/fixtures/engine_project/test/dummy/config/initializers/mime_types.rb
137
+ - test/fixtures/engine_project/test/dummy/config/initializers/secret_token.rb
138
+ - test/fixtures/engine_project/test/dummy/config/initializers/session_store.rb
139
+ - test/fixtures/engine_project/test/dummy/config/initializers/wrap_parameters.rb
140
+ - test/fixtures/engine_project/test/dummy/config/locales/en.yml
141
+ - test/fixtures/engine_project/test/dummy/config/routes.rb
142
+ - test/fixtures/engine_project/test/dummy/lib/assets/.gitkeep
143
+ - test/fixtures/engine_project/test/dummy/log/.gitkeep
144
+ - test/fixtures/engine_project/test/dummy/public/404.html
145
+ - test/fixtures/engine_project/test/dummy/public/422.html
146
+ - test/fixtures/engine_project/test/dummy/public/500.html
147
+ - test/fixtures/engine_project/test/dummy/public/favicon.ico
148
+ - test/fixtures/engine_project/test/dummy/script/rails
149
+ - test/fixtures/sass_project/.gitignore
150
+ - test/fixtures/sass_project/Gemfile
151
+ - test/fixtures/sass_project/README
152
+ - test/fixtures/sass_project/Rakefile
153
+ - test/fixtures/sass_project/app/assets/images/rails.png
154
+ - test/fixtures/sass_project/app/assets/javascripts/application.js
155
+ - test/fixtures/sass_project/app/assets/stylesheets/application.css
156
+ - test/fixtures/sass_project/app/controllers/application_controller.rb
157
+ - test/fixtures/sass_project/app/helpers/application_helper.rb
158
+ - test/fixtures/sass_project/app/mailers/.gitkeep
159
+ - test/fixtures/sass_project/app/models/.gitkeep
160
+ - test/fixtures/sass_project/app/views/layouts/application.html.erb
161
+ - test/fixtures/sass_project/config.ru
162
+ - test/fixtures/sass_project/config/application.rb
163
+ - test/fixtures/sass_project/config/boot.rb
164
+ - test/fixtures/sass_project/config/database.yml
165
+ - test/fixtures/sass_project/config/environment.rb
166
+ - test/fixtures/sass_project/config/environments/development.rb
167
+ - test/fixtures/sass_project/config/environments/production.rb
168
+ - test/fixtures/sass_project/config/environments/test.rb
169
+ - test/fixtures/sass_project/config/initializers/backtrace_silencers.rb
170
+ - test/fixtures/sass_project/config/initializers/inflections.rb
171
+ - test/fixtures/sass_project/config/initializers/mime_types.rb
172
+ - test/fixtures/sass_project/config/initializers/secret_token.rb
173
+ - test/fixtures/sass_project/config/initializers/session_store.rb
174
+ - test/fixtures/sass_project/config/initializers/wrap_parameters.rb
175
+ - test/fixtures/sass_project/config/locales/en.yml
176
+ - test/fixtures/sass_project/config/routes.rb
177
+ - test/fixtures/sass_project/db/seeds.rb
178
+ - test/fixtures/sass_project/doc/README_FOR_APP
179
+ - test/fixtures/sass_project/lib/tasks/.gitkeep
180
+ - test/fixtures/sass_project/log/.gitkeep
181
+ - test/fixtures/sass_project/public/404.html
182
+ - test/fixtures/sass_project/public/422.html
183
+ - test/fixtures/sass_project/public/500.html
184
+ - test/fixtures/sass_project/public/favicon.ico
185
+ - test/fixtures/sass_project/public/index.html
186
+ - test/fixtures/sass_project/public/robots.txt
187
+ - test/fixtures/sass_project/script/rails
188
+ - test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep
189
+ - test/fixtures/sass_project/vendor/plugins/.gitkeep
190
+ - test/fixtures/scss_project/.gitignore
191
+ - test/fixtures/scss_project/Gemfile
192
+ - test/fixtures/scss_project/README
193
+ - test/fixtures/scss_project/Rakefile
194
+ - test/fixtures/scss_project/app/assets/images/rails.png
195
+ - test/fixtures/scss_project/app/assets/javascripts/application.js
196
+ - test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss
197
+ - test/fixtures/scss_project/app/assets/stylesheets/application.css.scss
198
+ - test/fixtures/scss_project/app/assets/stylesheets/css_application.css
199
+ - test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss
200
+ - test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
201
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass
202
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss
203
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/_without_css_ext.scss
204
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass
205
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss
206
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss
207
+ - test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css
208
+ - test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css
209
+ - test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss
210
+ - test/fixtures/scss_project/app/controllers/application_controller.rb
211
+ - test/fixtures/scss_project/app/helpers/application_helper.rb
212
+ - test/fixtures/scss_project/app/mailers/.gitkeep
213
+ - test/fixtures/scss_project/app/models/.gitkeep
214
+ - test/fixtures/scss_project/app/views/layouts/application.html.erb
215
+ - test/fixtures/scss_project/config.ru
216
+ - test/fixtures/scss_project/config/application.rb
217
+ - test/fixtures/scss_project/config/boot.rb
218
+ - test/fixtures/scss_project/config/database.yml
219
+ - test/fixtures/scss_project/config/environment.rb
220
+ - test/fixtures/scss_project/config/environments/development.rb
221
+ - test/fixtures/scss_project/config/environments/production.rb
222
+ - test/fixtures/scss_project/config/environments/test.rb
223
+ - test/fixtures/scss_project/config/initializers/backtrace_silencers.rb
224
+ - test/fixtures/scss_project/config/initializers/inflections.rb
225
+ - test/fixtures/scss_project/config/initializers/mime_types.rb
226
+ - test/fixtures/scss_project/config/initializers/secret_token.rb
227
+ - test/fixtures/scss_project/config/initializers/session_store.rb
228
+ - test/fixtures/scss_project/config/initializers/wrap_parameters.rb
229
+ - test/fixtures/scss_project/config/locales/en.yml
230
+ - test/fixtures/scss_project/config/routes.rb
231
+ - test/fixtures/scss_project/db/seeds.rb
232
+ - test/fixtures/scss_project/doc/README_FOR_APP
233
+ - test/fixtures/scss_project/lib/tasks/.gitkeep
234
+ - test/fixtures/scss_project/log/.gitkeep
235
+ - test/fixtures/scss_project/public/404.html
236
+ - test/fixtures/scss_project/public/422.html
237
+ - test/fixtures/scss_project/public/500.html
238
+ - test/fixtures/scss_project/public/favicon.ico
239
+ - test/fixtures/scss_project/public/index.html
240
+ - test/fixtures/scss_project/public/robots.txt
241
+ - test/fixtures/scss_project/script/rails
242
+ - test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep
243
+ - test/fixtures/scss_project/vendor/plugins/.gitkeep
244
+ - test/sass_rails_logger_test.rb
245
+ - test/sass_rails_test.rb
246
+ - test/support/sass_rails_test_case.rb
247
+ - test/test_helper.rb
248
+ homepage: ""
249
+ licenses: []
250
+
251
+ post_install_message:
252
+ rdoc_options: []
253
+
254
+ require_paths:
255
+ - lib
256
+ required_ruby_version: !ruby/object:Gem::Requirement
257
+ none: false
258
+ requirements:
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ hash: 3
262
+ segments:
263
+ - 0
264
+ version: "0"
265
+ required_rubygems_version: !ruby/object:Gem::Requirement
266
+ none: false
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ hash: 3
271
+ segments:
272
+ - 0
273
+ version: "0"
274
+ requirements: []
275
+
276
+ rubyforge_project: sass-rails
277
+ rubygems_version: 1.8.5
278
+ signing_key:
279
+ specification_version: 3
280
+ summary: Sass adapter for the Rails asset pipeline.
281
+ test_files:
282
+ - test/fixtures/engine_project/.gitignore
283
+ - test/fixtures/engine_project/Gemfile
284
+ - test/fixtures/engine_project/README.rdoc
285
+ - test/fixtures/engine_project/Rakefile
286
+ - test/fixtures/engine_project/app/assets/images/engine_project/.gitkeep
287
+ - test/fixtures/engine_project/app/assets/javascripts/engine_project/application.js
288
+ - test/fixtures/engine_project/app/assets/stylesheets/engine_project/application.css
289
+ - test/fixtures/engine_project/app/controllers/engine_project/application_controller.rb
290
+ - test/fixtures/engine_project/app/helpers/engine_project/application_helper.rb
291
+ - test/fixtures/engine_project/app/views/layouts/engine_project/application.html.erb
292
+ - test/fixtures/engine_project/config/routes.rb
293
+ - test/fixtures/engine_project/lib/engine_project.rb
294
+ - test/fixtures/engine_project/lib/engine_project/engine.rb
295
+ - test/fixtures/engine_project/lib/engine_project/version.rb
296
+ - test/fixtures/engine_project/lib/tasks/engine_project_tasks.rake
297
+ - test/fixtures/engine_project/script/rails
298
+ - test/fixtures/engine_project/test/dummy/Rakefile
299
+ - test/fixtures/engine_project/test/dummy/app/assets/javascripts/application.js
300
+ - test/fixtures/engine_project/test/dummy/app/assets/stylesheets/application.css
301
+ - test/fixtures/engine_project/test/dummy/app/controllers/application_controller.rb
302
+ - test/fixtures/engine_project/test/dummy/app/helpers/application_helper.rb
303
+ - test/fixtures/engine_project/test/dummy/app/mailers/.gitkeep
304
+ - test/fixtures/engine_project/test/dummy/app/models/.gitkeep
305
+ - test/fixtures/engine_project/test/dummy/app/views/layouts/application.html.erb
306
+ - test/fixtures/engine_project/test/dummy/config.ru
307
+ - test/fixtures/engine_project/test/dummy/config/application.rb
308
+ - test/fixtures/engine_project/test/dummy/config/boot.rb
309
+ - test/fixtures/engine_project/test/dummy/config/database.yml
310
+ - test/fixtures/engine_project/test/dummy/config/environment.rb
311
+ - test/fixtures/engine_project/test/dummy/config/environments/development.rb
312
+ - test/fixtures/engine_project/test/dummy/config/environments/production.rb
313
+ - test/fixtures/engine_project/test/dummy/config/environments/test.rb
314
+ - test/fixtures/engine_project/test/dummy/config/initializers/backtrace_silencers.rb
315
+ - test/fixtures/engine_project/test/dummy/config/initializers/inflections.rb
316
+ - test/fixtures/engine_project/test/dummy/config/initializers/mime_types.rb
317
+ - test/fixtures/engine_project/test/dummy/config/initializers/secret_token.rb
318
+ - test/fixtures/engine_project/test/dummy/config/initializers/session_store.rb
319
+ - test/fixtures/engine_project/test/dummy/config/initializers/wrap_parameters.rb
320
+ - test/fixtures/engine_project/test/dummy/config/locales/en.yml
321
+ - test/fixtures/engine_project/test/dummy/config/routes.rb
322
+ - test/fixtures/engine_project/test/dummy/lib/assets/.gitkeep
323
+ - test/fixtures/engine_project/test/dummy/log/.gitkeep
324
+ - test/fixtures/engine_project/test/dummy/public/404.html
325
+ - test/fixtures/engine_project/test/dummy/public/422.html
326
+ - test/fixtures/engine_project/test/dummy/public/500.html
327
+ - test/fixtures/engine_project/test/dummy/public/favicon.ico
328
+ - test/fixtures/engine_project/test/dummy/script/rails
329
+ - test/fixtures/sass_project/.gitignore
330
+ - test/fixtures/sass_project/Gemfile
331
+ - test/fixtures/sass_project/README
332
+ - test/fixtures/sass_project/Rakefile
333
+ - test/fixtures/sass_project/app/assets/images/rails.png
334
+ - test/fixtures/sass_project/app/assets/javascripts/application.js
335
+ - test/fixtures/sass_project/app/assets/stylesheets/application.css
336
+ - test/fixtures/sass_project/app/controllers/application_controller.rb
337
+ - test/fixtures/sass_project/app/helpers/application_helper.rb
338
+ - test/fixtures/sass_project/app/mailers/.gitkeep
339
+ - test/fixtures/sass_project/app/models/.gitkeep
340
+ - test/fixtures/sass_project/app/views/layouts/application.html.erb
341
+ - test/fixtures/sass_project/config.ru
342
+ - test/fixtures/sass_project/config/application.rb
343
+ - test/fixtures/sass_project/config/boot.rb
344
+ - test/fixtures/sass_project/config/database.yml
345
+ - test/fixtures/sass_project/config/environment.rb
346
+ - test/fixtures/sass_project/config/environments/development.rb
347
+ - test/fixtures/sass_project/config/environments/production.rb
348
+ - test/fixtures/sass_project/config/environments/test.rb
349
+ - test/fixtures/sass_project/config/initializers/backtrace_silencers.rb
350
+ - test/fixtures/sass_project/config/initializers/inflections.rb
351
+ - test/fixtures/sass_project/config/initializers/mime_types.rb
352
+ - test/fixtures/sass_project/config/initializers/secret_token.rb
353
+ - test/fixtures/sass_project/config/initializers/session_store.rb
354
+ - test/fixtures/sass_project/config/initializers/wrap_parameters.rb
355
+ - test/fixtures/sass_project/config/locales/en.yml
356
+ - test/fixtures/sass_project/config/routes.rb
357
+ - test/fixtures/sass_project/db/seeds.rb
358
+ - test/fixtures/sass_project/doc/README_FOR_APP
359
+ - test/fixtures/sass_project/lib/tasks/.gitkeep
360
+ - test/fixtures/sass_project/log/.gitkeep
361
+ - test/fixtures/sass_project/public/404.html
362
+ - test/fixtures/sass_project/public/422.html
363
+ - test/fixtures/sass_project/public/500.html
364
+ - test/fixtures/sass_project/public/favicon.ico
365
+ - test/fixtures/sass_project/public/index.html
366
+ - test/fixtures/sass_project/public/robots.txt
367
+ - test/fixtures/sass_project/script/rails
368
+ - test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep
369
+ - test/fixtures/sass_project/vendor/plugins/.gitkeep
370
+ - test/fixtures/scss_project/.gitignore
371
+ - test/fixtures/scss_project/Gemfile
372
+ - test/fixtures/scss_project/README
373
+ - test/fixtures/scss_project/Rakefile
374
+ - test/fixtures/scss_project/app/assets/images/rails.png
375
+ - test/fixtures/scss_project/app/assets/javascripts/application.js
376
+ - test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss
377
+ - test/fixtures/scss_project/app/assets/stylesheets/application.css.scss
378
+ - test/fixtures/scss_project/app/assets/stylesheets/css_application.css
379
+ - test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss
380
+ - test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
381
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass
382
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss
383
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/_without_css_ext.scss
384
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass
385
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss
386
+ - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss
387
+ - test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css
388
+ - test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css
389
+ - test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss
390
+ - test/fixtures/scss_project/app/controllers/application_controller.rb
391
+ - test/fixtures/scss_project/app/helpers/application_helper.rb
392
+ - test/fixtures/scss_project/app/mailers/.gitkeep
393
+ - test/fixtures/scss_project/app/models/.gitkeep
394
+ - test/fixtures/scss_project/app/views/layouts/application.html.erb
395
+ - test/fixtures/scss_project/config.ru
396
+ - test/fixtures/scss_project/config/application.rb
397
+ - test/fixtures/scss_project/config/boot.rb
398
+ - test/fixtures/scss_project/config/database.yml
399
+ - test/fixtures/scss_project/config/environment.rb
400
+ - test/fixtures/scss_project/config/environments/development.rb
401
+ - test/fixtures/scss_project/config/environments/production.rb
402
+ - test/fixtures/scss_project/config/environments/test.rb
403
+ - test/fixtures/scss_project/config/initializers/backtrace_silencers.rb
404
+ - test/fixtures/scss_project/config/initializers/inflections.rb
405
+ - test/fixtures/scss_project/config/initializers/mime_types.rb
406
+ - test/fixtures/scss_project/config/initializers/secret_token.rb
407
+ - test/fixtures/scss_project/config/initializers/session_store.rb
408
+ - test/fixtures/scss_project/config/initializers/wrap_parameters.rb
409
+ - test/fixtures/scss_project/config/locales/en.yml
410
+ - test/fixtures/scss_project/config/routes.rb
411
+ - test/fixtures/scss_project/db/seeds.rb
412
+ - test/fixtures/scss_project/doc/README_FOR_APP
413
+ - test/fixtures/scss_project/lib/tasks/.gitkeep
414
+ - test/fixtures/scss_project/log/.gitkeep
415
+ - test/fixtures/scss_project/public/404.html
416
+ - test/fixtures/scss_project/public/422.html
417
+ - test/fixtures/scss_project/public/500.html
418
+ - test/fixtures/scss_project/public/favicon.ico
419
+ - test/fixtures/scss_project/public/index.html
420
+ - test/fixtures/scss_project/public/robots.txt
421
+ - test/fixtures/scss_project/script/rails
422
+ - test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep
423
+ - test/fixtures/scss_project/vendor/plugins/.gitkeep
424
+ - test/sass_rails_logger_test.rb
425
+ - test/sass_rails_test.rb
426
+ - test/support/sass_rails_test_case.rb
427
+ - test/test_helper.rb