middleman 2.0.0.rc3 → 2.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/CHANGELOG +3 -4
  2. data/Rakefile +2 -14
  3. data/bin/mm-build +1 -1
  4. data/bin/mm-server +5 -3
  5. data/features/{w_asset_host.feature → asset_host.feature} +0 -0
  6. data/features/{x_automatic_image_sizes.feature → automatic_image_sizes.feature} +0 -0
  7. data/features/{y_cache_buster.feature → cache_buster.feature} +0 -0
  8. data/features/minify_css.feature +8 -8
  9. data/features/{z_relative_assets.feature → relative_assets.feature} +0 -0
  10. data/features/step_definitions/asset_host_steps.rb +6 -4
  11. data/features/step_definitions/middleman_steps.rb +8 -5
  12. data/features/step_definitions/page_layout_steps.rb +11 -7
  13. data/features/support/env.rb +3 -52
  14. data/fixtures/test-app/source/{front-matter.html.slim → front-matter.html.erb} +1 -1
  15. data/fixtures/test-app/source/stylesheets/auto-css.css +3 -0
  16. data/fixtures/test-app/source/stylesheets/auto-css/auto-css.css +3 -0
  17. data/fixtures/test-app/source/stylesheets/auto-css/sub/auto-css.css +3 -0
  18. data/lib/middleman.rb +12 -5
  19. data/lib/middleman/base.rb +156 -0
  20. data/lib/middleman/builder.rb +13 -12
  21. data/lib/middleman/config.ru +1 -1
  22. data/lib/middleman/core_extensions/compass.rb +11 -9
  23. data/lib/middleman/core_extensions/features.rb +17 -11
  24. data/lib/middleman/core_extensions/front_matter.rb +26 -20
  25. data/lib/middleman/core_extensions/rack_map.rb +2 -1
  26. data/lib/middleman/core_extensions/sprockets.rb +5 -3
  27. data/lib/middleman/features/blog.rb +2 -2
  28. data/lib/middleman/renderers/sass.rb +22 -20
  29. data/lib/middleman/templates/default/config.ru +1 -1
  30. data/lib/middleman/templates/html5/config.ru +1 -1
  31. data/lib/middleman/templates/xhtml/config.ru +1 -1
  32. data/lib/middleman/version.rb +1 -1
  33. data/middleman.gemspec +2 -1
  34. metadata +42 -32
  35. data/lib/middleman/features/live_reload.rb +0 -26
  36. data/lib/middleman/server.rb +0 -142
@@ -1,8 +1,9 @@
1
- require 'middleman/server'
2
1
  require "thor"
3
2
  require "thor/group"
4
3
  require 'rack/test'
5
4
 
5
+ SHARED_SERVER = Middleman.server
6
+
6
7
  module Middleman
7
8
  module ThorActions
8
9
  def tilt_template(source, *args, &block)
@@ -12,11 +13,11 @@ module Middleman
12
13
  source = File.expand_path(find_in_source_paths(source.to_s))
13
14
  context = instance_eval('binding')
14
15
 
15
- @@rack_test ||= ::Rack::Test::Session.new(::Rack::MockSession.new(Middleman::Server))
16
+ @@rack_test ||= ::Rack::Test::Session.new(::Rack::MockSession.new(SHARED_SERVER))
16
17
 
17
18
  create_file destination, nil, config do
18
19
  # The default render just requests the page over Rack and writes the response
19
- request_path = destination.sub(/^#{Middleman::Server.build_dir}/, "")
20
+ request_path = destination.sub(/^#{SHARED_SERVER.build_dir}/, "")
20
21
  @@rack_test.get(request_path)
21
22
  @@rack_test.last_response.body
22
23
  end
@@ -32,22 +33,22 @@ module Middleman
32
33
  def initialize(*args)
33
34
  super
34
35
 
35
- Middleman::Server.new
36
+ SHARED_SERVER.new
36
37
 
37
38
  if options.has_key?("relative") && options["relative"]
38
- Middleman::Server.activate :relative_assets
39
+ SHARED_SERVER.activate :relative_assets
39
40
  end
40
41
  end
41
42
 
42
43
 
43
44
  def source_paths
44
45
  @source_paths ||= [
45
- Middleman::Server.root
46
+ SHARED_SERVER.root
46
47
  ]
47
48
  end
48
49
 
49
50
  def build_all_files
50
- action Directory.new(self, Middleman::Server.views, Middleman::Server.build_dir, { :force => true })
51
+ action Directory.new(self, SHARED_SERVER.views, SHARED_SERVER.build_dir, { :force => true })
51
52
  end
52
53
 
53
54
  @@hooks = {}
@@ -85,15 +86,15 @@ module Middleman
85
86
  lookup = File.join(lookup, '*')
86
87
 
87
88
  results = Dir[lookup].sort do |a, b|
88
- simple_a = a.gsub(Middleman::Server.root + "/", '').gsub(Middleman::Server.views + "/", '')
89
- simple_b = b.gsub(Middleman::Server.root + "/", '').gsub(Middleman::Server.views + "/", '')
89
+ simple_a = a.gsub(SHARED_SERVER.root + "/", '').gsub(SHARED_SERVER.views + "/", '')
90
+ simple_b = b.gsub(SHARED_SERVER.root + "/", '').gsub(SHARED_SERVER.views + "/", '')
90
91
 
91
92
  a_dir = simple_a.split("/").first
92
93
  b_dir = simple_b.split("/").first
93
94
 
94
- if a_dir == Middleman::Server.images_dir
95
+ if a_dir == SHARED_SERVER.images_dir
95
96
  -1
96
- elsif b_dir == Middleman::Server.images_dir
97
+ elsif b_dir == SHARED_SERVER.images_dir
97
98
  1
98
99
  else
99
100
  0
@@ -109,7 +110,7 @@ module Middleman
109
110
  next if file_source.include?('layout') && !file_source.include?('.css')
110
111
 
111
112
  # Skip partials prefixed with an underscore
112
- next unless file_source.gsub(Middleman::Server.root, '').split('/').select { |p| p[0,1] == '_' }.empty?
113
+ next unless file_source.gsub(SHARED_SERVER.root, '').split('/').select { |p| p[0,1] == '_' }.empty?
113
114
 
114
115
  file_extension = File.extname(file_source)
115
116
  file_destination = File.join(given_destination, file_source.gsub(source, '.'))
@@ -1,2 +1,2 @@
1
1
  require 'middleman'
2
- run Middleman::Server
2
+ run Middleman.server
@@ -14,7 +14,8 @@ module Middleman::CoreExtensions::Compass
14
14
  app.after_feature_init do
15
15
  views_root = File.basename(app.views)
16
16
  ::Compass.configuration do |config|
17
- config.cache = false # For sassc files
17
+ # config.cache = false # For sassc files
18
+ config.cache_path = File.join(app.root, ".sass-cache")
18
19
  config.project_path = app.root
19
20
  config.sass_dir = File.join(views_root, app.css_dir)
20
21
  config.output_style = :nested
@@ -27,14 +28,15 @@ module Middleman::CoreExtensions::Compass
27
28
 
28
29
  config.add_import_path(config.sass_dir)
29
30
  end
30
-
31
- # configure :build do
32
- # build_root = File.basename(self.build_dir)
33
- # ::Compass.configuration do |config|
34
- # config.css_dir = File.join(build_root, self.css_dir)
35
- # config.images_dir = File.join(build_root, self.images_dir)
36
- # end
37
- # end
31
+
32
+ # Required for relative paths
33
+ configure :build do
34
+ build_root = File.basename(self.build_dir)
35
+ ::Compass.configuration do |config|
36
+ config.css_dir = File.join(build_root, self.css_dir)
37
+ config.images_dir = File.join(build_root, self.images_dir)
38
+ end
39
+ end
38
40
 
39
41
  app.execute_after_compass_init!
40
42
 
@@ -50,22 +50,18 @@ module Middleman::CoreExtensions::Features
50
50
  #
51
51
  # activate MyFeatureModule
52
52
  def activate(feature)
53
- feature = feature.to_s if feature.is_a? Symbol
53
+ if feature.is_a? Symbol
54
+ feature = feature.to_s
55
+ end
54
56
 
55
57
  if feature.is_a? String
56
58
  feature = feature.camelize
57
59
  feature = Middleman::Features.const_get(feature)
58
60
  end
59
-
61
+
62
+ $stderr.puts "== Activating: #{feature}" if logging?
60
63
  register feature
61
64
  end
62
-
63
- # Deprecated API. Please use `activate` instead.
64
- def enable(feature_name)
65
- $stderr.puts "Warning: Feature activation has been renamed from enable to activate"
66
- activate(feature_name)
67
- super(feature_name)
68
- end
69
65
 
70
66
  # Add a block/proc to be run after features have been setup
71
67
  def after_feature_init(&block)
@@ -73,6 +69,10 @@ module Middleman::CoreExtensions::Features
73
69
  @run_after_features << block
74
70
  end
75
71
 
72
+ def run_after_features
73
+ @run_after_features || []
74
+ end
75
+
76
76
  # Load features before starting server
77
77
  def new
78
78
  # Check for and evaluate local configuration
@@ -88,8 +88,14 @@ module Middleman::CoreExtensions::Features
88
88
  activate ext
89
89
  end
90
90
 
91
- @run_after_features.each { |block| class_eval(&block) }
92
-
91
+ run_after_features.each { |block| class_eval(&block) }
92
+
93
+ if logging?
94
+ extensions.each do |ext|
95
+ $stderr.puts "== Extension: #{ext}"
96
+ end
97
+ end
98
+
93
99
  super
94
100
  end
95
101
  end
@@ -22,31 +22,31 @@ module Middleman::CoreExtensions::FrontMatter
22
22
  ::Tilt::register HamlTemplate, 'haml'
23
23
  ::Tilt.prefer(HamlTemplate)
24
24
 
25
- app.before do
26
- result = resolve_template(request.path_info, :raise_exceptions => false)
27
-
28
- if result && Tilt.mappings.has_key?(result[1].to_s)
29
- extensionless_path, template_engine = result
30
- full_file_path = "#{extensionless_path}.#{template_engine}"
31
- system_path = File.join(settings.views, full_file_path)
32
- data, content = app.parse_front_matter(File.read(system_path))
25
+ app.after_feature_init do
26
+ app.before do
27
+ result = resolve_template(request.path_info, :raise_exceptions => false)
28
+
29
+ if result && Tilt.mappings.has_key?(result[1].to_s)
30
+ extensionless_path, template_engine = result
31
+ full_file_path = "#{extensionless_path}.#{template_engine}"
32
+ system_path = File.join(settings.views, full_file_path)
33
+ data, content = app.parse_front_matter(File.read(system_path))
33
34
 
34
- request['custom_options'] = {}
35
- %w(layout layout_engine).each do |opt|
36
- if data.has_key?(opt)
37
- request['custom_options'][opt.to_sym] = data.delete(opt)
35
+ request['custom_options'] = {}
36
+ %w(layout layout_engine).each do |opt|
37
+ if data.has_key?(opt)
38
+ request['custom_options'][opt.to_sym] = data.delete(opt)
39
+ end
38
40
  end
39
- end
40
41
 
41
- # Forward remaining data to helpers
42
- app.data_content("page", data)
42
+ # Forward remaining data to helpers
43
+ app.data_content("page", data)
44
+ end
43
45
  end
44
46
  end
45
47
  end
46
48
  alias :included :registered
47
- end
48
-
49
- module ClassMethods
49
+
50
50
  def parse_front_matter(content)
51
51
  yaml_regex = /^(---\s*\n.*?\n?)^(---\s*$\n?)/m
52
52
  if content =~ yaml_regex
@@ -55,7 +55,7 @@ module Middleman::CoreExtensions::FrontMatter
55
55
  rescue => e
56
56
  puts "YAML Exception: #{e.message}"
57
57
  end
58
-
58
+
59
59
  content = content.split(yaml_regex).last
60
60
  end
61
61
 
@@ -64,9 +64,15 @@ module Middleman::CoreExtensions::FrontMatter
64
64
  end
65
65
  end
66
66
 
67
+ module ClassMethods
68
+ def parse_front_matter(content)
69
+ Middleman::CoreExtensions::FrontMatter.parse_front_matter(content)
70
+ end
71
+ end
72
+
67
73
  module YamlAware
68
74
  def prepare
69
- options, @data = Middleman::Server.parse_front_matter(@data)
75
+ options, @data = Middleman::CoreExtensions::FrontMatter.parse_front_matter(@data)
70
76
  super
71
77
  end
72
78
  end
@@ -25,8 +25,9 @@ module Middleman::CoreExtensions::RackMap
25
25
  builder.use ::Rack::Head
26
26
  middleware.each { |c,a,b| builder.use(c, *a, &b) }
27
27
  maps.each { |p,b| builder.map(p, &b) }
28
+ app = self
28
29
  builder.map "/" do
29
- run Middleman::Server.new!(*args, &bk)
30
+ run app.new!(*args, &bk)
30
31
  end
31
32
  builder
32
33
  end
@@ -17,7 +17,10 @@ module Middleman::CoreExtensions::Sprockets
17
17
 
18
18
  class MiddlemanEnvironment < Sprockets::Environment
19
19
  def initialize(app)
20
- super File.expand_path(app.views)
20
+ full_path = app.views
21
+ full_path = File.join(app.root, app.views) unless app.views.include?(app.root)
22
+
23
+ super File.expand_path(full_path)
21
24
  end
22
25
  end
23
26
 
@@ -31,8 +34,7 @@ module Middleman::CoreExtensions::Sprockets
31
34
  self.js_compressor = app.settings.js_compressor
32
35
 
33
36
  # configure search paths
34
- javascripts_path = File.join(File.expand_path(app.views), app.js_dir)
35
- append_path javascripts_path
37
+ append_path app.js_dir
36
38
  end
37
39
  end
38
40
 
@@ -63,8 +63,8 @@ module Middleman
63
63
  data["raw"].match(/(.{1,#{app.settings.blog_summary_length}}.*?)(\n|\Z)/m).to_s
64
64
  end
65
65
 
66
- engine = RDiscount.new(sum)
67
- data["summary"] = engine.to_html
66
+ engine = app.settings.markdown_engine.new { sum }
67
+ data["summary"] = engine.render
68
68
  data
69
69
  end.sort { |a, b| b["date"] <=> a["date"] }
70
70
 
@@ -11,22 +11,24 @@ module Middleman::Renderers::Sass
11
11
  end
12
12
 
13
13
  class SassPlusCSSFilenameTemplate < ::Tilt::SassTemplate
14
- def sass_options
15
- return super if basename.nil?
16
-
17
- location_of_sass_file = if Middleman::Server.build?
18
- File.join(Middleman::Server.root, Middleman::Server.build_dir)
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
19
  else
20
- Middleman::Server.views
20
+ scope.views
21
21
  end
22
-
22
+
23
23
  parts = basename.split('.')
24
24
  parts.pop
25
- css_filename = File.join(location_of_sass_file, Middleman::Server.css_dir, parts.join("."))
26
- super.merge(Middleman::Server.settings.sass).merge(:css_filename => css_filename)
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
27
  end
28
28
 
29
29
  def evaluate(scope, locals, &block)
30
+ @engine = ::Sass::Engine.new(data, sass_options_with_scope(scope.class))
31
+
30
32
  begin
31
33
  super
32
34
  rescue Sass::SyntaxError => e
@@ -38,7 +40,7 @@ module Middleman::Renderers::Sass
38
40
  ::Tilt.prefer(SassPlusCSSFilenameTemplate)
39
41
 
40
42
  class ScssPlusCSSFilenameTemplate < SassPlusCSSFilenameTemplate
41
- def sass_options
43
+ def sass_options_with_scope(scope)
42
44
  super.merge(:syntax => :scss)
43
45
  end
44
46
  end
@@ -49,13 +51,13 @@ end
49
51
  # Use sass settings in Haml filters
50
52
  # Other, tilt-based filters (like those used in Slim) will
51
53
  # work automatically.
52
- module Middleman::Renderers::Haml
53
- module Sass
54
- include ::Haml::Filters::Base
55
-
56
- def render(text)
57
- sass_options = Middleman::Server.settings.sass
58
- ::Sass::Engine.new(text, sass_options).render
59
- end
60
- end
61
- end
54
+ # module Middleman::Renderers::Haml
55
+ # module Sass
56
+ # include ::Haml::Filters::Base
57
+ #
58
+ # def render(text)
59
+ # sass_options = scope.settings.sass
60
+ # ::Sass::Engine.new(text, sass_options).render
61
+ # end
62
+ # end
63
+ # end
@@ -1,4 +1,4 @@
1
1
  require 'rubygems'
2
2
  require 'middleman'
3
3
 
4
- run Middleman::Server
4
+ run Middleman.server
@@ -1,4 +1,4 @@
1
1
  require 'rubygems'
2
2
  require 'middleman'
3
3
 
4
- run Middleman::Server
4
+ run Middleman.server
@@ -1,4 +1,4 @@
1
1
  require 'rubygems'
2
2
  require 'middleman'
3
3
 
4
- run Middleman::Server
4
+ run Middleman.server
@@ -1,3 +1,3 @@
1
1
  module Middleman
2
- VERSION = "2.0.0.rc3"
2
+ VERSION = "2.0.0.rc4"
3
3
  end
data/middleman.gemspec CHANGED
@@ -30,10 +30,11 @@ Gem::Specification.new do |s|
30
30
  s.add_runtime_dependency("slim", ["~> 0.9.4"])
31
31
  s.add_runtime_dependency("haml", ["~> 3.1.0"])
32
32
  s.add_runtime_dependency("sass", ["~> 3.1.0"])
33
+ s.add_runtime_dependency("coffee-script", ["~> 2.2.0"])
33
34
  s.add_runtime_dependency("compass", ["~> 0.11.3"])
34
35
  s.add_runtime_dependency("sprockets", ["2.0.0.beta.10"])
35
36
  s.add_runtime_dependency("httparty", ["~> 0.7.0"])
36
- s.add_development_dependency("spork", ["~> 0.9.0.rc8"])
37
+ s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
37
38
  s.add_development_dependency("cucumber", ["~> 0.10.0"])
38
39
  s.add_development_dependency("rake", ["0.8.7"])
39
40
  s.add_development_dependency("rspec", [">= 0"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 2.0.0.rc3
5
+ version: 2.0.0.rc4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thomas Reynolds
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-11 00:00:00 -07:00
13
+ date: 2011-07-13 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -146,93 +146,104 @@ dependencies:
146
146
  type: :runtime
147
147
  version_requirements: *id012
148
148
  - !ruby/object:Gem::Dependency
149
- name: compass
149
+ name: coffee-script
150
150
  prerelease: false
151
151
  requirement: &id013 !ruby/object:Gem::Requirement
152
152
  none: false
153
153
  requirements:
154
154
  - - ~>
155
155
  - !ruby/object:Gem::Version
156
- version: 0.11.3
156
+ version: 2.2.0
157
157
  type: :runtime
158
158
  version_requirements: *id013
159
159
  - !ruby/object:Gem::Dependency
160
- name: sprockets
160
+ name: compass
161
161
  prerelease: false
162
162
  requirement: &id014 !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - ~>
166
+ - !ruby/object:Gem::Version
167
+ version: 0.11.3
168
+ type: :runtime
169
+ version_requirements: *id014
170
+ - !ruby/object:Gem::Dependency
171
+ name: sprockets
172
+ prerelease: false
173
+ requirement: &id015 !ruby/object:Gem::Requirement
163
174
  none: false
164
175
  requirements:
165
176
  - - "="
166
177
  - !ruby/object:Gem::Version
167
178
  version: 2.0.0.beta.10
168
179
  type: :runtime
169
- version_requirements: *id014
180
+ version_requirements: *id015
170
181
  - !ruby/object:Gem::Dependency
171
182
  name: httparty
172
183
  prerelease: false
173
- requirement: &id015 !ruby/object:Gem::Requirement
184
+ requirement: &id016 !ruby/object:Gem::Requirement
174
185
  none: false
175
186
  requirements:
176
187
  - - ~>
177
188
  - !ruby/object:Gem::Version
178
189
  version: 0.7.0
179
190
  type: :runtime
180
- version_requirements: *id015
191
+ version_requirements: *id016
181
192
  - !ruby/object:Gem::Dependency
182
- name: spork
193
+ name: coffee-filter
183
194
  prerelease: false
184
- requirement: &id016 !ruby/object:Gem::Requirement
195
+ requirement: &id017 !ruby/object:Gem::Requirement
185
196
  none: false
186
197
  requirements:
187
198
  - - ~>
188
199
  - !ruby/object:Gem::Version
189
- version: 0.9.0.rc8
200
+ version: 0.1.1
190
201
  type: :development
191
- version_requirements: *id016
202
+ version_requirements: *id017
192
203
  - !ruby/object:Gem::Dependency
193
204
  name: cucumber
194
205
  prerelease: false
195
- requirement: &id017 !ruby/object:Gem::Requirement
206
+ requirement: &id018 !ruby/object:Gem::Requirement
196
207
  none: false
197
208
  requirements:
198
209
  - - ~>
199
210
  - !ruby/object:Gem::Version
200
211
  version: 0.10.0
201
212
  type: :development
202
- version_requirements: *id017
213
+ version_requirements: *id018
203
214
  - !ruby/object:Gem::Dependency
204
215
  name: rake
205
216
  prerelease: false
206
- requirement: &id018 !ruby/object:Gem::Requirement
217
+ requirement: &id019 !ruby/object:Gem::Requirement
207
218
  none: false
208
219
  requirements:
209
220
  - - "="
210
221
  - !ruby/object:Gem::Version
211
222
  version: 0.8.7
212
223
  type: :development
213
- version_requirements: *id018
224
+ version_requirements: *id019
214
225
  - !ruby/object:Gem::Dependency
215
226
  name: rspec
216
227
  prerelease: false
217
- requirement: &id019 !ruby/object:Gem::Requirement
228
+ requirement: &id020 !ruby/object:Gem::Requirement
218
229
  none: false
219
230
  requirements:
220
231
  - - ">="
221
232
  - !ruby/object:Gem::Version
222
233
  version: "0"
223
234
  type: :development
224
- version_requirements: *id019
235
+ version_requirements: *id020
225
236
  - !ruby/object:Gem::Dependency
226
237
  name: rocco
227
238
  prerelease: false
228
- requirement: &id020 !ruby/object:Gem::Requirement
239
+ requirement: &id021 !ruby/object:Gem::Requirement
229
240
  none: false
230
241
  requirements:
231
242
  - - ">="
232
243
  - !ruby/object:Gem::Version
233
244
  version: "0"
234
245
  type: :development
235
- version_requirements: *id020
246
+ version_requirements: *id021
236
247
  description:
237
248
  email:
238
249
  - tdreyno@gmail.com
@@ -257,7 +268,10 @@ files:
257
268
  - bin/mm-build
258
269
  - bin/mm-init
259
270
  - bin/mm-server
271
+ - features/asset_host.feature
272
+ - features/automatic_image_sizes.feature
260
273
  - features/builder.feature
274
+ - features/cache_buster.feature
261
275
  - features/coffee-script.feature
262
276
  - features/data.feature
263
277
  - features/front-matter.feature
@@ -269,6 +283,7 @@ files:
269
283
  - features/minify_javascript.feature
270
284
  - features/padrino_helpers.feature
271
285
  - features/page_alias_and_layouts.feature
286
+ - features/relative_assets.feature
272
287
  - features/scss-support.feature
273
288
  - features/slim.feature
274
289
  - features/sprockets.feature
@@ -279,10 +294,6 @@ files:
279
294
  - features/step_definitions/page_layout_steps.rb
280
295
  - features/support/env.rb
281
296
  - features/tiny_src.feature
282
- - features/w_asset_host.feature
283
- - features/x_automatic_image_sizes.feature
284
- - features/y_cache_buster.feature
285
- - features/z_relative_assets.feature
286
297
  - fixtures/test-app/config.rb
287
298
  - fixtures/test-app/data/test.yml
288
299
  - fixtures/test-app/source/_partial.haml
@@ -300,7 +311,7 @@ files:
300
311
  - fixtures/test-app/source/custom-layout-dir/index.html.haml
301
312
  - fixtures/test-app/source/custom-layout.html.haml
302
313
  - fixtures/test-app/source/data.html.erb
303
- - fixtures/test-app/source/front-matter.html.slim
314
+ - fixtures/test-app/source/front-matter.html.erb
304
315
  - fixtures/test-app/source/images/blank.gif
305
316
  - fixtures/test-app/source/index.html.haml
306
317
  - fixtures/test-app/source/inline-coffeescript.html.haml
@@ -335,6 +346,7 @@ files:
335
346
  - fixtures/test-app/source/sub1/sub2/page-classes.html.haml
336
347
  - fixtures/test-app/source/tiny_src.html.haml
337
348
  - lib/middleman.rb
349
+ - lib/middleman/base.rb
338
350
  - lib/middleman/builder.rb
339
351
  - lib/middleman/config.ru
340
352
  - lib/middleman/core_extensions/assets.rb
@@ -352,7 +364,6 @@ files:
352
364
  - lib/middleman/features/automatic_image_sizes/fastimage.rb
353
365
  - lib/middleman/features/blog.rb
354
366
  - lib/middleman/features/cache_buster.rb
355
- - lib/middleman/features/live_reload.rb
356
367
  - lib/middleman/features/lorem.rb
357
368
  - lib/middleman/features/minify_css.rb
358
369
  - lib/middleman/features/minify_javascript.rb
@@ -364,7 +375,6 @@ files:
364
375
  - lib/middleman/renderers/markdown.rb
365
376
  - lib/middleman/renderers/sass.rb
366
377
  - lib/middleman/renderers/slim.rb
367
- - lib/middleman/server.rb
368
378
  - lib/middleman/templates.rb
369
379
  - lib/middleman/templates/compass.rb
370
380
  - lib/middleman/templates/default.rb
@@ -431,7 +441,10 @@ signing_key:
431
441
  specification_version: 3
432
442
  summary: A static site generator based on Sinatra. Providing Haml, Sass, Compass, CoffeeScript and including minification, compression and cache busting.
433
443
  test_files:
444
+ - features/asset_host.feature
445
+ - features/automatic_image_sizes.feature
434
446
  - features/builder.feature
447
+ - features/cache_buster.feature
435
448
  - features/coffee-script.feature
436
449
  - features/data.feature
437
450
  - features/front-matter.feature
@@ -443,6 +456,7 @@ test_files:
443
456
  - features/minify_javascript.feature
444
457
  - features/padrino_helpers.feature
445
458
  - features/page_alias_and_layouts.feature
459
+ - features/relative_assets.feature
446
460
  - features/scss-support.feature
447
461
  - features/slim.feature
448
462
  - features/sprockets.feature
@@ -453,10 +467,6 @@ test_files:
453
467
  - features/step_definitions/page_layout_steps.rb
454
468
  - features/support/env.rb
455
469
  - features/tiny_src.feature
456
- - features/w_asset_host.feature
457
- - features/x_automatic_image_sizes.feature
458
- - features/y_cache_buster.feature
459
- - features/z_relative_assets.feature
460
470
  - fixtures/test-app/config.rb
461
471
  - fixtures/test-app/data/test.yml
462
472
  - fixtures/test-app/source/_partial.haml
@@ -474,7 +484,7 @@ test_files:
474
484
  - fixtures/test-app/source/custom-layout-dir/index.html.haml
475
485
  - fixtures/test-app/source/custom-layout.html.haml
476
486
  - fixtures/test-app/source/data.html.erb
477
- - fixtures/test-app/source/front-matter.html.slim
487
+ - fixtures/test-app/source/front-matter.html.erb
478
488
  - fixtures/test-app/source/images/blank.gif
479
489
  - fixtures/test-app/source/index.html.haml
480
490
  - fixtures/test-app/source/inline-coffeescript.html.haml