middleman 2.0.13.1 → 2.0.14.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,16 @@
1
1
  Feature: Sprockets
2
2
 
3
- Scenario: Sprockets require
3
+ Scenario: Sprockets JS require
4
4
  Given the Server is running at "test-app"
5
5
  When I go to "/javascripts/sprockets_base.js"
6
6
  Then I should see "sprockets_sub_function"
7
7
 
8
- Scenario: Sprockets require with custom :js_dir
8
+ Scenario: Sprockets JS require with custom :js_dir
9
9
  Given the Server is running at "sprockets-app"
10
10
  When I go to "/library/javascripts/sprockets_base.js"
11
11
  Then I should see "sprockets_sub_function"
12
12
 
13
- Scenario: Sprockets should have access to yaml data
13
+ Scenario: Sprockets JS should have access to yaml data
14
14
  Given the Server is running at "test-app"
15
15
  When I go to "/javascripts/multiple_engines.js"
16
16
  Then I should see "Hello One"
@@ -18,4 +18,24 @@ Feature: Sprockets
18
18
  Scenario: Multiple engine files should build correctly
19
19
  Given a built app at "test-app"
20
20
  Then "javascripts/multiple_engines.js" should exist at "test-app" and include "Hello One"
21
- And cleanup built app at "test-app"
21
+ And cleanup built app at "test-app"
22
+
23
+ Scenario: Sprockets CSS require //require
24
+ Given the Server is running at "test-app"
25
+ When I go to "/stylesheets/sprockets_base1.css"
26
+ Then I should see "hello"
27
+
28
+ Scenario: Sprockets CSS require @import
29
+ Given the Server is running at "test-app"
30
+ When I go to "/stylesheets/sprockets_base2.css"
31
+ Then I should see "hello"
32
+
33
+ Scenario: Sprockets CSS require with custom :css_dir //require
34
+ Given the Server is running at "sprockets-app"
35
+ When I go to "/library/stylesheets/sprockets_base1.css"
36
+ Then I should see "hello"
37
+
38
+ Scenario: Sprockets CSS require with custom :css_dir @import
39
+ Given the Server is running at "sprockets-app"
40
+ When I go to "/library/stylesheets/sprockets_base2.css"
41
+ Then I should see "hello"
@@ -1,7 +1,5 @@
1
- @wip
2
1
  Feature: Sprockets Gems
3
-
4
2
  Scenario: Sprockets can pull jQuery from gem
5
3
  Given the Server is running at "sprockets-app"
6
- When I go to "/javascripts/jquery_include.js"
4
+ When I go to "/library/javascripts/jquery_include.js"
7
5
  Then I should see "var jQuery ="
@@ -1 +1,2 @@
1
- set :js_dir, "library/javascripts"
1
+ set :js_dir, "library/javascripts"
2
+ set :css_dir, "library/stylesheets"
@@ -0,0 +1 @@
1
+ //= require "sprockets_sub"
@@ -0,0 +1 @@
1
+ @import "sprockets_sub";
@@ -0,0 +1 @@
1
+ hello { world: "hi"; }
@@ -68,7 +68,7 @@ module Middleman::CoreExtensions::Compass
68
68
  config.asset_cache_buster :none
69
69
  config.output_style = :nested
70
70
 
71
- config.add_import_path(config.sass_dir)
71
+ # config.add_import_path(config.sass_dir)
72
72
  end
73
73
 
74
74
  # Required for relative paths
@@ -84,8 +84,9 @@ module Middleman::CoreExtensions::Compass
84
84
  end
85
85
 
86
86
  app.execute_after_compass_init!
87
+ app.execute_after_compass_config!
87
88
 
88
- app.set :sass, ::Compass.configuration.to_sass_engine_options
89
+ # app.set :sass, ::Compass.configuration.to_sass_engine_options
89
90
  end
90
91
  end
91
92
  alias :included :registered
@@ -102,5 +103,15 @@ module Middleman::CoreExtensions::Compass
102
103
  @run_after_compass ||= []
103
104
  @run_after_compass.each { |block| block.call(::Compass.configuration) }
104
105
  end
106
+
107
+ def after_compass_config(&block)
108
+ @run_after_compass_config ||= []
109
+ @run_after_compass_config << block
110
+ end
111
+
112
+ def execute_after_compass_config!
113
+ @run_after_compass_config ||= []
114
+ @run_after_compass_config.each { |block| block.call() }
115
+ end
105
116
  end
106
117
  end
@@ -33,10 +33,20 @@ module Middleman::CoreExtensions::Sprockets
33
33
  app.map "/#{app.js_dir}" do
34
34
  run js_env
35
35
  end
36
+ end
37
+
38
+ app.after_compass_config do
39
+ css_env = Middleman::CoreExtensions::Sprockets::StylesheetEnvironment.new(app)
40
+ css_dir = File.join("vendor", "assets", "stylesheets")
41
+ gems_with_css = ::Middleman.rubygems_latest_specs.select do |spec|
42
+ ::Middleman.spec_has_file?(spec, css_dir)
43
+ end.each do |spec|
44
+ css_env.append_path File.join(spec.full_gem_path, css_dir)
45
+ end
36
46
 
37
- # app.map "/#{app.css_dir}" do
38
- # run Middleman::CoreExtensions::Sprockets::StylesheetEnvironment.new(app)
39
- # end
47
+ app.map "/#{app.css_dir}" do
48
+ run css_env
49
+ end
40
50
  end
41
51
  end
42
52
  alias :included :registered
@@ -82,21 +92,20 @@ module Middleman::CoreExtensions::Sprockets
82
92
  end
83
93
  end
84
94
 
85
- # class StylesheetEnvironment < MiddlemanEnvironment
86
- # def initialize(app)
87
- # super
88
- #
89
- # # Disable js
90
- # unregister_processor "application/javascript", ::Sprockets::DirectiveProcessor
91
- #
92
- # # configure search paths
93
- # stylesheets_path = File.join(File.expand_path(app.views), app.css_dir)
94
- # append_path stylesheets_path
95
- # end
96
- #
97
- # def css_exception_response(exception)
98
- # expire_index!
99
- # super(exception)
100
- # end
101
- # end
95
+ class StylesheetEnvironment < MiddlemanEnvironment
96
+ def initialize(app)
97
+ super
98
+
99
+ # Disable js
100
+ unregister_processor "application/javascript", ::Sprockets::DirectiveProcessor
101
+
102
+ # configure search paths
103
+ append_path app.css_dir
104
+ end
105
+
106
+ def css_exception_response(exception)
107
+ expire_index!
108
+ super(exception)
109
+ end
110
+ end
102
111
  end
@@ -1,5 +1,6 @@
1
+ require "sprockets"
2
+ require "sprockets-sass"
1
3
  require "sass"
2
- require "sass/plugin"
3
4
 
4
5
  module Middleman::Renderers::Sass
5
6
  class << self
@@ -9,41 +10,50 @@ module Middleman::Renderers::Sass
9
10
  end
10
11
  alias :included :registered
11
12
  end
12
-
13
- class SassPlusCSSFilenameTemplate < ::Tilt::SassTemplate
14
- def sass_options_with_scope(scope)
15
- return sass_options if basename.nil?
16
-
17
- location_of_sass_file = if scope.build?
18
- File.join(scope.root, scope.build_dir)
19
- else
20
- scope.views
21
- end
22
-
23
- parts = basename.split('.')
24
- parts.pop
25
- css_filename = File.join(location_of_sass_file, scope.css_dir, parts.join("."))
26
- sass_options.merge(scope.settings.sass).merge(:css_filename => css_filename)
27
- end
28
13
 
29
- def evaluate(scope, locals, &block)
30
- @engine = ::Sass::Engine.new(data, sass_options_with_scope(scope.class))
31
-
14
+ class SassPlusCSSFilenameTemplate < ::Sprockets::Sass::SassTemplate
15
+ self.default_mime_type = "text/css"
16
+
17
+ # Add exception messaging
18
+ def evaluate(context, locals, &block)
32
19
  begin
33
20
  super
34
21
  rescue Sass::SyntaxError => e
35
22
  Sass::SyntaxError.exception_to_css(e, :full_exception => true)
36
23
  end
37
24
  end
25
+
26
+ protected
27
+ def sass_options
28
+ location_of_sass_file = if @context.build?
29
+ File.expand_path(@context.build_dir, @context.root)
30
+ else
31
+ File.expand_path(@context.views, @context.root)
32
+ end
33
+
34
+ parts = basename.split('.')
35
+ parts.pop
36
+ css_filename = File.join(location_of_sass_file, @context.css_dir, parts.join("."))
37
+
38
+ super.merge(
39
+ :css_filename => css_filename
40
+ )
41
+ end
38
42
  end
43
+ ::Sprockets.register_engine ".sass", SassPlusCSSFilenameTemplate
39
44
  ::Tilt.register 'sass', SassPlusCSSFilenameTemplate
40
45
  ::Tilt.prefer(SassPlusCSSFilenameTemplate)
41
-
46
+
42
47
  class ScssPlusCSSFilenameTemplate < SassPlusCSSFilenameTemplate
43
- def sass_options_with_scope(scope)
44
- super.merge(:syntax => :scss)
48
+ self.default_mime_type = "text/css"
49
+
50
+ # Define the expected syntax for the template
51
+ def syntax
52
+ :scss
45
53
  end
46
54
  end
55
+
56
+ ::Sprockets.register_engine ".scss", ScssPlusCSSFilenameTemplate
47
57
  ::Tilt.register 'scss', ScssPlusCSSFilenameTemplate
48
58
  ::Tilt.prefer(ScssPlusCSSFilenameTemplate)
49
59
  end
@@ -1,3 +1,3 @@
1
1
  module Middleman
2
- VERSION = "2.0.13.1"
2
+ VERSION = "2.0.14.pre"
3
3
  end
@@ -51,6 +51,7 @@ eos
51
51
  s.add_dependency("compass", ["~> 0.11.3"])
52
52
  s.add_dependency("coffee-script", ["~> 2.2.0"])
53
53
  s.add_dependency("sprockets", ["~> 2.0.3"])
54
+ s.add_dependency("sprockets-sass", ["~> 0.3.0"])
54
55
  s.add_dependency("padrino-core", ["~> 0.10.5"])
55
56
  s.add_dependency("padrino-helpers", ["~> 0.10.5"])
56
57
 
@@ -68,5 +69,6 @@ eos
68
69
  s.add_development_dependency("cucumber", ["~> 1.0.2"])
69
70
  s.add_development_dependency("rake", ["~> 0.9.2"])
70
71
  s.add_development_dependency("rspec", ["~> 2.6.0"])
72
+ s.add_development_dependency("jquery-rails")
71
73
  end
72
74
 
@@ -53,6 +53,7 @@ eos
53
53
  s.add_dependency("coffee-script", ["~> 2.2.0"])
54
54
  s.add_dependency("execjs", ["~> 1.2.7"])
55
55
  s.add_dependency("sprockets", ["~> 2.0.3"])
56
+ s.add_dependency("sprockets-sass", ["~> 0.3.0"])
56
57
  s.add_dependency("padrino-core", ["~> 0.10.5"])
57
58
  s.add_dependency("padrino-helpers", ["~> 0.10.5"])
58
59
 
@@ -65,5 +66,6 @@ eos
65
66
  s.add_development_dependency("cucumber", ["~> 1.0.2"])
66
67
  s.add_development_dependency("rake", ["~> 0.9.2"])
67
68
  s.add_development_dependency("rspec", ["~> 2.6.0"])
69
+ s.add_development_dependency("jquery-rails")
68
70
  end
69
71
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 89
5
- prerelease:
4
+ hash: 961915996
5
+ prerelease: 7
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 13
10
- - 1
11
- version: 2.0.13.1
9
+ - 14
10
+ - pre
11
+ version: 2.0.14.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Thomas Reynolds
@@ -16,10 +16,11 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-10-18 00:00:00 -07:00
19
+ date: 2011-10-19 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
+ prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
24
25
  none: false
25
26
  requirements:
@@ -31,11 +32,11 @@ dependencies:
31
32
  - 3
32
33
  - 5
33
34
  version: 1.3.5
34
- version_requirements: *id001
35
- name: rack
36
- prerelease: false
37
35
  type: :runtime
36
+ name: rack
37
+ version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency
39
+ prerelease: false
39
40
  requirement: &id002 !ruby/object:Gem::Requirement
40
41
  none: false
41
42
  requirements:
@@ -47,11 +48,11 @@ dependencies:
47
48
  - 2
48
49
  - 11
49
50
  version: 1.2.11
50
- version_requirements: *id002
51
- name: thin
52
- prerelease: false
53
51
  type: :runtime
52
+ name: thin
53
+ version_requirements: *id002
54
54
  - !ruby/object:Gem::Dependency
55
+ prerelease: false
55
56
  requirement: &id003 !ruby/object:Gem::Requirement
56
57
  none: false
57
58
  requirements:
@@ -63,11 +64,11 @@ dependencies:
63
64
  - 14
64
65
  - 0
65
66
  version: 0.14.0
66
- version_requirements: *id003
67
- name: thor
68
- prerelease: false
69
67
  type: :runtime
68
+ name: thor
69
+ version_requirements: *id003
70
70
  - !ruby/object:Gem::Dependency
71
+ prerelease: false
71
72
  requirement: &id004 !ruby/object:Gem::Requirement
72
73
  none: false
73
74
  requirements:
@@ -79,11 +80,11 @@ dependencies:
79
80
  - 3
80
81
  - 1
81
82
  version: 1.3.1
82
- version_requirements: *id004
83
- name: tilt
84
- prerelease: false
85
83
  type: :runtime
84
+ name: tilt
85
+ version_requirements: *id004
86
86
  - !ruby/object:Gem::Dependency
87
+ prerelease: false
87
88
  requirement: &id005 !ruby/object:Gem::Requirement
88
89
  none: false
89
90
  requirements:
@@ -95,11 +96,11 @@ dependencies:
95
96
  - 6
96
97
  - 0
97
98
  version: 0.6.0
98
- version_requirements: *id005
99
- name: maruku
100
- prerelease: false
101
99
  type: :runtime
100
+ name: maruku
101
+ version_requirements: *id005
102
102
  - !ruby/object:Gem::Dependency
103
+ prerelease: false
103
104
  requirement: &id006 !ruby/object:Gem::Requirement
104
105
  none: false
105
106
  requirements:
@@ -111,11 +112,11 @@ dependencies:
111
112
  - 3
112
113
  - 1
113
114
  version: 1.3.1
114
- version_requirements: *id006
115
- name: sinatra
116
- prerelease: false
117
115
  type: :runtime
116
+ name: sinatra
117
+ version_requirements: *id006
118
118
  - !ruby/object:Gem::Dependency
119
+ prerelease: false
119
120
  requirement: &id007 !ruby/object:Gem::Requirement
120
121
  none: false
121
122
  requirements:
@@ -127,11 +128,11 @@ dependencies:
127
128
  - 6
128
129
  - 1
129
130
  version: 0.6.1
130
- version_requirements: *id007
131
- name: rack-test
132
- prerelease: false
133
131
  type: :runtime
132
+ name: rack-test
133
+ version_requirements: *id007
134
134
  - !ruby/object:Gem::Dependency
135
+ prerelease: false
135
136
  requirement: &id008 !ruby/object:Gem::Requirement
136
137
  none: false
137
138
  requirements:
@@ -143,11 +144,11 @@ dependencies:
143
144
  - 0
144
145
  - 0
145
146
  version: 1.0.0
146
- version_requirements: *id008
147
- name: uglifier
148
- prerelease: false
149
147
  type: :runtime
148
+ name: uglifier
149
+ version_requirements: *id008
150
150
  - !ruby/object:Gem::Dependency
151
+ prerelease: false
151
152
  requirement: &id009 !ruby/object:Gem::Requirement
152
153
  none: false
153
154
  requirements:
@@ -159,11 +160,11 @@ dependencies:
159
160
  - 0
160
161
  - 2
161
162
  version: 1.0.2
162
- version_requirements: *id009
163
- name: slim
164
- prerelease: false
165
163
  type: :runtime
164
+ name: slim
165
+ version_requirements: *id009
166
166
  - !ruby/object:Gem::Dependency
167
+ prerelease: false
167
168
  requirement: &id010 !ruby/object:Gem::Requirement
168
169
  none: false
169
170
  requirements:
@@ -175,11 +176,11 @@ dependencies:
175
176
  - 1
176
177
  - 0
177
178
  version: 3.1.0
178
- version_requirements: *id010
179
- name: haml
180
- prerelease: false
181
179
  type: :runtime
180
+ name: haml
181
+ version_requirements: *id010
182
182
  - !ruby/object:Gem::Dependency
183
+ prerelease: false
183
184
  requirement: &id011 !ruby/object:Gem::Requirement
184
185
  none: false
185
186
  requirements:
@@ -191,11 +192,11 @@ dependencies:
191
192
  - 1
192
193
  - 7
193
194
  version: 3.1.7
194
- version_requirements: *id011
195
- name: sass
196
- prerelease: false
197
195
  type: :runtime
196
+ name: sass
197
+ version_requirements: *id011
198
198
  - !ruby/object:Gem::Dependency
199
+ prerelease: false
199
200
  requirement: &id012 !ruby/object:Gem::Requirement
200
201
  none: false
201
202
  requirements:
@@ -207,11 +208,11 @@ dependencies:
207
208
  - 11
208
209
  - 3
209
210
  version: 0.11.3
210
- version_requirements: *id012
211
- name: compass
212
- prerelease: false
213
211
  type: :runtime
212
+ name: compass
213
+ version_requirements: *id012
214
214
  - !ruby/object:Gem::Dependency
215
+ prerelease: false
215
216
  requirement: &id013 !ruby/object:Gem::Requirement
216
217
  none: false
217
218
  requirements:
@@ -223,11 +224,11 @@ dependencies:
223
224
  - 2
224
225
  - 0
225
226
  version: 2.2.0
226
- version_requirements: *id013
227
- name: coffee-script
228
- prerelease: false
229
227
  type: :runtime
228
+ name: coffee-script
229
+ version_requirements: *id013
230
230
  - !ruby/object:Gem::Dependency
231
+ prerelease: false
231
232
  requirement: &id014 !ruby/object:Gem::Requirement
232
233
  none: false
233
234
  requirements:
@@ -239,11 +240,11 @@ dependencies:
239
240
  - 2
240
241
  - 7
241
242
  version: 1.2.7
242
- version_requirements: *id014
243
- name: execjs
244
- prerelease: false
245
243
  type: :runtime
244
+ name: execjs
245
+ version_requirements: *id014
246
246
  - !ruby/object:Gem::Dependency
247
+ prerelease: false
247
248
  requirement: &id015 !ruby/object:Gem::Requirement
248
249
  none: false
249
250
  requirements:
@@ -255,12 +256,28 @@ dependencies:
255
256
  - 0
256
257
  - 3
257
258
  version: 2.0.3
258
- version_requirements: *id015
259
+ type: :runtime
259
260
  name: sprockets
261
+ version_requirements: *id015
262
+ - !ruby/object:Gem::Dependency
260
263
  prerelease: false
264
+ requirement: &id016 !ruby/object:Gem::Requirement
265
+ none: false
266
+ requirements:
267
+ - - ~>
268
+ - !ruby/object:Gem::Version
269
+ hash: 19
270
+ segments:
271
+ - 0
272
+ - 3
273
+ - 0
274
+ version: 0.3.0
261
275
  type: :runtime
276
+ name: sprockets-sass
277
+ version_requirements: *id016
262
278
  - !ruby/object:Gem::Dependency
263
- requirement: &id016 !ruby/object:Gem::Requirement
279
+ prerelease: false
280
+ requirement: &id017 !ruby/object:Gem::Requirement
264
281
  none: false
265
282
  requirements:
266
283
  - - ~>
@@ -271,12 +288,12 @@ dependencies:
271
288
  - 10
272
289
  - 5
273
290
  version: 0.10.5
274
- version_requirements: *id016
275
- name: padrino-core
276
- prerelease: false
277
291
  type: :runtime
292
+ name: padrino-core
293
+ version_requirements: *id017
278
294
  - !ruby/object:Gem::Dependency
279
- requirement: &id017 !ruby/object:Gem::Requirement
295
+ prerelease: false
296
+ requirement: &id018 !ruby/object:Gem::Requirement
280
297
  none: false
281
298
  requirements:
282
299
  - - ~>
@@ -287,12 +304,12 @@ dependencies:
287
304
  - 10
288
305
  - 5
289
306
  version: 0.10.5
290
- version_requirements: *id017
291
- name: padrino-helpers
292
- prerelease: false
293
307
  type: :runtime
308
+ name: padrino-helpers
309
+ version_requirements: *id018
294
310
  - !ruby/object:Gem::Dependency
295
- requirement: &id018 !ruby/object:Gem::Requirement
311
+ prerelease: false
312
+ requirement: &id019 !ruby/object:Gem::Requirement
296
313
  none: false
297
314
  requirements:
298
315
  - - ~>
@@ -303,12 +320,12 @@ dependencies:
303
320
  - 6
304
321
  - 2
305
322
  version: 0.6.2
306
- version_requirements: *id018
307
- name: guard
308
- prerelease: false
309
323
  type: :runtime
324
+ name: guard
325
+ version_requirements: *id019
310
326
  - !ruby/object:Gem::Dependency
311
- requirement: &id019 !ruby/object:Gem::Requirement
327
+ prerelease: false
328
+ requirement: &id020 !ruby/object:Gem::Requirement
312
329
  none: false
313
330
  requirements:
314
331
  - - ~>
@@ -319,12 +336,12 @@ dependencies:
319
336
  - 2
320
337
  - 0
321
338
  version: 0.2.0
322
- version_requirements: *id019
323
- name: middleman-livereload
324
- prerelease: false
325
339
  type: :runtime
340
+ name: middleman-livereload
341
+ version_requirements: *id020
326
342
  - !ruby/object:Gem::Dependency
327
- requirement: &id020 !ruby/object:Gem::Requirement
343
+ prerelease: false
344
+ requirement: &id021 !ruby/object:Gem::Requirement
328
345
  none: false
329
346
  requirements:
330
347
  - - ~>
@@ -335,12 +352,12 @@ dependencies:
335
352
  - 1
336
353
  - 1
337
354
  version: 0.1.1
338
- version_requirements: *id020
339
- name: coffee-filter
340
- prerelease: false
341
355
  type: :development
356
+ name: coffee-filter
357
+ version_requirements: *id021
342
358
  - !ruby/object:Gem::Dependency
343
- requirement: &id021 !ruby/object:Gem::Requirement
359
+ prerelease: false
360
+ requirement: &id022 !ruby/object:Gem::Requirement
344
361
  none: false
345
362
  requirements:
346
363
  - - ~>
@@ -351,12 +368,12 @@ dependencies:
351
368
  - 2
352
369
  - 0
353
370
  version: 2.2.0
354
- version_requirements: *id021
355
- name: liquid
356
- prerelease: false
357
371
  type: :development
372
+ name: liquid
373
+ version_requirements: *id022
358
374
  - !ruby/object:Gem::Dependency
359
- requirement: &id022 !ruby/object:Gem::Requirement
375
+ prerelease: false
376
+ requirement: &id023 !ruby/object:Gem::Requirement
360
377
  none: false
361
378
  requirements:
362
379
  - - ~>
@@ -367,12 +384,12 @@ dependencies:
367
384
  - 0
368
385
  - 2
369
386
  version: 1.0.2
370
- version_requirements: *id022
371
- name: cucumber
372
- prerelease: false
373
387
  type: :development
388
+ name: cucumber
389
+ version_requirements: *id023
374
390
  - !ruby/object:Gem::Dependency
375
- requirement: &id023 !ruby/object:Gem::Requirement
391
+ prerelease: false
392
+ requirement: &id024 !ruby/object:Gem::Requirement
376
393
  none: false
377
394
  requirements:
378
395
  - - ~>
@@ -383,12 +400,12 @@ dependencies:
383
400
  - 9
384
401
  - 2
385
402
  version: 0.9.2
386
- version_requirements: *id023
387
- name: rake
388
- prerelease: false
389
403
  type: :development
404
+ name: rake
405
+ version_requirements: *id024
390
406
  - !ruby/object:Gem::Dependency
391
- requirement: &id024 !ruby/object:Gem::Requirement
407
+ prerelease: false
408
+ requirement: &id025 !ruby/object:Gem::Requirement
392
409
  none: false
393
410
  requirements:
394
411
  - - ~>
@@ -399,10 +416,23 @@ dependencies:
399
416
  - 6
400
417
  - 0
401
418
  version: 2.6.0
402
- version_requirements: *id024
419
+ type: :development
403
420
  name: rspec
421
+ version_requirements: *id025
422
+ - !ruby/object:Gem::Dependency
404
423
  prerelease: false
424
+ requirement: &id026 !ruby/object:Gem::Requirement
425
+ none: false
426
+ requirements:
427
+ - - ">="
428
+ - !ruby/object:Gem::Version
429
+ hash: 3
430
+ segments:
431
+ - 0
432
+ version: "0"
405
433
  type: :development
434
+ name: jquery-rails
435
+ version_requirements: *id026
406
436
  description: A static site generator based on Sinatra. Providing dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle.
407
437
  email:
408
438
  - me@tdreyno.com
@@ -496,9 +526,12 @@ files:
496
526
  - fixtures/relative-app/source/images/blank.gif
497
527
  - fixtures/relative-app/source/stylesheets/relative_assets.css.sass
498
528
  - fixtures/sprockets-app/config.rb
499
- - fixtures/sprockets-app/source/jquery_include.js
529
+ - fixtures/sprockets-app/source/library/javascripts/jquery_include.js
500
530
  - fixtures/sprockets-app/source/library/javascripts/sprockets_base.js
501
531
  - fixtures/sprockets-app/source/library/javascripts/sprockets_sub.js
532
+ - fixtures/sprockets-app/source/library/stylesheets/sprockets_base1.css.scss
533
+ - fixtures/sprockets-app/source/library/stylesheets/sprockets_base2.css.scss
534
+ - fixtures/sprockets-app/source/library/stylesheets/sprockets_sub.css.scss
502
535
  - fixtures/test-app/config.rb
503
536
  - fixtures/test-app/data/test.yml
504
537
  - fixtures/test-app/data/test2.json
@@ -567,6 +600,9 @@ files:
567
600
  - fixtures/test-app/source/stylesheets/relative_assets.css.sass
568
601
  - fixtures/test-app/source/stylesheets/site.css.sass
569
602
  - fixtures/test-app/source/stylesheets/site_scss.css.scss
603
+ - fixtures/test-app/source/stylesheets/sprockets_base1.css.scss
604
+ - fixtures/test-app/source/stylesheets/sprockets_base2.css.scss
605
+ - fixtures/test-app/source/stylesheets/sprockets_sub.css.scss
570
606
  - fixtures/test-app/source/stylesheets/static.css
571
607
  - fixtures/test-app/source/sub1/page-classes.html.haml
572
608
  - fixtures/test-app/source/sub1/sub2/page-classes.html.haml
@@ -745,12 +781,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
745
781
  required_rubygems_version: !ruby/object:Gem::Requirement
746
782
  none: false
747
783
  requirements:
748
- - - ">="
784
+ - - ">"
749
785
  - !ruby/object:Gem::Version
750
- hash: 3
786
+ hash: 25
751
787
  segments:
752
- - 0
753
- version: "0"
788
+ - 1
789
+ - 3
790
+ - 1
791
+ version: 1.3.1
754
792
  requirements: []
755
793
 
756
794
  rubyforge_project:
@@ -827,9 +865,12 @@ test_files:
827
865
  - fixtures/relative-app/source/images/blank.gif
828
866
  - fixtures/relative-app/source/stylesheets/relative_assets.css.sass
829
867
  - fixtures/sprockets-app/config.rb
830
- - fixtures/sprockets-app/source/jquery_include.js
868
+ - fixtures/sprockets-app/source/library/javascripts/jquery_include.js
831
869
  - fixtures/sprockets-app/source/library/javascripts/sprockets_base.js
832
870
  - fixtures/sprockets-app/source/library/javascripts/sprockets_sub.js
871
+ - fixtures/sprockets-app/source/library/stylesheets/sprockets_base1.css.scss
872
+ - fixtures/sprockets-app/source/library/stylesheets/sprockets_base2.css.scss
873
+ - fixtures/sprockets-app/source/library/stylesheets/sprockets_sub.css.scss
833
874
  - fixtures/test-app/config.rb
834
875
  - fixtures/test-app/data/test.yml
835
876
  - fixtures/test-app/data/test2.json
@@ -898,6 +939,9 @@ test_files:
898
939
  - fixtures/test-app/source/stylesheets/relative_assets.css.sass
899
940
  - fixtures/test-app/source/stylesheets/site.css.sass
900
941
  - fixtures/test-app/source/stylesheets/site_scss.css.scss
942
+ - fixtures/test-app/source/stylesheets/sprockets_base1.css.scss
943
+ - fixtures/test-app/source/stylesheets/sprockets_base2.css.scss
944
+ - fixtures/test-app/source/stylesheets/sprockets_sub.css.scss
901
945
  - fixtures/test-app/source/stylesheets/static.css
902
946
  - fixtures/test-app/source/sub1/page-classes.html.haml
903
947
  - fixtures/test-app/source/sub1/sub2/page-classes.html.haml