middleman-core 4.1.0.rc.1 → 4.1.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/features/asset_hash.feature +44 -6
- data/features/asset_host.feature +1 -0
- data/features/automatic_image_sizes.feature +18 -5
- data/fixtures/asset-hash-host-app/source/index.html.erb +1 -1
- data/fixtures/asset-host-app/config.rb +1 -0
- data/fixtures/asset-host-app/source/asset_host.html.erb +9 -0
- data/fixtures/automatic-image-size-app/source/markdown-sizes.html.markdown +1 -0
- data/lib/middleman-core/application.rb +68 -58
- data/lib/middleman-core/builder.rb +24 -18
- data/lib/middleman-core/callback_manager.rb +8 -1
- data/lib/middleman-core/contracts.rb +13 -102
- data/lib/middleman-core/core_extensions.rb +6 -0
- data/lib/middleman-core/core_extensions/collections/lazy_step.rb +1 -1
- data/lib/middleman-core/core_extensions/data.rb +3 -2
- data/lib/middleman-core/core_extensions/default_helpers.rb +5 -5
- data/lib/middleman-core/core_extensions/external_helpers.rb +6 -11
- data/lib/middleman-core/core_extensions/file_watcher.rb +1 -1
- data/lib/middleman-core/core_extensions/front_matter.rb +1 -0
- data/lib/middleman-core/core_extensions/i18n.rb +4 -4
- data/lib/middleman-core/core_extensions/inline_url_rewriter.rb +150 -0
- data/lib/middleman-core/core_extensions/routing.rb +22 -28
- data/lib/middleman-core/core_extensions/show_exceptions.rb +1 -7
- data/lib/middleman-core/extension.rb +19 -2
- data/lib/middleman-core/extension_manager.rb +2 -0
- data/lib/middleman-core/extensions.rb +12 -0
- data/lib/middleman-core/extensions/asset_hash.rb +21 -20
- data/lib/middleman-core/extensions/asset_host.rb +9 -10
- data/lib/middleman-core/extensions/automatic_image_sizes.rb +1 -1
- data/lib/middleman-core/extensions/cache_buster.rb +6 -12
- data/lib/middleman-core/extensions/gzip.rb +2 -2
- data/lib/middleman-core/extensions/lorem.rb +1 -1
- data/lib/middleman-core/extensions/minify_css.rb +2 -2
- data/lib/middleman-core/extensions/minify_javascript.rb +2 -2
- data/lib/middleman-core/extensions/relative_assets.rb +6 -12
- data/lib/middleman-core/preview_server.rb +11 -9
- data/lib/middleman-core/preview_server/server_hostname.rb +2 -2
- data/lib/middleman-core/rack.rb +1 -1
- data/lib/middleman-core/renderers/kramdown.rb +1 -1
- data/lib/middleman-core/renderers/less.rb +3 -4
- data/lib/middleman-core/renderers/markdown.rb +2 -8
- data/lib/middleman-core/renderers/redcarpet.rb +1 -1
- data/lib/middleman-core/renderers/sass.rb +8 -11
- data/lib/middleman-core/renderers/stylus.rb +1 -5
- data/lib/middleman-core/sitemap/extensions/ignores.rb +5 -4
- data/lib/middleman-core/sitemap/extensions/import.rb +12 -15
- data/lib/middleman-core/sitemap/extensions/move_file.rb +3 -3
- data/lib/middleman-core/sitemap/extensions/proxies.rb +4 -4
- data/lib/middleman-core/sitemap/extensions/redirects.rb +16 -28
- data/lib/middleman-core/sitemap/extensions/request_endpoints.rb +17 -35
- data/lib/middleman-core/sitemap/extensions/traversal.rb +5 -5
- data/lib/middleman-core/sitemap/resource.rb +16 -16
- data/lib/middleman-core/sitemap/store.rb +42 -31
- data/lib/middleman-core/sources.rb +9 -9
- data/lib/middleman-core/sources/source_watcher.rb +14 -10
- data/lib/middleman-core/step_definitions/server_steps.rb +12 -4
- data/lib/middleman-core/template_context.rb +1 -1
- data/lib/middleman-core/template_renderer.rb +74 -75
- data/lib/middleman-core/util.rb +19 -16
- data/lib/middleman-core/util/data.rb +86 -82
- data/lib/middleman-core/version.rb +1 -1
- data/middleman-core.gemspec +1 -0
- metadata +19 -39
- data/features/cli/preview_server-hook.feature +0 -17
- data/features/cli/preview_server.feature +0 -536
- data/features/cli_extension.feature +0 -14
- data/features/cli_init.feature +0 -89
- data/fixtures/asset-hash-host-app/config.rb +0 -4
- data/fixtures/preview-server-app/bin/dns_server.rb +0 -33
- data/fixtures/preview-server-app/config.rb +0 -0
- data/fixtures/preview-server-app/source/index.html.erb +0 -1
- data/fixtures/preview-server-app/source/layout.erb +0 -9
- data/fixtures/preview-server-app/source/layouts/custom.erb +0 -8
- data/fixtures/preview-server-app/source/real.html +0 -1
- data/fixtures/preview-server-app/source/real/index.html.erb +0 -5
- data/fixtures/preview-server-app/source/should_be_ignored.html +0 -1
- data/fixtures/preview-server-app/source/should_be_ignored2.html +0 -1
- data/fixtures/preview-server-app/source/should_be_ignored3.html +0 -1
- data/fixtures/preview-server-app/source/static.html +0 -1
- data/fixtures/preview-server-hook-app/config.rb +0 -19
- data/fixtures/preview-server-hook-app/source/index.html.erb +0 -9
- data/lib/middleman-core/middleware/inline_url_rewriter.rb +0 -109
data/lib/middleman-core/util.rb
CHANGED
@@ -10,6 +10,9 @@ require 'rack/mime'
|
|
10
10
|
|
11
11
|
# DbC
|
12
12
|
require 'middleman-core/contracts'
|
13
|
+
require 'middleman-core/application'
|
14
|
+
require 'middleman-core/sources'
|
15
|
+
require 'middleman-core/sitemap/resource'
|
13
16
|
|
14
17
|
# Indifferent Access
|
15
18
|
require 'hashie'
|
@@ -104,7 +107,7 @@ module Middleman
|
|
104
107
|
Contract String => String
|
105
108
|
def normalize_path(path)
|
106
109
|
# The tr call works around a bug in Ruby's Unicode handling
|
107
|
-
URI.decode(path).sub(%r{^/}, '').tr('', '')
|
110
|
+
::URI.decode(path).sub(%r{^/}, '').tr('', '')
|
108
111
|
end
|
109
112
|
|
110
113
|
# This is a separate method from normalize_path in case we
|
@@ -150,7 +153,7 @@ module Middleman
|
|
150
153
|
all_files_under(child, &ignore)
|
151
154
|
end.compact
|
152
155
|
elsif path.file?
|
153
|
-
if block_given? &&
|
156
|
+
if block_given? && yield(path)
|
154
157
|
[]
|
155
158
|
else
|
156
159
|
[path]
|
@@ -167,7 +170,7 @@ module Middleman
|
|
167
170
|
# @param [String, Symbol] source The path to the file
|
168
171
|
# @param [Hash] options Data to pass through.
|
169
172
|
# @return [String]
|
170
|
-
Contract
|
173
|
+
Contract ::Middleman::Application, Symbol, Or[String, Symbol], Hash => String
|
171
174
|
def asset_path(app, kind, source, options={})
|
172
175
|
return source if source.to_s.include?('//') || source.to_s.start_with?('data:')
|
173
176
|
|
@@ -198,7 +201,7 @@ module Middleman
|
|
198
201
|
# @param [String] prefix The type prefix (such as "images")
|
199
202
|
# @param [Hash] options Data to pass through.
|
200
203
|
# @return [String] The fully qualified asset url
|
201
|
-
Contract
|
204
|
+
Contract ::Middleman::Application, String, String, Hash => String
|
202
205
|
def asset_url(app, path, prefix='', options={})
|
203
206
|
# Don't touch assets which already have a full path
|
204
207
|
return path if path.include?('//') || path.start_with?('data:')
|
@@ -221,7 +224,7 @@ module Middleman
|
|
221
224
|
end
|
222
225
|
end
|
223
226
|
|
224
|
-
final_result = URI.encode(relative_path_from_resource(options[:current_resource], result, options[:relative]))
|
227
|
+
final_result = ::URI.encode(relative_path_from_resource(options[:current_resource], result, options[:relative]))
|
225
228
|
|
226
229
|
result_uri = URI(final_result)
|
227
230
|
result_uri.query = uri.query
|
@@ -232,7 +235,7 @@ module Middleman
|
|
232
235
|
# Given a source path (referenced either absolutely or relatively)
|
233
236
|
# or a Resource, this will produce the nice URL configured for that
|
234
237
|
# path, respecting :relative_links, directory indexes, etc.
|
235
|
-
Contract
|
238
|
+
Contract ::Middleman::Application, Or[String, ::Middleman::Sitemap::Resource], Hash => String
|
236
239
|
def url_for(app, path_or_resource, options={})
|
237
240
|
# Handle Resources and other things which define their own url method
|
238
241
|
url = if path_or_resource.respond_to?(:url)
|
@@ -244,7 +247,7 @@ module Middleman
|
|
244
247
|
# Try to parse URL
|
245
248
|
begin
|
246
249
|
uri = URI(url)
|
247
|
-
rescue URI::InvalidURIError
|
250
|
+
rescue ::URI::InvalidURIError
|
248
251
|
# Nothing we can do with it, it's not really a URI
|
249
252
|
return url
|
250
253
|
end
|
@@ -287,7 +290,7 @@ module Middleman
|
|
287
290
|
|
288
291
|
if resource
|
289
292
|
uri.path = if this_resource
|
290
|
-
URI.encode(relative_path_from_resource(this_resource, resource_url, effective_relative))
|
293
|
+
::URI.encode(relative_path_from_resource(this_resource, resource_url, effective_relative))
|
291
294
|
else
|
292
295
|
resource_url
|
293
296
|
end
|
@@ -311,7 +314,7 @@ module Middleman
|
|
311
314
|
# @param [String] path Request path/
|
312
315
|
# @param [Middleman::Application] app The requesting app.
|
313
316
|
# @return [String] Path with index file if necessary.
|
314
|
-
Contract String,
|
317
|
+
Contract String, ::Middleman::Application => String
|
315
318
|
def full_path(path, app)
|
316
319
|
resource = app.sitemap.find_resource_by_destination_path(path)
|
317
320
|
|
@@ -346,7 +349,7 @@ module Middleman
|
|
346
349
|
begin
|
347
350
|
uri = ::Addressable::URI.parse(asset_path)
|
348
351
|
|
349
|
-
if uri.relative? && uri.host.nil? && (result = yield(asset_path))
|
352
|
+
if uri.relative? && uri.host.nil? && !asset_path.match(/^[^\/].*[a-z]+\.[a-z]+\/.*/) && (result = yield(asset_path))
|
350
353
|
"#{opening_character}#{result}"
|
351
354
|
else
|
352
355
|
match
|
@@ -422,7 +425,7 @@ module Middleman
|
|
422
425
|
# @param [String] resource_url The target url.
|
423
426
|
# @param [Boolean] relative If the path should be relative.
|
424
427
|
# @return [String]
|
425
|
-
Contract
|
428
|
+
Contract ::Middleman::Sitemap::Resource, String, Bool => String
|
426
429
|
def relative_path_from_resource(curr_resource, resource_url, relative)
|
427
430
|
# Switch to the relative path between resource and the given resource
|
428
431
|
# if we've been asked to.
|
@@ -480,12 +483,12 @@ module Middleman
|
|
480
483
|
#
|
481
484
|
# @param [Pathname] path The path.
|
482
485
|
# @return [Middleman::SourceFile]
|
483
|
-
Contract Pathname, Pathname, Symbol, Bool =>
|
486
|
+
Contract Pathname, Pathname, Symbol, Bool => ::Middleman::SourceFile
|
484
487
|
def path_to_source_file(path, directory, type, destination_dir)
|
485
488
|
types = Set.new([type])
|
486
489
|
|
487
490
|
relative_path = path.relative_path_from(directory)
|
488
|
-
relative_path
|
491
|
+
relative_path = File.join(destination_dir, relative_path) if destination_dir
|
489
492
|
|
490
493
|
::Middleman::SourceFile.new(Pathname(relative_path), path, directory, types)
|
491
494
|
end
|
@@ -496,7 +499,7 @@ module Middleman
|
|
496
499
|
# @param [Middleman::Application] app The app.
|
497
500
|
# @param [Pathname] files The original touched file paths.
|
498
501
|
# @return [Middleman::SourceFile] All related file paths, not including the source file paths.
|
499
|
-
Contract
|
502
|
+
Contract ::Middleman::Application, ArrayOf[Pathname] => ArrayOf[::Middleman::SourceFile]
|
500
503
|
def find_related_files(app, files)
|
501
504
|
all_extensions = files.flat_map { |f| collect_extensions(f.to_s) }
|
502
505
|
|
@@ -546,7 +549,7 @@ module Middleman
|
|
546
549
|
tmpl_src = tmpl_src.gsub(/:([A-Za-z0-9]+)/, '{\1}')
|
547
550
|
end
|
548
551
|
|
549
|
-
Addressable::Template.new ::Middleman::Util.normalize_path(tmpl_src)
|
552
|
+
::Addressable::Template.new ::Middleman::Util.normalize_path(tmpl_src)
|
550
553
|
end
|
551
554
|
|
552
555
|
# Apply a URI template with the given data, producing a normalized
|
@@ -556,7 +559,7 @@ module Middleman
|
|
556
559
|
# @param [Hash] data
|
557
560
|
# @return [String] normalized path
|
558
561
|
def apply_uri_template(template, data)
|
559
|
-
::Middleman::Util.normalize_path Addressable::URI.unencode(template.expand(data)).to_s
|
562
|
+
::Middleman::Util.normalize_path ::Addressable::URI.unencode(template.expand(data)).to_s
|
560
563
|
end
|
561
564
|
|
562
565
|
# Use a template to extract parameters from a path, and validate some special (date)
|
@@ -5,98 +5,102 @@ require 'middleman-core/util'
|
|
5
5
|
require 'middleman-core/contracts'
|
6
6
|
require 'backports/2.1.0/array/to_h'
|
7
7
|
|
8
|
-
module Middleman
|
9
|
-
|
8
|
+
module Middleman
|
9
|
+
module Util
|
10
|
+
module Data
|
11
|
+
include Contracts
|
10
12
|
|
11
|
-
|
13
|
+
module_function
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
# Get the frontmatter and plain content from a file
|
16
|
+
# @param [String] path
|
17
|
+
# @return [Array<Hash, String>]
|
18
|
+
Contract Pathname, Maybe[Symbol] => [Hash, Maybe[String]]
|
19
|
+
def parse(full_path, frontmatter_delims, known_type=nil)
|
20
|
+
return [{}, nil] if ::Middleman::Util.binary?(full_path)
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
# Avoid weird race condition when a file is renamed
|
23
|
+
begin
|
24
|
+
content = File.read(full_path)
|
25
|
+
rescue EOFError, IOError, Errno::ENOENT
|
26
|
+
return [{}, nil]
|
27
|
+
end
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
start_delims, stop_delims = frontmatter_delims
|
30
|
+
.values
|
31
|
+
.flatten(1)
|
32
|
+
.transpose
|
33
|
+
.map(&Regexp.method(:union))
|
32
34
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
match = /
|
36
|
+
\A(?:[^\r\n]*coding:[^\r\n]*\r?\n)?
|
37
|
+
(?<start>#{start_delims})[ ]*\r?\n
|
38
|
+
(?<frontmatter>.*?)[ ]*\r?\n?
|
39
|
+
^(?<stop>#{stop_delims})[ ]*\r?\n?
|
40
|
+
\r?\n?
|
41
|
+
(?<additional_content>.*)
|
42
|
+
/mx.match(content) || {}
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
44
|
+
unless match[:frontmatter]
|
45
|
+
case known_type
|
46
|
+
when :yaml
|
47
|
+
return [parse_yaml(content, full_path), nil]
|
48
|
+
when :json
|
49
|
+
return [parse_json(content, full_path), nil]
|
50
|
+
end
|
51
|
+
end
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
53
|
+
case [match[:start], match[:stop]]
|
54
|
+
when *frontmatter_delims[:yaml]
|
55
|
+
[
|
56
|
+
parse_yaml(match[:frontmatter], full_path),
|
57
|
+
match[:additional_content]
|
58
|
+
]
|
59
|
+
when *frontmatter_delims[:json]
|
60
|
+
[
|
61
|
+
parse_json("{#{match[:frontmatter]}}", full_path),
|
62
|
+
match[:additional_content]
|
63
|
+
]
|
64
|
+
else
|
65
|
+
[
|
66
|
+
{},
|
67
|
+
content
|
68
|
+
]
|
69
|
+
end
|
70
|
+
end
|
69
71
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
72
|
+
# Parse YAML frontmatter out of a string
|
73
|
+
# @param [String] content
|
74
|
+
# @return [Hash]
|
75
|
+
Contract String, Pathname, Bool => Hash
|
76
|
+
def parse_yaml(content, full_path)
|
77
|
+
symbolize_recursive(::YAML.load(content) || {})
|
78
|
+
rescue StandardError, ::Psych::SyntaxError => error
|
79
|
+
warn "YAML Exception parsing #{full_path}: #{error.message}"
|
80
|
+
{}
|
81
|
+
end
|
80
82
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
83
|
+
# Parse JSON frontmatter out of a string
|
84
|
+
# @param [String] content
|
85
|
+
# @return [Hash]
|
86
|
+
Contract String, Pathname => Hash
|
87
|
+
def parse_json(content, full_path)
|
88
|
+
symbolize_recursive(::JSON.parse(content) || {})
|
89
|
+
rescue StandardError => error
|
90
|
+
warn "JSON Exception parsing #{full_path}: #{error.message}"
|
91
|
+
{}
|
92
|
+
end
|
91
93
|
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
94
|
+
def symbolize_recursive(value)
|
95
|
+
case value
|
96
|
+
when Hash
|
97
|
+
value.map { |k, v| [k.to_sym, symbolize_recursive(v)] }.to_h
|
98
|
+
when Array
|
99
|
+
value.map { |v| symbolize_recursive(v) }
|
100
|
+
else
|
101
|
+
value
|
102
|
+
end
|
103
|
+
end
|
100
104
|
end
|
101
105
|
end
|
102
106
|
end
|
data/middleman-core.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.0.rc.
|
4
|
+
version: 4.1.0.rc.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Reynolds
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-01-
|
13
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -74,6 +74,20 @@ dependencies:
|
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: fast_blank
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
type: :runtime
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
77
91
|
- !ruby/object:Gem::Dependency
|
78
92
|
name: activesupport
|
79
93
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,10 +312,6 @@ files:
|
|
298
312
|
- features/capture_html.feature
|
299
313
|
- features/chained_templates.feature
|
300
314
|
- features/clean_build.feature
|
301
|
-
- features/cli/preview_server-hook.feature
|
302
|
-
- features/cli/preview_server.feature
|
303
|
-
- features/cli_extension.feature
|
304
|
-
- features/cli_init.feature
|
305
315
|
- features/coffee-script.feature
|
306
316
|
- features/collections.feature
|
307
317
|
- features/console.feature
|
@@ -411,7 +421,6 @@ files:
|
|
411
421
|
- fixtures/asset-hash-app/source/stylesheets/uses_partials.css.sass
|
412
422
|
- fixtures/asset-hash-app/source/subdir/api.json.erb
|
413
423
|
- fixtures/asset-hash-app/source/subdir/index.html.erb
|
414
|
-
- fixtures/asset-hash-host-app/config.rb
|
415
424
|
- fixtures/asset-hash-host-app/source/images/100px.gif
|
416
425
|
- fixtures/asset-hash-host-app/source/images/100px.jpg
|
417
426
|
- fixtures/asset-hash-host-app/source/images/100px.png
|
@@ -462,6 +471,7 @@ files:
|
|
462
471
|
- fixtures/automatic-image-size-app/config.rb
|
463
472
|
- fixtures/automatic-image-size-app/source/auto-image-sizes.html.erb
|
464
473
|
- fixtures/automatic-image-size-app/source/images/blank.gif
|
474
|
+
- fixtures/automatic-image-size-app/source/markdown-sizes.html.markdown
|
465
475
|
- fixtures/basic-data-app/config.rb
|
466
476
|
- fixtures/basic-data-app/data/test.yml
|
467
477
|
- fixtures/basic-data-app/data/test2.json
|
@@ -1181,19 +1191,6 @@ files:
|
|
1181
1191
|
- fixtures/preview-app/config.rb
|
1182
1192
|
- fixtures/preview-app/source/content.html.erb
|
1183
1193
|
- fixtures/preview-app/source/layout.erb
|
1184
|
-
- fixtures/preview-server-app/bin/dns_server.rb
|
1185
|
-
- fixtures/preview-server-app/config.rb
|
1186
|
-
- fixtures/preview-server-app/source/index.html.erb
|
1187
|
-
- fixtures/preview-server-app/source/layout.erb
|
1188
|
-
- fixtures/preview-server-app/source/layouts/custom.erb
|
1189
|
-
- fixtures/preview-server-app/source/real.html
|
1190
|
-
- fixtures/preview-server-app/source/real/index.html.erb
|
1191
|
-
- fixtures/preview-server-app/source/should_be_ignored.html
|
1192
|
-
- fixtures/preview-server-app/source/should_be_ignored2.html
|
1193
|
-
- fixtures/preview-server-app/source/should_be_ignored3.html
|
1194
|
-
- fixtures/preview-server-app/source/static.html
|
1195
|
-
- fixtures/preview-server-hook-app/config.rb
|
1196
|
-
- fixtures/preview-server-hook-app/source/index.html.erb
|
1197
1194
|
- fixtures/proxy-pages-app/config.rb
|
1198
1195
|
- fixtures/proxy-pages-app/source/real.html
|
1199
1196
|
- fixtures/proxy-pages-app/source/real/index.html.erb
|
@@ -1307,6 +1304,7 @@ files:
|
|
1307
1304
|
- lib/middleman-core/core_extensions/file_watcher.rb
|
1308
1305
|
- lib/middleman-core/core_extensions/front_matter.rb
|
1309
1306
|
- lib/middleman-core/core_extensions/i18n.rb
|
1307
|
+
- lib/middleman-core/core_extensions/inline_url_rewriter.rb
|
1310
1308
|
- lib/middleman-core/core_extensions/rendering.rb
|
1311
1309
|
- lib/middleman-core/core_extensions/routing.rb
|
1312
1310
|
- lib/middleman-core/core_extensions/show_exceptions.rb
|
@@ -1347,7 +1345,6 @@ files:
|
|
1347
1345
|
- lib/middleman-core/meta_pages/templates/config.html.erb
|
1348
1346
|
- lib/middleman-core/meta_pages/templates/index.html.erb
|
1349
1347
|
- lib/middleman-core/meta_pages/templates/sitemap.html.erb
|
1350
|
-
- lib/middleman-core/middleware/inline_url_rewriter.rb
|
1351
1348
|
- lib/middleman-core/preview_server.rb
|
1352
1349
|
- lib/middleman-core/preview_server/checks.rb
|
1353
1350
|
- lib/middleman-core/preview_server/information.rb
|
@@ -1447,10 +1444,6 @@ test_files:
|
|
1447
1444
|
- features/capture_html.feature
|
1448
1445
|
- features/chained_templates.feature
|
1449
1446
|
- features/clean_build.feature
|
1450
|
-
- features/cli/preview_server-hook.feature
|
1451
|
-
- features/cli/preview_server.feature
|
1452
|
-
- features/cli_extension.feature
|
1453
|
-
- features/cli_init.feature
|
1454
1447
|
- features/coffee-script.feature
|
1455
1448
|
- features/collections.feature
|
1456
1449
|
- features/console.feature
|
@@ -1560,7 +1553,6 @@ test_files:
|
|
1560
1553
|
- fixtures/asset-hash-app/source/stylesheets/uses_partials.css.sass
|
1561
1554
|
- fixtures/asset-hash-app/source/subdir/api.json.erb
|
1562
1555
|
- fixtures/asset-hash-app/source/subdir/index.html.erb
|
1563
|
-
- fixtures/asset-hash-host-app/config.rb
|
1564
1556
|
- fixtures/asset-hash-host-app/source/images/100px.gif
|
1565
1557
|
- fixtures/asset-hash-host-app/source/images/100px.jpg
|
1566
1558
|
- fixtures/asset-hash-host-app/source/images/100px.png
|
@@ -1611,6 +1603,7 @@ test_files:
|
|
1611
1603
|
- fixtures/automatic-image-size-app/config.rb
|
1612
1604
|
- fixtures/automatic-image-size-app/source/auto-image-sizes.html.erb
|
1613
1605
|
- fixtures/automatic-image-size-app/source/images/blank.gif
|
1606
|
+
- fixtures/automatic-image-size-app/source/markdown-sizes.html.markdown
|
1614
1607
|
- fixtures/basic-data-app/config.rb
|
1615
1608
|
- fixtures/basic-data-app/data/test.yml
|
1616
1609
|
- fixtures/basic-data-app/data/test2.json
|
@@ -2330,19 +2323,6 @@ test_files:
|
|
2330
2323
|
- fixtures/preview-app/config.rb
|
2331
2324
|
- fixtures/preview-app/source/content.html.erb
|
2332
2325
|
- fixtures/preview-app/source/layout.erb
|
2333
|
-
- fixtures/preview-server-app/bin/dns_server.rb
|
2334
|
-
- fixtures/preview-server-app/config.rb
|
2335
|
-
- fixtures/preview-server-app/source/index.html.erb
|
2336
|
-
- fixtures/preview-server-app/source/layout.erb
|
2337
|
-
- fixtures/preview-server-app/source/layouts/custom.erb
|
2338
|
-
- fixtures/preview-server-app/source/real.html
|
2339
|
-
- fixtures/preview-server-app/source/real/index.html.erb
|
2340
|
-
- fixtures/preview-server-app/source/should_be_ignored.html
|
2341
|
-
- fixtures/preview-server-app/source/should_be_ignored2.html
|
2342
|
-
- fixtures/preview-server-app/source/should_be_ignored3.html
|
2343
|
-
- fixtures/preview-server-app/source/static.html
|
2344
|
-
- fixtures/preview-server-hook-app/config.rb
|
2345
|
-
- fixtures/preview-server-hook-app/source/index.html.erb
|
2346
2326
|
- fixtures/proxy-pages-app/config.rb
|
2347
2327
|
- fixtures/proxy-pages-app/source/real.html
|
2348
2328
|
- fixtures/proxy-pages-app/source/real/index.html.erb
|