middleman-core 3.3.5 → 3.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/features/cli_init.feature +51 -0
- data/features/compass-sprites.feature +1 -1
- data/features/front-matter.feature +11 -0
- data/features/slim.feature +1 -1
- data/fixtures/frontmatter-app/source/front-matter-pandoc.html.md.erb +13 -0
- data/lib/middleman-core/cli/build.rb +1 -1
- data/lib/middleman-core/cli/init.rb +5 -0
- data/lib/middleman-core/core_extensions/front_matter.rb +9 -2
- data/lib/middleman-core/preview_server.rb +6 -2
- data/lib/middleman-core/renderers/sass.rb +1 -1
- data/lib/middleman-core/sitemap/resource.rb +0 -4
- data/lib/middleman-core/templates/default.rb +11 -11
- data/lib/middleman-core/templates/empty.rb +2 -2
- data/lib/middleman-core/templates/html5.rb +3 -3
- data/lib/middleman-core/templates/local.rb +1 -1
- data/lib/middleman-core/templates/mobile.rb +3 -3
- data/lib/middleman-core/version.rb +1 -1
- data/lib/middleman-more/core_extensions/compass.rb +1 -0
- data/lib/middleman-more/extensions/asset_hash.rb +1 -1
- data/lib/middleman-more/extensions/automatic_image_sizes.rb +0 -2
- data/lib/middleman-more/extensions/cache_buster.rb +1 -1
- metadata +39 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5edb6179e1b8db65a77a208907ba89912542d232
|
4
|
+
data.tar.gz: eb2c10c41dae6b5cda0dc3d637ab3e72622243ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83ba70dcaafdd039ce05654b00800e5e1e3d54f820dfa23a062373d89214d18e8ebe675bc39f31289a7dc44ae22929b87ec8acac08cda3545b78d44d0bc91a46
|
7
|
+
data.tar.gz: 6283466a1bb102a867a43c61651c11b7271b08f29557b065eebb2d8b156c9f8f9d3b4673e3ae375bca5c5b48387b39aefd2a5561c427908b1b4113e3bd08aec4
|
data/features/cli_init.feature
CHANGED
@@ -98,3 +98,54 @@ Feature: Middleman CLI
|
|
98
98
|
| config.rb |
|
99
99
|
| config.ru |
|
100
100
|
| Gemfile |
|
101
|
+
|
102
|
+
Scenario: Enforce creation of Mobile HTML5 project
|
103
|
+
When I run `middleman init MY_PROJECT --template=mobile`
|
104
|
+
When I run `middleman init MY_PROJECT --template=mobile --force`
|
105
|
+
Then a directory named "MY_PROJECT" should exist
|
106
|
+
And the output should contain:
|
107
|
+
"""
|
108
|
+
identical
|
109
|
+
"""
|
110
|
+
And the output should contain:
|
111
|
+
"""
|
112
|
+
exist
|
113
|
+
"""
|
114
|
+
Scenario: Enforce creation of HTML5 project
|
115
|
+
When I run `middleman init MY_PROJECT --template=html5`
|
116
|
+
When I run `middleman init MY_PROJECT --template=html5 --force`
|
117
|
+
Then a directory named "MY_PROJECT" should exist
|
118
|
+
And the output should contain:
|
119
|
+
"""
|
120
|
+
identical
|
121
|
+
"""
|
122
|
+
And the output should contain:
|
123
|
+
"""
|
124
|
+
exist
|
125
|
+
"""
|
126
|
+
|
127
|
+
Scenario: Enforce creation of default project
|
128
|
+
When I run `middleman init MY_PROJECT --template=default`
|
129
|
+
When I run `middleman init MY_PROJECT --template=default --force`
|
130
|
+
Then a directory named "MY_PROJECT" should exist
|
131
|
+
And the output should contain:
|
132
|
+
"""
|
133
|
+
identical
|
134
|
+
"""
|
135
|
+
And the output should contain:
|
136
|
+
"""
|
137
|
+
exist
|
138
|
+
"""
|
139
|
+
|
140
|
+
Scenario: Enforce creation of empty project
|
141
|
+
When I run `middleman init MY_PROJECT --template=empty`
|
142
|
+
When I run `middleman init MY_PROJECT --template=empty --force`
|
143
|
+
Then a directory named "MY_PROJECT" should exist
|
144
|
+
And the output should contain:
|
145
|
+
"""
|
146
|
+
identical
|
147
|
+
"""
|
148
|
+
And the output should contain:
|
149
|
+
"""
|
150
|
+
exist
|
151
|
+
"""
|
@@ -21,6 +21,17 @@ Feature: YAML Front Matter
|
|
21
21
|
Then I should see "<?php"
|
22
22
|
Then I should not see "---"
|
23
23
|
|
24
|
+
Scenario: Rendering markdown (template-less) (yaml)
|
25
|
+
Given the Server is running at "frontmatter-app"
|
26
|
+
When I go to "/front-matter-pandoc.html"
|
27
|
+
Then I should see ">This is a document</h1>"
|
28
|
+
Then I should see "<p>To be or not to be</p>"
|
29
|
+
Then I should see "The meaning of life is 42"
|
30
|
+
Then I should not see "..."
|
31
|
+
Then I should not see "layout: false"
|
32
|
+
Then I should not see "title: Pandoc likes trailing dots..."
|
33
|
+
|
34
|
+
|
24
35
|
Scenario: YAML not on first line, no encoding
|
25
36
|
Given the Server is running at "frontmatter-app"
|
26
37
|
When I go to "/front-matter-line-2.html"
|
data/features/slim.feature
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: false
|
3
|
+
title: Pandoc likes trailing dots...
|
4
|
+
dotty_string: "..."
|
5
|
+
famous_quote: To be or not to be
|
6
|
+
popular_number: 42
|
7
|
+
...
|
8
|
+
|
9
|
+
# This is a document
|
10
|
+
|
11
|
+
<%= current_page.data.famous_quote %>
|
12
|
+
|
13
|
+
The meaning of life is <%= current_page.data.popular_number %>.
|
@@ -178,7 +178,7 @@ module Middleman::Cli
|
|
178
178
|
# @return [void]
|
179
179
|
def execute!
|
180
180
|
# Sort order, images, fonts, js/css and finally everything else.
|
181
|
-
sort_order = %w(.png .jpeg .jpg .gif .bmp .svg .svgz .ico .woff .otf .ttf .eot .js .css)
|
181
|
+
sort_order = %w(.png .jpeg .jpg .gif .bmp .svg .svgz .ico .webp .woff .otf .ttf .eot .js .css)
|
182
182
|
|
183
183
|
# Pre-request CSS to give Compass a chance to build sprites
|
184
184
|
logger.debug '== Prerendering CSS'
|
@@ -40,6 +40,11 @@ module Middleman::Cli
|
|
40
40
|
type: :boolean,
|
41
41
|
default: false,
|
42
42
|
desc: 'Skip Git ignores and keeps'
|
43
|
+
method_option 'force',
|
44
|
+
type: :boolean,
|
45
|
+
default: false,
|
46
|
+
desc: 'Overwrite existing files without any question'
|
47
|
+
|
43
48
|
# The init task
|
44
49
|
# @param [String] name
|
45
50
|
def init(name='.')
|
@@ -119,7 +119,7 @@ module Middleman::CoreExtensions
|
|
119
119
|
# @param [String] content
|
120
120
|
# @return [Array<Hash, String>]
|
121
121
|
def parse_yaml_front_matter(content, full_path)
|
122
|
-
yaml_regex = /\A(---\s*\n.*?\n?)^(
|
122
|
+
yaml_regex = /\A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)/m
|
123
123
|
if content =~ yaml_regex
|
124
124
|
content = content.sub(yaml_regex, '')
|
125
125
|
|
@@ -176,7 +176,14 @@ module Middleman::CoreExtensions
|
|
176
176
|
|
177
177
|
return [data, nil] if !app.files.exists?(full_path) || ::Middleman::Util.binary?(full_path)
|
178
178
|
|
179
|
-
|
179
|
+
# Avoid weird race condition when a file is renamed.
|
180
|
+
content = begin
|
181
|
+
File.read(full_path)
|
182
|
+
rescue ::EOFError
|
183
|
+
rescue ::IOError
|
184
|
+
rescue ::Errno::ENOENT
|
185
|
+
''
|
186
|
+
end
|
180
187
|
|
181
188
|
begin
|
182
189
|
if content =~ /\A.*coding:/
|
@@ -208,8 +208,12 @@ module Middleman
|
|
208
208
|
# @param [Array<String>] paths Array of paths to check
|
209
209
|
# @return [Boolean] Whether the server needs to reload
|
210
210
|
def needs_to_reload?(paths)
|
211
|
+
relative_paths = paths.map do |p|
|
212
|
+
Pathname(p).relative_path_from(Pathname(app.root)).to_s
|
213
|
+
end
|
214
|
+
|
211
215
|
match_against = [
|
212
|
-
%r{^config\.rb},
|
216
|
+
%r{^config\.rb$},
|
213
217
|
%r{^lib/[^\.](.*)\.rb$},
|
214
218
|
%r{^helpers/[^\.](.*)\.rb$}
|
215
219
|
]
|
@@ -220,7 +224,7 @@ module Middleman
|
|
220
224
|
end
|
221
225
|
end
|
222
226
|
|
223
|
-
|
227
|
+
relative_paths.any? do |path|
|
224
228
|
match_against.any? do |matcher|
|
225
229
|
path =~ matcher
|
226
230
|
end
|
@@ -80,10 +80,6 @@ module Middleman
|
|
80
80
|
@local_metadata[:blocks] += [block] if block_given?
|
81
81
|
end
|
82
82
|
|
83
|
-
# The output/preview URL for this resource
|
84
|
-
# @return [String]
|
85
|
-
attr_accessor :destination_path
|
86
|
-
|
87
83
|
# Extension of the path (i.e. '.js')
|
88
84
|
# @return [String]
|
89
85
|
def ext
|
@@ -19,17 +19,17 @@ class Middleman::Templates::Default < Middleman::Templates::Base
|
|
19
19
|
# Actually output the files
|
20
20
|
# @return [void]
|
21
21
|
def build_scaffold!
|
22
|
-
template 'shared/config.tt', File.join(location, 'config.rb')
|
23
|
-
copy_file 'default/source/index.html.erb', File.join(location, 'source/index.html.erb')
|
24
|
-
copy_file 'default/source/layouts/layout.erb', File.join(location, 'source/layouts/layout.erb')
|
25
|
-
empty_directory File.join(location, 'source', options[:css_dir])
|
26
|
-
copy_file 'default/source/stylesheets/all.css', File.join(location, 'source', options[:css_dir], 'all.css')
|
27
|
-
copy_file 'default/source/stylesheets/normalize.css', File.join(location, 'source', options[:css_dir], 'normalize.css')
|
28
|
-
empty_directory File.join(location, 'source', options[:js_dir])
|
29
|
-
copy_file 'default/source/javascripts/all.js', File.join(location, 'source', options[:js_dir], 'all.js')
|
30
|
-
empty_directory File.join(location, 'source', options[:images_dir])
|
31
|
-
copy_file 'default/source/images/background.png', File.join(location, 'source', options[:images_dir], 'background.png')
|
32
|
-
copy_file 'default/source/images/middleman.png', File.join(location, 'source', options[:images_dir], 'middleman.png')
|
22
|
+
template 'shared/config.tt', File.join(location, 'config.rb'), force: options[:force]
|
23
|
+
copy_file 'default/source/index.html.erb', File.join(location, 'source/index.html.erb'), force: options[:force]
|
24
|
+
copy_file 'default/source/layouts/layout.erb', File.join(location, 'source/layouts/layout.erb'), force: options[:force]
|
25
|
+
empty_directory File.join(location, 'source', options[:css_dir]), force: options[:force]
|
26
|
+
copy_file 'default/source/stylesheets/all.css', File.join(location, 'source', options[:css_dir], 'all.css'), force: options[:force]
|
27
|
+
copy_file 'default/source/stylesheets/normalize.css', File.join(location, 'source', options[:css_dir], 'normalize.css'), force: options[:force]
|
28
|
+
empty_directory File.join(location, 'source', options[:js_dir]), force: options[:force]
|
29
|
+
copy_file 'default/source/javascripts/all.js', File.join(location, 'source', options[:js_dir], 'all.js'), force: options[:force]
|
30
|
+
empty_directory File.join(location, 'source', options[:images_dir]), force: options[:force]
|
31
|
+
copy_file 'default/source/images/background.png', File.join(location, 'source', options[:images_dir], 'background.png'), force: options[:force]
|
32
|
+
copy_file 'default/source/images/middleman.png', File.join(location, 'source', options[:images_dir], 'middleman.png'), force: options[:force]
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -13,8 +13,8 @@ class Middleman::Templates::Empty < Middleman::Templates::Base
|
|
13
13
|
# Actually output the files
|
14
14
|
# @return [void]
|
15
15
|
def build_scaffold!
|
16
|
-
create_file File.join(location, 'config.rb'), "\n"
|
17
|
-
empty_directory File.join(location, 'source')
|
16
|
+
create_file File.join(location, 'config.rb'), "\n", force: options[:force]
|
17
|
+
empty_directory File.join(location, 'source'), force: options[:force]
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -19,9 +19,9 @@ class Middleman::Templates::Html5 < Middleman::Templates::Base
|
|
19
19
|
# Output the files
|
20
20
|
# @return [void]
|
21
21
|
def build_scaffold!
|
22
|
-
template 'shared/config.tt', File.join(location, 'config.rb')
|
23
|
-
directory 'html5/source', File.join(location, 'source')
|
24
|
-
empty_directory File.join(location, 'source')
|
22
|
+
template 'shared/config.tt', File.join(location, 'config.rb'), force: options[:force]
|
23
|
+
directory 'html5/source', File.join(location, 'source'), force: options[:force]
|
24
|
+
empty_directory File.join(location, 'source'), force: options[:force]
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -9,7 +9,7 @@ class Middleman::Templates::Local < Middleman::Templates::Base
|
|
9
9
|
# Just copy from the template path
|
10
10
|
# @return [void]
|
11
11
|
def build_scaffold!
|
12
|
-
directory options[:template].to_s, location
|
12
|
+
directory options[:template].to_s, location, force: options[:force]
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -14,9 +14,9 @@ class Middleman::Templates::Mobile < Middleman::Templates::Base
|
|
14
14
|
# Output the files
|
15
15
|
# @return [void]
|
16
16
|
def build_scaffold!
|
17
|
-
template 'shared/config.tt', File.join(location, 'config.rb')
|
18
|
-
directory 'mobile/source', File.join(location, 'source')
|
19
|
-
empty_directory File.join(location, 'source')
|
17
|
+
template 'shared/config.tt', File.join(location, 'config.rb'), force: options[:force]
|
18
|
+
directory 'mobile/source', File.join(location, 'source'), force: options[:force]
|
19
|
+
empty_directory File.join(location, 'source'), force: options[:force]
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
@@ -27,6 +27,7 @@ class Middleman::CoreExtensions::Compass < ::Middleman::Extension
|
|
27
27
|
compass_config.images_dir = app.config[:images_dir]
|
28
28
|
compass_config.http_path = app.config[:http_prefix]
|
29
29
|
|
30
|
+
compass_config.additional_import_paths = []
|
30
31
|
app.config[:sass_assets_paths].each do |path|
|
31
32
|
compass_config.add_import_path path
|
32
33
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'middleman-core/util'
|
2
2
|
|
3
3
|
class Middleman::Extensions::AssetHash < ::Middleman::Extension
|
4
|
-
option :exts, %w(.jpg .jpeg .png .gif .js .css .otf .woff .eot .ttf .svg), 'List of extensions that get asset hashes appended to them.'
|
4
|
+
option :exts, %w(.jpg .jpeg .png .gif .webp .js .css .otf .woff .eot .ttf .svg .svgz), 'List of extensions that get asset hashes appended to them.'
|
5
5
|
option :ignore, [], 'Patterns to avoid adding asset hashes to'
|
6
6
|
|
7
7
|
def initialize(app, options_hash={}, &block)
|
@@ -16,8 +16,6 @@ class Middleman::Extensions::AutomaticImageSizes < ::Middleman::Extension
|
|
16
16
|
# @return [String]
|
17
17
|
def image_tag(path, params={})
|
18
18
|
if !params.key?(:width) && !params.key?(:height) && !path.include?('://')
|
19
|
-
params[:alt] ||= ''
|
20
|
-
|
21
19
|
real_path = path
|
22
20
|
real_path = File.join(images_dir, real_path) unless real_path.start_with?('/')
|
23
21
|
full_path = File.join(source_dir, real_path)
|
@@ -24,7 +24,7 @@ class Middleman::Extensions::CacheBuster < ::Middleman::Extension
|
|
24
24
|
def asset_url(path, prefix='')
|
25
25
|
http_path = super
|
26
26
|
|
27
|
-
if http_path.include?('://') || !%w(.css .png .jpg .jpeg .svg .svgz .js .gif).include?(File.extname(http_path))
|
27
|
+
if http_path.include?('://') || !%w(.css .png .jpg .jpeg .svg .svgz .webp .js .gif).include?(File.extname(http_path))
|
28
28
|
http_path
|
29
29
|
else
|
30
30
|
if respond_to?(:http_images_path) && prefix == http_images_path
|
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: 3.3.
|
4
|
+
version: 3.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Reynolds
|
@@ -10,184 +10,184 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-09-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - ~>
|
19
|
+
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '1.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - ~>
|
26
|
+
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '1.1'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rack
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 1.4.5
|
36
|
-
- - <
|
36
|
+
- - "<"
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '2.0'
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: 1.4.5
|
46
|
-
- - <
|
46
|
+
- - "<"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '2.0'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: tilt
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.4.1
|
56
|
-
- - <
|
56
|
+
- - "<"
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '2.0'
|
59
59
|
type: :runtime
|
60
60
|
prerelease: false
|
61
61
|
version_requirements: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- - ~>
|
63
|
+
- - "~>"
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: 1.4.1
|
66
|
-
- - <
|
66
|
+
- - "<"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: erubis
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: hooks
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.3'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rack-test
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.6.2
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.6.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: thor
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 0.15.2
|
118
|
-
- - <
|
118
|
+
- - "<"
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '2.0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
123
|
version_requirements: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- -
|
125
|
+
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: 0.15.2
|
128
|
-
- - <
|
128
|
+
- - "<"
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '2.0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: activesupport
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - ~>
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: 4.1.0
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- - ~>
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 4.1.0
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: padrino-helpers
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - ~>
|
149
|
+
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: 0.12.3
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - ~>
|
156
|
+
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: 0.12.3
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: listen
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
|
-
- -
|
163
|
+
- - ">="
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: 2.7.9
|
166
|
-
- - <
|
166
|
+
- - "<"
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '3.0'
|
169
169
|
type: :runtime
|
170
170
|
prerelease: false
|
171
171
|
version_requirements: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
|
-
- -
|
173
|
+
- - ">="
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: 2.7.9
|
176
|
-
- - <
|
176
|
+
- - "<"
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '3.0'
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: i18n
|
181
181
|
requirement: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
|
-
- - ~>
|
183
|
+
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: 0.6.9
|
186
186
|
type: :runtime
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
|
-
- - ~>
|
190
|
+
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 0.6.9
|
193
193
|
description: A static site generator. Provides dozens of templating languages (Haml,
|
@@ -202,9 +202,9 @@ executables:
|
|
202
202
|
extensions: []
|
203
203
|
extra_rdoc_files: []
|
204
204
|
files:
|
205
|
-
- .gemtest
|
206
|
-
- .simplecov
|
207
|
-
- .yardopts
|
205
|
+
- ".gemtest"
|
206
|
+
- ".simplecov"
|
207
|
+
- ".yardopts"
|
208
208
|
- Rakefile
|
209
209
|
- bin/middleman
|
210
210
|
- features/3rd_party_cli.feature
|
@@ -512,6 +512,7 @@ files:
|
|
512
512
|
- fixtures/frontmatter-app/source/front-matter-change.html.erb
|
513
513
|
- fixtures/frontmatter-app/source/front-matter-encoding.html.erb
|
514
514
|
- fixtures/frontmatter-app/source/front-matter-line-2.html.erb
|
515
|
+
- fixtures/frontmatter-app/source/front-matter-pandoc.html.md.erb
|
515
516
|
- fixtures/frontmatter-app/source/json-front-matter-2.php.erb
|
516
517
|
- fixtures/frontmatter-app/source/json-front-matter-auto.erb
|
517
518
|
- fixtures/frontmatter-app/source/json-front-matter-encoding.html.erb
|
@@ -1256,12 +1257,12 @@ require_paths:
|
|
1256
1257
|
- lib
|
1257
1258
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1258
1259
|
requirements:
|
1259
|
-
- -
|
1260
|
+
- - ">="
|
1260
1261
|
- !ruby/object:Gem::Version
|
1261
1262
|
version: 1.9.3
|
1262
1263
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1263
1264
|
requirements:
|
1264
|
-
- -
|
1265
|
+
- - ">="
|
1265
1266
|
- !ruby/object:Gem::Version
|
1266
1267
|
version: '0'
|
1267
1268
|
requirements: []
|
@@ -1576,6 +1577,7 @@ test_files:
|
|
1576
1577
|
- fixtures/frontmatter-app/source/front-matter-change.html.erb
|
1577
1578
|
- fixtures/frontmatter-app/source/front-matter-encoding.html.erb
|
1578
1579
|
- fixtures/frontmatter-app/source/front-matter-line-2.html.erb
|
1580
|
+
- fixtures/frontmatter-app/source/front-matter-pandoc.html.md.erb
|
1579
1581
|
- fixtures/frontmatter-app/source/json-front-matter-2.php.erb
|
1580
1582
|
- fixtures/frontmatter-app/source/json-front-matter-auto.erb
|
1581
1583
|
- fixtures/frontmatter-app/source/json-front-matter-encoding.html.erb
|