middleman-sprockets 3.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.travis.yml +10 -0
- data/Gemfile +28 -0
- data/LICENSE +20 -0
- data/README.md +49 -0
- data/Rakefile +19 -0
- data/features/asset_hash.feature +102 -0
- data/features/sass_partials.feature +34 -0
- data/features/sprockets.feature +52 -0
- data/features/sprockets_gems.feature +15 -0
- data/features/support/env.rb +4 -0
- data/fixtures/asset-hash-app/config.rb +7 -0
- data/fixtures/asset-hash-app/source/images/100px.gif +0 -0
- data/fixtures/asset-hash-app/source/images/100px.jpg +0 -0
- data/fixtures/asset-hash-app/source/images/100px.png +0 -0
- data/fixtures/asset-hash-app/source/index.html.erb +308 -0
- data/fixtures/asset-hash-app/source/javascripts/application.js +8 -0
- data/fixtures/asset-hash-app/source/javascripts/sprockets_base.js +5 -0
- data/fixtures/asset-hash-app/source/javascripts/sprockets_sub.js +3 -0
- data/fixtures/asset-hash-app/source/layout.erb +18 -0
- data/fixtures/asset-hash-app/source/other.html.erb +2 -0
- data/fixtures/asset-hash-app/source/partials.html.erb +2 -0
- data/fixtures/asset-hash-app/source/stylesheets/_partial.sass +2 -0
- data/fixtures/asset-hash-app/source/stylesheets/site.css.scss +4 -0
- data/fixtures/asset-hash-app/source/stylesheets/uses_partials.css.sass +4 -0
- data/fixtures/asset-hash-app/source/subdir/index.html.erb +308 -0
- data/fixtures/asset-hash-host-app/config.rb +6 -0
- data/fixtures/asset-hash-host-app/source/images/100px.gif +0 -0
- data/fixtures/asset-hash-host-app/source/images/100px.jpg +0 -0
- data/fixtures/asset-hash-host-app/source/images/100px.png +0 -0
- data/fixtures/asset-hash-host-app/source/index.html.erb +6 -0
- data/fixtures/asset-hash-host-app/source/layout.erb +17 -0
- data/fixtures/asset-hash-host-app/source/other.html.erb +2 -0
- data/fixtures/asset-hash-host-app/source/stylesheets/site.css.scss +4 -0
- data/fixtures/asset-hash-host-app/source/subdir/index.html.erb +6 -0
- data/fixtures/preview-app/config.rb +0 -0
- data/fixtures/preview-app/source/content.html.erb +1 -0
- data/fixtures/preview-app/source/layout.erb +1 -0
- data/fixtures/preview-app/source/stylesheets/_partial.sass +2 -0
- data/fixtures/preview-app/source/stylesheets/_partial2.css.sass +2 -0
- data/fixtures/preview-app/source/stylesheets/main.css.sass +4 -0
- data/fixtures/preview-app/source/stylesheets/main2.css.sass +4 -0
- data/fixtures/preview-app/source/stylesheets/plain.css.sass +2 -0
- data/fixtures/sprockets-app/config.rb +2 -0
- data/fixtures/sprockets-app/source/library/css/bootstrap_include.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/css/plain.css +3 -0
- data/fixtures/sprockets-app/source/library/css/sprockets_base1.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/css/sprockets_base2.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/css/sprockets_sub.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/js/jquery_include.js +1 -0
- data/fixtures/sprockets-app/source/library/js/plain.js +3 -0
- data/fixtures/sprockets-app/source/library/js/sprockets_base.js +5 -0
- data/fixtures/sprockets-app/source/library/js/sprockets_sub.js +3 -0
- data/fixtures/sprockets-app/source/library/js/vendored_include.js +1 -0
- data/fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js +1 -0
- data/fixtures/sprockets-app2/config.rb +0 -0
- data/fixtures/sprockets-app2/data/test.yml +4 -0
- data/fixtures/sprockets-app2/data/test2.json +4 -0
- data/fixtures/sprockets-app2/source/javascripts/multiple_engines.js.coffee.erb +1 -0
- data/fixtures/sprockets-app2/source/javascripts/sprockets_base.js +5 -0
- data/fixtures/sprockets-app2/source/javascripts/sprockets_sub.js +3 -0
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_base1.css.scss +1 -0
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_base2.css.scss +1 -0
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_sub.css.scss +1 -0
- data/lib/middleman-sprockets.rb +7 -0
- data/lib/middleman-sprockets/extension.rb +112 -0
- data/lib/middleman-sprockets/sass.rb +77 -0
- data/lib/middleman-sprockets/version.rb +5 -0
- data/lib/middleman_extension.rb +1 -0
- data/middleman-sprockets.gemspec +24 -0
- metadata +216 -0
@@ -0,0 +1 @@
|
|
1
|
+
//= require "bootstrap.scss"
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require "sprockets_sub"
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "sprockets_sub";
|
@@ -0,0 +1 @@
|
|
1
|
+
hello { world: "hi"; }
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require "jquery"
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require "vendored_js"
|
@@ -0,0 +1 @@
|
|
1
|
+
var vendored_js_included = true;
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
alert "Hello <%= data.test[0].title %>"
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require "sprockets_sub"
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "sprockets_sub";
|
@@ -0,0 +1 @@
|
|
1
|
+
hello { world: "hi"; }
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require "sprockets"
|
2
|
+
|
3
|
+
# Sprockets extension
|
4
|
+
module Middleman::Sprockets
|
5
|
+
|
6
|
+
# Setup extension
|
7
|
+
class << self
|
8
|
+
|
9
|
+
# Once registered
|
10
|
+
def registered(app)
|
11
|
+
# Add class methods to context
|
12
|
+
app.send :include, InstanceMethods
|
13
|
+
|
14
|
+
require "middleman-sprockets/sass"
|
15
|
+
app.register Middleman::Sprockets::Sass
|
16
|
+
|
17
|
+
# Once Middleman is setup
|
18
|
+
app.ready do
|
19
|
+
# Add any gems with (vendor|app|.)/assets/javascripts to paths
|
20
|
+
# also add similar directories from project root (like in rails)
|
21
|
+
try_paths = [
|
22
|
+
%w{ assets },
|
23
|
+
%w{ app },
|
24
|
+
%w{ app assets },
|
25
|
+
%w{ vendor },
|
26
|
+
%w{ vendor assets },
|
27
|
+
%w{ lib },
|
28
|
+
%w{ lib assets }
|
29
|
+
].inject([]) do |sum, v|
|
30
|
+
sum + [File.join(v, 'javascripts'), File.join(v, 'stylesheets')]
|
31
|
+
end
|
32
|
+
|
33
|
+
([root] + ::Middleman.rubygems_latest_specs.map(&:full_gem_path)).each do |root_path|
|
34
|
+
try_paths.map {|p| File.join(root_path, p) }.
|
35
|
+
select {|p| File.directory?(p) }.
|
36
|
+
each {|path| sprockets.append_path(path) }
|
37
|
+
end
|
38
|
+
|
39
|
+
# Setup Sprockets Sass options
|
40
|
+
sass.each { |k, v| ::Sprockets::Sass.options[k] = v }
|
41
|
+
|
42
|
+
# Intercept requests to /javascripts and /stylesheets and pass to sprockets
|
43
|
+
our_sprockets = sprockets
|
44
|
+
|
45
|
+
map("/#{js_dir}") { run our_sprockets }
|
46
|
+
map("/#{css_dir}") { run our_sprockets }
|
47
|
+
end
|
48
|
+
end
|
49
|
+
alias :included :registered
|
50
|
+
end
|
51
|
+
|
52
|
+
module InstanceMethods
|
53
|
+
# @return [Middleman::CoreExtensions::Sprockets::MiddlemanSprocketsEnvironment]
|
54
|
+
def sprockets
|
55
|
+
@sprockets ||= MiddlemanSprocketsEnvironment.new(self)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# Generic Middleman Sprockets env
|
60
|
+
class MiddlemanSprocketsEnvironment < ::Sprockets::Environment
|
61
|
+
# Setup
|
62
|
+
def initialize(app)
|
63
|
+
@app = app
|
64
|
+
super app.source_dir
|
65
|
+
|
66
|
+
# Make the app context available to Sprockets
|
67
|
+
context_class.send(:define_method, :app) { app }
|
68
|
+
context_class.class_eval do
|
69
|
+
def method_missing(name)
|
70
|
+
if app.respond_to?(name)
|
71
|
+
app.send(name)
|
72
|
+
else
|
73
|
+
super
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Remove compressors, we handle these with middleware
|
79
|
+
unregister_bundle_processor 'application/javascript', :js_compressor
|
80
|
+
unregister_bundle_processor 'text/css', :css_compressor
|
81
|
+
|
82
|
+
# configure search paths
|
83
|
+
append_path app.js_dir
|
84
|
+
append_path app.css_dir
|
85
|
+
end
|
86
|
+
|
87
|
+
# Override Sprockets' default digest function to *not*
|
88
|
+
# change depending on the exact Sprockets version. It still takes
|
89
|
+
# into account "version" which is a user-suppliable version
|
90
|
+
# number that can be used to force assets to have a new
|
91
|
+
# hash.
|
92
|
+
def digest
|
93
|
+
@digest ||= Digest::SHA1.new.update(version.to_s)
|
94
|
+
@digest.dup
|
95
|
+
end
|
96
|
+
|
97
|
+
# During development, don't use the asset cache
|
98
|
+
def find_asset(path, options = {})
|
99
|
+
expire_index! if @app.development?
|
100
|
+
super
|
101
|
+
end
|
102
|
+
|
103
|
+
# Clear cache on error
|
104
|
+
def javascript_exception_response(exception)
|
105
|
+
expire_index!
|
106
|
+
super(exception)
|
107
|
+
end
|
108
|
+
|
109
|
+
# Clear cache on error
|
110
|
+
alias :css_exception_response :javascript_exception_response
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
require "sprockets-sass"
|
2
|
+
|
3
|
+
module Middleman
|
4
|
+
module Sprockets
|
5
|
+
|
6
|
+
# Sass renderer
|
7
|
+
module Sass
|
8
|
+
|
9
|
+
# Setup extension
|
10
|
+
class << self
|
11
|
+
|
12
|
+
# Once registered
|
13
|
+
def registered(app)
|
14
|
+
|
15
|
+
# Stick with Compass' asset functions
|
16
|
+
::Sprockets::Sass.add_sass_functions = false
|
17
|
+
|
18
|
+
# Tell Sprockets to use our custom Sass template
|
19
|
+
::Sprockets.register_engine ".sass", SassPlusCSSFilenameTemplate
|
20
|
+
|
21
|
+
# Tell Tilt to use it as well (for inline sass blocks)
|
22
|
+
::Tilt.register 'sass', SassPlusCSSFilenameTemplate
|
23
|
+
::Tilt.prefer(SassPlusCSSFilenameTemplate)
|
24
|
+
|
25
|
+
# Tell Sprockets to use our custom Scss template
|
26
|
+
::Sprockets.register_engine ".scss", ScssPlusCSSFilenameTemplate
|
27
|
+
|
28
|
+
# Tell Tilt to use it as well (for inline scss blocks)
|
29
|
+
::Tilt.register 'scss', ScssPlusCSSFilenameTemplate
|
30
|
+
::Tilt.prefer(ScssPlusCSSFilenameTemplate)
|
31
|
+
end
|
32
|
+
|
33
|
+
alias :included :registered
|
34
|
+
end
|
35
|
+
|
36
|
+
# A SassTemplate for Sprockets/Tilt which outputs debug messages
|
37
|
+
class SassPlusCSSFilenameTemplate < ::Sprockets::Sass::SassTemplate
|
38
|
+
|
39
|
+
# Add exception messaging
|
40
|
+
# @param [Class] context
|
41
|
+
# @param [Hash] locals
|
42
|
+
# @return [String]
|
43
|
+
def evaluate(context, locals, &block)
|
44
|
+
begin
|
45
|
+
super
|
46
|
+
rescue ::Sass::SyntaxError => e
|
47
|
+
::Sass::SyntaxError.exception_to_css(e, :full_exception => true)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
protected
|
52
|
+
# Change Sass path, for url functions, to the build folder if we're building
|
53
|
+
# @return [Hash]
|
54
|
+
def sass_options
|
55
|
+
location_of_sass_file = File.expand_path(@context.source, @context.root)
|
56
|
+
|
57
|
+
parts = basename.split('.')
|
58
|
+
parts.pop
|
59
|
+
css_filename = File.join(location_of_sass_file, @context.css_dir, parts.join("."))
|
60
|
+
|
61
|
+
super.merge(:css_filename => css_filename)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# SCSS version of the above template
|
66
|
+
class ScssPlusCSSFilenameTemplate < SassPlusCSSFilenameTemplate
|
67
|
+
|
68
|
+
# Define the expected syntax for the template
|
69
|
+
# @return [Symbol]
|
70
|
+
def syntax
|
71
|
+
:scss
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require "middleman-sprockets"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "middleman-sprockets/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "middleman-sprockets"
|
7
|
+
s.version = Middleman::Sprockets::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Thomas Reynolds"]
|
10
|
+
s.email = ["me@tdreyno.com"]
|
11
|
+
s.homepage = "https://github.com/middleman/middleman-sprockets"
|
12
|
+
s.summary = %q{Sprockets support for Middleman}
|
13
|
+
s.description = %q{Sprockets support for Middleman}
|
14
|
+
|
15
|
+
s.rubyforge_project = "middleman-sprockets"
|
16
|
+
|
17
|
+
s.files = `git ls-files -z`.split("\0")
|
18
|
+
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_dependency("middleman-more", Middleman::Sprockets::VERSION)
|
22
|
+
s.add_dependency("sprockets", ["~> 2.1"])
|
23
|
+
s.add_dependency("sprockets-sass", ["~> 0.8.0"])
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: middleman-sprockets
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.0.rc.1
|
5
|
+
prerelease: 6
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Thomas Reynolds
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-06-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: middleman-more
|
16
|
+
requirement: &70099731799300 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - =
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.0.rc.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70099731799300
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sprockets
|
27
|
+
requirement: &70099731798820 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.1'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70099731798820
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: sprockets-sass
|
38
|
+
requirement: &70099731798260 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.8.0
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70099731798260
|
47
|
+
description: Sprockets support for Middleman
|
48
|
+
email:
|
49
|
+
- me@tdreyno.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- .gitignore
|
55
|
+
- .travis.yml
|
56
|
+
- Gemfile
|
57
|
+
- LICENSE
|
58
|
+
- README.md
|
59
|
+
- Rakefile
|
60
|
+
- features/asset_hash.feature
|
61
|
+
- features/sass_partials.feature
|
62
|
+
- features/sprockets.feature
|
63
|
+
- features/sprockets_gems.feature
|
64
|
+
- features/support/env.rb
|
65
|
+
- fixtures/asset-hash-app/config.rb
|
66
|
+
- fixtures/asset-hash-app/source/images/100px.gif
|
67
|
+
- fixtures/asset-hash-app/source/images/100px.jpg
|
68
|
+
- fixtures/asset-hash-app/source/images/100px.png
|
69
|
+
- fixtures/asset-hash-app/source/index.html.erb
|
70
|
+
- fixtures/asset-hash-app/source/javascripts/application.js
|
71
|
+
- fixtures/asset-hash-app/source/javascripts/sprockets_base.js
|
72
|
+
- fixtures/asset-hash-app/source/javascripts/sprockets_sub.js
|
73
|
+
- fixtures/asset-hash-app/source/layout.erb
|
74
|
+
- fixtures/asset-hash-app/source/other.html.erb
|
75
|
+
- fixtures/asset-hash-app/source/partials.html.erb
|
76
|
+
- fixtures/asset-hash-app/source/stylesheets/_partial.sass
|
77
|
+
- fixtures/asset-hash-app/source/stylesheets/site.css.scss
|
78
|
+
- fixtures/asset-hash-app/source/stylesheets/uses_partials.css.sass
|
79
|
+
- fixtures/asset-hash-app/source/subdir/index.html.erb
|
80
|
+
- fixtures/asset-hash-host-app/config.rb
|
81
|
+
- fixtures/asset-hash-host-app/source/images/100px.gif
|
82
|
+
- fixtures/asset-hash-host-app/source/images/100px.jpg
|
83
|
+
- fixtures/asset-hash-host-app/source/images/100px.png
|
84
|
+
- fixtures/asset-hash-host-app/source/index.html.erb
|
85
|
+
- fixtures/asset-hash-host-app/source/layout.erb
|
86
|
+
- fixtures/asset-hash-host-app/source/other.html.erb
|
87
|
+
- fixtures/asset-hash-host-app/source/stylesheets/site.css.scss
|
88
|
+
- fixtures/asset-hash-host-app/source/subdir/index.html.erb
|
89
|
+
- fixtures/preview-app/config.rb
|
90
|
+
- fixtures/preview-app/source/content.html.erb
|
91
|
+
- fixtures/preview-app/source/layout.erb
|
92
|
+
- fixtures/preview-app/source/stylesheets/_partial.sass
|
93
|
+
- fixtures/preview-app/source/stylesheets/_partial2.css.sass
|
94
|
+
- fixtures/preview-app/source/stylesheets/main.css.sass
|
95
|
+
- fixtures/preview-app/source/stylesheets/main2.css.sass
|
96
|
+
- fixtures/preview-app/source/stylesheets/plain.css.sass
|
97
|
+
- fixtures/sprockets-app/.sass-cache/be37f3d65d619a3996ff80c3e286084336419f31/bootstrap_include.css.scssc
|
98
|
+
- fixtures/sprockets-app/.sass-cache/be37f3d65d619a3996ff80c3e286084336419f31/sprockets_base1.css.scssc
|
99
|
+
- fixtures/sprockets-app/.sass-cache/be37f3d65d619a3996ff80c3e286084336419f31/sprockets_base2.css.scssc
|
100
|
+
- fixtures/sprockets-app/config.rb
|
101
|
+
- fixtures/sprockets-app/source/library/css/bootstrap_include.css.scss
|
102
|
+
- fixtures/sprockets-app/source/library/css/plain.css
|
103
|
+
- fixtures/sprockets-app/source/library/css/sprockets_base1.css.scss
|
104
|
+
- fixtures/sprockets-app/source/library/css/sprockets_base2.css.scss
|
105
|
+
- fixtures/sprockets-app/source/library/css/sprockets_sub.css.scss
|
106
|
+
- fixtures/sprockets-app/source/library/js/jquery_include.js
|
107
|
+
- fixtures/sprockets-app/source/library/js/plain.js
|
108
|
+
- fixtures/sprockets-app/source/library/js/sprockets_base.js
|
109
|
+
- fixtures/sprockets-app/source/library/js/sprockets_sub.js
|
110
|
+
- fixtures/sprockets-app/source/library/js/vendored_include.js
|
111
|
+
- fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js
|
112
|
+
- fixtures/sprockets-app2/config.rb
|
113
|
+
- fixtures/sprockets-app2/data/test.yml
|
114
|
+
- fixtures/sprockets-app2/data/test2.json
|
115
|
+
- fixtures/sprockets-app2/source/javascripts/multiple_engines.js.coffee.erb
|
116
|
+
- fixtures/sprockets-app2/source/javascripts/sprockets_base.js
|
117
|
+
- fixtures/sprockets-app2/source/javascripts/sprockets_sub.js
|
118
|
+
- fixtures/sprockets-app2/source/stylesheets/sprockets_base1.css.scss
|
119
|
+
- fixtures/sprockets-app2/source/stylesheets/sprockets_base2.css.scss
|
120
|
+
- fixtures/sprockets-app2/source/stylesheets/sprockets_sub.css.scss
|
121
|
+
- lib/middleman-sprockets.rb
|
122
|
+
- lib/middleman-sprockets/extension.rb
|
123
|
+
- lib/middleman-sprockets/sass.rb
|
124
|
+
- lib/middleman-sprockets/version.rb
|
125
|
+
- lib/middleman_extension.rb
|
126
|
+
- middleman-sprockets.gemspec
|
127
|
+
homepage: https://github.com/middleman/middleman-sprockets
|
128
|
+
licenses: []
|
129
|
+
post_install_message:
|
130
|
+
rdoc_options: []
|
131
|
+
require_paths:
|
132
|
+
- lib
|
133
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
hash: -2333278997374709311
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
none: false
|
144
|
+
requirements:
|
145
|
+
- - ! '>'
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 1.3.1
|
148
|
+
requirements: []
|
149
|
+
rubyforge_project: middleman-sprockets
|
150
|
+
rubygems_version: 1.8.11
|
151
|
+
signing_key:
|
152
|
+
specification_version: 3
|
153
|
+
summary: Sprockets support for Middleman
|
154
|
+
test_files:
|
155
|
+
- features/asset_hash.feature
|
156
|
+
- features/sass_partials.feature
|
157
|
+
- features/sprockets.feature
|
158
|
+
- features/sprockets_gems.feature
|
159
|
+
- features/support/env.rb
|
160
|
+
- fixtures/asset-hash-app/config.rb
|
161
|
+
- fixtures/asset-hash-app/source/images/100px.gif
|
162
|
+
- fixtures/asset-hash-app/source/images/100px.jpg
|
163
|
+
- fixtures/asset-hash-app/source/images/100px.png
|
164
|
+
- fixtures/asset-hash-app/source/index.html.erb
|
165
|
+
- fixtures/asset-hash-app/source/javascripts/application.js
|
166
|
+
- fixtures/asset-hash-app/source/javascripts/sprockets_base.js
|
167
|
+
- fixtures/asset-hash-app/source/javascripts/sprockets_sub.js
|
168
|
+
- fixtures/asset-hash-app/source/layout.erb
|
169
|
+
- fixtures/asset-hash-app/source/other.html.erb
|
170
|
+
- fixtures/asset-hash-app/source/partials.html.erb
|
171
|
+
- fixtures/asset-hash-app/source/stylesheets/_partial.sass
|
172
|
+
- fixtures/asset-hash-app/source/stylesheets/site.css.scss
|
173
|
+
- fixtures/asset-hash-app/source/stylesheets/uses_partials.css.sass
|
174
|
+
- fixtures/asset-hash-app/source/subdir/index.html.erb
|
175
|
+
- fixtures/asset-hash-host-app/config.rb
|
176
|
+
- fixtures/asset-hash-host-app/source/images/100px.gif
|
177
|
+
- fixtures/asset-hash-host-app/source/images/100px.jpg
|
178
|
+
- fixtures/asset-hash-host-app/source/images/100px.png
|
179
|
+
- fixtures/asset-hash-host-app/source/index.html.erb
|
180
|
+
- fixtures/asset-hash-host-app/source/layout.erb
|
181
|
+
- fixtures/asset-hash-host-app/source/other.html.erb
|
182
|
+
- fixtures/asset-hash-host-app/source/stylesheets/site.css.scss
|
183
|
+
- fixtures/asset-hash-host-app/source/subdir/index.html.erb
|
184
|
+
- fixtures/preview-app/config.rb
|
185
|
+
- fixtures/preview-app/source/content.html.erb
|
186
|
+
- fixtures/preview-app/source/layout.erb
|
187
|
+
- fixtures/preview-app/source/stylesheets/_partial.sass
|
188
|
+
- fixtures/preview-app/source/stylesheets/_partial2.css.sass
|
189
|
+
- fixtures/preview-app/source/stylesheets/main.css.sass
|
190
|
+
- fixtures/preview-app/source/stylesheets/main2.css.sass
|
191
|
+
- fixtures/preview-app/source/stylesheets/plain.css.sass
|
192
|
+
- fixtures/sprockets-app/.sass-cache/be37f3d65d619a3996ff80c3e286084336419f31/bootstrap_include.css.scssc
|
193
|
+
- fixtures/sprockets-app/.sass-cache/be37f3d65d619a3996ff80c3e286084336419f31/sprockets_base1.css.scssc
|
194
|
+
- fixtures/sprockets-app/.sass-cache/be37f3d65d619a3996ff80c3e286084336419f31/sprockets_base2.css.scssc
|
195
|
+
- fixtures/sprockets-app/config.rb
|
196
|
+
- fixtures/sprockets-app/source/library/css/bootstrap_include.css.scss
|
197
|
+
- fixtures/sprockets-app/source/library/css/plain.css
|
198
|
+
- fixtures/sprockets-app/source/library/css/sprockets_base1.css.scss
|
199
|
+
- fixtures/sprockets-app/source/library/css/sprockets_base2.css.scss
|
200
|
+
- fixtures/sprockets-app/source/library/css/sprockets_sub.css.scss
|
201
|
+
- fixtures/sprockets-app/source/library/js/jquery_include.js
|
202
|
+
- fixtures/sprockets-app/source/library/js/plain.js
|
203
|
+
- fixtures/sprockets-app/source/library/js/sprockets_base.js
|
204
|
+
- fixtures/sprockets-app/source/library/js/sprockets_sub.js
|
205
|
+
- fixtures/sprockets-app/source/library/js/vendored_include.js
|
206
|
+
- fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js
|
207
|
+
- fixtures/sprockets-app2/config.rb
|
208
|
+
- fixtures/sprockets-app2/data/test.yml
|
209
|
+
- fixtures/sprockets-app2/data/test2.json
|
210
|
+
- fixtures/sprockets-app2/source/javascripts/multiple_engines.js.coffee.erb
|
211
|
+
- fixtures/sprockets-app2/source/javascripts/sprockets_base.js
|
212
|
+
- fixtures/sprockets-app2/source/javascripts/sprockets_sub.js
|
213
|
+
- fixtures/sprockets-app2/source/stylesheets/sprockets_base1.css.scss
|
214
|
+
- fixtures/sprockets-app2/source/stylesheets/sprockets_base2.css.scss
|
215
|
+
- fixtures/sprockets-app2/source/stylesheets/sprockets_sub.css.scss
|
216
|
+
has_rdoc:
|