middleman 2.0.0.rc8 → 2.0.0.rc91
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -1
- data/bin/mm-server +1 -1
- data/features/asset_host.feature +2 -0
- data/features/automatic_image_sizes.feature +2 -0
- data/features/builder.feature +4 -1
- data/features/cache_buster.feature +4 -0
- data/features/coffee-script.feature +6 -1
- data/features/dynamic_pages.feature +24 -0
- data/features/minify_css.feature +2 -0
- data/features/minify_javascript.feature +3 -0
- data/features/page_alias_and_layouts.feature +5 -0
- data/features/relative_assets.feature +33 -1
- data/features/step_definitions/asset_host_steps.rb +4 -6
- data/features/step_definitions/builder_steps.rb +5 -0
- data/features/step_definitions/middleman_steps.rb +11 -8
- data/features/step_definitions/page_layout_steps.rb +7 -11
- data/features/tiny_src.feature +2 -0
- data/fixtures/test-app/config.rb +10 -0
- data/fixtures/test-app/source/images/Child folder/regular_file(example).txt +1 -0
- data/fixtures/test-app/source/images/Read me (example).txt +1 -0
- data/fixtures/test-app/source/img/blank.gif +0 -0
- data/fixtures/test-app/source/javascripts/broken-coffee.js.coffee +3 -0
- data/fixtures/test-app/source/real.html +1 -0
- data/fixtures/test-app/source/real/index.html.erb +5 -0
- data/fixtures/test-app/source/relative_image.html.erb +1 -0
- data/fixtures/test-app/source/spaces in file.html.erb +1 -0
- data/lib/middleman/base.rb +9 -6
- data/lib/middleman/builder.rb +7 -4
- data/lib/middleman/core_extensions/compass.rb +45 -16
- data/lib/middleman/core_extensions/front_matter.rb +2 -1
- data/lib/middleman/core_extensions/routing.rb +21 -9
- data/lib/middleman/features/asset_host.rb +2 -2
- data/lib/middleman/features/blog.rb +8 -5
- data/lib/middleman/features/cache_buster.rb +8 -10
- data/lib/middleman/features/minify_css.rb +2 -2
- data/lib/middleman/guard.rb +8 -2
- data/lib/middleman/templates.rb +3 -6
- data/lib/middleman/templates/blog.rb +17 -0
- data/lib/middleman/templates/blog/config.ru +9 -0
- data/lib/middleman/templates/blog/config.tt +18 -0
- data/lib/middleman/templates/blog/source/2011/01/01/new-article.html.markdown +6 -0
- data/lib/middleman/templates/blog/source/archives/index.html.erb +10 -0
- data/lib/middleman/templates/blog/source/feed.xml.builder +23 -0
- data/lib/middleman/templates/blog/source/index.html.erb +9 -0
- data/lib/middleman/templates/blog/source/layout.erb +30 -0
- data/lib/middleman/templates/default.rb +6 -4
- data/lib/middleman/templates/default/source/index.html.erb +5 -0
- data/lib/middleman/templates/default/source/layout.erb +19 -0
- data/lib/middleman/templates/default/source/stylesheets/site.css.scss +36 -0
- data/lib/middleman/templates/html5.rb +6 -3
- data/lib/middleman/templates/html5/source/404.html +28 -18
- data/lib/middleman/templates/html5/source/apple-touch-icon-114x114-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-57x57-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-72x72-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon.png +0 -0
- data/lib/middleman/templates/html5/source/crossdomain.xml +0 -0
- data/lib/middleman/templates/html5/source/css/handheld.css +0 -0
- data/lib/middleman/templates/html5/source/css/style.css +40 -36
- data/lib/middleman/templates/html5/source/favicon.ico +0 -0
- data/lib/middleman/templates/html5/source/humans.txt +0 -0
- data/lib/middleman/templates/html5/source/{images → img}/.gitignore +0 -0
- data/lib/middleman/templates/html5/source/index.html +26 -27
- data/lib/middleman/templates/html5/source/js/libs/dd_belatedpng.js +0 -0
- data/lib/middleman/templates/html5/source/js/libs/{jquery-1.5.0.js → jquery-1.5.1.js} +549 -409
- data/lib/middleman/templates/html5/source/js/libs/jquery-1.5.1.min.js +16 -0
- data/lib/middleman/templates/html5/source/js/libs/modernizr-1.7.min.js +2 -0
- data/lib/middleman/templates/html5/source/js/mylibs/.gitignore +0 -0
- data/lib/middleman/templates/html5/source/js/plugins.js +3 -1
- data/lib/middleman/templates/html5/source/js/script.js +0 -0
- data/lib/middleman/templates/html5/source/robots.txt +0 -0
- data/lib/middleman/templates/html5/source/test/index.html +31 -0
- data/lib/middleman/templates/html5/source/test/qunit/qunit.css +148 -0
- data/lib/middleman/templates/html5/source/test/qunit/qunit.js +1265 -0
- data/lib/middleman/templates/html5/source/test/tests.js +27 -0
- data/lib/middleman/templates/{default → shared}/config.ru +0 -0
- data/lib/middleman/templates/{default → shared}/config.tt +36 -8
- data/lib/middleman/version.rb +1 -1
- data/middleman.gemspec +6 -6
- metadata +188 -35
- data/.document +0 -5
- data/.gitmodules +0 -0
- data/lib/middleman/templates/compass.rb +0 -18
- data/lib/middleman/templates/default/source/index.html.haml +0 -4
- data/lib/middleman/templates/default/source/layout.haml +0 -21
- data/lib/middleman/templates/default/source/stylesheets/site.css.sass +0 -34
- data/lib/middleman/templates/html5/config.ru +0 -4
- data/lib/middleman/templates/html5/config.tt +0 -53
- data/lib/middleman/templates/html5/source/js/libs/jquery-1.5.0.min.js +0 -16
- data/lib/middleman/templates/html5/source/js/libs/modernizr-1.6.min.js +0 -30
- data/lib/middleman/templates/xhtml.rb +0 -16
- data/lib/middleman/templates/xhtml/config.ru +0 -4
- data/lib/middleman/templates/xhtml/config.tt +0 -68
- data/lib/middleman/templates/xhtml/source/index.html.haml +0 -4
- data/lib/middleman/templates/xhtml/source/layout.haml +0 -13
- data/lib/middleman/templates/xhtml/source/stylesheets/site.css.sass +0 -34
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
// documentation on writing tests here: http://docs.jquery.com/QUnit
|
3
|
+
// example tests: https://github.com/jquery/qunit/blob/master/test/same.js
|
4
|
+
|
5
|
+
// below are some general tests but feel free to delete them.
|
6
|
+
|
7
|
+
module("example tests");
|
8
|
+
test("HTML5 Boilerplate is sweet",function(){
|
9
|
+
expect(1);
|
10
|
+
equals("boilerplate".replace("boilerplate","sweet"),"sweet","Yes. HTML5 Boilerplate is, in fact, sweet");
|
11
|
+
|
12
|
+
})
|
13
|
+
|
14
|
+
// these test things from plugins.js
|
15
|
+
test("Environment is good",function(){
|
16
|
+
expect(3);
|
17
|
+
ok( !!window.log, "log function present");
|
18
|
+
|
19
|
+
var history = log.history && log.history.length || 0;
|
20
|
+
log("logging from the test suite.")
|
21
|
+
equals( log.history.length - history, 1, "log history keeps track" )
|
22
|
+
|
23
|
+
ok( !!window.Modernizr, "Modernizr global is present")
|
24
|
+
})
|
25
|
+
|
26
|
+
|
27
|
+
|
File without changes
|
@@ -1,7 +1,20 @@
|
|
1
|
+
###
|
2
|
+
# Compass
|
3
|
+
###
|
4
|
+
|
1
5
|
# Susy grids in Compass
|
2
6
|
# First: gem install compass-susy-plugin
|
3
7
|
# require 'susy'
|
4
8
|
|
9
|
+
# Change Compass configuration
|
10
|
+
# compass_config do |config|
|
11
|
+
# config.output_style = :compact
|
12
|
+
# end
|
13
|
+
|
14
|
+
###
|
15
|
+
# Haml
|
16
|
+
###
|
17
|
+
|
5
18
|
# CodeRay syntax highlighting in Haml
|
6
19
|
# First: gem install haml-coderay
|
7
20
|
# require 'haml-coderay'
|
@@ -10,23 +23,38 @@
|
|
10
23
|
# First: gem install coffee-filter
|
11
24
|
# require 'coffee-filter'
|
12
25
|
|
13
|
-
# Automatic
|
14
|
-
# First: gem install middleman-slickmap
|
15
|
-
# require "middleman-slickmap"
|
16
|
-
# activate :slickmap
|
17
|
-
|
18
|
-
# Automatic image dimension calculations
|
26
|
+
# Automatic image dimensions on image_tag helper
|
19
27
|
# activate :automatic_image_sizes
|
20
28
|
|
21
|
-
|
29
|
+
###
|
30
|
+
# Page command
|
31
|
+
###
|
32
|
+
|
33
|
+
# Per-page layout changes:
|
34
|
+
#
|
22
35
|
# With no layout
|
23
36
|
# page "/path/to/file.html", :layout => false
|
37
|
+
#
|
24
38
|
# With alternative layout
|
25
39
|
# page "/path/to/file.html", :layout => :otherlayout
|
40
|
+
#
|
41
|
+
# A path which all have the same layout
|
42
|
+
# with_layout :admin do
|
43
|
+
# page "/admin/*"
|
44
|
+
# end
|
26
45
|
|
46
|
+
# Proxy (fake) files
|
47
|
+
# page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
|
48
|
+
# @which_fake_page = "Rendering a fake page with a variable"
|
49
|
+
# end
|
50
|
+
|
51
|
+
###
|
27
52
|
# Helpers
|
53
|
+
###
|
54
|
+
|
55
|
+
# Methods defined in the helpers block are available in templates
|
28
56
|
# helpers do
|
29
|
-
# def some_helper
|
57
|
+
# def some_helper
|
30
58
|
# "Helping"
|
31
59
|
# end
|
32
60
|
# end
|
data/lib/middleman/version.rb
CHANGED
data/middleman.gemspec
CHANGED
@@ -27,19 +27,19 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_runtime_dependency("padrino-helpers", ["~> 0.9.23"])
|
28
28
|
s.add_runtime_dependency("rack-test", ["~> 0.5.0"])
|
29
29
|
s.add_runtime_dependency("uglifier", ["~> 0.5.0"])
|
30
|
-
s.add_runtime_dependency("slim", ["~> 0.
|
30
|
+
s.add_runtime_dependency("slim", ["~> 1.0.0"])
|
31
31
|
s.add_runtime_dependency("haml", ["~> 3.1.0"])
|
32
|
-
s.add_runtime_dependency("sass", ["~> 3.1.
|
32
|
+
s.add_runtime_dependency("sass", ["~> 3.1.5"])
|
33
33
|
s.add_runtime_dependency("coffee-script", ["~> 2.2.0"])
|
34
34
|
s.add_runtime_dependency("compass", ["~> 0.11.3"])
|
35
35
|
s.add_runtime_dependency("sprockets", ["2.0.0.beta.10"])
|
36
36
|
s.add_runtime_dependency("httparty", ["~> 0.7.0"])
|
37
|
-
s.add_runtime_dependency("guard", ["
|
38
|
-
s.add_runtime_dependency("guard-livereload", ["
|
37
|
+
s.add_runtime_dependency("guard", ["~> 0.5.1"])
|
38
|
+
s.add_runtime_dependency("guard-livereload", ["~> 0.2.0"])
|
39
39
|
s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
|
40
40
|
s.add_development_dependency("cucumber", ["~> 0.10.0"])
|
41
41
|
s.add_development_dependency("rake", ["0.8.7"])
|
42
|
-
s.add_development_dependency("rspec", ["
|
43
|
-
s.add_development_dependency("rocco", ["
|
42
|
+
s.add_development_dependency("rspec", ["~> 2.6.0"])
|
43
|
+
s.add_development_dependency("rocco", ["~> 0.8.1"]) unless defined?(JRUBY_VERSION)
|
44
44
|
end
|
45
45
|
|
metadata
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15424227
|
4
5
|
prerelease: 6
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
- 91
|
12
|
+
version: 2.0.0.rc91
|
6
13
|
platform: ruby
|
7
14
|
authors:
|
8
15
|
- Thomas Reynolds
|
@@ -10,8 +17,7 @@ autorequire:
|
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
19
|
|
13
|
-
date: 2011-07-
|
14
|
-
default_executable:
|
20
|
+
date: 2011-07-26 00:00:00 Z
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
23
|
name: rack
|
@@ -21,6 +27,11 @@ dependencies:
|
|
21
27
|
requirements:
|
22
28
|
- - ~>
|
23
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 27
|
31
|
+
segments:
|
32
|
+
- 1
|
33
|
+
- 3
|
34
|
+
- 0
|
24
35
|
version: 1.3.0
|
25
36
|
type: :runtime
|
26
37
|
version_requirements: *id001
|
@@ -32,6 +43,11 @@ dependencies:
|
|
32
43
|
requirements:
|
33
44
|
- - ~>
|
34
45
|
- !ruby/object:Gem::Version
|
46
|
+
hash: 39
|
47
|
+
segments:
|
48
|
+
- 0
|
49
|
+
- 14
|
50
|
+
- 0
|
35
51
|
version: 0.14.0
|
36
52
|
type: :runtime
|
37
53
|
version_requirements: *id002
|
@@ -43,6 +59,11 @@ dependencies:
|
|
43
59
|
requirements:
|
44
60
|
- - ~>
|
45
61
|
- !ruby/object:Gem::Version
|
62
|
+
hash: 25
|
63
|
+
segments:
|
64
|
+
- 1
|
65
|
+
- 3
|
66
|
+
- 1
|
46
67
|
version: 1.3.1
|
47
68
|
type: :runtime
|
48
69
|
version_requirements: *id003
|
@@ -54,6 +75,11 @@ dependencies:
|
|
54
75
|
requirements:
|
55
76
|
- - ~>
|
56
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 31
|
79
|
+
segments:
|
80
|
+
- 1
|
81
|
+
- 6
|
82
|
+
- 8
|
57
83
|
version: 1.6.8
|
58
84
|
type: :runtime
|
59
85
|
version_requirements: *id004
|
@@ -65,6 +91,11 @@ dependencies:
|
|
65
91
|
requirements:
|
66
92
|
- - ~>
|
67
93
|
- !ruby/object:Gem::Version
|
94
|
+
hash: 31
|
95
|
+
segments:
|
96
|
+
- 1
|
97
|
+
- 2
|
98
|
+
- 0
|
68
99
|
version: 1.2.0
|
69
100
|
type: :runtime
|
70
101
|
version_requirements: *id005
|
@@ -76,6 +107,11 @@ dependencies:
|
|
76
107
|
requirements:
|
77
108
|
- - ~>
|
78
109
|
- !ruby/object:Gem::Version
|
110
|
+
hash: 21
|
111
|
+
segments:
|
112
|
+
- 0
|
113
|
+
- 9
|
114
|
+
- 23
|
79
115
|
version: 0.9.23
|
80
116
|
type: :runtime
|
81
117
|
version_requirements: *id006
|
@@ -87,6 +123,11 @@ dependencies:
|
|
87
123
|
requirements:
|
88
124
|
- - ~>
|
89
125
|
- !ruby/object:Gem::Version
|
126
|
+
hash: 21
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
- 9
|
130
|
+
- 23
|
90
131
|
version: 0.9.23
|
91
132
|
type: :runtime
|
92
133
|
version_requirements: *id007
|
@@ -98,6 +139,11 @@ dependencies:
|
|
98
139
|
requirements:
|
99
140
|
- - ~>
|
100
141
|
- !ruby/object:Gem::Version
|
142
|
+
hash: 11
|
143
|
+
segments:
|
144
|
+
- 0
|
145
|
+
- 5
|
146
|
+
- 0
|
101
147
|
version: 0.5.0
|
102
148
|
type: :runtime
|
103
149
|
version_requirements: *id008
|
@@ -109,6 +155,11 @@ dependencies:
|
|
109
155
|
requirements:
|
110
156
|
- - ~>
|
111
157
|
- !ruby/object:Gem::Version
|
158
|
+
hash: 11
|
159
|
+
segments:
|
160
|
+
- 0
|
161
|
+
- 5
|
162
|
+
- 0
|
112
163
|
version: 0.5.0
|
113
164
|
type: :runtime
|
114
165
|
version_requirements: *id009
|
@@ -120,7 +171,12 @@ dependencies:
|
|
120
171
|
requirements:
|
121
172
|
- - ~>
|
122
173
|
- !ruby/object:Gem::Version
|
123
|
-
|
174
|
+
hash: 23
|
175
|
+
segments:
|
176
|
+
- 1
|
177
|
+
- 0
|
178
|
+
- 0
|
179
|
+
version: 1.0.0
|
124
180
|
type: :runtime
|
125
181
|
version_requirements: *id010
|
126
182
|
- !ruby/object:Gem::Dependency
|
@@ -131,6 +187,11 @@ dependencies:
|
|
131
187
|
requirements:
|
132
188
|
- - ~>
|
133
189
|
- !ruby/object:Gem::Version
|
190
|
+
hash: 3
|
191
|
+
segments:
|
192
|
+
- 3
|
193
|
+
- 1
|
194
|
+
- 0
|
134
195
|
version: 3.1.0
|
135
196
|
type: :runtime
|
136
197
|
version_requirements: *id011
|
@@ -142,7 +203,12 @@ dependencies:
|
|
142
203
|
requirements:
|
143
204
|
- - ~>
|
144
205
|
- !ruby/object:Gem::Version
|
145
|
-
|
206
|
+
hash: 9
|
207
|
+
segments:
|
208
|
+
- 3
|
209
|
+
- 1
|
210
|
+
- 5
|
211
|
+
version: 3.1.5
|
146
212
|
type: :runtime
|
147
213
|
version_requirements: *id012
|
148
214
|
- !ruby/object:Gem::Dependency
|
@@ -153,6 +219,11 @@ dependencies:
|
|
153
219
|
requirements:
|
154
220
|
- - ~>
|
155
221
|
- !ruby/object:Gem::Version
|
222
|
+
hash: 7
|
223
|
+
segments:
|
224
|
+
- 2
|
225
|
+
- 2
|
226
|
+
- 0
|
156
227
|
version: 2.2.0
|
157
228
|
type: :runtime
|
158
229
|
version_requirements: *id013
|
@@ -164,6 +235,11 @@ dependencies:
|
|
164
235
|
requirements:
|
165
236
|
- - ~>
|
166
237
|
- !ruby/object:Gem::Version
|
238
|
+
hash: 53
|
239
|
+
segments:
|
240
|
+
- 0
|
241
|
+
- 11
|
242
|
+
- 3
|
167
243
|
version: 0.11.3
|
168
244
|
type: :runtime
|
169
245
|
version_requirements: *id014
|
@@ -175,6 +251,13 @@ dependencies:
|
|
175
251
|
requirements:
|
176
252
|
- - "="
|
177
253
|
- !ruby/object:Gem::Version
|
254
|
+
hash: 62196471
|
255
|
+
segments:
|
256
|
+
- 2
|
257
|
+
- 0
|
258
|
+
- 0
|
259
|
+
- beta
|
260
|
+
- 10
|
178
261
|
version: 2.0.0.beta.10
|
179
262
|
type: :runtime
|
180
263
|
version_requirements: *id015
|
@@ -186,6 +269,11 @@ dependencies:
|
|
186
269
|
requirements:
|
187
270
|
- - ~>
|
188
271
|
- !ruby/object:Gem::Version
|
272
|
+
hash: 3
|
273
|
+
segments:
|
274
|
+
- 0
|
275
|
+
- 7
|
276
|
+
- 0
|
189
277
|
version: 0.7.0
|
190
278
|
type: :runtime
|
191
279
|
version_requirements: *id016
|
@@ -195,9 +283,14 @@ dependencies:
|
|
195
283
|
requirement: &id017 !ruby/object:Gem::Requirement
|
196
284
|
none: false
|
197
285
|
requirements:
|
198
|
-
- -
|
286
|
+
- - ~>
|
199
287
|
- !ruby/object:Gem::Version
|
200
|
-
|
288
|
+
hash: 9
|
289
|
+
segments:
|
290
|
+
- 0
|
291
|
+
- 5
|
292
|
+
- 1
|
293
|
+
version: 0.5.1
|
201
294
|
type: :runtime
|
202
295
|
version_requirements: *id017
|
203
296
|
- !ruby/object:Gem::Dependency
|
@@ -206,9 +299,14 @@ dependencies:
|
|
206
299
|
requirement: &id018 !ruby/object:Gem::Requirement
|
207
300
|
none: false
|
208
301
|
requirements:
|
209
|
-
- -
|
302
|
+
- - ~>
|
210
303
|
- !ruby/object:Gem::Version
|
211
|
-
|
304
|
+
hash: 23
|
305
|
+
segments:
|
306
|
+
- 0
|
307
|
+
- 2
|
308
|
+
- 0
|
309
|
+
version: 0.2.0
|
212
310
|
type: :runtime
|
213
311
|
version_requirements: *id018
|
214
312
|
- !ruby/object:Gem::Dependency
|
@@ -219,6 +317,11 @@ dependencies:
|
|
219
317
|
requirements:
|
220
318
|
- - ~>
|
221
319
|
- !ruby/object:Gem::Version
|
320
|
+
hash: 25
|
321
|
+
segments:
|
322
|
+
- 0
|
323
|
+
- 1
|
324
|
+
- 1
|
222
325
|
version: 0.1.1
|
223
326
|
type: :development
|
224
327
|
version_requirements: *id019
|
@@ -230,6 +333,11 @@ dependencies:
|
|
230
333
|
requirements:
|
231
334
|
- - ~>
|
232
335
|
- !ruby/object:Gem::Version
|
336
|
+
hash: 55
|
337
|
+
segments:
|
338
|
+
- 0
|
339
|
+
- 10
|
340
|
+
- 0
|
233
341
|
version: 0.10.0
|
234
342
|
type: :development
|
235
343
|
version_requirements: *id020
|
@@ -241,6 +349,11 @@ dependencies:
|
|
241
349
|
requirements:
|
242
350
|
- - "="
|
243
351
|
- !ruby/object:Gem::Version
|
352
|
+
hash: 49
|
353
|
+
segments:
|
354
|
+
- 0
|
355
|
+
- 8
|
356
|
+
- 7
|
244
357
|
version: 0.8.7
|
245
358
|
type: :development
|
246
359
|
version_requirements: *id021
|
@@ -250,9 +363,14 @@ dependencies:
|
|
250
363
|
requirement: &id022 !ruby/object:Gem::Requirement
|
251
364
|
none: false
|
252
365
|
requirements:
|
253
|
-
- -
|
366
|
+
- - ~>
|
254
367
|
- !ruby/object:Gem::Version
|
255
|
-
|
368
|
+
hash: 23
|
369
|
+
segments:
|
370
|
+
- 2
|
371
|
+
- 6
|
372
|
+
- 0
|
373
|
+
version: 2.6.0
|
256
374
|
type: :development
|
257
375
|
version_requirements: *id022
|
258
376
|
- !ruby/object:Gem::Dependency
|
@@ -261,9 +379,14 @@ dependencies:
|
|
261
379
|
requirement: &id023 !ruby/object:Gem::Requirement
|
262
380
|
none: false
|
263
381
|
requirements:
|
264
|
-
- -
|
382
|
+
- - ~>
|
265
383
|
- !ruby/object:Gem::Version
|
266
|
-
|
384
|
+
hash: 61
|
385
|
+
segments:
|
386
|
+
- 0
|
387
|
+
- 8
|
388
|
+
- 1
|
389
|
+
version: 0.8.1
|
267
390
|
type: :development
|
268
391
|
version_requirements: *id023
|
269
392
|
description:
|
@@ -279,10 +402,8 @@ extensions: []
|
|
279
402
|
extra_rdoc_files: []
|
280
403
|
|
281
404
|
files:
|
282
|
-
- .document
|
283
405
|
- .gemtest
|
284
406
|
- .gitignore
|
285
|
-
- .gitmodules
|
286
407
|
- CHANGELOG
|
287
408
|
- Gemfile
|
288
409
|
- LICENSE
|
@@ -298,6 +419,7 @@ files:
|
|
298
419
|
- features/cache_buster.feature
|
299
420
|
- features/coffee-script.feature
|
300
421
|
- features/data.feature
|
422
|
+
- features/dynamic_pages.feature
|
301
423
|
- features/front-matter.feature
|
302
424
|
- features/generator.feature
|
303
425
|
- features/helpers_auto_javascript_include_tag.feature
|
@@ -337,7 +459,10 @@ files:
|
|
337
459
|
- fixtures/test-app/source/custom-layout.html.haml
|
338
460
|
- fixtures/test-app/source/data.html.erb
|
339
461
|
- fixtures/test-app/source/front-matter.html.erb
|
462
|
+
- fixtures/test-app/source/images/Child folder/regular_file(example).txt
|
463
|
+
- fixtures/test-app/source/images/Read me (example).txt
|
340
464
|
- fixtures/test-app/source/images/blank.gif
|
465
|
+
- fixtures/test-app/source/img/blank.gif
|
341
466
|
- fixtures/test-app/source/index.html.haml
|
342
467
|
- fixtures/test-app/source/inline-coffeescript.html.haml
|
343
468
|
- fixtures/test-app/source/inline-css.html.haml
|
@@ -346,6 +471,7 @@ files:
|
|
346
471
|
- fixtures/test-app/source/javascripts/auto-js/auto-js.js
|
347
472
|
- fixtures/test-app/source/javascripts/auto-js/index.js
|
348
473
|
- fixtures/test-app/source/javascripts/auto-js/sub/auto-js.js
|
474
|
+
- fixtures/test-app/source/javascripts/broken-coffee.js.coffee
|
349
475
|
- fixtures/test-app/source/javascripts/coffee_test.js.coffee
|
350
476
|
- fixtures/test-app/source/javascripts/jquery.plugin.with.dots.js
|
351
477
|
- fixtures/test-app/source/javascripts/sprockets_base.js
|
@@ -354,8 +480,12 @@ files:
|
|
354
480
|
- fixtures/test-app/source/layouts/custom.haml
|
355
481
|
- fixtures/test-app/source/padrino_test.html.haml
|
356
482
|
- fixtures/test-app/source/page-classes.html.haml
|
483
|
+
- fixtures/test-app/source/real.html
|
484
|
+
- fixtures/test-app/source/real/index.html.erb
|
485
|
+
- fixtures/test-app/source/relative_image.html.erb
|
357
486
|
- fixtures/test-app/source/services/index.html.haml
|
358
487
|
- fixtures/test-app/source/slim.html.slim
|
488
|
+
- fixtures/test-app/source/spaces in file.html.erb
|
359
489
|
- fixtures/test-app/source/static.html
|
360
490
|
- fixtures/test-app/source/stylesheets/asset_host.css.sass
|
361
491
|
- fixtures/test-app/source/stylesheets/auto-css.css
|
@@ -402,43 +532,49 @@ files:
|
|
402
532
|
- lib/middleman/renderers/sass.rb
|
403
533
|
- lib/middleman/renderers/slim.rb
|
404
534
|
- lib/middleman/templates.rb
|
405
|
-
- lib/middleman/templates/
|
535
|
+
- lib/middleman/templates/blog.rb
|
536
|
+
- lib/middleman/templates/blog/config.ru
|
537
|
+
- lib/middleman/templates/blog/config.tt
|
538
|
+
- lib/middleman/templates/blog/source/2011/01/01/new-article.html.markdown
|
539
|
+
- lib/middleman/templates/blog/source/archives/index.html.erb
|
540
|
+
- lib/middleman/templates/blog/source/feed.xml.builder
|
541
|
+
- lib/middleman/templates/blog/source/index.html.erb
|
542
|
+
- lib/middleman/templates/blog/source/layout.erb
|
406
543
|
- lib/middleman/templates/default.rb
|
407
|
-
- lib/middleman/templates/default/
|
408
|
-
- lib/middleman/templates/default/
|
409
|
-
- lib/middleman/templates/default/source/
|
410
|
-
- lib/middleman/templates/default/source/layout.haml
|
411
|
-
- lib/middleman/templates/default/source/stylesheets/site.css.sass
|
544
|
+
- lib/middleman/templates/default/source/index.html.erb
|
545
|
+
- lib/middleman/templates/default/source/layout.erb
|
546
|
+
- lib/middleman/templates/default/source/stylesheets/site.css.scss
|
412
547
|
- lib/middleman/templates/html5.rb
|
413
|
-
- lib/middleman/templates/html5/config.ru
|
414
|
-
- lib/middleman/templates/html5/config.tt
|
415
548
|
- lib/middleman/templates/html5/source/404.html
|
549
|
+
- lib/middleman/templates/html5/source/apple-touch-icon-114x114-precomposed.png
|
550
|
+
- lib/middleman/templates/html5/source/apple-touch-icon-57x57-precomposed.png
|
551
|
+
- lib/middleman/templates/html5/source/apple-touch-icon-72x72-precomposed.png
|
552
|
+
- lib/middleman/templates/html5/source/apple-touch-icon-precomposed.png
|
416
553
|
- lib/middleman/templates/html5/source/apple-touch-icon.png
|
417
554
|
- lib/middleman/templates/html5/source/crossdomain.xml
|
418
555
|
- lib/middleman/templates/html5/source/css/handheld.css
|
419
556
|
- lib/middleman/templates/html5/source/css/style.css
|
420
557
|
- lib/middleman/templates/html5/source/favicon.ico
|
421
558
|
- lib/middleman/templates/html5/source/humans.txt
|
422
|
-
- lib/middleman/templates/html5/source/
|
559
|
+
- lib/middleman/templates/html5/source/img/.gitignore
|
423
560
|
- lib/middleman/templates/html5/source/index.html
|
424
561
|
- lib/middleman/templates/html5/source/js/libs/dd_belatedpng.js
|
425
|
-
- lib/middleman/templates/html5/source/js/libs/jquery-1.5.
|
426
|
-
- lib/middleman/templates/html5/source/js/libs/jquery-1.5.
|
427
|
-
- lib/middleman/templates/html5/source/js/libs/modernizr-1.
|
562
|
+
- lib/middleman/templates/html5/source/js/libs/jquery-1.5.1.js
|
563
|
+
- lib/middleman/templates/html5/source/js/libs/jquery-1.5.1.min.js
|
564
|
+
- lib/middleman/templates/html5/source/js/libs/modernizr-1.7.min.js
|
428
565
|
- lib/middleman/templates/html5/source/js/mylibs/.gitignore
|
429
566
|
- lib/middleman/templates/html5/source/js/plugins.js
|
430
567
|
- lib/middleman/templates/html5/source/js/script.js
|
431
568
|
- lib/middleman/templates/html5/source/robots.txt
|
569
|
+
- lib/middleman/templates/html5/source/test/index.html
|
570
|
+
- lib/middleman/templates/html5/source/test/qunit/qunit.css
|
571
|
+
- lib/middleman/templates/html5/source/test/qunit/qunit.js
|
572
|
+
- lib/middleman/templates/html5/source/test/tests.js
|
432
573
|
- lib/middleman/templates/local.rb
|
433
|
-
- lib/middleman/templates/
|
434
|
-
- lib/middleman/templates/
|
435
|
-
- lib/middleman/templates/xhtml/config.tt
|
436
|
-
- lib/middleman/templates/xhtml/source/index.html.haml
|
437
|
-
- lib/middleman/templates/xhtml/source/layout.haml
|
438
|
-
- lib/middleman/templates/xhtml/source/stylesheets/site.css.sass
|
574
|
+
- lib/middleman/templates/shared/config.ru
|
575
|
+
- lib/middleman/templates/shared/config.tt
|
439
576
|
- lib/middleman/version.rb
|
440
577
|
- middleman.gemspec
|
441
|
-
has_rdoc: true
|
442
578
|
homepage: http://middlemanapp.com
|
443
579
|
licenses: []
|
444
580
|
|
@@ -452,17 +588,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
452
588
|
requirements:
|
453
589
|
- - ">="
|
454
590
|
- !ruby/object:Gem::Version
|
591
|
+
hash: 3
|
592
|
+
segments:
|
593
|
+
- 0
|
455
594
|
version: "0"
|
456
595
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
457
596
|
none: false
|
458
597
|
requirements:
|
459
598
|
- - ">"
|
460
599
|
- !ruby/object:Gem::Version
|
600
|
+
hash: 25
|
601
|
+
segments:
|
602
|
+
- 1
|
603
|
+
- 3
|
604
|
+
- 1
|
461
605
|
version: 1.3.1
|
462
606
|
requirements: []
|
463
607
|
|
464
608
|
rubyforge_project: middleman
|
465
|
-
rubygems_version: 1.
|
609
|
+
rubygems_version: 1.8.6
|
466
610
|
signing_key:
|
467
611
|
specification_version: 3
|
468
612
|
summary: A static site generator based on Sinatra. Providing Haml, Sass, Compass, CoffeeScript and including minification, compression and cache busting.
|
@@ -473,6 +617,7 @@ test_files:
|
|
473
617
|
- features/cache_buster.feature
|
474
618
|
- features/coffee-script.feature
|
475
619
|
- features/data.feature
|
620
|
+
- features/dynamic_pages.feature
|
476
621
|
- features/front-matter.feature
|
477
622
|
- features/generator.feature
|
478
623
|
- features/helpers_auto_javascript_include_tag.feature
|
@@ -512,7 +657,10 @@ test_files:
|
|
512
657
|
- fixtures/test-app/source/custom-layout.html.haml
|
513
658
|
- fixtures/test-app/source/data.html.erb
|
514
659
|
- fixtures/test-app/source/front-matter.html.erb
|
660
|
+
- fixtures/test-app/source/images/Child folder/regular_file(example).txt
|
661
|
+
- fixtures/test-app/source/images/Read me (example).txt
|
515
662
|
- fixtures/test-app/source/images/blank.gif
|
663
|
+
- fixtures/test-app/source/img/blank.gif
|
516
664
|
- fixtures/test-app/source/index.html.haml
|
517
665
|
- fixtures/test-app/source/inline-coffeescript.html.haml
|
518
666
|
- fixtures/test-app/source/inline-css.html.haml
|
@@ -521,6 +669,7 @@ test_files:
|
|
521
669
|
- fixtures/test-app/source/javascripts/auto-js/auto-js.js
|
522
670
|
- fixtures/test-app/source/javascripts/auto-js/index.js
|
523
671
|
- fixtures/test-app/source/javascripts/auto-js/sub/auto-js.js
|
672
|
+
- fixtures/test-app/source/javascripts/broken-coffee.js.coffee
|
524
673
|
- fixtures/test-app/source/javascripts/coffee_test.js.coffee
|
525
674
|
- fixtures/test-app/source/javascripts/jquery.plugin.with.dots.js
|
526
675
|
- fixtures/test-app/source/javascripts/sprockets_base.js
|
@@ -529,8 +678,12 @@ test_files:
|
|
529
678
|
- fixtures/test-app/source/layouts/custom.haml
|
530
679
|
- fixtures/test-app/source/padrino_test.html.haml
|
531
680
|
- fixtures/test-app/source/page-classes.html.haml
|
681
|
+
- fixtures/test-app/source/real.html
|
682
|
+
- fixtures/test-app/source/real/index.html.erb
|
683
|
+
- fixtures/test-app/source/relative_image.html.erb
|
532
684
|
- fixtures/test-app/source/services/index.html.haml
|
533
685
|
- fixtures/test-app/source/slim.html.slim
|
686
|
+
- fixtures/test-app/source/spaces in file.html.erb
|
534
687
|
- fixtures/test-app/source/static.html
|
535
688
|
- fixtures/test-app/source/stylesheets/asset_host.css.sass
|
536
689
|
- fixtures/test-app/source/stylesheets/auto-css.css
|