middleman-sprockets 4.0.0.rc.1 → 4.0.0.rc.2

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 (169) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +13 -0
  3. data/.gitignore +2 -0
  4. data/.rubocop.yml +57 -0
  5. data/.simplecov +1 -1
  6. data/.travis.yml +26 -15
  7. data/CHANGELOG.md +15 -0
  8. data/Gemfile +25 -21
  9. data/README.md +60 -6
  10. data/Rakefile +31 -11
  11. data/docs/upgrade-3-to-4.md +118 -0
  12. data/features/asset_gems.feature +63 -0
  13. data/features/basic_usage.feature +97 -0
  14. data/features/bower.feature +90 -30
  15. data/features/linked_assets.feature +123 -0
  16. data/features/middleman_helpers.feature +154 -0
  17. data/features/step_definitions/builder_steps.rb +8 -0
  18. data/features/step_definitions/server_steps.rb +20 -0
  19. data/features/support/env.rb +0 -1
  20. data/features/{asset_hash.feature → test_cases/asset_hash.feature} +28 -22
  21. data/features/test_cases/exception_response.feature +31 -0
  22. data/features/test_cases/excluded_file_extensions.feature +39 -0
  23. data/features/test_cases/file_not_found.feature +31 -0
  24. data/features/test_cases/ignore_directive_is_respected.feature +90 -0
  25. data/features/test_cases/imported_asset_extensions.feature +77 -0
  26. data/features/test_cases/jst.feature +36 -0
  27. data/features/test_cases/long_filenames.feature +40 -0
  28. data/features/test_cases/path_helpers.feature +106 -0
  29. data/features/test_cases/processible_outside_asset_dir.feature +49 -0
  30. data/features/test_cases/sass_globs.feature +76 -0
  31. data/features/test_cases/sass_partials.feature +49 -0
  32. data/features/test_cases/sassc.feature +27 -0
  33. data/features/test_cases/use_from_templates.feature +21 -0
  34. data/features/test_cases/using_assets_gem_assets.feature +88 -0
  35. data/fixtures/asset-hash-app/config.rb +2 -0
  36. data/fixtures/asset-hash-app/source/stylesheets/jquery-mobile.css.scss +1 -0
  37. data/fixtures/asset-hash-host-app/config.rb +4 -4
  38. data/fixtures/base-app/config.rb +1 -0
  39. data/fixtures/{bower-multiple-assets-app/source/index.html → base-app/source/index.html.erb} +0 -0
  40. data/fixtures/gems/assets_gem/assets_gem.gemspec +16 -0
  41. data/fixtures/gems/assets_gem/lib/assets_gem.rb +7 -0
  42. data/fixtures/gems/assets_gem/vendor/assets/css/_imports/_import.scss +1 -0
  43. data/fixtures/{sprockets-imported-assets-match-multiple-paths-app/vendor/assets/css/test.css → gems/assets_gem/vendor/assets/css/test.scss} +1 -1
  44. data/fixtures/gems/assets_gem/vendor/assets/fonts/font.ttf +0 -0
  45. data/fixtures/gems/assets_gem/vendor/assets/images/logo.png +0 -0
  46. data/fixtures/gems/assets_gem/vendor/assets/javascripts/_imports/import.js +1 -0
  47. data/gemfiles/middleman-4.0.gemfile +7 -0
  48. data/gemfiles/middleman-4.1.gemfile +7 -0
  49. data/gemfiles/middleman-head.gemfile +7 -0
  50. data/gemfiles/sprockets-4.0.gemfile +6 -0
  51. data/lib/middleman-sprockets.rb +5 -5
  52. data/lib/middleman-sprockets/extension.rb +174 -215
  53. data/lib/middleman-sprockets/interface.rb +64 -0
  54. data/lib/middleman-sprockets/resource.rb +97 -0
  55. data/lib/middleman-sprockets/version.rb +1 -1
  56. data/middleman-sprockets.gemspec +16 -15
  57. data/tasks/matrix.rake +46 -0
  58. metadata +77 -237
  59. data/features/jst.feature +0 -14
  60. data/features/long_filenames.feature +0 -17
  61. data/features/sass_globs.feature +0 -9
  62. data/features/sass_partials.feature +0 -36
  63. data/features/sprockets.feature +0 -108
  64. data/features/sprockets_gems.feature +0 -48
  65. data/fixtures/asset-paths-app/config.rb +0 -1
  66. data/fixtures/asset-paths-app/derp/javascripts/vendored_js.js +0 -1
  67. data/fixtures/asset-paths-app/source/javascripts/vendored_include.js +0 -1
  68. data/fixtures/bower-app/bower.json +0 -7
  69. data/fixtures/bower-app/bower_components/underscore/bower.json +0 -8
  70. data/fixtures/bower-app/bower_components/underscore/underscore.js +0 -1343
  71. data/fixtures/bower-app/config.rb +0 -1
  72. data/fixtures/bower-app/source/javascripts/application.js +0 -1
  73. data/fixtures/bower-app/source/javascripts/import.js +0 -1
  74. data/fixtures/bower-individual-outputdir-app/bower.json +0 -7
  75. data/fixtures/bower-individual-outputdir-app/bower_components/underscore/bower.json +0 -8
  76. data/fixtures/bower-individual-outputdir-app/bower_components/underscore/underscore.js +0 -1343
  77. data/fixtures/bower-individual-outputdir-app/config.rb +0 -2
  78. data/fixtures/bower-individual-outputdir-app/source/javascripts/application.js +0 -4
  79. data/fixtures/bower-individual-outputdir-app/vendor/assets/components/lightbox2/.bower.json +0 -34
  80. data/fixtures/bower-individual-outputdir-app/vendor/assets/components/lightbox2/bower.json +0 -26
  81. data/fixtures/bower-individual-outputdir-app/vendor/assets/components/lightbox2/img/close.png +0 -0
  82. data/fixtures/bower-individual-outputdir-app/vendor/assets/components/lightbox2/js/lightbox.js +0 -2
  83. data/fixtures/bower-individual-outputdir-app/vendor/assets/components/lightbox2/package.json +0 -37
  84. data/fixtures/bower-json-app/config.rb +0 -1
  85. data/fixtures/bower-json-app/source/javascripts/application.js.coffee +0 -1
  86. data/fixtures/bower-json-app/source/javascripts/bower.json +0 -5
  87. data/fixtures/bower-multiple-assets-app/.bowerrc +0 -4
  88. data/fixtures/bower-multiple-assets-app/bower.json +0 -7
  89. data/fixtures/bower-multiple-assets-app/config.rb +0 -1
  90. data/fixtures/bower-multiple-assets-app/source/javascripts/core.js +0 -2
  91. data/fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/.bower.json +0 -34
  92. data/fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/bower.json +0 -26
  93. data/fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/img/close.png +0 -0
  94. data/fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/img/open.png +0 -0
  95. data/fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/js/lightbox.js +0 -2
  96. data/fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/package.json +0 -37
  97. data/fixtures/glob-app/config.rb +0 -0
  98. data/fixtures/glob-app/source/stylesheets/main.css.scss +0 -1
  99. data/fixtures/glob-app/source/stylesheets/module1/_i-am-mod.scss +0 -3
  100. data/fixtures/glob-app/source/stylesheets/module2/_derp.sass +0 -2
  101. data/fixtures/glob-app/source/stylesheets/shared/3rd-party/bootstrap.sass +0 -2
  102. data/fixtures/glob-app/source/stylesheets/shared/shared.scss +0 -3
  103. data/fixtures/jquery-mobile-app/config.rb +0 -0
  104. data/fixtures/jquery-mobile-app/source/javascripts/app.js +0 -1
  105. data/fixtures/jquery-mobile-app/source/stylesheets/base.css.scss +0 -2
  106. data/fixtures/long-filenames-app/config.rb +0 -0
  107. data/fixtures/long-filenames-app/source/images/00000000-0000-0000-0000-000000.svg +0 -3
  108. data/fixtures/long-filenames-app/source/images/00000000-0000-0000-0000-0000001.svg +0 -3
  109. data/fixtures/preview-app/config.rb +0 -0
  110. data/fixtures/preview-app/source/content.html.erb +0 -1
  111. data/fixtures/preview-app/source/layout.erb +0 -1
  112. data/fixtures/preview-app/source/stylesheets/_partial.sass +0 -2
  113. data/fixtures/preview-app/source/stylesheets/_partial2.css.sass +0 -2
  114. data/fixtures/preview-app/source/stylesheets/main.css.sass +0 -4
  115. data/fixtures/preview-app/source/stylesheets/main2.css.sass +0 -4
  116. data/fixtures/preview-app/source/stylesheets/plain.css.sass +0 -2
  117. data/fixtures/sprockets-app/config.rb +0 -2
  118. data/fixtures/sprockets-app/source/index.html.erb +0 -6
  119. data/fixtures/sprockets-app/source/library/css/bootstrap_include.css.scss +0 -1
  120. data/fixtures/sprockets-app/source/library/css/plain.css +0 -5
  121. data/fixtures/sprockets-app/source/library/css/sprockets_base1.css.scss +0 -1
  122. data/fixtures/sprockets-app/source/library/css/sprockets_base2.css.scss +0 -1
  123. data/fixtures/sprockets-app/source/library/css/sprockets_sub.css.scss +0 -1
  124. data/fixtures/sprockets-app/source/library/js/jquery_include.js +0 -1
  125. data/fixtures/sprockets-app/source/library/js/plain.js +0 -6
  126. data/fixtures/sprockets-app/source/library/js/sprockets_base.js +0 -5
  127. data/fixtures/sprockets-app/source/library/js/sprockets_sub.js +0 -3
  128. data/fixtures/sprockets-app/source/library/js/vendored_include.js +0 -1
  129. data/fixtures/sprockets-app/vendor/assets/javascripts/coffee.js.coffee +0 -2
  130. data/fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js +0 -1
  131. data/fixtures/sprockets-app/vendor/assets/stylesheets/vendored.css.scss +0 -4
  132. data/fixtures/sprockets-app2/config.rb +0 -0
  133. data/fixtures/sprockets-app2/data/test.yml +0 -4
  134. data/fixtures/sprockets-app2/data/test2.json +0 -4
  135. data/fixtures/sprockets-app2/source/javascripts/_templates/test.jst.ejs +0 -1
  136. data/fixtures/sprockets-app2/source/javascripts/_templates/test2.jst.eco +0 -1
  137. data/fixtures/sprockets-app2/source/javascripts/asset_path.js.erb +0 -3
  138. data/fixtures/sprockets-app2/source/javascripts/multiple_engines.js.coffee.erb +0 -1
  139. data/fixtures/sprockets-app2/source/javascripts/sprockets_base.js +0 -5
  140. data/fixtures/sprockets-app2/source/javascripts/sprockets_sub.js +0 -3
  141. data/fixtures/sprockets-app2/source/javascripts/templates.js +0 -1
  142. data/fixtures/sprockets-app2/source/stylesheets/sprockets_base1.css.scss +0 -1
  143. data/fixtures/sprockets-app2/source/stylesheets/sprockets_base2.css.scss +0 -1
  144. data/fixtures/sprockets-app2/source/stylesheets/sprockets_sub.css.scss +0 -1
  145. data/fixtures/sprockets-images-app/config.rb +0 -1
  146. data/fixtures/sprockets-images-app/source/index.html.erb +0 -10
  147. data/fixtures/sprockets-images-app/source/library/images/cat.jpg +0 -0
  148. data/fixtures/sprockets-images-app/vendor/assets/images/cat-2.jpg +0 -0
  149. data/fixtures/sprockets-imported-asset-path-conflicts-app/config.rb +0 -4
  150. data/fixtures/sprockets-imported-asset-path-conflicts-app/resources/assets/stylesheets/test.css +0 -3
  151. data/fixtures/sprockets-imported-assets-match-multiple-paths-app/config.rb +0 -4
  152. data/fixtures/sprockets-multiple-extensions-app/bower.json +0 -8
  153. data/fixtures/sprockets-multiple-extensions-app/config.rb +0 -1
  154. data/fixtures/sprockets-multiple-extensions-app/source/fonts/fontawesome-webfont-source.svg.gz +0 -0
  155. data/fixtures/sprockets-multiple-extensions-app/source/images/drawing-source.svg +0 -76
  156. data/fixtures/sprockets-multiple-extensions-app/source/stylesheets/app.css.scss +0 -3
  157. data/fixtures/sprockets-multiple-extensions-app/vendor/assets/components/font-awesome/fonts/fontawesome-webfont-bower.svg.gz +0 -0
  158. data/fixtures/sprockets-multiple-extensions-app/vendor/assets/components/jquery/jquery.asdf.asdf.js.min.asdf +0 -4
  159. data/fixtures/sprockets-multiple-extensions-app/vendor/assets/components/jquery/jquery.min.js +0 -4
  160. data/fixtures/sprockets-svg-font-app/bower.json +0 -8
  161. data/fixtures/sprockets-svg-font-app/config.rb +0 -1
  162. data/fixtures/sprockets-svg-font-app/source/fonts/fontawesome-webfont-source.svg +0 -504
  163. data/fixtures/sprockets-svg-font-app/source/fonts/fontawesome-webfont-source.svg.gz +0 -0
  164. data/fixtures/sprockets-svg-font-app/source/images/drawing-source.svg +0 -76
  165. data/fixtures/sprockets-svg-font-app/source/stylesheets/app.css.scss +0 -4
  166. data/fixtures/sprockets-svg-font-app/vendor/assets/components/blub/images/drawing-bower.svg +0 -76
  167. data/fixtures/sprockets-svg-font-app/vendor/assets/components/font-awesome/fonts/fontawesome-webfont-bower.svg +0 -504
  168. data/fixtures/sprockets-svg-font-app/vendor/assets/components/font-awesome/fonts/fontawesome-webfont-bower.svg.gz +0 -0
  169. data/fixtures/sprockets-svg-font-app/vendor/assets/components/font-awesome/fonts/fontawesome-webfont-bower.ttf.gz +0 -0
@@ -1,2 +0,0 @@
1
- sprockets.append_path File.join(root, 'bower_components')
2
- sprockets.append_path File.join(root, 'vendor/assets/components')
@@ -1,4 +0,0 @@
1
- //= link "underscore/underscore.js"
2
- //= link "lightbox2/img/close.png"
3
- //= link "lightbox2/js/lightbox.js"
4
- //= require underscore/underscore
@@ -1,34 +0,0 @@
1
- {
2
- "name": "lightbox",
3
- "homepage": "http://lokeshdhakar.com/projects/lightbox2/",
4
- "authors": [
5
- "Lokesh Dhakar <lokesh.dhakar@gmail.com>"
6
- ],
7
- "description": "The original Lightbox script. Uses jQuery.",
8
- "main": "js/lightbox.js",
9
- "keywords": [
10
- "lightbox",
11
- "overlay",
12
- "jquery",
13
- "gallery",
14
- "images"
15
- ],
16
- "license": "CC BY 2.5",
17
- "ignore": [
18
- "**/.*",
19
- "Gruntfile.js",
20
- "node_modules",
21
- "bower_components",
22
- "test",
23
- "tests"
24
- ],
25
- "_release": "05ffb8e6d5",
26
- "_resolution": {
27
- "type": "branch",
28
- "branch": "master",
29
- "commit": "05ffb8e6d524762ded286b0c33cebab5347cf34a"
30
- },
31
- "_source": "https://github.com/dg-vrnetze/revealjs-lightbox2.git",
32
- "_target": "*",
33
- "_originalSource": "https://github.com/dg-vrnetze/revealjs-lightbox2.git"
34
- }
@@ -1,26 +0,0 @@
1
- {
2
- "name": "lightbox",
3
- "version": "2.7.1",
4
- "homepage": "http://lokeshdhakar.com/projects/lightbox2/",
5
- "authors": [
6
- "Lokesh Dhakar <lokesh.dhakar@gmail.com>"
7
- ],
8
- "description": "The original Lightbox script. Uses jQuery.",
9
- "main": "js/lightbox.js",
10
- "keywords": [
11
- "lightbox",
12
- "overlay",
13
- "jquery",
14
- "gallery",
15
- "images"
16
- ],
17
- "license": "CC BY 2.5",
18
- "ignore": [
19
- "**/.*",
20
- "Gruntfile.js",
21
- "node_modules",
22
- "bower_components",
23
- "test",
24
- "tests"
25
- ]
26
- }
@@ -1,37 +0,0 @@
1
- {
2
- "name": "lightbox",
3
- "version": "2.7.1",
4
- "author": "Lokesh Dhakar",
5
- "description": "Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.",
6
- "keywords": [
7
- "lightbox",
8
- "lightbox2",
9
- "overlay",
10
- "image",
11
- "gallery"
12
- ],
13
- "homepage": "http://lokeshdhakar.com/projects/lightbox2/",
14
- "repository": {
15
- "type": "git",
16
- "url": "https://github.com/lokesh/lightbox2.git"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/lokesh/lightbox2/issues"
20
- },
21
- "licenses": [
22
- {
23
- "type": "Creative Commons Attribution 2.5 License",
24
- "url": "http://creativecommons.org/licenses/by/2.5/"
25
- }
26
- ],
27
- "devDependencies": {
28
- "grunt": "~0.4.2",
29
- "grunt-contrib-compass": "^0.7.2",
30
- "grunt-contrib-watch": "^0.5.3",
31
- "grunt-contrib-connect": "^0.7.1",
32
- "grunt-ftp-deploy": "^0.1.1",
33
- "grunt-contrib-uglify": "~0.4.0",
34
- "grunt-contrib-jshint": "~0.9.2",
35
- "grunt-exec": "~0.4.5"
36
- }
37
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "my-project",
3
- "version": "1.0.0",
4
- "main": "application.js"
5
- }
@@ -1,4 +0,0 @@
1
- {
2
- "directory": "vendor/assets/components",
3
- "json": "bower.json"
4
- }
@@ -1,7 +0,0 @@
1
- {
2
- "name": "my title",
3
- "dependencies": {
4
- "jquery": "~1.11",
5
- "lightbox2": "https://github.com/dg-vrnetze/revealjs-lightbox2.git"
6
- }
7
- }
@@ -1 +0,0 @@
1
- sprockets.append_path File.join(root, 'vendor/assets/components')
@@ -1,2 +0,0 @@
1
- //= link "lightbox2/img/close.png"
2
- //= link "lightbox2/js/lightbox.js"
@@ -1,34 +0,0 @@
1
- {
2
- "name": "lightbox",
3
- "homepage": "http://lokeshdhakar.com/projects/lightbox2/",
4
- "authors": [
5
- "Lokesh Dhakar <lokesh.dhakar@gmail.com>"
6
- ],
7
- "description": "The original Lightbox script. Uses jQuery.",
8
- "main": "js/lightbox.js",
9
- "keywords": [
10
- "lightbox",
11
- "overlay",
12
- "jquery",
13
- "gallery",
14
- "images"
15
- ],
16
- "license": "CC BY 2.5",
17
- "ignore": [
18
- "**/.*",
19
- "Gruntfile.js",
20
- "node_modules",
21
- "bower_components",
22
- "test",
23
- "tests"
24
- ],
25
- "_release": "05ffb8e6d5",
26
- "_resolution": {
27
- "type": "branch",
28
- "branch": "master",
29
- "commit": "05ffb8e6d524762ded286b0c33cebab5347cf34a"
30
- },
31
- "_source": "https://github.com/dg-vrnetze/revealjs-lightbox2.git",
32
- "_target": "*",
33
- "_originalSource": "https://github.com/dg-vrnetze/revealjs-lightbox2.git"
34
- }
@@ -1,26 +0,0 @@
1
- {
2
- "name": "lightbox",
3
- "version": "2.7.1",
4
- "homepage": "http://lokeshdhakar.com/projects/lightbox2/",
5
- "authors": [
6
- "Lokesh Dhakar <lokesh.dhakar@gmail.com>"
7
- ],
8
- "description": "The original Lightbox script. Uses jQuery.",
9
- "main": "js/lightbox.js",
10
- "keywords": [
11
- "lightbox",
12
- "overlay",
13
- "jquery",
14
- "gallery",
15
- "images"
16
- ],
17
- "license": "CC BY 2.5",
18
- "ignore": [
19
- "**/.*",
20
- "Gruntfile.js",
21
- "node_modules",
22
- "bower_components",
23
- "test",
24
- "tests"
25
- ]
26
- }
@@ -1,37 +0,0 @@
1
- {
2
- "name": "lightbox",
3
- "version": "2.7.1",
4
- "author": "Lokesh Dhakar",
5
- "description": "Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.",
6
- "keywords": [
7
- "lightbox",
8
- "lightbox2",
9
- "overlay",
10
- "image",
11
- "gallery"
12
- ],
13
- "homepage": "http://lokeshdhakar.com/projects/lightbox2/",
14
- "repository": {
15
- "type": "git",
16
- "url": "https://github.com/lokesh/lightbox2.git"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/lokesh/lightbox2/issues"
20
- },
21
- "licenses": [
22
- {
23
- "type": "Creative Commons Attribution 2.5 License",
24
- "url": "http://creativecommons.org/licenses/by/2.5/"
25
- }
26
- ],
27
- "devDependencies": {
28
- "grunt": "~0.4.2",
29
- "grunt-contrib-compass": "^0.7.2",
30
- "grunt-contrib-watch": "^0.5.3",
31
- "grunt-contrib-connect": "^0.7.1",
32
- "grunt-ftp-deploy": "^0.1.1",
33
- "grunt-contrib-uglify": "~0.4.0",
34
- "grunt-contrib-jshint": "~0.9.2",
35
- "grunt-exec": "~0.4.5"
36
- }
37
- }
File without changes
@@ -1 +0,0 @@
1
- @import "**/*";
@@ -1,3 +0,0 @@
1
- .module1 {
2
- display: block;
3
- }
@@ -1,2 +0,0 @@
1
- .module2
2
- opacity: 1
@@ -1,3 +0,0 @@
1
- .shared-root {
2
- display: inline;
3
- }
File without changes
@@ -1 +0,0 @@
1
- //= link "jquery.mobile"
@@ -1,2 +0,0 @@
1
- //= require jquery.mobile.theme
2
- //= require jquery.mobile.structure
File without changes
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xlink="http://www.w3.org/1999/xlink" width="300" height="300">
2
- <rect width="100" height="100" fill="#f06"></rect>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xlink="http://www.w3.org/1999/xlink" width="300" height="300">
2
- <rect width="100" height="100" fill="#f06"></rect>
3
- </svg>
File without changes
@@ -1 +0,0 @@
1
- Hola Mundo
@@ -1 +0,0 @@
1
- <%= yield %>
@@ -1,2 +0,0 @@
1
- body
2
- font-size: 18px
@@ -1,2 +0,0 @@
1
- body
2
- font-size: 18px
@@ -1,4 +0,0 @@
1
- @import partial.sass
2
-
3
- red
4
- color: blue
@@ -1,4 +0,0 @@
1
- //= require "_partial2.css.sass"
2
-
3
- red
4
- color: blue
@@ -1,2 +0,0 @@
1
- red
2
- color: blue
@@ -1,2 +0,0 @@
1
- set :js_dir, "library/js"
2
- set :css_dir, "library/css"
@@ -1,6 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <%= javascript_include_tag :plain, :data => { :name => "plain" } %>
5
- </head>
6
- </html>
@@ -1 +0,0 @@
1
- //= require "bootstrap.scss"
@@ -1,5 +0,0 @@
1
- /*= link "vendored.css" */
2
-
3
- #helloWorld {
4
- color: red;
5
- }
@@ -1 +0,0 @@
1
- //= require "sprockets_sub"
@@ -1 +0,0 @@
1
- @import "sprockets_sub.css";
@@ -1 +0,0 @@
1
- hello { world: "hi"; }
@@ -1 +0,0 @@
1
- //= require "jquery"
@@ -1,6 +0,0 @@
1
- //= link "vendored_js"
2
- //= link "coffee"
3
-
4
- function hellowWorld() {
5
-
6
- }
@@ -1,5 +0,0 @@
1
- //= require "sprockets_sub"
2
-
3
- function base() {
4
-
5
- }
@@ -1,3 +0,0 @@
1
- function sprockets_sub_function() {
2
-
3
- }
@@ -1 +0,0 @@
1
- //= require "vendored_js"
@@ -1,2 +0,0 @@
1
- foo = ->
2
- console.log "bar"
@@ -1 +0,0 @@
1
- var vendored_js_included = true;
@@ -1,4 +0,0 @@
1
- $color: brown;
2
- body {
3
- background: $color;
4
- }
File without changes
@@ -1,4 +0,0 @@
1
- -
2
- title: "One"
3
- -
4
- title: "Two"
@@ -1,4 +0,0 @@
1
- [
2
- { "title": "One" },
3
- { "title": "Two" }
4
- ]
@@ -1,3 +0,0 @@
1
- //= require_self
2
-
3
- templatesURL = "<%= asset_path(:js, :templates) %>";
@@ -1 +0,0 @@
1
- alert "Hello <%= data.test[0].title %>"
@@ -1,5 +0,0 @@
1
- //= require "sprockets_sub"
2
-
3
- function base() {
4
-
5
- }
@@ -1,3 +0,0 @@
1
- function sprockets_sub_function() {
2
-
3
- }