middleman 2.0.11.pre-x86-mingw32 → 2.0.11-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -124,12 +124,12 @@ module Middleman::Base
124
124
  module ClassMethods
125
125
  # Override Sinatra's set to accept a block
126
126
  # Specifically for the asset_host feature
127
- def set(option, value = (not_set = true), ignore_setter = false, &block)
127
+ def set(option, value=self, &block)
128
128
  if block_given?
129
129
  value = Proc.new { block }
130
130
  end
131
131
 
132
- super(option, value, ignore_setter, &nil)
132
+ super(option, value, &nil)
133
133
  end
134
134
 
135
135
  def before_processing(name=:unnamed, idx=-1, &block)
@@ -150,10 +150,6 @@ module Middleman::Base
150
150
  end
151
151
 
152
152
  module InstanceMethods
153
- def forward
154
- raise ::Sinatra::NotFound
155
- end
156
-
157
153
  # Internal method to look for templates and evaluate them if found
158
154
  def process_request(options={})
159
155
  if !settings.views.include?(settings.root)
@@ -20,7 +20,7 @@
20
20
  # activate MyExtension
21
21
  #
22
22
  # This will call the `registered` method in your extension and provide you
23
- # with the `app` parameter which is a Middleman::Base context. From here
23
+ # with the `app` parameter which is a Middleman::Server context. From here
24
24
  # you can choose to respond to requests for certain paths or simply attach
25
25
  # Rack middleware to the stack.
26
26
  #
@@ -19,7 +19,7 @@ module Middleman::Features::MinifyJavascript
19
19
  if env["PATH_INFO"].match(/\.html$/)
20
20
  compressor = ::Uglifier.new
21
21
 
22
- if response.is_a?(::Rack::File)# or response.is_a?(::Sinatra::Helpers::StaticFile)
22
+ if response.is_a?(::Rack::File) or response.is_a?(::Sinatra::Helpers::StaticFile)
23
23
  uncompressed_source = File.read(response.path)
24
24
  else
25
25
  uncompressed_source = response.join
@@ -1,3 +1,3 @@
1
1
  module Middleman
2
- VERSION = "2.0.11.pre"
2
+ VERSION = "2.0.11"
3
3
  end
@@ -42,7 +42,7 @@ eos
42
42
  s.add_dependency("thor", ["~> 0.14.0"])
43
43
  s.add_dependency("tilt", ["~> 1.3.1"])
44
44
  s.add_dependency("maruku", ["~> 0.6.0"])
45
- s.add_dependency("sinatra", ["~> 1.3.0"])
45
+ s.add_dependency("sinatra", ["~> 1.2.6"])
46
46
  s.add_dependency("rack-test", ["~> 0.6.1"])
47
47
  s.add_dependency("uglifier", ["~> 1.0.0"])
48
48
  s.add_dependency("slim", ["~> 1.0.2"])
@@ -51,12 +51,17 @@ 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.0"])
54
- s.add_dependency("padrino-core", ["~> 0.10.3"])
55
- s.add_dependency("padrino-helpers", ["~> 0.10.3"])
54
+ s.add_dependency("padrino-core", ["0.10.2"])
55
+ s.add_dependency("padrino-helpers", ["0.10.2"])
56
56
 
57
- s.add_dependency("eventmachine", ["1.0.0.beta.3"])
58
- s.add_dependency("win32-process", ["~> 0.6.5"])
59
- s.add_dependency("rb-fchange")
57
+ # case s.platform.to_s
58
+ # when %r{mingw}
59
+ s.add_dependency("eventmachine", ["1.0.0.beta.3"])
60
+ s.add_dependency("win32-process", ["~> 0.6.5"])
61
+ s.add_dependency("rb-fchange")
62
+ # else
63
+ # s.add_dependency("rb-fsevent", ["~> 0.4.2"])
64
+ # end
60
65
 
61
66
  s.add_dependency("guard", ["~> 0.6.2"])
62
67
  s.add_dependency("middleman-livereload", ["~> 0.2.0"])
@@ -42,7 +42,7 @@ eos
42
42
  s.add_dependency("thor", ["~> 0.14.0"])
43
43
  s.add_dependency("tilt", ["~> 1.3.1"])
44
44
  s.add_dependency("maruku", ["~> 0.6.0"])
45
- s.add_dependency("sinatra", ["~> 1.3.0"])
45
+ s.add_dependency("sinatra", ["~> 1.2.6"])
46
46
  # s.add_dependency("sinatra-synchrony", ["~> 0.2.1"])
47
47
  s.add_dependency("rack-test", ["~> 0.6.1"])
48
48
  s.add_dependency("uglifier", ["~> 1.0.0"])
@@ -52,13 +52,24 @@ eos
52
52
  s.add_dependency("compass", ["~> 0.11.3"])
53
53
  s.add_dependency("coffee-script", ["~> 2.2.0"])
54
54
  s.add_dependency("sprockets", ["~> 2.0.0"])
55
- s.add_dependency("padrino-core", ["~> 0.10.3"])
56
- s.add_dependency("padrino-helpers", ["~> 0.10.3"])
55
+ s.add_dependency("padrino-core", ["0.10.2"])
56
+ s.add_dependency("padrino-helpers", ["0.10.2"])
57
+
58
+ # case s.platform.to_s
59
+ # when %r{mingw}
60
+ # s.add_dependency("eventmachine", ["1.0.0.beta.3"])
61
+ # s.add_dependency("win32-process", ["~> 0.6.5"])
62
+ # s.add_dependency("rb-fchange")
63
+ # else
64
+ # s.add_dependency("rb-fsevent", ["~> 0.4.2"])
65
+ # s.add_dependency("therubyracer", ["~> 0.9.4"])
66
+ # end
57
67
 
58
68
  s.add_dependency("guard", ["~> 0.6.2"])
59
69
  s.add_dependency("middleman-livereload", ["~> 0.2.0"])
60
70
 
61
71
  # Development and test
72
+ # s.add_development_dependency("jquery-rails")
62
73
  s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
63
74
  s.add_development_dependency("liquid", ["~> 2.2.0"])
64
75
  s.add_development_dependency("cucumber", ["~> 1.0.2"])
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915976
5
- prerelease: 7
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
9
  - 11
10
- - pre
11
- version: 2.0.11.pre
10
+ version: 2.0.11
12
11
  platform: x86-mingw32
13
12
  authors:
14
13
  - Thomas Reynolds
@@ -16,11 +15,10 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2011-10-04 00:00:00 -07:00
18
+ date: 2011-10-05 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
- prerelease: false
24
22
  requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
@@ -32,11 +30,11 @@ dependencies:
32
30
  - 3
33
31
  - 0
34
32
  version: 1.3.0
35
- type: :runtime
36
- name: rack
37
33
  version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
34
+ name: rack
39
35
  prerelease: false
36
+ type: :runtime
37
+ - !ruby/object:Gem::Dependency
40
38
  requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
@@ -48,11 +46,11 @@ dependencies:
48
46
  - 2
49
47
  - 11
50
48
  version: 1.2.11
51
- type: :runtime
52
- name: thin
53
49
  version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
50
+ name: thin
55
51
  prerelease: false
52
+ type: :runtime
53
+ - !ruby/object:Gem::Dependency
56
54
  requirement: &id003 !ruby/object:Gem::Requirement
57
55
  none: false
58
56
  requirements:
@@ -64,11 +62,11 @@ dependencies:
64
62
  - 14
65
63
  - 0
66
64
  version: 0.14.0
67
- type: :runtime
68
- name: thor
69
65
  version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
66
+ name: thor
71
67
  prerelease: false
68
+ type: :runtime
69
+ - !ruby/object:Gem::Dependency
72
70
  requirement: &id004 !ruby/object:Gem::Requirement
73
71
  none: false
74
72
  requirements:
@@ -80,11 +78,11 @@ dependencies:
80
78
  - 3
81
79
  - 1
82
80
  version: 1.3.1
83
- type: :runtime
84
- name: tilt
85
81
  version_requirements: *id004
86
- - !ruby/object:Gem::Dependency
82
+ name: tilt
87
83
  prerelease: false
84
+ type: :runtime
85
+ - !ruby/object:Gem::Dependency
88
86
  requirement: &id005 !ruby/object:Gem::Requirement
89
87
  none: false
90
88
  requirements:
@@ -96,27 +94,27 @@ dependencies:
96
94
  - 6
97
95
  - 0
98
96
  version: 0.6.0
99
- type: :runtime
100
- name: maruku
101
97
  version_requirements: *id005
102
- - !ruby/object:Gem::Dependency
98
+ name: maruku
103
99
  prerelease: false
100
+ type: :runtime
101
+ - !ruby/object:Gem::Dependency
104
102
  requirement: &id006 !ruby/object:Gem::Requirement
105
103
  none: false
106
104
  requirements:
107
105
  - - ~>
108
106
  - !ruby/object:Gem::Version
109
- hash: 27
107
+ hash: 19
110
108
  segments:
111
109
  - 1
112
- - 3
113
- - 0
114
- version: 1.3.0
115
- type: :runtime
116
- name: sinatra
110
+ - 2
111
+ - 6
112
+ version: 1.2.6
117
113
  version_requirements: *id006
118
- - !ruby/object:Gem::Dependency
114
+ name: sinatra
119
115
  prerelease: false
116
+ type: :runtime
117
+ - !ruby/object:Gem::Dependency
120
118
  requirement: &id007 !ruby/object:Gem::Requirement
121
119
  none: false
122
120
  requirements:
@@ -128,11 +126,11 @@ dependencies:
128
126
  - 6
129
127
  - 1
130
128
  version: 0.6.1
131
- type: :runtime
132
- name: rack-test
133
129
  version_requirements: *id007
134
- - !ruby/object:Gem::Dependency
130
+ name: rack-test
135
131
  prerelease: false
132
+ type: :runtime
133
+ - !ruby/object:Gem::Dependency
136
134
  requirement: &id008 !ruby/object:Gem::Requirement
137
135
  none: false
138
136
  requirements:
@@ -144,11 +142,11 @@ dependencies:
144
142
  - 0
145
143
  - 0
146
144
  version: 1.0.0
147
- type: :runtime
148
- name: uglifier
149
145
  version_requirements: *id008
150
- - !ruby/object:Gem::Dependency
146
+ name: uglifier
151
147
  prerelease: false
148
+ type: :runtime
149
+ - !ruby/object:Gem::Dependency
152
150
  requirement: &id009 !ruby/object:Gem::Requirement
153
151
  none: false
154
152
  requirements:
@@ -160,11 +158,11 @@ dependencies:
160
158
  - 0
161
159
  - 2
162
160
  version: 1.0.2
163
- type: :runtime
164
- name: slim
165
161
  version_requirements: *id009
166
- - !ruby/object:Gem::Dependency
162
+ name: slim
167
163
  prerelease: false
164
+ type: :runtime
165
+ - !ruby/object:Gem::Dependency
168
166
  requirement: &id010 !ruby/object:Gem::Requirement
169
167
  none: false
170
168
  requirements:
@@ -176,11 +174,11 @@ dependencies:
176
174
  - 1
177
175
  - 0
178
176
  version: 3.1.0
179
- type: :runtime
180
- name: haml
181
177
  version_requirements: *id010
182
- - !ruby/object:Gem::Dependency
178
+ name: haml
183
179
  prerelease: false
180
+ type: :runtime
181
+ - !ruby/object:Gem::Dependency
184
182
  requirement: &id011 !ruby/object:Gem::Requirement
185
183
  none: false
186
184
  requirements:
@@ -192,11 +190,11 @@ dependencies:
192
190
  - 1
193
191
  - 7
194
192
  version: 3.1.7
195
- type: :runtime
196
- name: sass
197
193
  version_requirements: *id011
198
- - !ruby/object:Gem::Dependency
194
+ name: sass
199
195
  prerelease: false
196
+ type: :runtime
197
+ - !ruby/object:Gem::Dependency
200
198
  requirement: &id012 !ruby/object:Gem::Requirement
201
199
  none: false
202
200
  requirements:
@@ -208,11 +206,11 @@ dependencies:
208
206
  - 11
209
207
  - 3
210
208
  version: 0.11.3
211
- type: :runtime
212
- name: compass
213
209
  version_requirements: *id012
214
- - !ruby/object:Gem::Dependency
210
+ name: compass
215
211
  prerelease: false
212
+ type: :runtime
213
+ - !ruby/object:Gem::Dependency
216
214
  requirement: &id013 !ruby/object:Gem::Requirement
217
215
  none: false
218
216
  requirements:
@@ -224,11 +222,11 @@ dependencies:
224
222
  - 2
225
223
  - 0
226
224
  version: 2.2.0
227
- type: :runtime
228
- name: coffee-script
229
225
  version_requirements: *id013
230
- - !ruby/object:Gem::Dependency
226
+ name: coffee-script
231
227
  prerelease: false
228
+ type: :runtime
229
+ - !ruby/object:Gem::Dependency
232
230
  requirement: &id014 !ruby/object:Gem::Requirement
233
231
  none: false
234
232
  requirements:
@@ -240,43 +238,43 @@ dependencies:
240
238
  - 0
241
239
  - 0
242
240
  version: 2.0.0
243
- type: :runtime
244
- name: sprockets
245
241
  version_requirements: *id014
246
- - !ruby/object:Gem::Dependency
242
+ name: sprockets
247
243
  prerelease: false
244
+ type: :runtime
245
+ - !ruby/object:Gem::Dependency
248
246
  requirement: &id015 !ruby/object:Gem::Requirement
249
247
  none: false
250
248
  requirements:
251
- - - ~>
249
+ - - "="
252
250
  - !ruby/object:Gem::Version
253
- hash: 49
251
+ hash: 51
254
252
  segments:
255
253
  - 0
256
254
  - 10
257
- - 3
258
- version: 0.10.3
259
- type: :runtime
260
- name: padrino-core
255
+ - 2
256
+ version: 0.10.2
261
257
  version_requirements: *id015
262
- - !ruby/object:Gem::Dependency
258
+ name: padrino-core
263
259
  prerelease: false
260
+ type: :runtime
261
+ - !ruby/object:Gem::Dependency
264
262
  requirement: &id016 !ruby/object:Gem::Requirement
265
263
  none: false
266
264
  requirements:
267
- - - ~>
265
+ - - "="
268
266
  - !ruby/object:Gem::Version
269
- hash: 49
267
+ hash: 51
270
268
  segments:
271
269
  - 0
272
270
  - 10
273
- - 3
274
- version: 0.10.3
275
- type: :runtime
276
- name: padrino-helpers
271
+ - 2
272
+ version: 0.10.2
277
273
  version_requirements: *id016
278
- - !ruby/object:Gem::Dependency
274
+ name: padrino-helpers
279
275
  prerelease: false
276
+ type: :runtime
277
+ - !ruby/object:Gem::Dependency
280
278
  requirement: &id017 !ruby/object:Gem::Requirement
281
279
  none: false
282
280
  requirements:
@@ -290,11 +288,11 @@ dependencies:
290
288
  - beta
291
289
  - 3
292
290
  version: 1.0.0.beta.3
293
- type: :runtime
294
- name: eventmachine
295
291
  version_requirements: *id017
296
- - !ruby/object:Gem::Dependency
292
+ name: eventmachine
297
293
  prerelease: false
294
+ type: :runtime
295
+ - !ruby/object:Gem::Dependency
298
296
  requirement: &id018 !ruby/object:Gem::Requirement
299
297
  none: false
300
298
  requirements:
@@ -306,11 +304,11 @@ dependencies:
306
304
  - 6
307
305
  - 5
308
306
  version: 0.6.5
309
- type: :runtime
310
- name: win32-process
311
307
  version_requirements: *id018
312
- - !ruby/object:Gem::Dependency
308
+ name: win32-process
313
309
  prerelease: false
310
+ type: :runtime
311
+ - !ruby/object:Gem::Dependency
314
312
  requirement: &id019 !ruby/object:Gem::Requirement
315
313
  none: false
316
314
  requirements:
@@ -320,11 +318,11 @@ dependencies:
320
318
  segments:
321
319
  - 0
322
320
  version: "0"
323
- type: :runtime
324
- name: rb-fchange
325
321
  version_requirements: *id019
326
- - !ruby/object:Gem::Dependency
322
+ name: rb-fchange
327
323
  prerelease: false
324
+ type: :runtime
325
+ - !ruby/object:Gem::Dependency
328
326
  requirement: &id020 !ruby/object:Gem::Requirement
329
327
  none: false
330
328
  requirements:
@@ -336,11 +334,11 @@ dependencies:
336
334
  - 6
337
335
  - 2
338
336
  version: 0.6.2
339
- type: :runtime
340
- name: guard
341
337
  version_requirements: *id020
342
- - !ruby/object:Gem::Dependency
338
+ name: guard
343
339
  prerelease: false
340
+ type: :runtime
341
+ - !ruby/object:Gem::Dependency
344
342
  requirement: &id021 !ruby/object:Gem::Requirement
345
343
  none: false
346
344
  requirements:
@@ -352,11 +350,11 @@ dependencies:
352
350
  - 2
353
351
  - 0
354
352
  version: 0.2.0
355
- type: :runtime
356
- name: middleman-livereload
357
353
  version_requirements: *id021
358
- - !ruby/object:Gem::Dependency
354
+ name: middleman-livereload
359
355
  prerelease: false
356
+ type: :runtime
357
+ - !ruby/object:Gem::Dependency
360
358
  requirement: &id022 !ruby/object:Gem::Requirement
361
359
  none: false
362
360
  requirements:
@@ -368,11 +366,11 @@ dependencies:
368
366
  - 1
369
367
  - 1
370
368
  version: 0.1.1
371
- type: :development
372
- name: coffee-filter
373
369
  version_requirements: *id022
374
- - !ruby/object:Gem::Dependency
370
+ name: coffee-filter
375
371
  prerelease: false
372
+ type: :development
373
+ - !ruby/object:Gem::Dependency
376
374
  requirement: &id023 !ruby/object:Gem::Requirement
377
375
  none: false
378
376
  requirements:
@@ -384,11 +382,11 @@ dependencies:
384
382
  - 2
385
383
  - 0
386
384
  version: 2.2.0
387
- type: :development
388
- name: liquid
389
385
  version_requirements: *id023
390
- - !ruby/object:Gem::Dependency
386
+ name: liquid
391
387
  prerelease: false
388
+ type: :development
389
+ - !ruby/object:Gem::Dependency
392
390
  requirement: &id024 !ruby/object:Gem::Requirement
393
391
  none: false
394
392
  requirements:
@@ -400,11 +398,11 @@ dependencies:
400
398
  - 0
401
399
  - 2
402
400
  version: 1.0.2
403
- type: :development
404
- name: cucumber
405
401
  version_requirements: *id024
406
- - !ruby/object:Gem::Dependency
402
+ name: cucumber
407
403
  prerelease: false
404
+ type: :development
405
+ - !ruby/object:Gem::Dependency
408
406
  requirement: &id025 !ruby/object:Gem::Requirement
409
407
  none: false
410
408
  requirements:
@@ -416,11 +414,11 @@ dependencies:
416
414
  - 8
417
415
  - 7
418
416
  version: 0.8.7
419
- type: :development
420
- name: rake
421
417
  version_requirements: *id025
422
- - !ruby/object:Gem::Dependency
418
+ name: rake
423
419
  prerelease: false
420
+ type: :development
421
+ - !ruby/object:Gem::Dependency
424
422
  requirement: &id026 !ruby/object:Gem::Requirement
425
423
  none: false
426
424
  requirements:
@@ -432,9 +430,10 @@ dependencies:
432
430
  - 6
433
431
  - 0
434
432
  version: 2.6.0
435
- type: :development
436
- name: rspec
437
433
  version_requirements: *id026
434
+ name: rspec
435
+ prerelease: false
436
+ type: :development
438
437
  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.
439
438
  email:
440
439
  - me@tdreyno.com
@@ -761,14 +760,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
761
760
  required_rubygems_version: !ruby/object:Gem::Requirement
762
761
  none: false
763
762
  requirements:
764
- - - ">"
763
+ - - ">="
765
764
  - !ruby/object:Gem::Version
766
- hash: 25
765
+ hash: 3
767
766
  segments:
768
- - 1
769
- - 3
770
- - 1
771
- version: 1.3.1
767
+ - 0
768
+ version: "0"
772
769
  requirements: []
773
770
 
774
771
  rubyforge_project: