middleman 0.14.0.pre2 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -16,15 +16,15 @@ begin
16
16
  gem.add_dependency("rack")
17
17
  gem.add_dependency("thin")
18
18
 
19
- gem.add_dependency("shotgun")
19
+ gem.add_dependency("shotgun", ">=0.8")
20
20
  gem.add_dependency("templater")
21
21
  gem.add_dependency("sprockets")
22
22
  gem.add_dependency("sinatra", ">=1.0")
23
23
  gem.add_dependency("sinatra-content-for")
24
24
  gem.add_dependency("rack-test")
25
25
  gem.add_dependency("yui-compressor")
26
- gem.add_dependency("haml", ">=3.0.0.rc.1")
27
- gem.add_dependency("compass", ">=0.10.0.rc3")
26
+ gem.add_dependency("haml", ">=3.0")
27
+ gem.add_dependency("compass", ">=0.10")
28
28
  gem.add_dependency("fancy-buttons")
29
29
  gem.add_dependency("json_pure")
30
30
  gem.add_dependency("smusher")
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.14.0.pre2
1
+ 0.14.0
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  require 'shotgun'
52
52
  config = File.join(File.dirname(__FILE__), '..', 'lib', 'middleman', 'config.ru')
53
- app = Shotgun.new(config, lambda { |inner_app| Middleman::Base })
53
+ app = Shotgun.new(config, &lambda { |inner_app| Middleman::Base })
54
54
 
55
55
  require 'rubygems'
56
56
  require 'thin'
@@ -19,4 +19,4 @@ Feature: Minify CSS
19
19
  Scenario: Rendering external css with the feature disabled
20
20
  Given "minify_css" feature is "disabled"
21
21
  When I go to "/stylesheets/site.css"
22
- Then I should see "56" lines
22
+ Then I should see "51" lines
@@ -23,5 +23,6 @@ Then /^I should not see "([^\"]*)"$/ do |expected|
23
23
  end
24
24
 
25
25
  Then /^I should see "([^\"]*)" lines$/ do |lines|
26
+ puts @browser.last_response.body
26
27
  @browser.last_response.body.chomp.split($/).length.should == lines.to_i
27
28
  end
@@ -1,6 +1,5 @@
1
1
  require "sass"
2
2
  require "compass"
3
- require "compass-colors"
4
3
  require "fancy-buttons"
5
4
 
6
5
  begin
@@ -1,27 +1,27 @@
1
- @import compass.sass
2
- @import blueprint.sass
1
+ @import "compass"
2
+ @import "blueprint"
3
3
 
4
- !font_color = #2a2a2a
5
- !link_color = #0388a6
6
- !link_hover_color = #009ce0
7
- !link_focus_color = !link_color
8
- !link_active_color = !link_color
9
- !link_visited_color = !link_color
4
+ $font-color: #2a2a2a
5
+ $link-color: #0388a6
6
+ $link-hover-color: #009ce0
7
+ $link-focus-color: $link-color
8
+ $link-active-color: $link-color
9
+ $link-visited-color: $link-color
10
10
 
11
- !blueprint_font_family = "'Century Gothic', 'Apple Gothic', 'Helvetica Neue', arial, sans-serif"
12
- !blueprint_font_size = 13px
13
-
14
- !blueprint_grid_columns = 12
15
- !blueprint_grid_width = 60px
16
- !blueprint_grid_margin = 20px
11
+ $blueprint-font-family: 'Century Gothic', 'Apple Gothic', 'Helvetica Neue', arial, sans-serif
12
+ $blueprint-font-size: 13px
13
+ $blueprint-grid-columns: 12
14
+ $blueprint-grid-width: 60px
15
+ $blueprint-grid-margin: 20px
17
16
 
18
17
  +global-reset
18
+
19
19
  +blueprint-typography
20
20
 
21
21
  a
22
- +link-colors(!link_color, !link_hover_color, !link_focus_color, !link_active_color, !link_visited_color)
22
+ +link-colors($link-color, $link-hover-color, $link-focus-color, $link-active-color, $link-visited-color)
23
23
 
24
24
  #frame
25
25
  padding: 50px
26
26
  text-align: center
27
- +container
27
+ +container
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{middleman}
8
- s.version = "0.14.0.pre2"
8
+ s.version = "0.14.0"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thomas Reynolds"]
12
- s.date = %q{2010-04-28}
12
+ s.date = %q{2010-08-03}
13
13
  s.email = %q{tdreyno@gmail.com}
14
14
  s.executables = ["mm-init", "mm-build", "mm-server"]
15
15
  s.extra_rdoc_files = [
@@ -99,7 +99,7 @@ Gem::Specification.new do |s|
99
99
  s.rdoc_options = ["--charset=UTF-8"]
100
100
  s.require_paths = ["lib"]
101
101
  s.rubyforge_project = %q{middleman}
102
- s.rubygems_version = %q{1.3.6}
102
+ s.rubygems_version = %q{1.3.7}
103
103
  s.summary = %q{A static site generator utilizing Haml, Sass and providing YUI compression and cache busting}
104
104
  s.test_files = [
105
105
  "spec/builder_spec.rb",
@@ -112,18 +112,18 @@ Gem::Specification.new do |s|
112
112
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
113
113
  s.specification_version = 3
114
114
 
115
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
115
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
116
116
  s.add_runtime_dependency(%q<rack>, [">= 0"])
117
117
  s.add_runtime_dependency(%q<thin>, [">= 0"])
118
- s.add_runtime_dependency(%q<shotgun>, [">= 0"])
118
+ s.add_runtime_dependency(%q<shotgun>, [">= 0.8"])
119
119
  s.add_runtime_dependency(%q<templater>, [">= 0"])
120
120
  s.add_runtime_dependency(%q<sprockets>, [">= 0"])
121
121
  s.add_runtime_dependency(%q<sinatra>, [">= 1.0"])
122
122
  s.add_runtime_dependency(%q<sinatra-content-for>, [">= 0"])
123
123
  s.add_runtime_dependency(%q<rack-test>, [">= 0"])
124
124
  s.add_runtime_dependency(%q<yui-compressor>, [">= 0"])
125
- s.add_runtime_dependency(%q<haml>, [">= 3.0.0.rc.1"])
126
- s.add_runtime_dependency(%q<compass>, [">= 0.10.0.rc3"])
125
+ s.add_runtime_dependency(%q<haml>, [">= 3.0"])
126
+ s.add_runtime_dependency(%q<compass>, [">= 0.10"])
127
127
  s.add_runtime_dependency(%q<fancy-buttons>, [">= 0"])
128
128
  s.add_runtime_dependency(%q<json_pure>, [">= 0"])
129
129
  s.add_runtime_dependency(%q<smusher>, [">= 0"])
@@ -134,15 +134,15 @@ Gem::Specification.new do |s|
134
134
  else
135
135
  s.add_dependency(%q<rack>, [">= 0"])
136
136
  s.add_dependency(%q<thin>, [">= 0"])
137
- s.add_dependency(%q<shotgun>, [">= 0"])
137
+ s.add_dependency(%q<shotgun>, [">= 0.8"])
138
138
  s.add_dependency(%q<templater>, [">= 0"])
139
139
  s.add_dependency(%q<sprockets>, [">= 0"])
140
140
  s.add_dependency(%q<sinatra>, [">= 1.0"])
141
141
  s.add_dependency(%q<sinatra-content-for>, [">= 0"])
142
142
  s.add_dependency(%q<rack-test>, [">= 0"])
143
143
  s.add_dependency(%q<yui-compressor>, [">= 0"])
144
- s.add_dependency(%q<haml>, [">= 3.0.0.rc.1"])
145
- s.add_dependency(%q<compass>, [">= 0.10.0.rc3"])
144
+ s.add_dependency(%q<haml>, [">= 3.0"])
145
+ s.add_dependency(%q<compass>, [">= 0.10"])
146
146
  s.add_dependency(%q<fancy-buttons>, [">= 0"])
147
147
  s.add_dependency(%q<json_pure>, [">= 0"])
148
148
  s.add_dependency(%q<smusher>, [">= 0"])
@@ -154,15 +154,15 @@ Gem::Specification.new do |s|
154
154
  else
155
155
  s.add_dependency(%q<rack>, [">= 0"])
156
156
  s.add_dependency(%q<thin>, [">= 0"])
157
- s.add_dependency(%q<shotgun>, [">= 0"])
157
+ s.add_dependency(%q<shotgun>, [">= 0.8"])
158
158
  s.add_dependency(%q<templater>, [">= 0"])
159
159
  s.add_dependency(%q<sprockets>, [">= 0"])
160
160
  s.add_dependency(%q<sinatra>, [">= 1.0"])
161
161
  s.add_dependency(%q<sinatra-content-for>, [">= 0"])
162
162
  s.add_dependency(%q<rack-test>, [">= 0"])
163
163
  s.add_dependency(%q<yui-compressor>, [">= 0"])
164
- s.add_dependency(%q<haml>, [">= 3.0.0.rc.1"])
165
- s.add_dependency(%q<compass>, [">= 0.10.0.rc3"])
164
+ s.add_dependency(%q<haml>, [">= 3.0"])
165
+ s.add_dependency(%q<compass>, [">= 0.10"])
166
166
  s.add_dependency(%q<fancy-buttons>, [">= 0"])
167
167
  s.add_dependency(%q<json_pure>, [">= 0"])
168
168
  s.add_dependency(%q<smusher>, [">= 0"])
@@ -1,3 +1,3 @@
1
- @import compass.sass
1
+ @import "compass"
2
2
  h1
3
- background= image_url("blank.gif")
3
+ background: image-url("blank.gif")
@@ -1,3 +1,3 @@
1
- @import compass.sass
1
+ @import "compass"
2
2
  h1
3
- background= image_url("blank.gif")
3
+ background: image-url("blank.gif")
@@ -1 +1 @@
1
- @import compass/reset.sass
1
+ @import "compass/reset"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ hash: 39
5
+ prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 14
8
9
  - 0
9
- - pre2
10
- version: 0.14.0.pre2
10
+ version: 0.14.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Reynolds
@@ -15,16 +15,18 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-04-28 00:00:00 -07:00
18
+ date: 2010-08-03 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rack
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 3
28
30
  segments:
29
31
  - 0
30
32
  version: "0"
@@ -34,9 +36,11 @@ dependencies:
34
36
  name: thin
35
37
  prerelease: false
36
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
37
40
  requirements:
38
41
  - - ">="
39
42
  - !ruby/object:Gem::Version
43
+ hash: 3
40
44
  segments:
41
45
  - 0
42
46
  version: "0"
@@ -46,21 +50,26 @@ dependencies:
46
50
  name: shotgun
47
51
  prerelease: false
48
52
  requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
49
54
  requirements:
50
55
  - - ">="
51
56
  - !ruby/object:Gem::Version
57
+ hash: 27
52
58
  segments:
53
59
  - 0
54
- version: "0"
60
+ - 8
61
+ version: "0.8"
55
62
  type: :runtime
56
63
  version_requirements: *id003
57
64
  - !ruby/object:Gem::Dependency
58
65
  name: templater
59
66
  prerelease: false
60
67
  requirement: &id004 !ruby/object:Gem::Requirement
68
+ none: false
61
69
  requirements:
62
70
  - - ">="
63
71
  - !ruby/object:Gem::Version
72
+ hash: 3
64
73
  segments:
65
74
  - 0
66
75
  version: "0"
@@ -70,9 +79,11 @@ dependencies:
70
79
  name: sprockets
71
80
  prerelease: false
72
81
  requirement: &id005 !ruby/object:Gem::Requirement
82
+ none: false
73
83
  requirements:
74
84
  - - ">="
75
85
  - !ruby/object:Gem::Version
86
+ hash: 3
76
87
  segments:
77
88
  - 0
78
89
  version: "0"
@@ -82,9 +93,11 @@ dependencies:
82
93
  name: sinatra
83
94
  prerelease: false
84
95
  requirement: &id006 !ruby/object:Gem::Requirement
96
+ none: false
85
97
  requirements:
86
98
  - - ">="
87
99
  - !ruby/object:Gem::Version
100
+ hash: 15
88
101
  segments:
89
102
  - 1
90
103
  - 0
@@ -95,9 +108,11 @@ dependencies:
95
108
  name: sinatra-content-for
96
109
  prerelease: false
97
110
  requirement: &id007 !ruby/object:Gem::Requirement
111
+ none: false
98
112
  requirements:
99
113
  - - ">="
100
114
  - !ruby/object:Gem::Version
115
+ hash: 3
101
116
  segments:
102
117
  - 0
103
118
  version: "0"
@@ -107,9 +122,11 @@ dependencies:
107
122
  name: rack-test
108
123
  prerelease: false
109
124
  requirement: &id008 !ruby/object:Gem::Requirement
125
+ none: false
110
126
  requirements:
111
127
  - - ">="
112
128
  - !ruby/object:Gem::Version
129
+ hash: 3
113
130
  segments:
114
131
  - 0
115
132
  version: "0"
@@ -119,9 +136,11 @@ dependencies:
119
136
  name: yui-compressor
120
137
  prerelease: false
121
138
  requirement: &id009 !ruby/object:Gem::Requirement
139
+ none: false
122
140
  requirements:
123
141
  - - ">="
124
142
  - !ruby/object:Gem::Version
143
+ hash: 3
125
144
  segments:
126
145
  - 0
127
146
  version: "0"
@@ -131,40 +150,41 @@ dependencies:
131
150
  name: haml
132
151
  prerelease: false
133
152
  requirement: &id010 !ruby/object:Gem::Requirement
153
+ none: false
134
154
  requirements:
135
155
  - - ">="
136
156
  - !ruby/object:Gem::Version
157
+ hash: 7
137
158
  segments:
138
159
  - 3
139
160
  - 0
140
- - 0
141
- - rc
142
- - 1
143
- version: 3.0.0.rc.1
161
+ version: "3.0"
144
162
  type: :runtime
145
163
  version_requirements: *id010
146
164
  - !ruby/object:Gem::Dependency
147
165
  name: compass
148
166
  prerelease: false
149
167
  requirement: &id011 !ruby/object:Gem::Requirement
168
+ none: false
150
169
  requirements:
151
170
  - - ">="
152
171
  - !ruby/object:Gem::Version
172
+ hash: 31
153
173
  segments:
154
174
  - 0
155
175
  - 10
156
- - 0
157
- - rc3
158
- version: 0.10.0.rc3
176
+ version: "0.10"
159
177
  type: :runtime
160
178
  version_requirements: *id011
161
179
  - !ruby/object:Gem::Dependency
162
180
  name: fancy-buttons
163
181
  prerelease: false
164
182
  requirement: &id012 !ruby/object:Gem::Requirement
183
+ none: false
165
184
  requirements:
166
185
  - - ">="
167
186
  - !ruby/object:Gem::Version
187
+ hash: 3
168
188
  segments:
169
189
  - 0
170
190
  version: "0"
@@ -174,9 +194,11 @@ dependencies:
174
194
  name: json_pure
175
195
  prerelease: false
176
196
  requirement: &id013 !ruby/object:Gem::Requirement
197
+ none: false
177
198
  requirements:
178
199
  - - ">="
179
200
  - !ruby/object:Gem::Version
201
+ hash: 3
180
202
  segments:
181
203
  - 0
182
204
  version: "0"
@@ -186,9 +208,11 @@ dependencies:
186
208
  name: smusher
187
209
  prerelease: false
188
210
  requirement: &id014 !ruby/object:Gem::Requirement
211
+ none: false
189
212
  requirements:
190
213
  - - ">="
191
214
  - !ruby/object:Gem::Version
215
+ hash: 3
192
216
  segments:
193
217
  - 0
194
218
  version: "0"
@@ -198,9 +222,11 @@ dependencies:
198
222
  name: compass-slickmap
199
223
  prerelease: false
200
224
  requirement: &id015 !ruby/object:Gem::Requirement
225
+ none: false
201
226
  requirements:
202
227
  - - ">="
203
228
  - !ruby/object:Gem::Version
229
+ hash: 3
204
230
  segments:
205
231
  - 0
206
232
  version: "0"
@@ -210,9 +236,11 @@ dependencies:
210
236
  name: rspec
211
237
  prerelease: false
212
238
  requirement: &id016 !ruby/object:Gem::Requirement
239
+ none: false
213
240
  requirements:
214
241
  - - ">="
215
242
  - !ruby/object:Gem::Version
243
+ hash: 3
216
244
  segments:
217
245
  - 0
218
246
  version: "0"
@@ -222,9 +250,11 @@ dependencies:
222
250
  name: cucumber
223
251
  prerelease: false
224
252
  requirement: &id017 !ruby/object:Gem::Requirement
253
+ none: false
225
254
  requirements:
226
255
  - - ">="
227
256
  - !ruby/object:Gem::Version
257
+ hash: 3
228
258
  segments:
229
259
  - 0
230
260
  version: "0"
@@ -234,9 +264,11 @@ dependencies:
234
264
  name: jeweler
235
265
  prerelease: false
236
266
  requirement: &id018 !ruby/object:Gem::Requirement
267
+ none: false
237
268
  requirements:
238
269
  - - ">="
239
270
  - !ruby/object:Gem::Version
271
+ hash: 3
240
272
  segments:
241
273
  - 0
242
274
  version: "0"
@@ -341,25 +373,27 @@ rdoc_options:
341
373
  require_paths:
342
374
  - lib
343
375
  required_ruby_version: !ruby/object:Gem::Requirement
376
+ none: false
344
377
  requirements:
345
378
  - - ">="
346
379
  - !ruby/object:Gem::Version
380
+ hash: 3
347
381
  segments:
348
382
  - 0
349
383
  version: "0"
350
384
  required_rubygems_version: !ruby/object:Gem::Requirement
385
+ none: false
351
386
  requirements:
352
- - - ">"
387
+ - - ">="
353
388
  - !ruby/object:Gem::Version
389
+ hash: 3
354
390
  segments:
355
- - 1
356
- - 3
357
- - 1
358
- version: 1.3.1
391
+ - 0
392
+ version: "0"
359
393
  requirements: []
360
394
 
361
395
  rubyforge_project: middleman
362
- rubygems_version: 1.3.6
396
+ rubygems_version: 1.3.7
363
397
  signing_key:
364
398
  specification_version: 3
365
399
  summary: A static site generator utilizing Haml, Sass and providing YUI compression and cache busting