jekyll-asciidoc 2.1.1 → 3.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +26 -0
- data/Gemfile +4 -16
- data/LICENSE.adoc +1 -1
- data/README.adoc +370 -192
- data/jekyll-asciidoc.gemspec +23 -11
- data/lib/jekyll-asciidoc/compat.rb +5 -9
- data/lib/jekyll-asciidoc/converter.rb +89 -69
- data/lib/jekyll-asciidoc/filters.rb +2 -3
- data/lib/jekyll-asciidoc/integrator.rb +18 -29
- data/lib/jekyll-asciidoc/utils.rb +6 -3
- data/lib/jekyll-asciidoc/version.rb +1 -1
- metadata +48 -220
- data/Rakefile +0 -24
- data/spec/fixtures/alternate_page_attribute_prefix/_config.yml +0 -4
- data/spec/fixtures/alternate_page_attribute_prefix/_layouts/default.html +0 -12
- data/spec/fixtures/alternate_page_attribute_prefix/explicit-permalink.adoc +0 -4
- data/spec/fixtures/attributes_as_array/_config.yml +0 -7
- data/spec/fixtures/attributes_as_hash/_config.yml +0 -7
- data/spec/fixtures/basic_site/_config.yml +0 -2
- data/spec/fixtures/basic_site/_layouts/custom.html +0 -15
- data/spec/fixtures/basic_site/_layouts/page.html +0 -15
- data/spec/fixtures/basic_site/auto-layout.adoc +0 -4
- data/spec/fixtures/basic_site/bare-header.adoc +0 -4
- data/spec/fixtures/basic_site/custom-layout.adoc +0 -4
- data/spec/fixtures/basic_site/docid.adoc +0 -4
- data/spec/fixtures/basic_site/empty-layout.adoc +0 -4
- data/spec/fixtures/basic_site/empty-page-attribute.adoc +0 -4
- data/spec/fixtures/basic_site/liquid-enabled.adoc +0 -6
- data/spec/fixtures/basic_site/nil-layout.adoc +0 -4
- data/spec/fixtures/basic_site/no-doctitle.adoc +0 -2
- data/spec/fixtures/basic_site/no-liquid.adoc +0 -3
- data/spec/fixtures/basic_site/not-published.adoc +0 -4
- data/spec/fixtures/basic_site/section-with-id-and-role.adoc +0 -6
- data/spec/fixtures/basic_site/standalone-a.adoc +0 -4
- data/spec/fixtures/basic_site/standalone-b.adoc +0 -4
- data/spec/fixtures/basic_site/subdir/page-in-subdir.adoc +0 -7
- data/spec/fixtures/basic_site/with-front-matter-header-only.adoc +0 -4
- data/spec/fixtures/basic_site/with-front-matter-header.adoc +0 -6
- data/spec/fixtures/basic_site/without-front-matter-header.adoc +0 -3
- data/spec/fixtures/blank_page_attribute_prefix/_config.yml +0 -4
- data/spec/fixtures/blank_page_attribute_prefix/_layouts/default.html +0 -12
- data/spec/fixtures/blank_page_attribute_prefix/explicit-permalink.adoc +0 -4
- data/spec/fixtures/default_config/_config.yml +0 -2
- data/spec/fixtures/explicit_site_time/_config.yml +0 -4
- data/spec/fixtures/explicit_site_time/_layouts/default.html +0 -12
- data/spec/fixtures/explicit_site_time/home.adoc +0 -3
- data/spec/fixtures/fallback_to_default_layout/_blueprints/blueprint.adoc +0 -3
- data/spec/fixtures/fallback_to_default_layout/_config.yml +0 -5
- data/spec/fixtures/fallback_to_default_layout/_layouts/default.html +0 -15
- data/spec/fixtures/fallback_to_default_layout/_posts/2016-01-01-post.adoc +0 -4
- data/spec/fixtures/fallback_to_default_layout/home.adoc +0 -3
- data/spec/fixtures/front_matter_defaults/_config.yml +0 -10
- data/spec/fixtures/front_matter_defaults/_layouts/docs.html +0 -15
- data/spec/fixtures/front_matter_defaults/_layouts/general.html +0 -15
- data/spec/fixtures/front_matter_defaults/docs/page.adoc +0 -3
- data/spec/fixtures/front_matter_defaults/page.adoc +0 -3
- data/spec/fixtures/hybrid_config/_config.yml +0 -8
- data/spec/fixtures/imagesdir_relative_to_root/_config.yml +0 -5
- data/spec/fixtures/include_relative_to_docdir/_config.yml +0 -4
- data/spec/fixtures/include_relative_to_docdir/_layouts/default.html +0 -12
- data/spec/fixtures/include_relative_to_docdir/about/_people.adoc +0 -2
- data/spec/fixtures/include_relative_to_docdir/about/index.adoc +0 -13
- data/spec/fixtures/include_relative_to_root/source/_config.yml +0 -2
- data/spec/fixtures/include_relative_to_root/source/_layouts/default.html +0 -11
- data/spec/fixtures/include_relative_to_root/source/about/_people.adoc +0 -2
- data/spec/fixtures/include_relative_to_root/source/about/index.adoc +0 -13
- data/spec/fixtures/include_relative_to_source/_config.yml +0 -4
- data/spec/fixtures/include_relative_to_source/_layouts/default.html +0 -12
- data/spec/fixtures/include_relative_to_source/about/_people.adoc +0 -2
- data/spec/fixtures/include_relative_to_source/about/index.adoc +0 -13
- data/spec/fixtures/legacy_config/_config.yml +0 -5
- data/spec/fixtures/pygments_code_highlighting/_config.yml +0 -6
- data/spec/fixtures/pygments_code_highlighting/_layouts/page.html +0 -13
- data/spec/fixtures/pygments_code_highlighting/page-with-code.adoc +0 -16
- data/spec/fixtures/read_error/_config.yml +0 -2
- data/spec/fixtures/read_error/unreadable.adoc +0 -3
- data/spec/fixtures/require_front_matter_header/_config.yml +0 -4
- data/spec/fixtures/require_front_matter_header/_layouts/default.html +0 -12
- data/spec/fixtures/require_front_matter_header/with-front-matter-header.adoc +0 -5
- data/spec/fixtures/require_front_matter_header/without-front-matter-header.adoc +0 -3
- data/spec/fixtures/safe_mode/_config.yml +0 -4
- data/spec/fixtures/safe_mode/_layouts/home.html +0 -15
- data/spec/fixtures/safe_mode/home.adoc +0 -5
- data/spec/fixtures/tocify_filter/_config.yml +0 -2
- data/spec/fixtures/tocify_filter/_layouts/default.html +0 -15
- data/spec/fixtures/tocify_filter/index.adoc +0 -25
- data/spec/fixtures/with_custom_collection/_blueprints/blueprint-a.adoc +0 -4
- data/spec/fixtures/with_custom_collection/_blueprints/blueprint-b.adoc +0 -10
- data/spec/fixtures/with_custom_collection/_config.yml +0 -7
- data/spec/fixtures/with_custom_collection/_layouts/blueprint.html +0 -15
- data/spec/fixtures/with_custom_collection/_layouts/default.html +0 -15
- data/spec/fixtures/with_posts/_config.yml +0 -6
- data/spec/fixtures/with_posts/_drafts/a-draft-post.adoc +0 -5
- data/spec/fixtures/with_posts/_layouts/custom.html +0 -15
- data/spec/fixtures/with_posts/_layouts/post.html +0 -23
- data/spec/fixtures/with_posts/_posts/2016-01-01-welcome.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-01-02-empty-layout.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-01-03-auto-layout.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-01-04-custom-layout.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-01-05-nil-layout.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-02-01-post-with-categories.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-02-02-post-with-singular-vars.adoc +0 -7
- data/spec/fixtures/with_posts/_posts/2016-03-01-post-with-excerpt.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-04-01-show-me-the-title.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-05-31-automatic-title.adoc +0 -1
- data/spec/fixtures/with_posts/_posts/2016-06-15-post-with-date.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-07-15-post-with-date-and-tz.adoc +0 -4
- data/spec/fixtures/with_posts/_posts/2016-07-20-post-with-date-in-revision-line.adoc +0 -6
- data/spec/fixtures/with_posts/index.html +0 -22
- data/spec/fixtures/xhtml_syntax/_config.yml +0 -6
- data/spec/fixtures/xhtml_syntax/home.adoc +0 -5
- data/spec/fixtures/xhtml_syntax/images/sunset.jpg +0 -0
- data/spec/jekyll-asciidoc_spec.rb +0 -1103
- data/spec/spec_helper.rb +0 -64
@@ -1,13 +1,16 @@
|
|
1
1
|
module Jekyll
|
2
2
|
module AsciiDoc
|
3
|
-
module Utils
|
3
|
+
module Utils
|
4
4
|
MessageTopic = 'Jekyll AsciiDoc:'
|
5
|
-
NewLine =
|
5
|
+
NewLine = ?\n
|
6
|
+
|
7
|
+
module_function
|
6
8
|
|
7
9
|
def has_front_matter? dlg_method, asciidoc_ext_re, path
|
8
|
-
(::File.extname path)
|
10
|
+
(asciidoc_ext_re.match? ::File.extname path) || (dlg_method.call path)
|
9
11
|
end
|
10
12
|
|
13
|
+
# NOTE use define_method to match signature of original method (and avoid extra call)
|
11
14
|
define_method :has_yaml_header?, &(::Jekyll::Utils.method :has_yaml_header?)
|
12
15
|
end
|
13
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-asciidoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-12-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: asciidoctor
|
@@ -31,42 +31,70 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 3.0.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: 3.0.0
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: deep-cover-core
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 0.7.0
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.7.0
|
42
56
|
- !ruby/object:Gem::Dependency
|
43
57
|
name: rake
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|
45
59
|
requirements:
|
46
|
-
- - "
|
60
|
+
- - "~>"
|
47
61
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
62
|
+
version: 12.3.2
|
49
63
|
type: :development
|
50
64
|
prerelease: false
|
51
65
|
version_requirements: !ruby/object:Gem::Requirement
|
52
66
|
requirements:
|
53
|
-
- - "
|
67
|
+
- - "~>"
|
54
68
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
69
|
+
version: 12.3.2
|
56
70
|
- !ruby/object:Gem::Dependency
|
57
71
|
name: rspec
|
58
72
|
requirement: !ruby/object:Gem::Requirement
|
59
73
|
requirements:
|
60
74
|
- - "~>"
|
61
75
|
- !ruby/object:Gem::Version
|
62
|
-
version: 3.
|
76
|
+
version: 3.8.0
|
63
77
|
type: :development
|
64
78
|
prerelease: false
|
65
79
|
version_requirements: !ruby/object:Gem::Requirement
|
66
80
|
requirements:
|
67
81
|
- - "~>"
|
68
82
|
- !ruby/object:Gem::Version
|
69
|
-
version: 3.
|
83
|
+
version: 3.8.0
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: simplecov
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.16.1
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.16.1
|
70
98
|
description: A Jekyll plugin that converts the AsciiDoc source files in your site
|
71
99
|
to HTML pages using Asciidoctor.
|
72
100
|
email:
|
@@ -79,7 +107,6 @@ files:
|
|
79
107
|
- Gemfile
|
80
108
|
- LICENSE.adoc
|
81
109
|
- README.adoc
|
82
|
-
- Rakefile
|
83
110
|
- jekyll-asciidoc.gemspec
|
84
111
|
- lib/jekyll-asciidoc.rb
|
85
112
|
- lib/jekyll-asciidoc/compat.rb
|
@@ -89,111 +116,14 @@ files:
|
|
89
116
|
- lib/jekyll-asciidoc/mixins.rb
|
90
117
|
- lib/jekyll-asciidoc/utils.rb
|
91
118
|
- lib/jekyll-asciidoc/version.rb
|
92
|
-
- spec/fixtures/alternate_page_attribute_prefix/_config.yml
|
93
|
-
- spec/fixtures/alternate_page_attribute_prefix/_layouts/default.html
|
94
|
-
- spec/fixtures/alternate_page_attribute_prefix/explicit-permalink.adoc
|
95
|
-
- spec/fixtures/attributes_as_array/_config.yml
|
96
|
-
- spec/fixtures/attributes_as_hash/_config.yml
|
97
|
-
- spec/fixtures/basic_site/_config.yml
|
98
|
-
- spec/fixtures/basic_site/_layouts/custom.html
|
99
|
-
- spec/fixtures/basic_site/_layouts/page.html
|
100
|
-
- spec/fixtures/basic_site/auto-layout.adoc
|
101
|
-
- spec/fixtures/basic_site/bare-header.adoc
|
102
|
-
- spec/fixtures/basic_site/custom-layout.adoc
|
103
|
-
- spec/fixtures/basic_site/docid.adoc
|
104
|
-
- spec/fixtures/basic_site/empty-layout.adoc
|
105
|
-
- spec/fixtures/basic_site/empty-page-attribute.adoc
|
106
|
-
- spec/fixtures/basic_site/liquid-enabled.adoc
|
107
|
-
- spec/fixtures/basic_site/nil-layout.adoc
|
108
|
-
- spec/fixtures/basic_site/no-doctitle.adoc
|
109
|
-
- spec/fixtures/basic_site/no-liquid.adoc
|
110
|
-
- spec/fixtures/basic_site/not-published.adoc
|
111
|
-
- spec/fixtures/basic_site/section-with-id-and-role.adoc
|
112
|
-
- spec/fixtures/basic_site/standalone-a.adoc
|
113
|
-
- spec/fixtures/basic_site/standalone-b.adoc
|
114
|
-
- spec/fixtures/basic_site/subdir/page-in-subdir.adoc
|
115
|
-
- spec/fixtures/basic_site/with-front-matter-header-only.adoc
|
116
|
-
- spec/fixtures/basic_site/with-front-matter-header.adoc
|
117
|
-
- spec/fixtures/basic_site/without-front-matter-header.adoc
|
118
|
-
- spec/fixtures/blank_page_attribute_prefix/_config.yml
|
119
|
-
- spec/fixtures/blank_page_attribute_prefix/_layouts/default.html
|
120
|
-
- spec/fixtures/blank_page_attribute_prefix/explicit-permalink.adoc
|
121
|
-
- spec/fixtures/default_config/_config.yml
|
122
|
-
- spec/fixtures/explicit_site_time/_config.yml
|
123
|
-
- spec/fixtures/explicit_site_time/_layouts/default.html
|
124
|
-
- spec/fixtures/explicit_site_time/home.adoc
|
125
|
-
- spec/fixtures/fallback_to_default_layout/_blueprints/blueprint.adoc
|
126
|
-
- spec/fixtures/fallback_to_default_layout/_config.yml
|
127
|
-
- spec/fixtures/fallback_to_default_layout/_layouts/default.html
|
128
|
-
- spec/fixtures/fallback_to_default_layout/_posts/2016-01-01-post.adoc
|
129
|
-
- spec/fixtures/fallback_to_default_layout/home.adoc
|
130
|
-
- spec/fixtures/front_matter_defaults/_config.yml
|
131
|
-
- spec/fixtures/front_matter_defaults/_layouts/docs.html
|
132
|
-
- spec/fixtures/front_matter_defaults/_layouts/general.html
|
133
|
-
- spec/fixtures/front_matter_defaults/docs/page.adoc
|
134
|
-
- spec/fixtures/front_matter_defaults/page.adoc
|
135
|
-
- spec/fixtures/hybrid_config/_config.yml
|
136
|
-
- spec/fixtures/imagesdir_relative_to_root/_config.yml
|
137
|
-
- spec/fixtures/include_relative_to_docdir/_config.yml
|
138
|
-
- spec/fixtures/include_relative_to_docdir/_layouts/default.html
|
139
|
-
- spec/fixtures/include_relative_to_docdir/about/_people.adoc
|
140
|
-
- spec/fixtures/include_relative_to_docdir/about/index.adoc
|
141
|
-
- spec/fixtures/include_relative_to_root/source/_config.yml
|
142
|
-
- spec/fixtures/include_relative_to_root/source/_layouts/default.html
|
143
|
-
- spec/fixtures/include_relative_to_root/source/about/_people.adoc
|
144
|
-
- spec/fixtures/include_relative_to_root/source/about/index.adoc
|
145
|
-
- spec/fixtures/include_relative_to_source/_config.yml
|
146
|
-
- spec/fixtures/include_relative_to_source/_layouts/default.html
|
147
|
-
- spec/fixtures/include_relative_to_source/about/_people.adoc
|
148
|
-
- spec/fixtures/include_relative_to_source/about/index.adoc
|
149
|
-
- spec/fixtures/legacy_config/_config.yml
|
150
|
-
- spec/fixtures/pygments_code_highlighting/_config.yml
|
151
|
-
- spec/fixtures/pygments_code_highlighting/_layouts/page.html
|
152
|
-
- spec/fixtures/pygments_code_highlighting/page-with-code.adoc
|
153
|
-
- spec/fixtures/read_error/_config.yml
|
154
|
-
- spec/fixtures/read_error/unreadable.adoc
|
155
|
-
- spec/fixtures/require_front_matter_header/_config.yml
|
156
|
-
- spec/fixtures/require_front_matter_header/_layouts/default.html
|
157
|
-
- spec/fixtures/require_front_matter_header/with-front-matter-header.adoc
|
158
|
-
- spec/fixtures/require_front_matter_header/without-front-matter-header.adoc
|
159
|
-
- spec/fixtures/safe_mode/_config.yml
|
160
|
-
- spec/fixtures/safe_mode/_layouts/home.html
|
161
|
-
- spec/fixtures/safe_mode/home.adoc
|
162
|
-
- spec/fixtures/tocify_filter/_config.yml
|
163
|
-
- spec/fixtures/tocify_filter/_layouts/default.html
|
164
|
-
- spec/fixtures/tocify_filter/index.adoc
|
165
|
-
- spec/fixtures/with_custom_collection/_blueprints/blueprint-a.adoc
|
166
|
-
- spec/fixtures/with_custom_collection/_blueprints/blueprint-b.adoc
|
167
|
-
- spec/fixtures/with_custom_collection/_config.yml
|
168
|
-
- spec/fixtures/with_custom_collection/_layouts/blueprint.html
|
169
|
-
- spec/fixtures/with_custom_collection/_layouts/default.html
|
170
|
-
- spec/fixtures/with_posts/_config.yml
|
171
|
-
- spec/fixtures/with_posts/_drafts/a-draft-post.adoc
|
172
|
-
- spec/fixtures/with_posts/_layouts/custom.html
|
173
|
-
- spec/fixtures/with_posts/_layouts/post.html
|
174
|
-
- spec/fixtures/with_posts/_posts/2016-01-01-welcome.adoc
|
175
|
-
- spec/fixtures/with_posts/_posts/2016-01-02-empty-layout.adoc
|
176
|
-
- spec/fixtures/with_posts/_posts/2016-01-03-auto-layout.adoc
|
177
|
-
- spec/fixtures/with_posts/_posts/2016-01-04-custom-layout.adoc
|
178
|
-
- spec/fixtures/with_posts/_posts/2016-01-05-nil-layout.adoc
|
179
|
-
- spec/fixtures/with_posts/_posts/2016-02-01-post-with-categories.adoc
|
180
|
-
- spec/fixtures/with_posts/_posts/2016-02-02-post-with-singular-vars.adoc
|
181
|
-
- spec/fixtures/with_posts/_posts/2016-03-01-post-with-excerpt.adoc
|
182
|
-
- spec/fixtures/with_posts/_posts/2016-04-01-show-me-the-title.adoc
|
183
|
-
- spec/fixtures/with_posts/_posts/2016-05-31-automatic-title.adoc
|
184
|
-
- spec/fixtures/with_posts/_posts/2016-06-15-post-with-date.adoc
|
185
|
-
- spec/fixtures/with_posts/_posts/2016-07-15-post-with-date-and-tz.adoc
|
186
|
-
- spec/fixtures/with_posts/_posts/2016-07-20-post-with-date-in-revision-line.adoc
|
187
|
-
- spec/fixtures/with_posts/index.html
|
188
|
-
- spec/fixtures/xhtml_syntax/_config.yml
|
189
|
-
- spec/fixtures/xhtml_syntax/home.adoc
|
190
|
-
- spec/fixtures/xhtml_syntax/images/sunset.jpg
|
191
|
-
- spec/jekyll-asciidoc_spec.rb
|
192
|
-
- spec/spec_helper.rb
|
193
119
|
homepage: https://github.com/asciidoctor/jekyll-asciidoc
|
194
120
|
licenses:
|
195
121
|
- MIT
|
196
|
-
metadata:
|
122
|
+
metadata:
|
123
|
+
bug_tracker_uri: https://github.com/asciidoctor/jekyll-asciidoc/issues
|
124
|
+
changelog_uri: https://github.com/asciidoctor/jekyll-asciidoc/blob/master/CHANGELOG.adoc
|
125
|
+
mailing_list_uri: http://discuss.asciidoctor.org
|
126
|
+
source_code_uri: https://github.com/asciidoctor/jekyll-asciidoc
|
197
127
|
post_install_message:
|
198
128
|
rdoc_options: []
|
199
129
|
require_paths:
|
@@ -202,118 +132,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
132
|
requirements:
|
203
133
|
- - ">="
|
204
134
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
135
|
+
version: '0'
|
206
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
137
|
requirements:
|
208
|
-
- - "
|
138
|
+
- - ">"
|
209
139
|
- !ruby/object:Gem::Version
|
210
|
-
version:
|
140
|
+
version: 1.3.1
|
211
141
|
requirements: []
|
212
|
-
|
213
|
-
rubygems_version: 2.7.8
|
142
|
+
rubygems_version: 3.0.1
|
214
143
|
signing_key:
|
215
144
|
specification_version: 4
|
216
145
|
summary: A Jekyll plugin that converts the AsciiDoc source files in your site to HTML
|
217
146
|
pages using Asciidoctor.
|
218
|
-
test_files:
|
219
|
-
- spec/fixtures/alternate_page_attribute_prefix/_config.yml
|
220
|
-
- spec/fixtures/alternate_page_attribute_prefix/_layouts/default.html
|
221
|
-
- spec/fixtures/alternate_page_attribute_prefix/explicit-permalink.adoc
|
222
|
-
- spec/fixtures/attributes_as_array/_config.yml
|
223
|
-
- spec/fixtures/attributes_as_hash/_config.yml
|
224
|
-
- spec/fixtures/basic_site/_config.yml
|
225
|
-
- spec/fixtures/basic_site/_layouts/custom.html
|
226
|
-
- spec/fixtures/basic_site/_layouts/page.html
|
227
|
-
- spec/fixtures/basic_site/auto-layout.adoc
|
228
|
-
- spec/fixtures/basic_site/bare-header.adoc
|
229
|
-
- spec/fixtures/basic_site/custom-layout.adoc
|
230
|
-
- spec/fixtures/basic_site/docid.adoc
|
231
|
-
- spec/fixtures/basic_site/empty-layout.adoc
|
232
|
-
- spec/fixtures/basic_site/empty-page-attribute.adoc
|
233
|
-
- spec/fixtures/basic_site/liquid-enabled.adoc
|
234
|
-
- spec/fixtures/basic_site/nil-layout.adoc
|
235
|
-
- spec/fixtures/basic_site/no-doctitle.adoc
|
236
|
-
- spec/fixtures/basic_site/no-liquid.adoc
|
237
|
-
- spec/fixtures/basic_site/not-published.adoc
|
238
|
-
- spec/fixtures/basic_site/section-with-id-and-role.adoc
|
239
|
-
- spec/fixtures/basic_site/standalone-a.adoc
|
240
|
-
- spec/fixtures/basic_site/standalone-b.adoc
|
241
|
-
- spec/fixtures/basic_site/subdir/page-in-subdir.adoc
|
242
|
-
- spec/fixtures/basic_site/with-front-matter-header-only.adoc
|
243
|
-
- spec/fixtures/basic_site/with-front-matter-header.adoc
|
244
|
-
- spec/fixtures/basic_site/without-front-matter-header.adoc
|
245
|
-
- spec/fixtures/blank_page_attribute_prefix/_config.yml
|
246
|
-
- spec/fixtures/blank_page_attribute_prefix/_layouts/default.html
|
247
|
-
- spec/fixtures/blank_page_attribute_prefix/explicit-permalink.adoc
|
248
|
-
- spec/fixtures/default_config/_config.yml
|
249
|
-
- spec/fixtures/explicit_site_time/_config.yml
|
250
|
-
- spec/fixtures/explicit_site_time/_layouts/default.html
|
251
|
-
- spec/fixtures/explicit_site_time/home.adoc
|
252
|
-
- spec/fixtures/fallback_to_default_layout/_blueprints/blueprint.adoc
|
253
|
-
- spec/fixtures/fallback_to_default_layout/_config.yml
|
254
|
-
- spec/fixtures/fallback_to_default_layout/_layouts/default.html
|
255
|
-
- spec/fixtures/fallback_to_default_layout/_posts/2016-01-01-post.adoc
|
256
|
-
- spec/fixtures/fallback_to_default_layout/home.adoc
|
257
|
-
- spec/fixtures/front_matter_defaults/_config.yml
|
258
|
-
- spec/fixtures/front_matter_defaults/_layouts/docs.html
|
259
|
-
- spec/fixtures/front_matter_defaults/_layouts/general.html
|
260
|
-
- spec/fixtures/front_matter_defaults/docs/page.adoc
|
261
|
-
- spec/fixtures/front_matter_defaults/page.adoc
|
262
|
-
- spec/fixtures/hybrid_config/_config.yml
|
263
|
-
- spec/fixtures/imagesdir_relative_to_root/_config.yml
|
264
|
-
- spec/fixtures/include_relative_to_docdir/_config.yml
|
265
|
-
- spec/fixtures/include_relative_to_docdir/_layouts/default.html
|
266
|
-
- spec/fixtures/include_relative_to_docdir/about/_people.adoc
|
267
|
-
- spec/fixtures/include_relative_to_docdir/about/index.adoc
|
268
|
-
- spec/fixtures/include_relative_to_root/source/_config.yml
|
269
|
-
- spec/fixtures/include_relative_to_root/source/_layouts/default.html
|
270
|
-
- spec/fixtures/include_relative_to_root/source/about/_people.adoc
|
271
|
-
- spec/fixtures/include_relative_to_root/source/about/index.adoc
|
272
|
-
- spec/fixtures/include_relative_to_source/_config.yml
|
273
|
-
- spec/fixtures/include_relative_to_source/_layouts/default.html
|
274
|
-
- spec/fixtures/include_relative_to_source/about/_people.adoc
|
275
|
-
- spec/fixtures/include_relative_to_source/about/index.adoc
|
276
|
-
- spec/fixtures/legacy_config/_config.yml
|
277
|
-
- spec/fixtures/pygments_code_highlighting/_config.yml
|
278
|
-
- spec/fixtures/pygments_code_highlighting/_layouts/page.html
|
279
|
-
- spec/fixtures/pygments_code_highlighting/page-with-code.adoc
|
280
|
-
- spec/fixtures/read_error/_config.yml
|
281
|
-
- spec/fixtures/read_error/unreadable.adoc
|
282
|
-
- spec/fixtures/require_front_matter_header/_config.yml
|
283
|
-
- spec/fixtures/require_front_matter_header/_layouts/default.html
|
284
|
-
- spec/fixtures/require_front_matter_header/with-front-matter-header.adoc
|
285
|
-
- spec/fixtures/require_front_matter_header/without-front-matter-header.adoc
|
286
|
-
- spec/fixtures/safe_mode/_config.yml
|
287
|
-
- spec/fixtures/safe_mode/_layouts/home.html
|
288
|
-
- spec/fixtures/safe_mode/home.adoc
|
289
|
-
- spec/fixtures/tocify_filter/_config.yml
|
290
|
-
- spec/fixtures/tocify_filter/_layouts/default.html
|
291
|
-
- spec/fixtures/tocify_filter/index.adoc
|
292
|
-
- spec/fixtures/with_custom_collection/_blueprints/blueprint-a.adoc
|
293
|
-
- spec/fixtures/with_custom_collection/_blueprints/blueprint-b.adoc
|
294
|
-
- spec/fixtures/with_custom_collection/_config.yml
|
295
|
-
- spec/fixtures/with_custom_collection/_layouts/blueprint.html
|
296
|
-
- spec/fixtures/with_custom_collection/_layouts/default.html
|
297
|
-
- spec/fixtures/with_posts/_config.yml
|
298
|
-
- spec/fixtures/with_posts/_drafts/a-draft-post.adoc
|
299
|
-
- spec/fixtures/with_posts/_layouts/custom.html
|
300
|
-
- spec/fixtures/with_posts/_layouts/post.html
|
301
|
-
- spec/fixtures/with_posts/_posts/2016-01-01-welcome.adoc
|
302
|
-
- spec/fixtures/with_posts/_posts/2016-01-02-empty-layout.adoc
|
303
|
-
- spec/fixtures/with_posts/_posts/2016-01-03-auto-layout.adoc
|
304
|
-
- spec/fixtures/with_posts/_posts/2016-01-04-custom-layout.adoc
|
305
|
-
- spec/fixtures/with_posts/_posts/2016-01-05-nil-layout.adoc
|
306
|
-
- spec/fixtures/with_posts/_posts/2016-02-01-post-with-categories.adoc
|
307
|
-
- spec/fixtures/with_posts/_posts/2016-02-02-post-with-singular-vars.adoc
|
308
|
-
- spec/fixtures/with_posts/_posts/2016-03-01-post-with-excerpt.adoc
|
309
|
-
- spec/fixtures/with_posts/_posts/2016-04-01-show-me-the-title.adoc
|
310
|
-
- spec/fixtures/with_posts/_posts/2016-05-31-automatic-title.adoc
|
311
|
-
- spec/fixtures/with_posts/_posts/2016-06-15-post-with-date.adoc
|
312
|
-
- spec/fixtures/with_posts/_posts/2016-07-15-post-with-date-and-tz.adoc
|
313
|
-
- spec/fixtures/with_posts/_posts/2016-07-20-post-with-date-in-revision-line.adoc
|
314
|
-
- spec/fixtures/with_posts/index.html
|
315
|
-
- spec/fixtures/xhtml_syntax/_config.yml
|
316
|
-
- spec/fixtures/xhtml_syntax/home.adoc
|
317
|
-
- spec/fixtures/xhtml_syntax/images/sunset.jpg
|
318
|
-
- spec/jekyll-asciidoc_spec.rb
|
319
|
-
- spec/spec_helper.rb
|
147
|
+
test_files: []
|
data/Rakefile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
require 'rake/clean'
|
2
|
-
|
3
|
-
default_tasks = []
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'rspec/core/rake_task'
|
7
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
8
|
-
t.rspec_opts = ['-c']
|
9
|
-
end
|
10
|
-
default_tasks << :spec
|
11
|
-
rescue LoadError
|
12
|
-
end
|
13
|
-
|
14
|
-
begin
|
15
|
-
require 'bundler/gem_tasks'
|
16
|
-
default_tasks << :build
|
17
|
-
rescue LoadError
|
18
|
-
warn 'jekyll-asciidoc: Bundler is required to build this gem.
|
19
|
-
You can install Bundler using the `gem install` command:
|
20
|
-
|
21
|
-
$ [sudo] gem install bundler' + %(\n\n)
|
22
|
-
end
|
23
|
-
|
24
|
-
task :default => default_tasks unless default_tasks.empty?
|