middleman-asciidoc 1.0.0.rc.1 → 1.0.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/.travis.yml +2 -2
- data/Gemfile +1 -0
- data/README.adoc +153 -29
- data/features/asciidoc.feature +7 -5
- data/fixtures/asciidoc-app/source/hello-with-mixed-page-data.adoc +7 -0
- data/fixtures/asciidoc-app/source/hello-with-title.adoc +1 -0
- data/fixtures/asciidoc-app/source/layouts/default.erb +3 -1
- data/lib/middleman-asciidoc/extension.rb +27 -20
- data/lib/middleman-asciidoc/version.rb +1 -1
- data/middleman-asciidoc.gemspec +1 -3
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71184316832805aae751db8bbcb388ff1b31b737
|
4
|
+
data.tar.gz: efd5605cc5280b9c75372e4bc479d65112f21a21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb963a0acae39a624791b739ff7e596088913cb56a06f9befa8b25c3de096a9d0785c7662b25d2dd38ab72d627323174cca5bacbf032deac1a8c1219fe337a3f
|
7
|
+
data.tar.gz: 3320c78bbe08f681f07c252a9e7d3148e39c889faf843815ebc54fd1df77704e961d11cfb0ddf52b0f3d0c2cf3714ead81772a5ed8ad38f9b77c3f0d1455d8e1
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -10,6 +10,7 @@ gem 'yard', '~> 0.8', require: false
|
|
10
10
|
# Test tools
|
11
11
|
gem 'cucumber', '~> 2.0', require: false
|
12
12
|
gem 'aruba', '~> 0.7.4', require: false
|
13
|
+
gem 'capybara', '~> 2.5.0', require: false
|
13
14
|
|
14
15
|
# Code quality tools
|
15
16
|
gem 'cane', platforms: [:mri_19, :mri_20], require: false
|
data/README.adoc
CHANGED
@@ -1,14 +1,22 @@
|
|
1
|
-
= AsciiDoc
|
1
|
+
= AsciiDoc Extension for Middleman (powered by Asciidoctor)
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>
|
3
|
-
v1.0.0.rc.
|
3
|
+
v1.0.0.rc.2, 2016-05-22
|
4
4
|
// Settings:
|
5
5
|
:idprefix:
|
6
6
|
:idseparator: -
|
7
7
|
ifndef::env-github[:icons: font]
|
8
|
+
ifdef::env-github,env-browser[]
|
9
|
+
:toc: preamble
|
10
|
+
:toclevels: 1
|
11
|
+
endif::[]
|
8
12
|
ifdef::env-github[]
|
9
13
|
:status:
|
10
14
|
:outfilesuffix: .adoc
|
15
|
+
:!toc-title:
|
16
|
+
:important-caption: :exclamation:
|
11
17
|
:note-caption: :paperclip:
|
18
|
+
:tip-caption: :bulb:
|
19
|
+
:warning-caption: :warning:
|
12
20
|
endif::[]
|
13
21
|
// URIs:
|
14
22
|
:uri-repo: https://github.com/middleman/middleman-asciidoc
|
@@ -16,26 +24,28 @@ endif::[]
|
|
16
24
|
:uri-asciidoc: http://asciidoc.org
|
17
25
|
:uri-asciidoctor: http://asciidoctor.org
|
18
26
|
:uri-gem: https://rubygems.org/gems/middleman-asciidoc
|
19
|
-
:badge-gem: https://
|
20
|
-
:uri-
|
21
|
-
:badge-
|
22
|
-
:uri-
|
23
|
-
:badge-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
Middleman AsciiDoc (gem: *middleman-asciidoc*) is an extension for the {uri-middleman}[Middleman] static site generator that adds support for the {uri-asciidoc}[AsciiDoc] markup language powered by {uri-asciidoctor}[Asciidoctor].
|
28
|
-
|
29
|
-
NOTE: This extension is designed for Middleman >= 4.0.0.
|
30
|
-
Prior to Middleman 4, AsciiDoc support was provided by Middleman out of the box.
|
27
|
+
:badge-gem: https://img.shields.io/gem/v/middleman-asciidoc.svg?label=gem
|
28
|
+
:uri-build: http://travis-ci.org/middleman/middleman-asciidoc
|
29
|
+
:badge-build: https://img.shields.io/travis/middleman/middleman-asciidoc/master.svg
|
30
|
+
:uri-deps: https://gemnasium.com/middleman/middleman-asciidoc
|
31
|
+
:badge-deps: https://img.shields.io/gemnasium/middleman/middleman-asciidoc.svg
|
32
|
+
//:uri-codequality: https://codeclimate.com/github/middleman/middleman-asciidoc
|
33
|
+
//:badge-codequality: https://codeclimate.com/github/middleman/middleman-asciidoc.png
|
31
34
|
|
32
35
|
ifdef::status[]
|
33
|
-
image:{badge-gem}[Gem Version,link={uri-gem}]
|
34
|
-
image:{badge-
|
35
|
-
image:{badge-
|
36
|
-
//image:{badge-codequality}[Code Quality,link={
|
36
|
+
image:{badge-gem}[Gem Version Badge,link={uri-gem}]
|
37
|
+
image:{badge-build}[Build Status Badge,link={uri-build}]
|
38
|
+
image:{badge-deps}[Dependency Status Badge,link={uri-deps}]
|
39
|
+
//image:{badge-codequality}[Code Quality Badge,link={uri-codequality}]
|
37
40
|
endif::[]
|
38
41
|
|
42
|
+
Middleman AsciiDoc (gem: *middleman-asciidoc*) is an extension for the {uri-middleman}[Middleman] static site generator that adds support for the {uri-asciidoc}[AsciiDoc] lightweight markup language.
|
43
|
+
Specifically, this extension converts AsciiDoc files in your site source to HTML pages.
|
44
|
+
This conversion is performed using {uri-asciidoctor}[Asciidoctor] by default.
|
45
|
+
|
46
|
+
IMPORTANT: This extension is designed for Middleman >= 4.0.0.
|
47
|
+
Prior to Middleman 4, AsciiDoc support was part of Middleman core.
|
48
|
+
|
39
49
|
== Installation
|
40
50
|
|
41
51
|
If you're just getting started, install the Middleman gem:
|
@@ -48,14 +58,19 @@ then generate a new project:
|
|
48
58
|
|
49
59
|
If you're working with an existing project, you can skip the previous steps.
|
50
60
|
|
51
|
-
|
61
|
+
Next, add the gem for this extension to your project's [.path]_Gemfile_.
|
52
62
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
63
|
+
```ruby
|
64
|
+
gem 'middleman-asciidoc'
|
65
|
+
```
|
66
|
+
|
67
|
+
Finally, run Bundler using the `bundle` command:
|
68
|
+
|
69
|
+
$ bundle
|
57
70
|
|
58
|
-
|
71
|
+
You're now ready to activate this extension and begin putting it to work.
|
72
|
+
|
73
|
+
== Activation and Configuration
|
59
74
|
|
60
75
|
```ruby
|
61
76
|
activate :asciidoc
|
@@ -64,17 +79,125 @@ activate :asciidoc
|
|
64
79
|
You can also pass AsciiDoc configuration options to the underlying Asciidoctor processor:
|
65
80
|
|
66
81
|
```ruby
|
67
|
-
activate :asciidoc, attributes:
|
82
|
+
activate :asciidoc, attributes: ['source-highlighter=coderay']
|
68
83
|
```
|
69
84
|
|
70
|
-
The
|
85
|
+
The following option keys from the Asciidoctor API can be added to the Hash of the second argument to `activate`:
|
86
|
+
|
87
|
+
attributes (type: Hash or Array, default: [])::
|
88
|
+
Custom AsciiDoc attributes to pass to the processor.
|
89
|
+
The following implicit attributes are automatically appended to this collection.
|
90
|
+
|
91
|
+
* env=site
|
92
|
+
* env-site
|
93
|
+
* site-gen=middleman
|
94
|
+
* site-gen-middleman
|
95
|
+
* builder=middleman
|
96
|
+
* builder-middleman
|
97
|
+
* middleman-version=(value of `::Middleman::VERSION` constant)
|
98
|
+
* imagesdir=(value of http_prefix + images_dir in app config)@
|
99
|
+
- skipped if `!imagesdir` is defined as a custom attribute
|
100
|
+
- can be overridden in page (hence the trailing @)
|
101
|
+
|
102
|
+
backend (type: Symbol, default: :html5)::
|
103
|
+
The moniker for a converter, which determines the output format to generate.
|
104
|
+
|
105
|
+
base_dir (type: String, default: nil)::
|
106
|
+
The base directory to use for the current AsciiDoc document; if not specified, defaults to the document directory (i.e., docdir).
|
107
|
+
To set the base directory to the source directory, use the value `app.source_dir.expand_path`.
|
108
|
+
|
109
|
+
safe (type: Symbol, default: :safe)::
|
110
|
+
The safe mode level under which to run the AsciiDoc processor.
|
111
|
+
|
112
|
+
TIP: The full set of options can be seen on your preview server's config page at the path [.path]_/__middleman/config/_.
|
113
|
+
|
114
|
+
== Creating Pages
|
115
|
+
|
116
|
+
Each AsciiDoc file in the source directory (except for files that begin with `+_+` or which are located in a directory that begins with `+_+`) becomes a page in the site.
|
117
|
+
AsciiDoc files can have the file extension `.adoc` or `.html.adoc`.
|
118
|
+
These extensions are stripped and replaced with the value of the `outfilesuffix` attribute, which defaults to `.html`.
|
119
|
+
|
120
|
+
NOTE: For details about how the file extension is substituted, see the discussion in https://github.com/middleman/middleman-asciidoc/issues/7[issue #7].
|
121
|
+
|
122
|
+
To add a page composed in AsciiDoc, simply add an AsciiDoc file that has one of the aforementioned AsciiDoc file extensions to the project source directory.
|
123
|
+
|
124
|
+
.sample.adoc
|
125
|
+
[listing]
|
126
|
+
....
|
127
|
+
= Sample Page
|
128
|
+
:page-layout: page
|
129
|
+
:uri-asciidoctor: http://asciidoctor.org
|
130
|
+
|
131
|
+
This is a sample page composed in AsciiDoc.
|
132
|
+
The Middleman AsciiDoc extension converts it to HTML using {uri-asciidoctor}[Asciidoctor].
|
133
|
+
|
134
|
+
[source,ruby]
|
135
|
+
----
|
136
|
+
puts "Hello, World!"
|
137
|
+
----
|
138
|
+
....
|
139
|
+
|
140
|
+
=== Adding Custom Page Data
|
141
|
+
|
142
|
+
AsciiDoc attributes defined in the document header whose names begin with `page-` are promoted to page data (aka front matter).
|
143
|
+
The part of the name after the `page-` prefix is used as the entry's key (e.g., page-layout becomes layout).
|
144
|
+
The value is parsed as https://en.wikipedia.org/wiki/YAML[YAML] data (that which can be expressed in a single line).
|
145
|
+
|
146
|
+
In addition to these explicit page attributes, the following AsciiDoc attributes are also promoted to page data:
|
147
|
+
|
148
|
+
* doctitle (i.e., the document title) (becomes title)
|
149
|
+
* author
|
150
|
+
* email
|
151
|
+
* revdate (becomes date; value is converted to a DateTime object)
|
152
|
+
|
153
|
+
TIP: You can continue to specify page data using the front matter header.
|
154
|
+
The AsciiDoc `page-` attributes override matching entries in the front matter header.
|
155
|
+
|
156
|
+
=== Specifying a Layout
|
157
|
+
|
158
|
+
The most important of these page attributes is `page-layout`, which determines the layout that is applied to the page.
|
159
|
+
Middleman will look for the first file that matches this root name under the source directory and use it as the layout.
|
160
|
+
For example, if `page-layout` has the value page, Middleman might resolve a layout named [.path]_layout.erb_.
|
161
|
+
You can fix the extension of the layout file using the `page-layout-engine` attribute.
|
162
|
+
|
163
|
+
If a layout is not specified, or the value of the `page-layout` attribute is empty, the default layout for the site is used.
|
164
|
+
|
165
|
+
If the `page-layout` attribute is unset, the AsciiDoc processor will generated a standalone document (`header_footer: true`).
|
166
|
+
In this case, the page will appear like an HTML file that is generated by the AsciiDoc processor directly.
|
167
|
+
|
168
|
+
To review, here are the different ways to specify a layout:
|
169
|
+
|
170
|
+
* `:page-layout: default` -- use the page layout named "`default`" (e.g., [.path]_default.erb_)
|
171
|
+
* `:!page-layout:` -- no layout; generate a standalone HTML document
|
172
|
+
* `:page-layout:` -- use the auto-detected layout
|
173
|
+
* _(not specified)_ -- use the auto-detected layout
|
174
|
+
|
175
|
+
.Layout for blog posts
|
176
|
+
WARNING: If you're using the Middleman Blog extension to write blog posts, you *must* specify the page layout using the `page-layout` attribute for each post written in AsciiDoc.
|
177
|
+
Otherwise, an exception will be thrown.
|
178
|
+
This requirement will be lifted once the fix for https://github.com/middleman/middleman-blog/issues/296[issue middleman-blog#296] makes it into a release.
|
179
|
+
|
180
|
+
== Building Your Site
|
181
|
+
|
182
|
+
You can now build your site using:
|
183
|
+
|
184
|
+
$ middleman build
|
185
|
+
|
186
|
+
or preview it using:
|
187
|
+
|
188
|
+
$ middleman serve
|
189
|
+
|
190
|
+
If you're using Bundler, use the following commands instead:
|
191
|
+
|
192
|
+
$ bundle exec middleman build
|
193
|
+
$ bundle exec middleman serve
|
71
194
|
|
72
195
|
== Community
|
73
196
|
|
74
197
|
The official community forum for Middleman can be found at http://forum.middlemanapp.com.
|
75
198
|
For questions related to this extension or general questions about AsciiDoc, please post to the Asciidoctor discussion list at http://discuss.asciidoctor.org.
|
76
199
|
|
77
|
-
== Bug
|
200
|
+
== Bug Reports
|
78
201
|
|
79
202
|
Github Issues are used for managing bug reports and feature requests.
|
80
203
|
If you run into issues, please search the issues and submit new problems in the project's https://github.com/middleman/middleman-asciidoc/issues[issue tracker].
|
@@ -82,14 +205,15 @@ If you run into issues, please search the issues and submit new problems in the
|
|
82
205
|
The best way to get quick responses to your issues and swift fixes to your bugs is to submit detailed bug reports, include test cases and respond to developer questions in a timely manner.
|
83
206
|
Even better, if you know Ruby, you can submit https://help.github.com/articles/using-pull-requests[pull requests] containing Cucumber Features which describe how your feature should work or exploit the bug you are submitting.
|
84
207
|
|
85
|
-
== How to
|
208
|
+
== How to Run Tests
|
86
209
|
|
87
210
|
The tests are based on Cucumber.
|
88
211
|
Here's how to clone the project and run the tests.
|
89
212
|
|
90
213
|
. Clone the repository:
|
91
214
|
|
92
|
-
$ git clone https://github.com/middleman/middleman-asciidoc.git &&
|
215
|
+
$ git clone https://github.com/middleman/middleman-asciidoc.git &&
|
216
|
+
cd middleman-asciidoc
|
93
217
|
|
94
218
|
. Install Bundler (if not already installed):
|
95
219
|
|
data/features/asciidoc.feature
CHANGED
@@ -85,6 +85,7 @@ Feature: AsciiDoc Support
|
|
85
85
|
<html>
|
86
86
|
<head>
|
87
87
|
<title>Page Title</title>
|
88
|
+
<meta name="tags" content="colophon,sample">
|
88
89
|
</head>
|
89
90
|
<body>
|
90
91
|
<h1>Page Title</h1>
|
@@ -94,9 +95,10 @@ Feature: AsciiDoc Support
|
|
94
95
|
</body>
|
95
96
|
</html>
|
96
97
|
"""
|
97
|
-
|
98
|
+
|
99
|
+
Scenario: Rendering html with title and layout from front matter
|
98
100
|
Given the Server is running at "asciidoc-app"
|
99
|
-
When I go to "/hello-with-
|
101
|
+
When I go to "/hello-with-front-matter.html"
|
100
102
|
Then I should see:
|
101
103
|
"""
|
102
104
|
<!DOCTYPE html>
|
@@ -105,7 +107,6 @@ Feature: AsciiDoc Support
|
|
105
107
|
<title>Page Title</title>
|
106
108
|
</head>
|
107
109
|
<body>
|
108
|
-
<h1>Page Title</h1>
|
109
110
|
<div class="paragraph">
|
110
111
|
<p>Hello, AsciiDoc!</p>
|
111
112
|
</div>
|
@@ -113,9 +114,9 @@ Feature: AsciiDoc Support
|
|
113
114
|
</html>
|
114
115
|
"""
|
115
116
|
|
116
|
-
Scenario:
|
117
|
+
Scenario: Merges page data in front matter and AsciiDoc header
|
117
118
|
Given the Server is running at "asciidoc-app"
|
118
|
-
When I go to "/hello-with-
|
119
|
+
When I go to "/hello-with-mixed-page-data.html"
|
119
120
|
Then I should see:
|
120
121
|
"""
|
121
122
|
<!DOCTYPE html>
|
@@ -124,6 +125,7 @@ Feature: AsciiDoc Support
|
|
124
125
|
<title>Page Title</title>
|
125
126
|
</head>
|
126
127
|
<body>
|
128
|
+
<h1>Page Title</h1>
|
127
129
|
<div class="paragraph">
|
128
130
|
<p>Hello, AsciiDoc!</p>
|
129
131
|
</div>
|
@@ -1,7 +1,9 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title><%= current_resource.data.title || 'Fallback' %></title
|
4
|
+
<title><%= current_resource.data.title || 'Fallback' %></title><%
|
5
|
+
if current_resource.data.key? :tags %>
|
6
|
+
<meta name="tags" content="<%= current_resource.data[:tags] * ',' %>"><% end %>
|
5
7
|
</head>
|
6
8
|
<body>
|
7
9
|
<%= yield %>
|
@@ -3,6 +3,9 @@ require 'asciidoctor' unless defined? Asciidoctor
|
|
3
3
|
module Middleman
|
4
4
|
module AsciiDoc
|
5
5
|
class AsciiDocExtension < ::Middleman::Extension
|
6
|
+
# run after front matter (priority: 20) is processed and before other third-party extensions (priority: 50)
|
7
|
+
self.resource_list_manipulator_priority = 30
|
8
|
+
|
6
9
|
IMPLICIT_ATTRIBUTES = {
|
7
10
|
'env' => 'site',
|
8
11
|
'env-site' => '',
|
@@ -12,6 +15,7 @@ module Middleman
|
|
12
15
|
'builder-middleman' => '',
|
13
16
|
'middleman-version' => ::Middleman::VERSION
|
14
17
|
}
|
18
|
+
|
15
19
|
option :attributes, [], 'Custom AsciiDoc attributes (Hash or Array)'
|
16
20
|
option :backend, :html5, 'Moniker used to select output format (Symbol)'
|
17
21
|
option :base_dir, nil, 'Base directory to use for the current AsciiDoc document; if nil, defaults to docdir (String)'
|
@@ -53,22 +57,23 @@ module Middleman
|
|
53
57
|
end
|
54
58
|
end
|
55
59
|
|
56
|
-
def manipulate_resource_list
|
60
|
+
def manipulate_resource_list resources
|
57
61
|
default_page_layout = app.config[:layout] == :_auto_layout ? '' : app.config[:layout]
|
58
|
-
|
59
|
-
|
62
|
+
asciidoc_opts = app.config[:asciidoc].merge parse_header_only: true
|
63
|
+
asciidoc_opts[:attributes] = (asciidoc_attrs = asciidoc_opts[:attributes].merge 'skip-front-matter' => '')
|
64
|
+
use_docdir_as_base_dir = asciidoc_opts[:base_dir].nil?
|
60
65
|
resources.each do |resource|
|
61
66
|
next unless (path = resource.source_file).present? && (path.end_with? '.adoc')
|
62
67
|
|
63
68
|
# read AsciiDoc header only to set page options and data
|
64
69
|
# header values can be accessed via app.data.page.<name> in the layout
|
65
|
-
|
66
|
-
|
67
|
-
doc = Asciidoctor.load_file path,
|
70
|
+
asciidoc_attrs['page-layout'] = %(#{resource.options[:layout] || default_page_layout}@)
|
71
|
+
asciidoc_opts[:base_dir] = ::File.dirname path if use_docdir_as_base_dir
|
72
|
+
doc = Asciidoctor.load_file path, asciidoc_opts
|
68
73
|
opts = {}
|
69
74
|
page = {}
|
70
75
|
|
71
|
-
opts[:base_dir] =
|
76
|
+
opts[:base_dir] = asciidoc_opts[:base_dir] if use_docdir_as_base_dir
|
72
77
|
|
73
78
|
# NOTE page layout value cascades from site config -> front matter -> page-layout header attribute
|
74
79
|
if doc.attr? 'page-layout'
|
@@ -83,21 +88,23 @@ module Middleman
|
|
83
88
|
opts[:header_footer] = true
|
84
89
|
end
|
85
90
|
|
86
|
-
doc.
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
else
|
95
|
-
if (key.start_with? 'page-') && !(key.start_with? 'page-layout')
|
96
|
-
page[key[5..-1].to_sym] = val
|
97
|
-
end
|
91
|
+
page[:title] = doc.doctitle if doc.header?
|
92
|
+
['author', 'email'].each do |key|
|
93
|
+
page[key.to_sym] = doc.attr key if doc.attr? key
|
94
|
+
end
|
95
|
+
if !(page.key? :date) && (doc.attr? 'revdate')
|
96
|
+
begin
|
97
|
+
page[:date] = ::DateTime.parse(doc.attr 'revdate').to_time
|
98
|
+
rescue
|
98
99
|
end
|
99
100
|
end
|
100
|
-
|
101
|
+
|
102
|
+
unless (adoc_front_matter = doc.attributes
|
103
|
+
.select {|name| name != 'page-layout' && name != 'page-layout-engine' && name.start_with?('page-') }
|
104
|
+
.map {|name, val| %(:#{name[5..-1]}: #{val}) }).empty?
|
105
|
+
page.update(::YAML.load(adoc_front_matter * "\n"))
|
106
|
+
end
|
107
|
+
|
101
108
|
# QUESTION should we use resource.ext == doc.outfilesuffix instead?
|
102
109
|
unless resource.destination_path.end_with? doc.outfilesuffix
|
103
110
|
# NOTE we must use << or else the layout gets disabled
|
data/middleman-asciidoc.gemspec
CHANGED
@@ -5,10 +5,8 @@ require 'middleman-asciidoc/version'
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = 'middleman-asciidoc'
|
7
7
|
s.version = Middleman::AsciiDoc::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
|
10
8
|
s.summary = 'AsciiDoc support for Middleman'
|
11
|
-
s.description = 'AsciiDoc
|
9
|
+
s.description = 'AsciiDoc conversion and metadata support for Middleman'
|
12
10
|
|
13
11
|
s.authors = ['Dan Allen']
|
14
12
|
s.email = ['dan.j.allen@gmail.com']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-asciidoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.rc.
|
4
|
+
version: 1.0.0.rc.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.5.0
|
41
|
-
description: AsciiDoc
|
41
|
+
description: AsciiDoc conversion and metadata support for Middleman
|
42
42
|
email:
|
43
43
|
- dan.j.allen@gmail.com
|
44
44
|
executables: []
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- fixtures/asciidoc-app/source/hello-with-extension.html.adoc
|
68
68
|
- fixtures/asciidoc-app/source/hello-with-front-matter.adoc
|
69
69
|
- fixtures/asciidoc-app/source/hello-with-layout.adoc
|
70
|
+
- fixtures/asciidoc-app/source/hello-with-mixed-page-data.adoc
|
70
71
|
- fixtures/asciidoc-app/source/hello-with-title.adoc
|
71
72
|
- fixtures/asciidoc-app/source/hello.adoc
|
72
73
|
- fixtures/asciidoc-app/source/images/tiger.gif
|
@@ -116,6 +117,7 @@ test_files:
|
|
116
117
|
- fixtures/asciidoc-app/source/hello-with-extension.html.adoc
|
117
118
|
- fixtures/asciidoc-app/source/hello-with-front-matter.adoc
|
118
119
|
- fixtures/asciidoc-app/source/hello-with-layout.adoc
|
120
|
+
- fixtures/asciidoc-app/source/hello-with-mixed-page-data.adoc
|
119
121
|
- fixtures/asciidoc-app/source/hello-with-title.adoc
|
120
122
|
- fixtures/asciidoc-app/source/hello.adoc
|
121
123
|
- fixtures/asciidoc-app/source/images/tiger.gif
|