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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/Gemfile +3 -4
  2. data/README.markdown +52 -0
  3. data/lib/rails/generators/sass/assets/assets_generator.rb +1 -1
  4. data/lib/rails/generators/sass/assets/templates/stylesheet.css.sass +4 -1
  5. data/lib/rails/generators/sass_scaffold.rb +2 -1
  6. data/lib/rails/generators/scss/assets/assets_generator.rb +1 -1
  7. data/lib/rails/generators/scss/assets/templates/stylesheet.css.scss +5 -1
  8. data/lib/sass-rails.rb +1 -31
  9. data/lib/sass/rails.rb +11 -0
  10. data/lib/sass/rails/compressor.rb +15 -0
  11. data/lib/sass/rails/importer.rb +128 -0
  12. data/lib/sass/rails/monkey_patches.rb +20 -0
  13. data/lib/sass/rails/railtie.rb +43 -0
  14. data/lib/sass/rails/template_handlers.rb +61 -0
  15. data/lib/{sass-rails → sass/rails}/version.rb +1 -1
  16. data/sass-rails.gemspec +8 -7
  17. data/test/fixtures/sass_project/.gitignore +5 -0
  18. data/test/fixtures/sass_project/Gemfile +7 -0
  19. data/test/fixtures/sass_project/README +261 -0
  20. data/test/{dummy → fixtures/sass_project}/Rakefile +2 -2
  21. data/test/fixtures/sass_project/app/assets/images/rails.png +0 -0
  22. data/test/fixtures/sass_project/app/assets/javascripts/application.js +9 -0
  23. data/test/fixtures/sass_project/app/assets/stylesheets/application.css +7 -0
  24. data/test/{dummy → fixtures/sass_project}/app/controllers/application_controller.rb +0 -0
  25. data/test/{dummy → fixtures/sass_project}/app/helpers/application_helper.rb +0 -0
  26. data/test/{dummy/public/stylesheets → fixtures/sass_project/app/mailers}/.gitkeep +0 -0
  27. data/test/{dummy/log/development.log → fixtures/sass_project/app/models/.gitkeep} +0 -0
  28. data/test/fixtures/sass_project/app/views/layouts/application.html.erb +14 -0
  29. data/test/{dummy → fixtures/sass_project}/config.ru +1 -1
  30. data/test/fixtures/sass_project/config/application.rb +52 -0
  31. data/test/fixtures/sass_project/config/boot.rb +6 -0
  32. data/test/{dummy → fixtures/sass_project}/config/database.yml +3 -0
  33. data/test/{dummy → fixtures/sass_project}/config/environment.rb +1 -1
  34. data/test/{dummy → fixtures/sass_project}/config/environments/development.rb +5 -4
  35. data/test/{dummy → fixtures/sass_project}/config/environments/production.rb +18 -13
  36. data/test/{dummy → fixtures/sass_project}/config/environments/test.rb +6 -2
  37. data/test/{dummy → fixtures/sass_project}/config/initializers/backtrace_silencers.rb +0 -0
  38. data/test/{dummy → fixtures/sass_project}/config/initializers/inflections.rb +0 -0
  39. data/test/{dummy → fixtures/sass_project}/config/initializers/mime_types.rb +0 -0
  40. data/test/{dummy → fixtures/sass_project}/config/initializers/secret_token.rb +1 -1
  41. data/test/{dummy → fixtures/sass_project}/config/initializers/session_store.rb +2 -2
  42. data/test/fixtures/sass_project/config/initializers/wrap_parameters.rb +12 -0
  43. data/test/{dummy → fixtures/sass_project}/config/locales/en.yml +1 -1
  44. data/test/{dummy → fixtures/sass_project}/config/routes.rb +2 -2
  45. data/test/fixtures/sass_project/db/seeds.rb +7 -0
  46. data/test/fixtures/sass_project/doc/README_FOR_APP +2 -0
  47. data/test/{dummy/log/production.log → fixtures/sass_project/lib/tasks/.gitkeep} +0 -0
  48. data/test/{dummy/log/server.log → fixtures/sass_project/log/.gitkeep} +0 -0
  49. data/test/{dummy → fixtures/sass_project}/public/404.html +0 -0
  50. data/test/{dummy → fixtures/sass_project}/public/422.html +0 -0
  51. data/test/{dummy → fixtures/sass_project}/public/500.html +0 -0
  52. data/test/{dummy → fixtures/sass_project}/public/favicon.ico +0 -0
  53. data/test/fixtures/sass_project/public/index.html +241 -0
  54. data/test/fixtures/sass_project/public/robots.txt +5 -0
  55. data/test/{dummy → fixtures/sass_project}/script/rails +0 -0
  56. data/test/fixtures/sass_project/vendor/assets/stylesheets/.gitkeep +0 -0
  57. data/test/fixtures/sass_project/vendor/plugins/.gitkeep +0 -0
  58. data/test/fixtures/scss_project/.gitignore +5 -0
  59. data/test/fixtures/scss_project/Gemfile +7 -0
  60. data/test/fixtures/scss_project/README +261 -0
  61. data/test/fixtures/scss_project/Rakefile +7 -0
  62. data/test/fixtures/scss_project/app/assets/images/rails.png +0 -0
  63. data/test/fixtures/scss_project/app/assets/javascripts/application.js +9 -0
  64. data/test/fixtures/scss_project/app/assets/stylesheets/_top_level_partial.css.scss +3 -0
  65. data/test/fixtures/scss_project/app/assets/stylesheets/application.css.scss +10 -0
  66. data/test/fixtures/scss_project/app/assets/stylesheets/globbed/globbed.css.scss +3 -0
  67. data/test/fixtures/scss_project/app/assets/stylesheets/globbed/nested/nested_glob.css.scss +3 -0
  68. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_sass_import.css.sass +5 -0
  69. data/test/fixtures/scss_project/app/assets/stylesheets/partials/_scss_import.css.scss +9 -0
  70. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_sass.css.sass +2 -0
  71. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/_relative_scss.css.scss +3 -0
  72. data/test/fixtures/scss_project/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.css.scss +3 -0
  73. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/another_plain.css +3 -0
  74. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/plain.css +3 -0
  75. data/test/fixtures/scss_project/app/assets/stylesheets/subfolder/second_level.css.scss +1 -0
  76. data/test/fixtures/scss_project/app/controllers/application_controller.rb +3 -0
  77. data/test/fixtures/scss_project/app/helpers/application_helper.rb +2 -0
  78. data/test/fixtures/scss_project/app/mailers/.gitkeep +0 -0
  79. data/test/fixtures/scss_project/app/models/.gitkeep +0 -0
  80. data/test/fixtures/scss_project/app/views/layouts/application.html.erb +14 -0
  81. data/test/fixtures/scss_project/config.ru +4 -0
  82. data/test/{dummy → fixtures/scss_project}/config/application.rb +13 -9
  83. data/test/fixtures/scss_project/config/boot.rb +6 -0
  84. data/test/fixtures/scss_project/config/database.yml +25 -0
  85. data/test/fixtures/scss_project/config/environment.rb +5 -0
  86. data/test/fixtures/scss_project/config/environments/development.rb +27 -0
  87. data/test/fixtures/scss_project/config/environments/production.rb +54 -0
  88. data/test/fixtures/scss_project/config/environments/test.rb +39 -0
  89. data/test/fixtures/scss_project/config/initializers/backtrace_silencers.rb +7 -0
  90. data/test/fixtures/scss_project/config/initializers/inflections.rb +10 -0
  91. data/test/fixtures/scss_project/config/initializers/mime_types.rb +5 -0
  92. data/test/fixtures/scss_project/config/initializers/secret_token.rb +7 -0
  93. data/test/fixtures/scss_project/config/initializers/session_store.rb +8 -0
  94. data/test/fixtures/scss_project/config/initializers/wrap_parameters.rb +12 -0
  95. data/test/fixtures/scss_project/config/locales/en.yml +5 -0
  96. data/test/fixtures/scss_project/config/routes.rb +58 -0
  97. data/test/fixtures/scss_project/db/seeds.rb +7 -0
  98. data/test/fixtures/scss_project/doc/README_FOR_APP +2 -0
  99. data/test/fixtures/scss_project/lib/tasks/.gitkeep +0 -0
  100. data/test/fixtures/scss_project/log/.gitkeep +0 -0
  101. data/test/fixtures/scss_project/public/404.html +26 -0
  102. data/test/fixtures/scss_project/public/422.html +26 -0
  103. data/test/fixtures/scss_project/public/500.html +26 -0
  104. data/test/fixtures/scss_project/public/favicon.ico +0 -0
  105. data/test/fixtures/scss_project/public/index.html +241 -0
  106. data/test/fixtures/scss_project/public/robots.txt +5 -0
  107. data/test/fixtures/scss_project/script/rails +6 -0
  108. data/test/fixtures/scss_project/vendor/assets/stylesheets/.gitkeep +0 -0
  109. data/test/fixtures/scss_project/vendor/plugins/.gitkeep +0 -0
  110. data/test/sass_rails_test.rb +46 -3
  111. data/test/support/sass_rails_test_case.rb +147 -0
  112. data/test/test_helper.rb +15 -11
  113. metadata +260 -85
  114. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  115. data/test/dummy/config/boot.rb +0 -10
  116. data/test/dummy/db/test.sqlite3 +0 -0
  117. data/test/dummy/log/test.log +0 -4
  118. data/test/dummy/public/javascripts/application.js +0 -2
  119. data/test/dummy/public/javascripts/controls.js +0 -965
  120. data/test/dummy/public/javascripts/dragdrop.js +0 -974
  121. data/test/dummy/public/javascripts/effects.js +0 -1123
  122. data/test/dummy/public/javascripts/prototype.js +0 -6001
  123. data/test/dummy/public/javascripts/rails.js +0 -191
  124. data/test/integration/navigation_test.rb +0 -7
  125. data/test/support/integration_case.rb +0 -5

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.