sass-rails 4.0.3 → 6.0.0

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 (245) hide show
  1. checksums.yaml +5 -5
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +27 -22
  4. data/lib/sass-rails.rb +1 -1
  5. data/lib/sass/rails.rb +1 -11
  6. data/lib/sass/rails/importer.rb +3 -102
  7. data/lib/sass/rails/logger.rb +3 -19
  8. data/lib/sass/rails/railtie.rb +1 -71
  9. data/lib/sass/rails/version.rb +1 -1
  10. metadata +10 -513
  11. data/.gitignore +0 -6
  12. data/.travis.yml +0 -22
  13. data/CHANGELOG.md +0 -48
  14. data/Gemfile +0 -8
  15. data/Rakefile +0 -29
  16. data/lib/rails/generators/sass/assets/assets_generator.rb +0 -13
  17. data/lib/rails/generators/sass/assets/templates/stylesheet.css.sass +0 -3
  18. data/lib/rails/generators/sass/scaffold/scaffold_generator.rb +0 -9
  19. data/lib/rails/generators/sass_scaffold.rb +0 -16
  20. data/lib/rails/generators/scss/assets/assets_generator.rb +0 -13
  21. data/lib/rails/generators/scss/assets/templates/stylesheet.css.scss +0 -3
  22. data/lib/rails/generators/scss/scaffold/scaffold_generator.rb +0 -10
  23. data/lib/sass/rails/helpers.rb +0 -30
  24. data/lib/sass/rails/template.rb +0 -28
  25. data/sass-rails.gemspec +0 -27
  26. data/sass-rails.gemspec.erb +0 -27
  27. data/test/fixtures/alternate_config_project/.gitignore +0 -5
  28. data/test/fixtures/alternate_config_project/Gemfile +0 -7
  29. data/test/fixtures/alternate_config_project/README +0 -261
  30. data/test/fixtures/alternate_config_project/Rakefile +0 -7
  31. data/test/fixtures/alternate_config_project/app/assets/images/1x1.png +0 -0
  32. data/test/fixtures/alternate_config_project/app/assets/images/rails.png +0 -0
  33. data/test/fixtures/alternate_config_project/app/assets/javascripts/application.js +0 -9
  34. data/test/fixtures/alternate_config_project/app/assets/stylesheets/_top_level_partial.css.scss +0 -3
  35. data/test/fixtures/alternate_config_project/app/assets/stylesheets/application.css.scss +0 -32
  36. data/test/fixtures/alternate_config_project/app/assets/stylesheets/css_application.css +0 -7
  37. data/test/fixtures/alternate_config_project/app/assets/stylesheets/globbed/globbed.css.scss +0 -3
  38. data/test/fixtures/alternate_config_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss +0 -3
  39. data/test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_sass_import.css.sass +0 -5
  40. data/test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_scss_import.css.scss +0 -9
  41. data/test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_without_css_ext.scss +0 -3
  42. data/test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass +0 -2
  43. data/test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss +0 -3
  44. data/test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss +0 -3
  45. data/test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/another_plain.css +0 -3
  46. data/test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/plain.css +0 -3
  47. data/test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/second_level.css.scss +0 -1
  48. data/test/fixtures/alternate_config_project/app/controllers/application_controller.rb +0 -3
  49. data/test/fixtures/alternate_config_project/app/helpers/application_helper.rb +0 -2
  50. data/test/fixtures/alternate_config_project/app/mailers/.gitkeep +0 -0
  51. data/test/fixtures/alternate_config_project/app/models/.gitkeep +0 -0
  52. data/test/fixtures/alternate_config_project/app/views/layouts/application.html.erb +0 -14
  53. data/test/fixtures/alternate_config_project/config.ru +0 -4
  54. data/test/fixtures/alternate_config_project/config/application.rb +0 -49
  55. data/test/fixtures/alternate_config_project/config/boot.rb +0 -6
  56. data/test/fixtures/alternate_config_project/config/database.yml +0 -25
  57. data/test/fixtures/alternate_config_project/config/environment.rb +0 -5
  58. data/test/fixtures/alternate_config_project/config/environments/development.rb +0 -27
  59. data/test/fixtures/alternate_config_project/config/environments/production.rb +0 -56
  60. data/test/fixtures/alternate_config_project/config/environments/test.rb +0 -38
  61. data/test/fixtures/alternate_config_project/config/initializers/backtrace_silencers.rb +0 -7
  62. data/test/fixtures/alternate_config_project/config/initializers/inflections.rb +0 -10
  63. data/test/fixtures/alternate_config_project/config/initializers/mime_types.rb +0 -5
  64. data/test/fixtures/alternate_config_project/config/initializers/secret_token.rb +0 -7
  65. data/test/fixtures/alternate_config_project/config/initializers/session_store.rb +0 -8
  66. data/test/fixtures/alternate_config_project/config/initializers/wrap_parameters.rb +0 -12
  67. data/test/fixtures/alternate_config_project/config/locales/en.yml +0 -5
  68. data/test/fixtures/alternate_config_project/config/routes.rb +0 -58
  69. data/test/fixtures/alternate_config_project/db/seeds.rb +0 -7
  70. data/test/fixtures/alternate_config_project/doc/README_FOR_APP +0 -2
  71. data/test/fixtures/alternate_config_project/lib/tasks/.gitkeep +0 -0
  72. data/test/fixtures/alternate_config_project/log/.gitkeep +0 -0
  73. data/test/fixtures/alternate_config_project/public/404.html +0 -26
  74. data/test/fixtures/alternate_config_project/public/422.html +0 -26
  75. data/test/fixtures/alternate_config_project/public/500.html +0 -26
  76. data/test/fixtures/alternate_config_project/public/favicon.ico +0 -0
  77. data/test/fixtures/alternate_config_project/public/index.html +0 -241
  78. data/test/fixtures/alternate_config_project/public/robots.txt +0 -5
  79. data/test/fixtures/alternate_config_project/script/rails +0 -6
  80. data/test/fixtures/alternate_config_project/vendor/assets/stylesheets/.gitkeep +0 -0
  81. data/test/fixtures/alternate_config_project/vendor/plugins/.gitkeep +0 -0
  82. data/test/fixtures/engine_project/.gitignore +0 -8
  83. data/test/fixtures/engine_project/Gemfile +0 -14
  84. data/test/fixtures/engine_project/MIT-LICENSE +0 -20
  85. data/test/fixtures/engine_project/README.rdoc +0 -3
  86. data/test/fixtures/engine_project/Rakefile +0 -34
  87. data/test/fixtures/engine_project/app/assets/images/engine_project/.keep +0 -0
  88. data/test/fixtures/engine_project/app/assets/javascripts/engine_project/application.js +0 -16
  89. data/test/fixtures/engine_project/app/assets/stylesheets/engine_project/application.css +0 -13
  90. data/test/fixtures/engine_project/app/controllers/engine_project/application_controller.rb +0 -4
  91. data/test/fixtures/engine_project/app/helpers/engine_project/application_helper.rb +0 -4
  92. data/test/fixtures/engine_project/app/views/layouts/engine_project/application.html.erb +0 -14
  93. data/test/fixtures/engine_project/config/routes.rb +0 -2
  94. data/test/fixtures/engine_project/engine_project.gemspec +0 -23
  95. data/test/fixtures/engine_project/lib/engine_project.rb +0 -4
  96. data/test/fixtures/engine_project/lib/engine_project/engine.rb +0 -5
  97. data/test/fixtures/engine_project/lib/engine_project/version.rb +0 -3
  98. data/test/fixtures/engine_project/lib/tasks/engine_project_tasks.rake +0 -4
  99. data/test/fixtures/engine_project/script/rails +0 -8
  100. data/test/fixtures/engine_project/test/dummy/README.rdoc +0 -28
  101. data/test/fixtures/engine_project/test/dummy/Rakefile +0 -6
  102. data/test/fixtures/engine_project/test/dummy/app/assets/javascripts/application.js +0 -16
  103. data/test/fixtures/engine_project/test/dummy/app/assets/stylesheets/application.css +0 -13
  104. data/test/fixtures/engine_project/test/dummy/app/controllers/application_controller.rb +0 -5
  105. data/test/fixtures/engine_project/test/dummy/app/controllers/concerns/.keep +0 -0
  106. data/test/fixtures/engine_project/test/dummy/app/helpers/application_helper.rb +0 -2
  107. data/test/fixtures/engine_project/test/dummy/app/mailers/.keep +0 -0
  108. data/test/fixtures/engine_project/test/dummy/app/models/.keep +0 -0
  109. data/test/fixtures/engine_project/test/dummy/app/models/concerns/.keep +0 -0
  110. data/test/fixtures/engine_project/test/dummy/app/views/layouts/application.html.erb +0 -14
  111. data/test/fixtures/engine_project/test/dummy/bin/bundle +0 -3
  112. data/test/fixtures/engine_project/test/dummy/bin/rails +0 -4
  113. data/test/fixtures/engine_project/test/dummy/bin/rake +0 -4
  114. data/test/fixtures/engine_project/test/dummy/config.ru +0 -4
  115. data/test/fixtures/engine_project/test/dummy/config/application.rb +0 -23
  116. data/test/fixtures/engine_project/test/dummy/config/boot.rb +0 -9
  117. data/test/fixtures/engine_project/test/dummy/config/database.yml +0 -25
  118. data/test/fixtures/engine_project/test/dummy/config/environment.rb +0 -5
  119. data/test/fixtures/engine_project/test/dummy/config/environments/development.rb +0 -27
  120. data/test/fixtures/engine_project/test/dummy/config/environments/production.rb +0 -80
  121. data/test/fixtures/engine_project/test/dummy/config/environments/test.rb +0 -36
  122. data/test/fixtures/engine_project/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  123. data/test/fixtures/engine_project/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  124. data/test/fixtures/engine_project/test/dummy/config/initializers/inflections.rb +0 -16
  125. data/test/fixtures/engine_project/test/dummy/config/initializers/mime_types.rb +0 -5
  126. data/test/fixtures/engine_project/test/dummy/config/initializers/secret_token.rb +0 -12
  127. data/test/fixtures/engine_project/test/dummy/config/initializers/session_store.rb +0 -3
  128. data/test/fixtures/engine_project/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  129. data/test/fixtures/engine_project/test/dummy/config/locales/en.yml +0 -23
  130. data/test/fixtures/engine_project/test/dummy/config/routes.rb +0 -4
  131. data/test/fixtures/engine_project/test/dummy/lib/assets/.keep +0 -0
  132. data/test/fixtures/engine_project/test/dummy/log/.keep +0 -0
  133. data/test/fixtures/engine_project/test/dummy/public/404.html +0 -27
  134. data/test/fixtures/engine_project/test/dummy/public/422.html +0 -26
  135. data/test/fixtures/engine_project/test/dummy/public/500.html +0 -26
  136. data/test/fixtures/engine_project/test/dummy/public/favicon.ico +0 -0
  137. data/test/fixtures/sass_project/.gitignore +0 -5
  138. data/test/fixtures/sass_project/Gemfile +0 -7
  139. data/test/fixtures/sass_project/README +0 -261
  140. data/test/fixtures/sass_project/Rakefile +0 -7
  141. data/test/fixtures/sass_project/app/assets/images/rails.png +0 -0
  142. data/test/fixtures/sass_project/app/assets/javascripts/application.js +0 -9
  143. data/test/fixtures/sass_project/app/assets/stylesheets/application.css +0 -7
  144. data/test/fixtures/sass_project/app/controllers/application_controller.rb +0 -3
  145. data/test/fixtures/sass_project/app/helpers/application_helper.rb +0 -2
  146. data/test/fixtures/sass_project/app/mailers/.gitkeep +0 -0
  147. data/test/fixtures/sass_project/app/models/.gitkeep +0 -0
  148. data/test/fixtures/sass_project/app/views/layouts/application.html.erb +0 -14
  149. data/test/fixtures/sass_project/config.ru +0 -4
  150. data/test/fixtures/sass_project/config/application.rb +0 -52
  151. data/test/fixtures/sass_project/config/boot.rb +0 -6
  152. data/test/fixtures/sass_project/config/database.yml +0 -25
  153. data/test/fixtures/sass_project/config/environment.rb +0 -5
  154. data/test/fixtures/sass_project/config/environments/development.rb +0 -21
  155. data/test/fixtures/sass_project/config/environments/production.rb +0 -51
  156. data/test/fixtures/sass_project/config/environments/test.rb +0 -36
  157. data/test/fixtures/sass_project/config/initializers/backtrace_silencers.rb +0 -7
  158. data/test/fixtures/sass_project/config/initializers/inflections.rb +0 -10
  159. data/test/fixtures/sass_project/config/initializers/mime_types.rb +0 -5
  160. data/test/fixtures/sass_project/config/initializers/secret_token.rb +0 -7
  161. data/test/fixtures/sass_project/config/initializers/session_store.rb +0 -8
  162. data/test/fixtures/sass_project/config/initializers/wrap_parameters.rb +0 -12
  163. data/test/fixtures/sass_project/config/locales/en.yml +0 -5
  164. data/test/fixtures/sass_project/config/routes.rb +0 -58
  165. data/test/fixtures/sass_project/db/seeds.rb +0 -7
  166. data/test/fixtures/sass_project/doc/README_FOR_APP +0 -2
  167. data/test/fixtures/sass_project/lib/tasks/.gitkeep +0 -0
  168. data/test/fixtures/sass_project/log/.gitkeep +0 -0
  169. data/test/fixtures/sass_project/public/404.html +0 -26
  170. data/test/fixtures/sass_project/public/422.html +0 -26
  171. data/test/fixtures/sass_project/public/500.html +0 -26
  172. data/test/fixtures/sass_project/public/favicon.ico +0 -0
  173. data/test/fixtures/sass_project/public/index.html +0 -241
  174. data/test/fixtures/sass_project/public/robots.txt +0 -5
  175. data/test/fixtures/sass_project/script/rails +0 -6
  176. data/test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep +0 -0
  177. data/test/fixtures/sass_project/vendor/plugins/.gitkeep +0 -0
  178. data/test/fixtures/scss_project/.gitignore +0 -5
  179. data/test/fixtures/scss_project/Gemfile +0 -7
  180. data/test/fixtures/scss_project/README +0 -261
  181. data/test/fixtures/scss_project/Rakefile +0 -7
  182. data/test/fixtures/scss_project/app/assets/images/1x1.png +0 -0
  183. data/test/fixtures/scss_project/app/assets/images/rails.png +0 -0
  184. data/test/fixtures/scss_project/app/assets/javascripts/application.js +0 -9
  185. data/test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss +0 -3
  186. data/test/fixtures/scss_project/app/assets/stylesheets/application.css.scss +0 -37
  187. data/test/fixtures/scss_project/app/assets/stylesheets/css_application.css +0 -7
  188. data/test/fixtures/scss_project/app/assets/stylesheets/css_erb_handler.css.erb +0 -3
  189. data/test/fixtures/scss_project/app/assets/stylesheets/css_sass_erb_handler.css.sass.erb +0 -2
  190. data/test/fixtures/scss_project/app/assets/stylesheets/css_scss_erb_handler.css.scss.erb +0 -3
  191. data/test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss +0 -3
  192. data/test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss +0 -3
  193. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass +0 -5
  194. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss +0 -9
  195. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_without_css_ext.scss +0 -3
  196. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass +0 -2
  197. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss +0 -3
  198. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss +0 -3
  199. data/test/fixtures/scss_project/app/assets/stylesheets/sass_erb_handler.sass.erb +0 -2
  200. data/test/fixtures/scss_project/app/assets/stylesheets/scss_erb_handler.scss.erb +0 -3
  201. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/_defaults.css.scss +0 -3
  202. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css +0 -3
  203. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css +0 -3
  204. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss +0 -2
  205. data/test/fixtures/scss_project/app/controllers/application_controller.rb +0 -3
  206. data/test/fixtures/scss_project/app/helpers/application_helper.rb +0 -2
  207. data/test/fixtures/scss_project/app/mailers/.gitkeep +0 -0
  208. data/test/fixtures/scss_project/app/models/.gitkeep +0 -0
  209. data/test/fixtures/scss_project/app/views/layouts/application.html.erb +0 -14
  210. data/test/fixtures/scss_project/config.ru +0 -4
  211. data/test/fixtures/scss_project/config/application.rb +0 -49
  212. data/test/fixtures/scss_project/config/boot.rb +0 -6
  213. data/test/fixtures/scss_project/config/database.yml +0 -25
  214. data/test/fixtures/scss_project/config/environment.rb +0 -5
  215. data/test/fixtures/scss_project/config/environments/development.rb +0 -23
  216. data/test/fixtures/scss_project/config/environments/production.rb +0 -53
  217. data/test/fixtures/scss_project/config/environments/test.rb +0 -38
  218. data/test/fixtures/scss_project/config/initializers/backtrace_silencers.rb +0 -7
  219. data/test/fixtures/scss_project/config/initializers/inflections.rb +0 -10
  220. data/test/fixtures/scss_project/config/initializers/mime_types.rb +0 -5
  221. data/test/fixtures/scss_project/config/initializers/postprocessor.rb +0 -3
  222. data/test/fixtures/scss_project/config/initializers/secret_token.rb +0 -7
  223. data/test/fixtures/scss_project/config/initializers/session_store.rb +0 -8
  224. data/test/fixtures/scss_project/config/initializers/wrap_parameters.rb +0 -12
  225. data/test/fixtures/scss_project/config/locales/en.yml +0 -5
  226. data/test/fixtures/scss_project/config/routes.rb +0 -58
  227. data/test/fixtures/scss_project/db/seeds.rb +0 -7
  228. data/test/fixtures/scss_project/doc/README_FOR_APP +0 -2
  229. data/test/fixtures/scss_project/lib/tasks/.gitkeep +0 -0
  230. data/test/fixtures/scss_project/log/.gitkeep +0 -0
  231. data/test/fixtures/scss_project/public/404.html +0 -26
  232. data/test/fixtures/scss_project/public/422.html +0 -26
  233. data/test/fixtures/scss_project/public/500.html +0 -26
  234. data/test/fixtures/scss_project/public/favicon.ico +0 -0
  235. data/test/fixtures/scss_project/public/index.html +0 -241
  236. data/test/fixtures/scss_project/public/robots.txt +0 -5
  237. data/test/fixtures/scss_project/script/rails +0 -6
  238. data/test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep +0 -0
  239. data/test/fixtures/scss_project/vendor/plugins/.gitkeep +0 -0
  240. data/test/gemfiles/Gemfile-master +0 -8
  241. data/test/sass_rails_generators_test.rb +0 -62
  242. data/test/sass_rails_logger_test.rb +0 -24
  243. data/test/sass_rails_test.rb +0 -133
  244. data/test/support/sass_rails_test_case.rb +0 -166
  245. data/test/test_helper.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 54dce7aa277951f8a75d414c3d306bcb31e8f197
4
- data.tar.gz: 24ac93add7c710d1bc971ca6fd128a4d1c983559
2
+ SHA256:
3
+ metadata.gz: d162298f6dcc547ef3c5e3e51d6d5bca7df731e8161737f03b01b05e3c77aba3
4
+ data.tar.gz: 2f10eb26a35786fa327e5ede671c6e487881c6bf85cce2eea5481aec63ab99db
5
5
  SHA512:
6
- metadata.gz: 10f18b7e6991934d836c7bf6beeda155b943a700440b9cd9fe95c31f204744aa5e984a9bd4ee74ede0d6938fff753c83ee29d95ba2ff1e8010e9cc30dd3e25f9
7
- data.tar.gz: e203aa3c350946f547b14eb6d2c2e035d880e7cd656675e3e54ea08e0f374a4d99bd821f1a9835748266c83d870362dbdd81b09618da9e2a1608a1f9f11d552f
6
+ metadata.gz: 4862c7852e9d3928e48ef3d8a314e8872557d94345a8a8845f6c3fc7f80e0166947c07fbf09d11505a86b3f8075d933f5576c45ef5d90eadcf0980707cbf549e
7
+ data.tar.gz: 75616f8708d8f20b2d32d84adf73d779c193c18d6ac7784a3d9ba10fc4309e7694dc39f09087daf6ec993357e363ebe2d2e3292160ae4e2944ed6e50f105a3da
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Christopher Eppstein
1
+ Copyright (c) 2011-2019 Christopher Eppstein
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -6,7 +6,9 @@ This gem provides official integration for Ruby on Rails projects with the Sass
6
6
 
7
7
  Since Rails 3.1, new Rails projects will be already configured to use Sass. If you are upgrading to Rails 3.1 you will need to add the following to your Gemfile:
8
8
 
9
- gem 'sass-rails'
9
+ ```ruby
10
+ gem 'sass-rails'
11
+ ```
10
12
 
11
13
  ## Configuration
12
14
 
@@ -16,23 +18,27 @@ properties that will be passed to Sass.
16
18
 
17
19
  ### Options
18
20
 
19
- The [list of supported options](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#options)
21
+ - `preferred_syntax` - This option determines the default Sass syntax and file extensions that will be used by Rails generators. Can be `:scss` (default CSS-compatible SCSS syntax) or `:sass` (indented Sass syntax).
22
+
23
+ The [list of supported Sass options](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#options)
20
24
  can be found on the Sass Website with the following caveats:
21
25
 
22
- 1. `:style` - This option is not supported. This is determined by the Rails environment. It's `:expanded` only on development, otherwise it's `:compressed`.
23
- 2. `:never_update` - This option is not supported. Instead set `config.assets.enabled = false`
24
- 3. `:always_update` - This option is not supported. Sprockets uses a controller to access stylesheets in development mode instead of a full scan for changed files.
25
- 4. `:always_check` - This option is not supported. Sprockets always checks in development.
26
- 5. `:syntax` - This is determined by the file's extensions.
27
- 6. `:filename` - This is determined by the file's name.
28
- 7. `:line` - This is provided by the template handler.
26
+ - `:style` - This option is not supported. This is determined by the Rails environment. It's `:expanded` only on development, otherwise it's `:compressed`.
27
+ - `:never_update` - This option is not supported. Instead set `config.assets.enabled = false`
28
+ - `:always_update` - This option is not supported. Sprockets uses a controller to access stylesheets in development mode instead of a full scan for changed files.
29
+ - `:always_check` - This option is not supported. Sprockets always checks in development.
30
+ - `:syntax` - This is determined by the file's extensions.
31
+ - `:filename` - This is determined by the file's name.
32
+ - `:line` - This is provided by the template handler.
29
33
 
30
34
  ### Example
31
-
32
- MyProject::Application.configure do
33
- config.sass.line_comments = false
34
- config.sass.cache = false
35
- end
35
+ ```ruby
36
+ MyProject::Application.configure do
37
+ config.sass.preferred_syntax = :sass
38
+ config.sass.line_comments = false
39
+ config.sass.cache = false
40
+ end
41
+ ```
36
42
 
37
43
  ## Important Note
38
44
 
@@ -65,24 +71,24 @@ in Sass):
65
71
  #### `asset-path($relative-asset-path)`
66
72
  Returns a string to the asset.
67
73
 
68
- * `asset-path("rails.png")` becomes `"/assets/rails.png"`
74
+ * `asset-path("rails.png")` returns `"/assets/rails.png"`
69
75
 
70
76
  #### `asset-url($relative-asset-path)`
71
77
  Returns a url reference to the asset.
72
78
 
73
- * `asset-url("rails.png")` becomes `url(/assets/rails.png)`
79
+ * `asset-url("rails.png")` returns `url(/assets/rails.png)`
74
80
 
75
81
  As a convenience, for each of the following asset classes there are
76
82
  corresponding `-path` and `-url` helpers:
77
83
  image, font, video, audio, javascript, stylesheet.
78
84
 
79
- * `image-path("rails.png")` becomes `"/assets/rails.png"`
80
- * `image-url("rails.png")` becomes `url(/assets/rails.png)`
85
+ * `image-path("rails.png")` returns `"/assets/rails.png"`
86
+ * `image-url("rails.png")` returns `url(/assets/rails.png)`
81
87
 
82
88
  #### `asset-data-url($relative-asset-path)`
83
89
  Returns a url reference to the Base64-encoded asset at the specified path.
84
90
 
85
- * `asset-data-url("rails.png")` becomes `url(data:image/png;base64,iVBORw0K...)`
91
+ * `asset-data-url("rails.png")` returns `url(data:image/png;base64,iVBORw0K...)`
86
92
 
87
93
  ## Running Tests
88
94
 
@@ -93,6 +99,5 @@ If you need to test against local gems, use Bundler's gem :path option in the Ge
93
99
 
94
100
  ## Code Status
95
101
 
96
- * [![Travis CI](https://api.travis-ci.org/rails/sass-rails.png)](http://travis-ci.org/rails/sass-rails)
97
- * [![Gem Version](https://badge.fury.io/rb/sass-rails.png)](http://badge.fury.io/rb/sass-rails)
98
- * [![Dependencies](https://gemnasium.com/rails/sass-rails.png)](https://gemnasium.com/rails/sass-rails)
102
+ * [![Travis CI](https://api.travis-ci.org/rails/sass-rails.svg)](http://travis-ci.org/rails/sass-rails)
103
+ * [![Gem Version](https://badge.fury.io/rb/sass-rails.svg)](http://badge.fury.io/rb/sass-rails)
data/lib/sass-rails.rb CHANGED
@@ -1 +1 @@
1
- require 'sass/rails'
1
+ require 'sassc/rails'
data/lib/sass/rails.rb CHANGED
@@ -1,11 +1 @@
1
- module Sass
2
- module Rails
3
- autoload :Logger, 'sass/rails/logger'
4
- end
5
- end
6
-
7
- require 'sass/rails/version'
8
- require 'sass/rails/helpers'
9
- require 'sass/rails/importer'
10
- require 'sass/rails/template'
11
- require 'sass/rails/railtie'
1
+ require 'sassc/rails'
@@ -1,104 +1,5 @@
1
- require 'sprockets/sass_importer'
1
+ # frozen_string_literal: true
2
2
 
3
- module Sprockets
4
- class SassImporter < Sass::Importers::Filesystem
5
- GLOB = /\*|\[.+\]/
3
+ require "active_support/deprecation"
6
4
 
7
- attr_reader :context
8
- private :context
9
-
10
- def extensions
11
- {
12
- 'css' => :scss,
13
- 'css.scss' => :scss,
14
- 'css.sass' => :sass,
15
- 'css.erb' => :scss,
16
- 'scss.erb' => :scss,
17
- 'sass.erb' => :sass,
18
- 'css.scss.erb' => :scss,
19
- 'css.sass.erb' => :sass
20
- }.merge!(super)
21
- end
22
-
23
- def find_relative(name, base, options)
24
- if name =~ GLOB
25
- glob_imports(name, Pathname.new(base), options)
26
- else
27
- engine_from_path(name, File.dirname(base), options)
28
- end
29
- end
30
-
31
- def find(name, options)
32
- if name =~ GLOB
33
- nil # globs must be relative
34
- else
35
- engine_from_path(name, root, options)
36
- end
37
- end
38
-
39
- def each_globbed_file(glob, base_pathname, options)
40
- Dir["#{base_pathname}/#{glob}"].sort.each do |filename|
41
- next if filename == options[:filename]
42
- yield filename if File.directory?(filename) || context.asset_requirable?(filename)
43
- end
44
- end
45
-
46
- def glob_imports(glob, base_pathname, options)
47
- contents = ""
48
- each_globbed_file(glob, base_pathname.dirname, options) do |filename|
49
- if File.directory?(filename)
50
- depend_on(filename)
51
- elsif context.asset_requirable?(filename)
52
- depend_on(filename)
53
- contents << "@import #{Pathname.new(filename).relative_path_from(base_pathname.dirname).to_s.inspect};\n"
54
- end
55
- end
56
- return nil if contents.empty?
57
- Sass::Engine.new(contents, options.merge(
58
- :filename => base_pathname.to_s,
59
- :importer => self,
60
- :syntax => :scss
61
- ))
62
- end
63
-
64
- private
65
-
66
- def depend_on(filename)
67
- context.depend_on(filename)
68
- context.depend_on(globbed_file_parent(filename))
69
- end
70
-
71
- def globbed_file_parent(filename)
72
- if File.directory?(filename)
73
- File.expand_path('..', filename)
74
- else
75
- File.dirname(filename)
76
- end
77
- end
78
-
79
- def engine_from_path(name, dir, options)
80
- full_filename, syntax = Sass::Util.destructure(find_real_file(dir, name, options))
81
- return unless full_filename && File.readable?(full_filename)
82
-
83
- engine = Sass::Engine.new(evaluate(full_filename), options.merge(
84
- syntax: syntax,
85
- filename: full_filename,
86
- importer: self
87
- ))
88
-
89
- if engine && (filename = engine.options[:filename])
90
- @context.depend_on(filename)
91
- end
92
-
93
- engine
94
- end
95
-
96
- def evaluate(filename)
97
- attributes = context.environment.attributes_for(filename)
98
- processors = context.environment.preprocessors(attributes.content_type) +
99
- attributes.engines.reverse - [Sprockets::ScssTemplate, Sprockets::SassTemplate]
100
-
101
- context.evaluate(filename, processors: processors)
102
- end
103
- end
104
- end
5
+ ActiveSupport::Deprecation.warn "Sass::Rails::Importer has been removed, please use SassC::Rails::Importer instead."
@@ -1,21 +1,5 @@
1
- require 'sass/logger'
1
+ # frozen_string_literal: true
2
2
 
3
- module Sass
4
- module Rails
5
- class Logger < Sass::Logger::Base
6
- def _log(level, message)
3
+ require "active_support/deprecation"
7
4
 
8
- case level
9
- when :trace, :debug
10
- ::Rails.logger.debug message
11
- when :warn
12
- ::Rails.logger.warn message
13
- when :error
14
- ::Rails.logger.error message
15
- when :info
16
- ::Rails.logger.info message
17
- end
18
- end
19
- end
20
- end
21
- end
5
+ ActiveSupport::Deprecation.warn "Sass::Rails::Logger has been removed, please stop requiring sass/rails/logger."
@@ -1,71 +1 @@
1
- require 'sprockets/railtie'
2
-
3
- module Sass::Rails
4
- class Railtie < ::Rails::Railtie
5
- module SassContext
6
- attr_accessor :sass_config
7
- end
8
-
9
- config.sass = ActiveSupport::OrderedOptions.new
10
-
11
- # Establish static configuration defaults
12
- # Emit scss files during stylesheet generation of scaffold
13
- config.sass.preferred_syntax = :scss
14
- # Write sass cache files for performance
15
- config.sass.cache = true
16
- # Read sass cache files for performance
17
- config.sass.read_cache = true
18
- # Display line comments above each selector as a debugging aid
19
- config.sass.line_comments = true
20
- # Initialize the load paths to an empty array
21
- config.sass.load_paths = []
22
- # Send Sass logs to Rails.logger
23
- config.sass.logger = Sass::Rails::Logger.new
24
-
25
- # Set the default stylesheet engine
26
- # It can be overridedden by passing:
27
- # --stylesheet_engine=sass
28
- # to the rails generate command
29
- config.app_generators.stylesheet_engine config.sass.preferred_syntax
30
-
31
- # Remove the sass middleware if it gets inadvertently enabled by applications.
32
- config.after_initialize do |app|
33
- app.config.middleware.delete(Sass::Plugin::Rack) if defined?(Sass::Plugin::Rack)
34
- end
35
-
36
- initializer :setup_sass, group: :all do |app|
37
- # Only emit one kind of syntax because though we have registered two kinds of generators
38
- syntax = app.config.sass.preferred_syntax.to_sym
39
- alt_syntax = syntax == :sass ? "scss" : "sass"
40
- app.config.generators.hide_namespace alt_syntax
41
-
42
- # Override stylesheet engine to the preferred syntax
43
- config.app_generators.stylesheet_engine syntax
44
-
45
- # Set the sass cache location
46
- config.sass.cache_location = File.join(Rails.root, "tmp/cache/sass")
47
-
48
- # Establish configuration defaults that are evironmental in nature
49
- if config.sass.full_exception.nil?
50
- # Display a stack trace in the css output when in development-like environments.
51
- config.sass.full_exception = app.config.consider_all_requests_local
52
- end
53
-
54
- if app.assets
55
- app.assets.context_class.extend(SassContext)
56
- app.assets.context_class.sass_config = app.config.sass
57
- end
58
-
59
- Sass.logger = app.config.sass.logger
60
- end
61
-
62
- initializer :setup_compression, group: :all do |app|
63
- unless Rails.env.development?
64
- app.config.assets.css_compressor ||= :sass
65
- else
66
- # Use expanded output instead of the sass default of :nested unless specified
67
- app.config.sass.style ||= :expanded
68
- end
69
- end
70
- end
71
- end
1
+ require 'sassc/rails/railtie'
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Rails
3
- VERSION = "4.0.3"
3
+ VERSION = "6.0.0"
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: 4.0.3
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - wycats
@@ -9,76 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-04 00:00:00.000000000 Z
12
+ date: 2019-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: sass
15
+ name: sassc-rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 3.2.0
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: 3.2.0
28
- - !ruby/object:Gem::Dependency
29
- name: railties
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
20
+ version: '2.1'
32
21
  - - ">="
33
22
  - !ruby/object:Gem::Version
34
- version: 4.0.0
35
- - - "<"
36
- - !ruby/object:Gem::Version
37
- version: '5.0'
23
+ version: 2.1.1
38
24
  type: :runtime
39
25
  prerelease: false
40
26
  version_requirements: !ruby/object:Gem::Requirement
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: 4.0.0
45
- - - "<"
46
- - !ruby/object:Gem::Version
47
- version: '5.0'
48
- - !ruby/object:Gem::Dependency
49
- name: sprockets-rails
50
- requirement: !ruby/object:Gem::Requirement
51
27
  requirements:
52
28
  - - "~>"
53
29
  - !ruby/object:Gem::Version
54
- version: '2.0'
55
- type: :runtime
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2.0'
62
- - !ruby/object:Gem::Dependency
63
- name: sprockets
64
- requirement: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '2.8'
69
- - - "<="
70
- - !ruby/object:Gem::Version
71
- version: 2.11.0
72
- type: :runtime
73
- prerelease: false
74
- version_requirements: !ruby/object:Gem::Requirement
75
- requirements:
76
- - - "~>"
77
- - !ruby/object:Gem::Version
78
- version: '2.8'
79
- - - "<="
30
+ version: '2.1'
31
+ - - ">="
80
32
  - !ruby/object:Gem::Version
81
- version: 2.11.0
33
+ version: 2.1.1
82
34
  description: Sass adapter for the Rails asset pipeline.
83
35
  email:
84
36
  - wycats@gmail.com
@@ -87,249 +39,14 @@ executables: []
87
39
  extensions: []
88
40
  extra_rdoc_files: []
89
41
  files:
90
- - ".gitignore"
91
- - ".travis.yml"
92
- - CHANGELOG.md
93
- - Gemfile
94
42
  - MIT-LICENSE
95
43
  - README.md
96
- - Rakefile
97
- - lib/rails/generators/sass/assets/assets_generator.rb
98
- - lib/rails/generators/sass/assets/templates/stylesheet.css.sass
99
- - lib/rails/generators/sass/scaffold/scaffold_generator.rb
100
- - lib/rails/generators/sass_scaffold.rb
101
- - lib/rails/generators/scss/assets/assets_generator.rb
102
- - lib/rails/generators/scss/assets/templates/stylesheet.css.scss
103
- - lib/rails/generators/scss/scaffold/scaffold_generator.rb
104
44
  - lib/sass-rails.rb
105
45
  - lib/sass/rails.rb
106
- - lib/sass/rails/helpers.rb
107
46
  - lib/sass/rails/importer.rb
108
47
  - lib/sass/rails/logger.rb
109
48
  - lib/sass/rails/railtie.rb
110
- - lib/sass/rails/template.rb
111
49
  - lib/sass/rails/version.rb
112
- - sass-rails.gemspec
113
- - sass-rails.gemspec.erb
114
- - test/fixtures/alternate_config_project/.gitignore
115
- - test/fixtures/alternate_config_project/Gemfile
116
- - test/fixtures/alternate_config_project/README
117
- - test/fixtures/alternate_config_project/Rakefile
118
- - test/fixtures/alternate_config_project/app/assets/images/1x1.png
119
- - test/fixtures/alternate_config_project/app/assets/images/rails.png
120
- - test/fixtures/alternate_config_project/app/assets/javascripts/application.js
121
- - test/fixtures/alternate_config_project/app/assets/stylesheets/_top_level_partial.css.scss
122
- - test/fixtures/alternate_config_project/app/assets/stylesheets/application.css.scss
123
- - test/fixtures/alternate_config_project/app/assets/stylesheets/css_application.css
124
- - test/fixtures/alternate_config_project/app/assets/stylesheets/globbed/globbed.css.scss
125
- - test/fixtures/alternate_config_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
126
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_sass_import.css.sass
127
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_scss_import.css.scss
128
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_without_css_ext.scss
129
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass
130
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss
131
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss
132
- - test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/another_plain.css
133
- - test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/plain.css
134
- - test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/second_level.css.scss
135
- - test/fixtures/alternate_config_project/app/controllers/application_controller.rb
136
- - test/fixtures/alternate_config_project/app/helpers/application_helper.rb
137
- - test/fixtures/alternate_config_project/app/mailers/.gitkeep
138
- - test/fixtures/alternate_config_project/app/models/.gitkeep
139
- - test/fixtures/alternate_config_project/app/views/layouts/application.html.erb
140
- - test/fixtures/alternate_config_project/config.ru
141
- - test/fixtures/alternate_config_project/config/application.rb
142
- - test/fixtures/alternate_config_project/config/boot.rb
143
- - test/fixtures/alternate_config_project/config/database.yml
144
- - test/fixtures/alternate_config_project/config/environment.rb
145
- - test/fixtures/alternate_config_project/config/environments/development.rb
146
- - test/fixtures/alternate_config_project/config/environments/production.rb
147
- - test/fixtures/alternate_config_project/config/environments/test.rb
148
- - test/fixtures/alternate_config_project/config/initializers/backtrace_silencers.rb
149
- - test/fixtures/alternate_config_project/config/initializers/inflections.rb
150
- - test/fixtures/alternate_config_project/config/initializers/mime_types.rb
151
- - test/fixtures/alternate_config_project/config/initializers/secret_token.rb
152
- - test/fixtures/alternate_config_project/config/initializers/session_store.rb
153
- - test/fixtures/alternate_config_project/config/initializers/wrap_parameters.rb
154
- - test/fixtures/alternate_config_project/config/locales/en.yml
155
- - test/fixtures/alternate_config_project/config/routes.rb
156
- - test/fixtures/alternate_config_project/db/seeds.rb
157
- - test/fixtures/alternate_config_project/doc/README_FOR_APP
158
- - test/fixtures/alternate_config_project/lib/tasks/.gitkeep
159
- - test/fixtures/alternate_config_project/log/.gitkeep
160
- - test/fixtures/alternate_config_project/public/404.html
161
- - test/fixtures/alternate_config_project/public/422.html
162
- - test/fixtures/alternate_config_project/public/500.html
163
- - test/fixtures/alternate_config_project/public/favicon.ico
164
- - test/fixtures/alternate_config_project/public/index.html
165
- - test/fixtures/alternate_config_project/public/robots.txt
166
- - test/fixtures/alternate_config_project/script/rails
167
- - test/fixtures/alternate_config_project/vendor/assets/stylesheets/.gitkeep
168
- - test/fixtures/alternate_config_project/vendor/plugins/.gitkeep
169
- - test/fixtures/engine_project/.gitignore
170
- - test/fixtures/engine_project/Gemfile
171
- - test/fixtures/engine_project/MIT-LICENSE
172
- - test/fixtures/engine_project/README.rdoc
173
- - test/fixtures/engine_project/Rakefile
174
- - test/fixtures/engine_project/app/assets/images/engine_project/.keep
175
- - test/fixtures/engine_project/app/assets/javascripts/engine_project/application.js
176
- - test/fixtures/engine_project/app/assets/stylesheets/engine_project/application.css
177
- - test/fixtures/engine_project/app/controllers/engine_project/application_controller.rb
178
- - test/fixtures/engine_project/app/helpers/engine_project/application_helper.rb
179
- - test/fixtures/engine_project/app/views/layouts/engine_project/application.html.erb
180
- - test/fixtures/engine_project/config/routes.rb
181
- - test/fixtures/engine_project/engine_project.gemspec
182
- - test/fixtures/engine_project/lib/engine_project.rb
183
- - test/fixtures/engine_project/lib/engine_project/engine.rb
184
- - test/fixtures/engine_project/lib/engine_project/version.rb
185
- - test/fixtures/engine_project/lib/tasks/engine_project_tasks.rake
186
- - test/fixtures/engine_project/script/rails
187
- - test/fixtures/engine_project/test/dummy/README.rdoc
188
- - test/fixtures/engine_project/test/dummy/Rakefile
189
- - test/fixtures/engine_project/test/dummy/app/assets/javascripts/application.js
190
- - test/fixtures/engine_project/test/dummy/app/assets/stylesheets/application.css
191
- - test/fixtures/engine_project/test/dummy/app/controllers/application_controller.rb
192
- - test/fixtures/engine_project/test/dummy/app/controllers/concerns/.keep
193
- - test/fixtures/engine_project/test/dummy/app/helpers/application_helper.rb
194
- - test/fixtures/engine_project/test/dummy/app/mailers/.keep
195
- - test/fixtures/engine_project/test/dummy/app/models/.keep
196
- - test/fixtures/engine_project/test/dummy/app/models/concerns/.keep
197
- - test/fixtures/engine_project/test/dummy/app/views/layouts/application.html.erb
198
- - test/fixtures/engine_project/test/dummy/bin/bundle
199
- - test/fixtures/engine_project/test/dummy/bin/rails
200
- - test/fixtures/engine_project/test/dummy/bin/rake
201
- - test/fixtures/engine_project/test/dummy/config.ru
202
- - test/fixtures/engine_project/test/dummy/config/application.rb
203
- - test/fixtures/engine_project/test/dummy/config/boot.rb
204
- - test/fixtures/engine_project/test/dummy/config/database.yml
205
- - test/fixtures/engine_project/test/dummy/config/environment.rb
206
- - test/fixtures/engine_project/test/dummy/config/environments/development.rb
207
- - test/fixtures/engine_project/test/dummy/config/environments/production.rb
208
- - test/fixtures/engine_project/test/dummy/config/environments/test.rb
209
- - test/fixtures/engine_project/test/dummy/config/initializers/backtrace_silencers.rb
210
- - test/fixtures/engine_project/test/dummy/config/initializers/filter_parameter_logging.rb
211
- - test/fixtures/engine_project/test/dummy/config/initializers/inflections.rb
212
- - test/fixtures/engine_project/test/dummy/config/initializers/mime_types.rb
213
- - test/fixtures/engine_project/test/dummy/config/initializers/secret_token.rb
214
- - test/fixtures/engine_project/test/dummy/config/initializers/session_store.rb
215
- - test/fixtures/engine_project/test/dummy/config/initializers/wrap_parameters.rb
216
- - test/fixtures/engine_project/test/dummy/config/locales/en.yml
217
- - test/fixtures/engine_project/test/dummy/config/routes.rb
218
- - test/fixtures/engine_project/test/dummy/lib/assets/.keep
219
- - test/fixtures/engine_project/test/dummy/log/.keep
220
- - test/fixtures/engine_project/test/dummy/public/404.html
221
- - test/fixtures/engine_project/test/dummy/public/422.html
222
- - test/fixtures/engine_project/test/dummy/public/500.html
223
- - test/fixtures/engine_project/test/dummy/public/favicon.ico
224
- - test/fixtures/sass_project/.gitignore
225
- - test/fixtures/sass_project/Gemfile
226
- - test/fixtures/sass_project/README
227
- - test/fixtures/sass_project/Rakefile
228
- - test/fixtures/sass_project/app/assets/images/rails.png
229
- - test/fixtures/sass_project/app/assets/javascripts/application.js
230
- - test/fixtures/sass_project/app/assets/stylesheets/application.css
231
- - test/fixtures/sass_project/app/controllers/application_controller.rb
232
- - test/fixtures/sass_project/app/helpers/application_helper.rb
233
- - test/fixtures/sass_project/app/mailers/.gitkeep
234
- - test/fixtures/sass_project/app/models/.gitkeep
235
- - test/fixtures/sass_project/app/views/layouts/application.html.erb
236
- - test/fixtures/sass_project/config.ru
237
- - test/fixtures/sass_project/config/application.rb
238
- - test/fixtures/sass_project/config/boot.rb
239
- - test/fixtures/sass_project/config/database.yml
240
- - test/fixtures/sass_project/config/environment.rb
241
- - test/fixtures/sass_project/config/environments/development.rb
242
- - test/fixtures/sass_project/config/environments/production.rb
243
- - test/fixtures/sass_project/config/environments/test.rb
244
- - test/fixtures/sass_project/config/initializers/backtrace_silencers.rb
245
- - test/fixtures/sass_project/config/initializers/inflections.rb
246
- - test/fixtures/sass_project/config/initializers/mime_types.rb
247
- - test/fixtures/sass_project/config/initializers/secret_token.rb
248
- - test/fixtures/sass_project/config/initializers/session_store.rb
249
- - test/fixtures/sass_project/config/initializers/wrap_parameters.rb
250
- - test/fixtures/sass_project/config/locales/en.yml
251
- - test/fixtures/sass_project/config/routes.rb
252
- - test/fixtures/sass_project/db/seeds.rb
253
- - test/fixtures/sass_project/doc/README_FOR_APP
254
- - test/fixtures/sass_project/lib/tasks/.gitkeep
255
- - test/fixtures/sass_project/log/.gitkeep
256
- - test/fixtures/sass_project/public/404.html
257
- - test/fixtures/sass_project/public/422.html
258
- - test/fixtures/sass_project/public/500.html
259
- - test/fixtures/sass_project/public/favicon.ico
260
- - test/fixtures/sass_project/public/index.html
261
- - test/fixtures/sass_project/public/robots.txt
262
- - test/fixtures/sass_project/script/rails
263
- - test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep
264
- - test/fixtures/sass_project/vendor/plugins/.gitkeep
265
- - test/fixtures/scss_project/.gitignore
266
- - test/fixtures/scss_project/Gemfile
267
- - test/fixtures/scss_project/README
268
- - test/fixtures/scss_project/Rakefile
269
- - test/fixtures/scss_project/app/assets/images/1x1.png
270
- - test/fixtures/scss_project/app/assets/images/rails.png
271
- - test/fixtures/scss_project/app/assets/javascripts/application.js
272
- - test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss
273
- - test/fixtures/scss_project/app/assets/stylesheets/application.css.scss
274
- - test/fixtures/scss_project/app/assets/stylesheets/css_application.css
275
- - test/fixtures/scss_project/app/assets/stylesheets/css_erb_handler.css.erb
276
- - test/fixtures/scss_project/app/assets/stylesheets/css_sass_erb_handler.css.sass.erb
277
- - test/fixtures/scss_project/app/assets/stylesheets/css_scss_erb_handler.css.scss.erb
278
- - test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss
279
- - test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
280
- - test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass
281
- - test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss
282
- - test/fixtures/scss_project/app/assets/stylesheets/partials/_without_css_ext.scss
283
- - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass
284
- - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss
285
- - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss
286
- - test/fixtures/scss_project/app/assets/stylesheets/sass_erb_handler.sass.erb
287
- - test/fixtures/scss_project/app/assets/stylesheets/scss_erb_handler.scss.erb
288
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/_defaults.css.scss
289
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css
290
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css
291
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss
292
- - test/fixtures/scss_project/app/controllers/application_controller.rb
293
- - test/fixtures/scss_project/app/helpers/application_helper.rb
294
- - test/fixtures/scss_project/app/mailers/.gitkeep
295
- - test/fixtures/scss_project/app/models/.gitkeep
296
- - test/fixtures/scss_project/app/views/layouts/application.html.erb
297
- - test/fixtures/scss_project/config.ru
298
- - test/fixtures/scss_project/config/application.rb
299
- - test/fixtures/scss_project/config/boot.rb
300
- - test/fixtures/scss_project/config/database.yml
301
- - test/fixtures/scss_project/config/environment.rb
302
- - test/fixtures/scss_project/config/environments/development.rb
303
- - test/fixtures/scss_project/config/environments/production.rb
304
- - test/fixtures/scss_project/config/environments/test.rb
305
- - test/fixtures/scss_project/config/initializers/backtrace_silencers.rb
306
- - test/fixtures/scss_project/config/initializers/inflections.rb
307
- - test/fixtures/scss_project/config/initializers/mime_types.rb
308
- - test/fixtures/scss_project/config/initializers/postprocessor.rb
309
- - test/fixtures/scss_project/config/initializers/secret_token.rb
310
- - test/fixtures/scss_project/config/initializers/session_store.rb
311
- - test/fixtures/scss_project/config/initializers/wrap_parameters.rb
312
- - test/fixtures/scss_project/config/locales/en.yml
313
- - test/fixtures/scss_project/config/routes.rb
314
- - test/fixtures/scss_project/db/seeds.rb
315
- - test/fixtures/scss_project/doc/README_FOR_APP
316
- - test/fixtures/scss_project/lib/tasks/.gitkeep
317
- - test/fixtures/scss_project/log/.gitkeep
318
- - test/fixtures/scss_project/public/404.html
319
- - test/fixtures/scss_project/public/422.html
320
- - test/fixtures/scss_project/public/500.html
321
- - test/fixtures/scss_project/public/favicon.ico
322
- - test/fixtures/scss_project/public/index.html
323
- - test/fixtures/scss_project/public/robots.txt
324
- - test/fixtures/scss_project/script/rails
325
- - test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep
326
- - test/fixtures/scss_project/vendor/plugins/.gitkeep
327
- - test/gemfiles/Gemfile-master
328
- - test/sass_rails_generators_test.rb
329
- - test/sass_rails_logger_test.rb
330
- - test/sass_rails_test.rb
331
- - test/support/sass_rails_test_case.rb
332
- - test/test_helper.rb
333
50
  homepage: https://github.com/rails/sass-rails
334
51
  licenses:
335
52
  - MIT
@@ -349,228 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
66
  - !ruby/object:Gem::Version
350
67
  version: '0'
351
68
  requirements: []
352
- rubyforge_project: sass-rails
353
- rubygems_version: 2.2.2
69
+ rubygems_version: 3.0.1
354
70
  signing_key:
355
71
  specification_version: 4
356
72
  summary: Sass adapter for the Rails asset pipeline.
357
- test_files:
358
- - test/fixtures/alternate_config_project/.gitignore
359
- - test/fixtures/alternate_config_project/Gemfile
360
- - test/fixtures/alternate_config_project/README
361
- - test/fixtures/alternate_config_project/Rakefile
362
- - test/fixtures/alternate_config_project/app/assets/images/1x1.png
363
- - test/fixtures/alternate_config_project/app/assets/images/rails.png
364
- - test/fixtures/alternate_config_project/app/assets/javascripts/application.js
365
- - test/fixtures/alternate_config_project/app/assets/stylesheets/_top_level_partial.css.scss
366
- - test/fixtures/alternate_config_project/app/assets/stylesheets/application.css.scss
367
- - test/fixtures/alternate_config_project/app/assets/stylesheets/css_application.css
368
- - test/fixtures/alternate_config_project/app/assets/stylesheets/globbed/globbed.css.scss
369
- - test/fixtures/alternate_config_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
370
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_sass_import.css.sass
371
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_scss_import.css.scss
372
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/_without_css_ext.scss
373
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass
374
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss
375
- - test/fixtures/alternate_config_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss
376
- - test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/another_plain.css
377
- - test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/plain.css
378
- - test/fixtures/alternate_config_project/app/assets/stylesheets/subfolder/second_level.css.scss
379
- - test/fixtures/alternate_config_project/app/controllers/application_controller.rb
380
- - test/fixtures/alternate_config_project/app/helpers/application_helper.rb
381
- - test/fixtures/alternate_config_project/app/mailers/.gitkeep
382
- - test/fixtures/alternate_config_project/app/models/.gitkeep
383
- - test/fixtures/alternate_config_project/app/views/layouts/application.html.erb
384
- - test/fixtures/alternate_config_project/config.ru
385
- - test/fixtures/alternate_config_project/config/application.rb
386
- - test/fixtures/alternate_config_project/config/boot.rb
387
- - test/fixtures/alternate_config_project/config/database.yml
388
- - test/fixtures/alternate_config_project/config/environment.rb
389
- - test/fixtures/alternate_config_project/config/environments/development.rb
390
- - test/fixtures/alternate_config_project/config/environments/production.rb
391
- - test/fixtures/alternate_config_project/config/environments/test.rb
392
- - test/fixtures/alternate_config_project/config/initializers/backtrace_silencers.rb
393
- - test/fixtures/alternate_config_project/config/initializers/inflections.rb
394
- - test/fixtures/alternate_config_project/config/initializers/mime_types.rb
395
- - test/fixtures/alternate_config_project/config/initializers/secret_token.rb
396
- - test/fixtures/alternate_config_project/config/initializers/session_store.rb
397
- - test/fixtures/alternate_config_project/config/initializers/wrap_parameters.rb
398
- - test/fixtures/alternate_config_project/config/locales/en.yml
399
- - test/fixtures/alternate_config_project/config/routes.rb
400
- - test/fixtures/alternate_config_project/db/seeds.rb
401
- - test/fixtures/alternate_config_project/doc/README_FOR_APP
402
- - test/fixtures/alternate_config_project/lib/tasks/.gitkeep
403
- - test/fixtures/alternate_config_project/log/.gitkeep
404
- - test/fixtures/alternate_config_project/public/404.html
405
- - test/fixtures/alternate_config_project/public/422.html
406
- - test/fixtures/alternate_config_project/public/500.html
407
- - test/fixtures/alternate_config_project/public/favicon.ico
408
- - test/fixtures/alternate_config_project/public/index.html
409
- - test/fixtures/alternate_config_project/public/robots.txt
410
- - test/fixtures/alternate_config_project/script/rails
411
- - test/fixtures/alternate_config_project/vendor/assets/stylesheets/.gitkeep
412
- - test/fixtures/alternate_config_project/vendor/plugins/.gitkeep
413
- - test/fixtures/engine_project/.gitignore
414
- - test/fixtures/engine_project/Gemfile
415
- - test/fixtures/engine_project/MIT-LICENSE
416
- - test/fixtures/engine_project/README.rdoc
417
- - test/fixtures/engine_project/Rakefile
418
- - test/fixtures/engine_project/app/assets/images/engine_project/.keep
419
- - test/fixtures/engine_project/app/assets/javascripts/engine_project/application.js
420
- - test/fixtures/engine_project/app/assets/stylesheets/engine_project/application.css
421
- - test/fixtures/engine_project/app/controllers/engine_project/application_controller.rb
422
- - test/fixtures/engine_project/app/helpers/engine_project/application_helper.rb
423
- - test/fixtures/engine_project/app/views/layouts/engine_project/application.html.erb
424
- - test/fixtures/engine_project/config/routes.rb
425
- - test/fixtures/engine_project/engine_project.gemspec
426
- - test/fixtures/engine_project/lib/engine_project.rb
427
- - test/fixtures/engine_project/lib/engine_project/engine.rb
428
- - test/fixtures/engine_project/lib/engine_project/version.rb
429
- - test/fixtures/engine_project/lib/tasks/engine_project_tasks.rake
430
- - test/fixtures/engine_project/script/rails
431
- - test/fixtures/engine_project/test/dummy/README.rdoc
432
- - test/fixtures/engine_project/test/dummy/Rakefile
433
- - test/fixtures/engine_project/test/dummy/app/assets/javascripts/application.js
434
- - test/fixtures/engine_project/test/dummy/app/assets/stylesheets/application.css
435
- - test/fixtures/engine_project/test/dummy/app/controllers/application_controller.rb
436
- - test/fixtures/engine_project/test/dummy/app/controllers/concerns/.keep
437
- - test/fixtures/engine_project/test/dummy/app/helpers/application_helper.rb
438
- - test/fixtures/engine_project/test/dummy/app/mailers/.keep
439
- - test/fixtures/engine_project/test/dummy/app/models/.keep
440
- - test/fixtures/engine_project/test/dummy/app/models/concerns/.keep
441
- - test/fixtures/engine_project/test/dummy/app/views/layouts/application.html.erb
442
- - test/fixtures/engine_project/test/dummy/bin/bundle
443
- - test/fixtures/engine_project/test/dummy/bin/rails
444
- - test/fixtures/engine_project/test/dummy/bin/rake
445
- - test/fixtures/engine_project/test/dummy/config.ru
446
- - test/fixtures/engine_project/test/dummy/config/application.rb
447
- - test/fixtures/engine_project/test/dummy/config/boot.rb
448
- - test/fixtures/engine_project/test/dummy/config/database.yml
449
- - test/fixtures/engine_project/test/dummy/config/environment.rb
450
- - test/fixtures/engine_project/test/dummy/config/environments/development.rb
451
- - test/fixtures/engine_project/test/dummy/config/environments/production.rb
452
- - test/fixtures/engine_project/test/dummy/config/environments/test.rb
453
- - test/fixtures/engine_project/test/dummy/config/initializers/backtrace_silencers.rb
454
- - test/fixtures/engine_project/test/dummy/config/initializers/filter_parameter_logging.rb
455
- - test/fixtures/engine_project/test/dummy/config/initializers/inflections.rb
456
- - test/fixtures/engine_project/test/dummy/config/initializers/mime_types.rb
457
- - test/fixtures/engine_project/test/dummy/config/initializers/secret_token.rb
458
- - test/fixtures/engine_project/test/dummy/config/initializers/session_store.rb
459
- - test/fixtures/engine_project/test/dummy/config/initializers/wrap_parameters.rb
460
- - test/fixtures/engine_project/test/dummy/config/locales/en.yml
461
- - test/fixtures/engine_project/test/dummy/config/routes.rb
462
- - test/fixtures/engine_project/test/dummy/lib/assets/.keep
463
- - test/fixtures/engine_project/test/dummy/log/.keep
464
- - test/fixtures/engine_project/test/dummy/public/404.html
465
- - test/fixtures/engine_project/test/dummy/public/422.html
466
- - test/fixtures/engine_project/test/dummy/public/500.html
467
- - test/fixtures/engine_project/test/dummy/public/favicon.ico
468
- - test/fixtures/sass_project/.gitignore
469
- - test/fixtures/sass_project/Gemfile
470
- - test/fixtures/sass_project/README
471
- - test/fixtures/sass_project/Rakefile
472
- - test/fixtures/sass_project/app/assets/images/rails.png
473
- - test/fixtures/sass_project/app/assets/javascripts/application.js
474
- - test/fixtures/sass_project/app/assets/stylesheets/application.css
475
- - test/fixtures/sass_project/app/controllers/application_controller.rb
476
- - test/fixtures/sass_project/app/helpers/application_helper.rb
477
- - test/fixtures/sass_project/app/mailers/.gitkeep
478
- - test/fixtures/sass_project/app/models/.gitkeep
479
- - test/fixtures/sass_project/app/views/layouts/application.html.erb
480
- - test/fixtures/sass_project/config.ru
481
- - test/fixtures/sass_project/config/application.rb
482
- - test/fixtures/sass_project/config/boot.rb
483
- - test/fixtures/sass_project/config/database.yml
484
- - test/fixtures/sass_project/config/environment.rb
485
- - test/fixtures/sass_project/config/environments/development.rb
486
- - test/fixtures/sass_project/config/environments/production.rb
487
- - test/fixtures/sass_project/config/environments/test.rb
488
- - test/fixtures/sass_project/config/initializers/backtrace_silencers.rb
489
- - test/fixtures/sass_project/config/initializers/inflections.rb
490
- - test/fixtures/sass_project/config/initializers/mime_types.rb
491
- - test/fixtures/sass_project/config/initializers/secret_token.rb
492
- - test/fixtures/sass_project/config/initializers/session_store.rb
493
- - test/fixtures/sass_project/config/initializers/wrap_parameters.rb
494
- - test/fixtures/sass_project/config/locales/en.yml
495
- - test/fixtures/sass_project/config/routes.rb
496
- - test/fixtures/sass_project/db/seeds.rb
497
- - test/fixtures/sass_project/doc/README_FOR_APP
498
- - test/fixtures/sass_project/lib/tasks/.gitkeep
499
- - test/fixtures/sass_project/log/.gitkeep
500
- - test/fixtures/sass_project/public/404.html
501
- - test/fixtures/sass_project/public/422.html
502
- - test/fixtures/sass_project/public/500.html
503
- - test/fixtures/sass_project/public/favicon.ico
504
- - test/fixtures/sass_project/public/index.html
505
- - test/fixtures/sass_project/public/robots.txt
506
- - test/fixtures/sass_project/script/rails
507
- - test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep
508
- - test/fixtures/sass_project/vendor/plugins/.gitkeep
509
- - test/fixtures/scss_project/.gitignore
510
- - test/fixtures/scss_project/Gemfile
511
- - test/fixtures/scss_project/README
512
- - test/fixtures/scss_project/Rakefile
513
- - test/fixtures/scss_project/app/assets/images/1x1.png
514
- - test/fixtures/scss_project/app/assets/images/rails.png
515
- - test/fixtures/scss_project/app/assets/javascripts/application.js
516
- - test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss
517
- - test/fixtures/scss_project/app/assets/stylesheets/application.css.scss
518
- - test/fixtures/scss_project/app/assets/stylesheets/css_application.css
519
- - test/fixtures/scss_project/app/assets/stylesheets/css_erb_handler.css.erb
520
- - test/fixtures/scss_project/app/assets/stylesheets/css_sass_erb_handler.css.sass.erb
521
- - test/fixtures/scss_project/app/assets/stylesheets/css_scss_erb_handler.css.scss.erb
522
- - test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss
523
- - test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss
524
- - test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass
525
- - test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss
526
- - test/fixtures/scss_project/app/assets/stylesheets/partials/_without_css_ext.scss
527
- - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass
528
- - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss
529
- - test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss
530
- - test/fixtures/scss_project/app/assets/stylesheets/sass_erb_handler.sass.erb
531
- - test/fixtures/scss_project/app/assets/stylesheets/scss_erb_handler.scss.erb
532
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/_defaults.css.scss
533
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css
534
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css
535
- - test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss
536
- - test/fixtures/scss_project/app/controllers/application_controller.rb
537
- - test/fixtures/scss_project/app/helpers/application_helper.rb
538
- - test/fixtures/scss_project/app/mailers/.gitkeep
539
- - test/fixtures/scss_project/app/models/.gitkeep
540
- - test/fixtures/scss_project/app/views/layouts/application.html.erb
541
- - test/fixtures/scss_project/config.ru
542
- - test/fixtures/scss_project/config/application.rb
543
- - test/fixtures/scss_project/config/boot.rb
544
- - test/fixtures/scss_project/config/database.yml
545
- - test/fixtures/scss_project/config/environment.rb
546
- - test/fixtures/scss_project/config/environments/development.rb
547
- - test/fixtures/scss_project/config/environments/production.rb
548
- - test/fixtures/scss_project/config/environments/test.rb
549
- - test/fixtures/scss_project/config/initializers/backtrace_silencers.rb
550
- - test/fixtures/scss_project/config/initializers/inflections.rb
551
- - test/fixtures/scss_project/config/initializers/mime_types.rb
552
- - test/fixtures/scss_project/config/initializers/postprocessor.rb
553
- - test/fixtures/scss_project/config/initializers/secret_token.rb
554
- - test/fixtures/scss_project/config/initializers/session_store.rb
555
- - test/fixtures/scss_project/config/initializers/wrap_parameters.rb
556
- - test/fixtures/scss_project/config/locales/en.yml
557
- - test/fixtures/scss_project/config/routes.rb
558
- - test/fixtures/scss_project/db/seeds.rb
559
- - test/fixtures/scss_project/doc/README_FOR_APP
560
- - test/fixtures/scss_project/lib/tasks/.gitkeep
561
- - test/fixtures/scss_project/log/.gitkeep
562
- - test/fixtures/scss_project/public/404.html
563
- - test/fixtures/scss_project/public/422.html
564
- - test/fixtures/scss_project/public/500.html
565
- - test/fixtures/scss_project/public/favicon.ico
566
- - test/fixtures/scss_project/public/index.html
567
- - test/fixtures/scss_project/public/robots.txt
568
- - test/fixtures/scss_project/script/rails
569
- - test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep
570
- - test/fixtures/scss_project/vendor/plugins/.gitkeep
571
- - test/gemfiles/Gemfile-master
572
- - test/sass_rails_generators_test.rb
573
- - test/sass_rails_logger_test.rb
574
- - test/sass_rails_test.rb
575
- - test/support/sass_rails_test_case.rb
576
- - test/test_helper.rb
73
+ test_files: []