neo4j-asciidoctor-extensions 0.0.3 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +33 -0
- data/Gemfile.lock +1 -1
- data/README.adoc +96 -12
- data/lib/neo4j/asciidoctor/extensions.rb +1 -0
- data/lib/neo4j/asciidoctor/extensions/attribute_update/extension.rb +45 -0
- data/lib/neo4j/asciidoctor/extensions/document_metadata_generator/extension.rb +4 -4
- data/lib/neo4j/asciidoctor/extensions/stage_slug.rb +8 -0
- data/neo4j-asciidoctor-extensions.gemspec +1 -1
- data/spec/document_metadata_generator_spec.rb +76 -1
- data/spec/stage_slug_spec.rb +35 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caa3438245e79418824486f4b9eafe839bc450db9f5982dd85d4891d2cf23a97
|
4
|
+
data.tar.gz: 65cb62e0c737990e153621812c282e114d18520b94745349f5b7e31625445bc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aa57024bb9de75ae6d5b8a4ddffe4eab1b127479555d5da916625a6bc240739bfe126faf3c273beb6ab815669b8a5a6bd0530be2da4a7ca272492360e45345c
|
7
|
+
data.tar.gz: ce4dd22de8ba94d0d2cf5297ef02b7402d1e0efcd1f64b24e077153989968eb5eedc51610fb5b646fe20a50305141c18de4fc858c3456925045b8fe354eaa32c
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
name: Release
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- v*
|
7
|
+
jobs:
|
8
|
+
release:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
- uses: actions/setup-ruby@v1
|
13
|
+
with:
|
14
|
+
ruby-version: '2.6'
|
15
|
+
- name: Install and test
|
16
|
+
run: |
|
17
|
+
bundle install
|
18
|
+
bundle exec rake
|
19
|
+
- name: Configure credentials
|
20
|
+
run: |
|
21
|
+
mkdir -p $HOME/.gem
|
22
|
+
touch $HOME/.gem/credentials
|
23
|
+
chmod 0600 $HOME/.gem/credentials
|
24
|
+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > $HOME/.gem/credentials
|
25
|
+
env:
|
26
|
+
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
27
|
+
- name: Build gem
|
28
|
+
run: |
|
29
|
+
bundle exec rake build
|
30
|
+
- name: Publish to rubygems.org
|
31
|
+
run: |
|
32
|
+
gem push pkg/neo4j-asciidoctor-extensions-${GITHUB_REF#refs/tags/v}.gem
|
33
|
+
|
data/Gemfile.lock
CHANGED
data/README.adoc
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
= Neo4j Asciidoctor Extensions
|
2
|
+
:caution-caption: :fire:
|
2
3
|
:uri-neo4j: https://neo4j.com
|
3
4
|
|
4
5
|
image:https://github.com/neo4j-contrib/neo4j-asciidoctor-extensions/workflows/CI/badge.svg[CI,link=https://github.com/neo4j-contrib/neo4j-asciidoctor-extensions/actions?query=workflow%3ACI]
|
@@ -41,15 +42,30 @@ See below for the complete list of extensions.
|
|
41
42
|
|
42
43
|
The Ruby gem contains 6 distinct extensions:
|
43
44
|
|
44
|
-
===
|
45
|
+
=== Neo4j course attributes
|
45
46
|
|
46
|
-
A postprocessor that adds attributes about the
|
47
|
+
A postprocessor that adds attributes about a course on the `Document`.
|
47
48
|
|
48
|
-
|
49
|
+
[CAUTION]
|
50
|
+
====
|
51
|
+
This extension is tightly coupled to the course publishing project and should not be used for other purposes
|
52
|
+
====
|
53
|
+
|
54
|
+
[source,rb]
|
55
|
+
----
|
56
|
+
require 'neo4j/asciidoctor/extensions/course_document_attributes'
|
57
|
+
----
|
58
|
+
|
59
|
+
=== Cypher syntax role
|
49
60
|
|
50
61
|
A tree processor that adds a role on code blocks using "cypher-syntax" as a language.
|
51
62
|
|
52
|
-
|
63
|
+
==== Usage
|
64
|
+
|
65
|
+
[source,rb]
|
66
|
+
----
|
67
|
+
require 'neo4j/asciidoctor/extensions/cypher_syntax_role'
|
68
|
+
----
|
53
69
|
|
54
70
|
[source]
|
55
71
|
....
|
@@ -62,11 +78,16 @@ A tree processor that adds a role on code blocks using "cypher-syntax" as a lang
|
|
62
78
|
----
|
63
79
|
....
|
64
80
|
|
65
|
-
===
|
81
|
+
=== Metadata generator (YAML)
|
66
82
|
|
67
83
|
A postprocess that generates a metadata file (in YAML format) from a list of document attributes.
|
68
84
|
|
69
|
-
|
85
|
+
==== Usage
|
86
|
+
|
87
|
+
[source,rb]
|
88
|
+
----
|
89
|
+
require 'neo4j/asciidoctor/extensions/document_metadata_generator'
|
90
|
+
----
|
70
91
|
|
71
92
|
.file.adoc
|
72
93
|
[source,adoc]
|
@@ -79,7 +100,7 @@ A postprocess that generates a metadata file (in YAML format) from a list of doc
|
|
79
100
|
----
|
80
101
|
|
81
102
|
.file.yml
|
82
|
-
[source,
|
103
|
+
[source,yaml]
|
83
104
|
----
|
84
105
|
slug: intro-neo4j-4-0
|
85
106
|
parent_path: /intro
|
@@ -104,12 +125,17 @@ taxonomies:
|
|
104
125
|
- 3-6
|
105
126
|
----
|
106
127
|
|
107
|
-
===
|
128
|
+
=== Inline syntax highlighter based on Rouge
|
108
129
|
|
109
130
|
Inline syntax highlighter based on Rouge.
|
110
131
|
It applies syntax highlighting on both monospaced text cypher and `src` inline macro:
|
111
132
|
|
112
|
-
|
133
|
+
==== Usage
|
134
|
+
|
135
|
+
[source,rb]
|
136
|
+
----
|
137
|
+
require 'neo4j/asciidoctor/extensions/inline_highlighter_rouge'
|
138
|
+
----
|
113
139
|
|
114
140
|
[source,adoc]
|
115
141
|
----
|
@@ -118,16 +144,29 @@ It applies syntax highlighting on both monospaced text cypher and `src` inline m
|
|
118
144
|
src:cypher[MATCH (c:Customer {customerName: 'ABCCO'}) RETURN c.BOUGHT.productName]
|
119
145
|
----
|
120
146
|
|
121
|
-
===
|
147
|
+
=== Linear navigation for reveal.js
|
122
148
|
|
123
149
|
A tree process that "flatten" a reveal.js presentation to use a linear navigation.
|
124
150
|
By default, the reveal.js converter will use a vertical navigation for the second levels of section titles (and below).
|
125
151
|
This extension will effectively prevent that by using only first level section titles.
|
126
152
|
|
127
|
-
|
153
|
+
==== Usage
|
154
|
+
|
155
|
+
[source,rb]
|
156
|
+
----
|
157
|
+
require 'neo4j/asciidoctor/extensions/revealjs_linear_navigation'
|
158
|
+
----
|
159
|
+
|
160
|
+
=== Notes aggregator for reveal.js
|
161
|
+
|
128
162
|
A tree processor that aggregates multiple `[.notes]` blocks in a section (slide).
|
129
163
|
|
130
|
-
|
164
|
+
==== Usage
|
165
|
+
|
166
|
+
[source,rb]
|
167
|
+
----
|
168
|
+
require 'neo4j/asciidoctor/extensions/revealjs_speaker_notes_aggregator'
|
169
|
+
----
|
131
170
|
|
132
171
|
[source,adoc]
|
133
172
|
----
|
@@ -145,3 +184,48 @@ Hello!
|
|
145
184
|
This is another speaker note.
|
146
185
|
--
|
147
186
|
----
|
187
|
+
|
188
|
+
=== Document attribute update
|
189
|
+
|
190
|
+
A tree processor that update an attribute depending on a given rule.
|
191
|
+
|
192
|
+
==== Usage
|
193
|
+
|
194
|
+
In the example below, we update the value of the `slug` attribute depending on the `stage` attribute:
|
195
|
+
[source,rb]
|
196
|
+
----
|
197
|
+
require 'asciidoctor/extensions'
|
198
|
+
require 'neo4j/asciidoctor/extensions/attribute_update/extension'
|
199
|
+
|
200
|
+
Asciidoctor::Extensions.register do
|
201
|
+
ext = Neo4j::AsciidoctorExtensions::AttributeUpdateTreeProcessor
|
202
|
+
tree_processor ext.new attr_name: 'slug',
|
203
|
+
update_rule: lambda { |document, value|
|
204
|
+
case document.attr('stage')
|
205
|
+
when 'production'
|
206
|
+
value
|
207
|
+
when 'development'
|
208
|
+
"_dev_#{value}"
|
209
|
+
else
|
210
|
+
"_test_#{value}"
|
211
|
+
end
|
212
|
+
}
|
213
|
+
end
|
214
|
+
----
|
215
|
+
|
216
|
+
== Release
|
217
|
+
|
218
|
+
The release process is automated and relies on GitHub Actions.
|
219
|
+
We are using the :robot: `neo4j-oss-build` account to publish on https://rubygems.org/gems/neo4j-asciidoctor-extensions.
|
220
|
+
|
221
|
+
The `RUBYGEMS_API_KEY` secret is configured on GitHub.
|
222
|
+
See the `.github/workflows/release.yml` file for details.
|
223
|
+
|
224
|
+
The release will be performed when a tag is pushed, the procedure is:
|
225
|
+
|
226
|
+
. Edit `neo4j-asciidoctor-extensions.gemspec` and update the version number `s.version`
|
227
|
+
. Run `bundle exec rake` to make sure that everything is working
|
228
|
+
. Commit both `neo4j-asciidoctor-extensions.gemspec` and `Gemfile.lock` files
|
229
|
+
. Tag the version using `git tag vx.y.z` (don't forget the `v` prefix and replace `x.y.z` with an actual version)
|
230
|
+
. Push your changes with the tag: `git push origin master --tags`
|
231
|
+
|
@@ -6,3 +6,4 @@ require_relative 'extensions/document_metadata_generator'
|
|
6
6
|
require_relative 'extensions/inline_highlighter_rouge'
|
7
7
|
require_relative 'extensions/revealjs_linear_navigation'
|
8
8
|
require_relative 'extensions/revealjs_speaker_notes_aggregator'
|
9
|
+
require_relative 'extensions/stage_slug'
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
4
|
+
|
5
|
+
module Neo4j
|
6
|
+
# Asciidoctor extensions by Neo4j
|
7
|
+
module AsciidoctorExtensions
|
8
|
+
include Asciidoctor
|
9
|
+
|
10
|
+
# A tree processor that update an attribute depending on a given rule.
|
11
|
+
#
|
12
|
+
class AttributeUpdateTreeProcessor < Extensions::TreeProcessor
|
13
|
+
use_dsl
|
14
|
+
|
15
|
+
def process(document)
|
16
|
+
if (attribute_name = @config[:attr_name]) &&
|
17
|
+
(current_value = document.attr attribute_name) &&
|
18
|
+
(update_rule = @config[:update_rule])
|
19
|
+
new_value = update_rule.call(document, current_value)
|
20
|
+
document.set_attr attribute_name, new_value if new_value != current_value
|
21
|
+
end
|
22
|
+
document
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# A tree processor that update the "slug" attribute depending on the "stage" attribute.
|
27
|
+
#
|
28
|
+
class StageSlugTreeProcessor < AttributeUpdateTreeProcessor
|
29
|
+
TESTING_SLUG_PREFIX = '_testing_'
|
30
|
+
|
31
|
+
def initialize(config = nil)
|
32
|
+
super
|
33
|
+
@config[:attr_name] = 'slug'
|
34
|
+
@config[:update_rule] = lambda { |document, value|
|
35
|
+
case document.attr('stage')
|
36
|
+
when 'production'
|
37
|
+
value
|
38
|
+
else
|
39
|
+
"#{TESTING_SLUG_PREFIX}#{value}"
|
40
|
+
end
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -69,7 +69,7 @@ module Neo4j
|
|
69
69
|
attr_name = resolve_attr_name(attr_include)
|
70
70
|
if document.attr? attr_name
|
71
71
|
attr_value = resolve_attribute_value(attr_name, document, value_type)
|
72
|
-
metadata[attr_name] = attr_value
|
72
|
+
metadata[attr_name.gsub('-', '_')] = attr_value
|
73
73
|
end
|
74
74
|
end
|
75
75
|
metadata['title'] = document.doctitle
|
@@ -84,7 +84,7 @@ module Neo4j
|
|
84
84
|
def resolve_value_type(attr_include)
|
85
85
|
if attr_include.end_with? '*'
|
86
86
|
ValueType::LIST_STRING
|
87
|
-
elsif attr_include.end_with? '*<>'
|
87
|
+
elsif (attr_include.end_with? '*<>') || (attr_include.end_with? '*<>')
|
88
88
|
ValueType::LIST_TUPLES
|
89
89
|
else
|
90
90
|
ValueType::STRING
|
@@ -95,7 +95,7 @@ module Neo4j
|
|
95
95
|
attr_include
|
96
96
|
.gsub(/\*$/, '')
|
97
97
|
.gsub(/\*<>$/, '')
|
98
|
-
.gsub(
|
98
|
+
.gsub(/\*<>$/, '')
|
99
99
|
end
|
100
100
|
|
101
101
|
def write(metadata, outfile)
|
@@ -118,7 +118,7 @@ module Neo4j
|
|
118
118
|
split_values(attr_name, document)
|
119
119
|
.map do |tuple|
|
120
120
|
key, value = tuple.split('=')
|
121
|
-
{ 'key' => key.strip, 'values' => value.strip.split(';').map(&:strip).reject(&:empty?) }
|
121
|
+
{ 'key' => key.strip, 'values' => (value && value.strip.split(';').map(&:strip).reject(&:empty?)) || [] }
|
122
122
|
end
|
123
123
|
else
|
124
124
|
document.attr attr_name
|
@@ -54,7 +54,7 @@ describe Neo4j::AsciidoctorExtensions::DocumentMetadataGeneratorPostProcessor do
|
|
54
54
|
expect(metadata['slug']).to eql('introduction-neo4j-4-0')
|
55
55
|
expect(metadata['tags']).to eql(%w[intro neo4j])
|
56
56
|
end
|
57
|
-
it 'should generate metadata with taxonomies (list of tuples)' do
|
57
|
+
it 'should generate metadata with taxonomies (list of tuples) using document attribute' do
|
58
58
|
input = <<~'ADOC'
|
59
59
|
= Introduction to Neo4j 4.0
|
60
60
|
:document-metadata-attrs-include: slug,tags*,taxonomies*<>
|
@@ -74,5 +74,80 @@ describe Neo4j::AsciidoctorExtensions::DocumentMetadataGeneratorPostProcessor do
|
|
74
74
|
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'programming_language' }['values']).to eql(%w[java])
|
75
75
|
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'neo4j_version' }['values']).to eql(%w[3-5 3-6])
|
76
76
|
end
|
77
|
+
it 'should generate metadata with taxonomies (list of tuples) using document attribute with pass' do
|
78
|
+
input = <<~'ADOC'
|
79
|
+
= Introduction to Neo4j 4.0
|
80
|
+
:document-metadata-attrs-include: pass:[slug,tags*,taxonomies*<>]
|
81
|
+
:slug: introduction-neo4j-4-0
|
82
|
+
:tags: intro , neo4j,,
|
83
|
+
:taxonomies: os= linux,,programming_language =java, neo4j_version=3-5; 3-6;
|
84
|
+
|
85
|
+
This is a paragraph.
|
86
|
+
ADOC
|
87
|
+
Asciidoctor.convert(input, safe: 'safe', to_file: 'spec/output/test.html')
|
88
|
+
metadata = YAML.load_file('spec/output/test.yml')
|
89
|
+
expect(metadata['title']).to eql('Introduction to Neo4j 4.0')
|
90
|
+
expect(metadata['slug']).to eql('introduction-neo4j-4-0')
|
91
|
+
expect(metadata['tags']).to eql(%w[intro neo4j])
|
92
|
+
taxonomies = metadata['taxonomies']
|
93
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'os' }['values']).to eql(%w[linux])
|
94
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'programming_language' }['values']).to eql(%w[java])
|
95
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'neo4j_version' }['values']).to eql(%w[3-5 3-6])
|
96
|
+
end
|
97
|
+
it 'should generate metadata with taxonomies (list of tuples) using CLI attribute' do
|
98
|
+
input = <<~'ADOC'
|
99
|
+
= Introduction to Neo4j 4.0
|
100
|
+
:slug: introduction-neo4j-4-0
|
101
|
+
:tags: intro , neo4j,,
|
102
|
+
:taxonomies: os= linux,,programming_language =java, neo4j_version=3-5; 3-6;
|
103
|
+
|
104
|
+
This is a paragraph.
|
105
|
+
ADOC
|
106
|
+
Asciidoctor.convert(input, safe: 'safe', to_file: 'spec/output/test.html', attributes: {
|
107
|
+
'document-metadata-attrs-include' => 'slug,tags*,taxonomies*<>'
|
108
|
+
})
|
109
|
+
metadata = YAML.load_file('spec/output/test.yml')
|
110
|
+
expect(metadata['title']).to eql('Introduction to Neo4j 4.0')
|
111
|
+
expect(metadata['slug']).to eql('introduction-neo4j-4-0')
|
112
|
+
expect(metadata['tags']).to eql(%w[intro neo4j])
|
113
|
+
taxonomies = metadata['taxonomies']
|
114
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'os' }['values']).to eql(%w[linux])
|
115
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'programming_language' }['values']).to eql(%w[java])
|
116
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'neo4j_version' }['values']).to eql(%w[3-5 3-6])
|
117
|
+
end
|
118
|
+
it 'should replace - by _ in the attribute name' do
|
119
|
+
input = <<~'ADOC'
|
120
|
+
= Introduction to Neo4j 4.0
|
121
|
+
:slug: introduction-neo4j-4-0
|
122
|
+
:parent-path: /labs
|
123
|
+
|
124
|
+
This is a paragraph.
|
125
|
+
ADOC
|
126
|
+
Asciidoctor.convert(input, safe: 'safe', to_file: 'spec/output/test.html', attributes: {
|
127
|
+
'document-metadata-attrs-include' => 'slug,parent-path'
|
128
|
+
})
|
129
|
+
metadata = YAML.load_file('spec/output/test.yml')
|
130
|
+
expect(metadata['title']).to eql('Introduction to Neo4j 4.0')
|
131
|
+
expect(metadata['slug']).to eql('introduction-neo4j-4-0')
|
132
|
+
expect(metadata['parent_path']).to eql('/labs')
|
133
|
+
end
|
134
|
+
it 'should ignore empty value in taxonomies' do
|
135
|
+
input = <<~'ADOC'
|
136
|
+
= Introduction to Neo4j 4.0
|
137
|
+
:slug: introduction-neo4j-4-0
|
138
|
+
:taxonomies: neo4j_versions= , tags= intro ; neo4j;;
|
139
|
+
|
140
|
+
This is a paragraph.
|
141
|
+
ADOC
|
142
|
+
Asciidoctor.convert(input, safe: 'safe', to_file: 'spec/output/test.html', attributes: {
|
143
|
+
'document-metadata-attrs-include' => 'slug,taxonomies*<>'
|
144
|
+
})
|
145
|
+
metadata = YAML.load_file('spec/output/test.yml')
|
146
|
+
expect(metadata['title']).to eql('Introduction to Neo4j 4.0')
|
147
|
+
expect(metadata['slug']).to eql('introduction-neo4j-4-0')
|
148
|
+
taxonomies = metadata['taxonomies']
|
149
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'neo4j_versions' }['values']).to eql([])
|
150
|
+
expect(taxonomies.detect { |taxonomy| taxonomy['key'] == 'tags' }['values']).to eql(%w[intro neo4j])
|
151
|
+
end
|
77
152
|
end
|
78
153
|
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'asciidoctor'
|
4
|
+
require 'asciidoctor/extensions'
|
5
|
+
require_relative '../lib/neo4j/asciidoctor/extensions/attribute_update/extension'
|
6
|
+
|
7
|
+
describe Neo4j::AsciidoctorExtensions::StageSlugTreeProcessor do
|
8
|
+
context 'convert to html5' do
|
9
|
+
it 'should update slug' do
|
10
|
+
registry = Asciidoctor::Extensions.create
|
11
|
+
registry.tree_processor Neo4j::AsciidoctorExtensions::StageSlugTreeProcessor
|
12
|
+
input = <<~'ADOC'
|
13
|
+
= Introduction to Neo4j 4.0
|
14
|
+
:slug: intro-neo4j-4-0
|
15
|
+
|
16
|
+
{slug}
|
17
|
+
ADOC
|
18
|
+
output = Asciidoctor.convert(input, extension_registry: registry, standalone: false, doctype: 'inline')
|
19
|
+
(expect output).to eql '_testing_intro-neo4j-4-0'
|
20
|
+
end
|
21
|
+
it 'should not update slug' do
|
22
|
+
registry = Asciidoctor::Extensions.create
|
23
|
+
registry.tree_processor Neo4j::AsciidoctorExtensions::StageSlugTreeProcessor
|
24
|
+
input = <<~'ADOC'
|
25
|
+
= Introduction to Neo4j 4.0
|
26
|
+
:stage: production
|
27
|
+
:slug: intro-neo4j-4-0
|
28
|
+
|
29
|
+
{slug}
|
30
|
+
ADOC
|
31
|
+
output = Asciidoctor.convert(input, extension_registry: registry, standalone: false, doctype: 'inline')
|
32
|
+
(expect output).to eql 'intro-neo4j-4-0'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-asciidoctor-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Grossetie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -117,6 +117,7 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- ".editorconfig"
|
119
119
|
- ".github/workflows/ci.yml"
|
120
|
+
- ".github/workflows/release.yml"
|
120
121
|
- ".gitignore"
|
121
122
|
- ".rakeTasks"
|
122
123
|
- ".rubocop.yml"
|
@@ -126,6 +127,7 @@ files:
|
|
126
127
|
- README.adoc
|
127
128
|
- Rakefile
|
128
129
|
- lib/neo4j/asciidoctor/extensions.rb
|
130
|
+
- lib/neo4j/asciidoctor/extensions/attribute_update/extension.rb
|
129
131
|
- lib/neo4j/asciidoctor/extensions/course_document_attributes.rb
|
130
132
|
- lib/neo4j/asciidoctor/extensions/course_document_attributes/extension.rb
|
131
133
|
- lib/neo4j/asciidoctor/extensions/cypher_syntax_role.rb
|
@@ -138,6 +140,7 @@ files:
|
|
138
140
|
- lib/neo4j/asciidoctor/extensions/revealjs_linear_navigation/extension.rb
|
139
141
|
- lib/neo4j/asciidoctor/extensions/revealjs_speaker_notes_aggregator.rb
|
140
142
|
- lib/neo4j/asciidoctor/extensions/revealjs_speaker_notes_aggregator/extension.rb
|
143
|
+
- lib/neo4j/asciidoctor/extensions/stage_slug.rb
|
141
144
|
- neo4j-asciidoctor-extensions.gemspec
|
142
145
|
- spec/.rubocop.yml
|
143
146
|
- spec/cypher_syntax_role_spec.rb
|
@@ -145,6 +148,7 @@ files:
|
|
145
148
|
- spec/inline_highlighter_rouge_spec.rb
|
146
149
|
- spec/revealjs_linear_navigation_spec.rb
|
147
150
|
- spec/revealjs_speaker_notes_aggregator_spec.rb
|
151
|
+
- spec/stage_slug_spec.rb
|
148
152
|
- tasks/bundler.rake
|
149
153
|
- tasks/lint.rake
|
150
154
|
- tasks/rspec.rake
|
@@ -169,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
173
|
- !ruby/object:Gem::Version
|
170
174
|
version: '0'
|
171
175
|
requirements: []
|
172
|
-
rubygems_version: 3.0.
|
176
|
+
rubygems_version: 3.0.3
|
173
177
|
signing_key:
|
174
178
|
specification_version: 4
|
175
179
|
summary: Asciidoctor extensions by Neo4j.
|
@@ -180,3 +184,4 @@ test_files:
|
|
180
184
|
- spec/inline_highlighter_rouge_spec.rb
|
181
185
|
- spec/revealjs_linear_navigation_spec.rb
|
182
186
|
- spec/revealjs_speaker_notes_aggregator_spec.rb
|
187
|
+
- spec/stage_slug_spec.rb
|