jekyll-diagrams 0.10.0 → 0.11.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -411
- data/features/{blockdiag/block.feature → blockdiag_block.feature} +0 -0
- data/features/{graphviz/block.feature → graphviz_block.feature} +0 -0
- data/features/{graphviz/config.feature → graphviz_config.feature} +0 -0
- data/features/{mermaid/block.feature → mermaid_block.feature} +0 -0
- data/features/{nomnoml/block.feature → nomnoml_block.feature} +0 -0
- data/features/{plantuml/block.feature → plantuml_block.feature} +0 -0
- data/features/{smcat/block.feature → smcat_block.feature} +0 -0
- data/features/step_definitions/{jekyll-diagrams.rb → diagrams.rb} +0 -0
- data/features/support/env.rb +4 -1
- data/features/{syntrax/block.feature → syntrax_block.feature} +0 -0
- data/features/{vega/block.feature → vega_block.feature} +0 -0
- data/features/{wavedrom/block.feature → wavedrom_block.feature} +0 -0
- data/lib/jekyll-diagrams.rb +1 -38
- data/lib/jekyll_diagrams.rb +85 -0
- data/lib/jekyll_diagrams/version.rb +5 -0
- data/spec/{utils_spec.rb → jekyll_diagrams_spec.rb} +18 -70
- data/spec/spec_helper.rb +10 -8
- metadata +85 -129
- data/lib/jekyll-diagrams/basic_block.rb +0 -28
- data/lib/jekyll-diagrams/basic_renderer.rb +0 -38
- data/lib/jekyll-diagrams/blockdiag.rb +0 -12
- data/lib/jekyll-diagrams/blockdiag/block.rb +0 -9
- data/lib/jekyll-diagrams/blockdiag/renderer.rb +0 -40
- data/lib/jekyll-diagrams/erd.rb +0 -10
- data/lib/jekyll-diagrams/erd/block.rb +0 -8
- data/lib/jekyll-diagrams/erd/renderer.rb +0 -34
- data/lib/jekyll-diagrams/errors.rb +0 -24
- data/lib/jekyll-diagrams/graphviz.rb +0 -10
- data/lib/jekyll-diagrams/graphviz/block.rb +0 -8
- data/lib/jekyll-diagrams/graphviz/renderer.rb +0 -40
- data/lib/jekyll-diagrams/mermaid.rb +0 -10
- data/lib/jekyll-diagrams/mermaid/block.rb +0 -8
- data/lib/jekyll-diagrams/mermaid/renderer.rb +0 -29
- data/lib/jekyll-diagrams/nomnoml.rb +0 -10
- data/lib/jekyll-diagrams/nomnoml/block.rb +0 -8
- data/lib/jekyll-diagrams/nomnoml/renderer.rb +0 -19
- data/lib/jekyll-diagrams/plantuml.rb +0 -10
- data/lib/jekyll-diagrams/plantuml/block.rb +0 -8
- data/lib/jekyll-diagrams/plantuml/renderer.rb +0 -23
- data/lib/jekyll-diagrams/rendering.rb +0 -67
- data/lib/jekyll-diagrams/smcat.rb +0 -10
- data/lib/jekyll-diagrams/smcat/block.rb +0 -8
- data/lib/jekyll-diagrams/smcat/renderer.rb +0 -30
- data/lib/jekyll-diagrams/svgbob.rb +0 -10
- data/lib/jekyll-diagrams/svgbob/block.rb +0 -8
- data/lib/jekyll-diagrams/svgbob/renderer.rb +0 -25
- data/lib/jekyll-diagrams/syntrax.rb +0 -10
- data/lib/jekyll-diagrams/syntrax/block.rb +0 -8
- data/lib/jekyll-diagrams/syntrax/renderer.rb +0 -27
- data/lib/jekyll-diagrams/utils.rb +0 -85
- data/lib/jekyll-diagrams/vega.rb +0 -12
- data/lib/jekyll-diagrams/vega/block.rb +0 -9
- data/lib/jekyll-diagrams/vega/renderer.rb +0 -33
- data/lib/jekyll-diagrams/version.rb +0 -7
- data/lib/jekyll-diagrams/wavedrom.rb +0 -10
- data/lib/jekyll-diagrams/wavedrom/block.rb +0 -8
- data/lib/jekyll-diagrams/wavedrom/renderer.rb +0 -19
- data/spec/basic_block_spec.rb +0 -70
- data/spec/basic_renderer_spec.rb +0 -69
- data/spec/blockdiag_renderer_spec.rb +0 -43
- data/spec/erd_renderer_spec.rb +0 -43
- data/spec/graphviz_renderer_spec.rb +0 -19
- data/spec/jekyll-diagrams_spec.rb +0 -23
- data/spec/mermaid_renderer_spec.rb +0 -19
- data/spec/nomnoml_renderer_spec.rb +0 -19
- data/spec/plantuml_renderer_spec.rb +0 -20
- data/spec/rendering_spec.rb +0 -111
- data/spec/smcat_renderer_spec.rb +0 -19
- data/spec/svgbob_renderer_spec.rb +0 -27
- data/spec/syntrax_renderer_spec.rb +0 -19
- data/spec/vega_renderer_spec.rb +0 -19
- data/spec/wavedrom_renderer_spec.rb +0 -19
- data/vendor/mermaid_puppeteer_config.json +0 -3
- data/vendor/plantuml.1.2020.1.jar +0 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/features/support/env.rb
CHANGED
@@ -4,8 +4,10 @@ lib = File.expand_path('../lib', __dir__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
|
6
6
|
require 'simplecov'
|
7
|
+
|
7
8
|
require 'rspec'
|
8
9
|
require 'tmpdir'
|
10
|
+
|
9
11
|
require 'jekyll-diagrams'
|
10
12
|
|
11
13
|
TEST_DIR = File.join(Dir.tmpdir, 'jekyll-diagrams-features')
|
@@ -26,7 +28,8 @@ end
|
|
26
28
|
def run_jekyll
|
27
29
|
options = Jekyll.configuration(
|
28
30
|
source: TEST_DIR,
|
29
|
-
quiet: true
|
31
|
+
quiet: true,
|
32
|
+
liquid: { error_mode: :strict }
|
30
33
|
)
|
31
34
|
|
32
35
|
Jekyll::Site.new(options).process
|
File without changes
|
File without changes
|
File without changes
|
data/lib/jekyll-diagrams.rb
CHANGED
@@ -1,40 +1,3 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
require_relative 'jekyll-diagrams/errors'
|
6
|
-
require_relative 'jekyll-diagrams/utils'
|
7
|
-
require_relative 'jekyll-diagrams/rendering'
|
8
|
-
|
9
|
-
require_relative 'jekyll-diagrams/basic_renderer'
|
10
|
-
require_relative 'jekyll-diagrams/basic_block'
|
11
|
-
|
12
|
-
require_relative 'jekyll-diagrams/blockdiag'
|
13
|
-
require_relative 'jekyll-diagrams/erd'
|
14
|
-
require_relative 'jekyll-diagrams/graphviz'
|
15
|
-
require_relative 'jekyll-diagrams/mermaid'
|
16
|
-
require_relative 'jekyll-diagrams/nomnoml'
|
17
|
-
require_relative 'jekyll-diagrams/plantuml'
|
18
|
-
require_relative 'jekyll-diagrams/smcat'
|
19
|
-
require_relative 'jekyll-diagrams/svgbob'
|
20
|
-
require_relative 'jekyll-diagrams/syntrax'
|
21
|
-
require_relative 'jekyll-diagrams/vega'
|
22
|
-
require_relative 'jekyll-diagrams/wavedrom'
|
23
|
-
|
24
|
-
module Jekyll
|
25
|
-
module Diagrams
|
26
|
-
class << self
|
27
|
-
def config_name
|
28
|
-
'jekyll-diagrams'
|
29
|
-
end
|
30
|
-
|
31
|
-
def logger_topic
|
32
|
-
'Jekyll Diagrams:'
|
33
|
-
end
|
34
|
-
|
35
|
-
def default_error_mode
|
36
|
-
:warn
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
3
|
+
require_relative 'jekyll_diagrams'
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'jekyll'
|
4
|
+
require 'liquid-diagrams'
|
5
|
+
|
6
|
+
require_relative 'jekyll_diagrams/version'
|
7
|
+
|
8
|
+
LiquidDiagrams.register_diagrams(LiquidDiagrams.diagrams)
|
9
|
+
|
10
|
+
module LiquidDiagrams
|
11
|
+
class BasicBlock
|
12
|
+
alias origin_render render
|
13
|
+
alias origin_config config
|
14
|
+
|
15
|
+
def render(context)
|
16
|
+
JekyllDiagrams.wrap_class(origin_render(context), block_name)
|
17
|
+
end
|
18
|
+
|
19
|
+
def config
|
20
|
+
jekyll_config = JekyllDiagrams.configuration(@context, block_name) || {}
|
21
|
+
|
22
|
+
origin_config.merge(jekyll_config)
|
23
|
+
end
|
24
|
+
|
25
|
+
def handle_error(error)
|
26
|
+
JekyllDiagrams.handle_error(@context, error)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module JekyllDiagrams
|
32
|
+
class << self
|
33
|
+
def config_name
|
34
|
+
'jekyll-diagrams'
|
35
|
+
end
|
36
|
+
|
37
|
+
def logger_topic
|
38
|
+
'Jekyll Diagrams:'
|
39
|
+
end
|
40
|
+
|
41
|
+
def jekyll_configuration(context)
|
42
|
+
site_config = context.registers[:site].config
|
43
|
+
page_config = context.registers[:page]
|
44
|
+
|
45
|
+
site_config.merge(page_config)
|
46
|
+
end
|
47
|
+
|
48
|
+
def configuration(context, key = nil)
|
49
|
+
config = jekyll_configuration(context).fetch(config_name, {})
|
50
|
+
|
51
|
+
config.dup.delete(key) if key
|
52
|
+
end
|
53
|
+
|
54
|
+
def error_mode(context)
|
55
|
+
liquid_mode = jekyll_configuration(context).dig('liquid', 'error_mode')
|
56
|
+
custom_mode = configuration(context, 'error_mode')
|
57
|
+
|
58
|
+
(custom_mode || liquid_mode || :warn).to_sym
|
59
|
+
end
|
60
|
+
|
61
|
+
def handle_error(context, error)
|
62
|
+
mode = error_mode(context)
|
63
|
+
|
64
|
+
case mode
|
65
|
+
when :lax
|
66
|
+
''
|
67
|
+
when :warn
|
68
|
+
Jekyll.logger.warn logger_topic, error
|
69
|
+
error
|
70
|
+
when :strict
|
71
|
+
Jekyll.logger.abort_with logger_topic, error
|
72
|
+
else
|
73
|
+
raise StandardError
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
def wrap_class(content, class_names)
|
78
|
+
<<~CONTENT
|
79
|
+
<div class='#{config_name} diagrams #{class_names}'>
|
80
|
+
#{content}
|
81
|
+
</div>
|
82
|
+
CONTENT
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -2,27 +2,26 @@
|
|
2
2
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
|
-
RSpec.describe
|
6
|
-
describe '.
|
7
|
-
|
8
|
-
subject do
|
9
|
-
described_class.config_for(context_with_config, 'not_exist_key')
|
10
|
-
end
|
5
|
+
RSpec.describe JekyllDiagrams do
|
6
|
+
describe '.config_name' do
|
7
|
+
subject { described_class.config_name }
|
11
8
|
|
12
|
-
|
13
|
-
|
9
|
+
it { is_expected.to eq 'jekyll-diagrams' }
|
10
|
+
end
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
described_class.config_for(
|
18
|
-
context_with_config(
|
19
|
-
Jekyll::Diagrams.config_name => { 'key' => 'value' }
|
20
|
-
),
|
21
|
-
'key'
|
22
|
-
)
|
23
|
-
end
|
12
|
+
describe '.logger_topic' do
|
13
|
+
subject { described_class.logger_topic }
|
24
14
|
|
25
|
-
|
15
|
+
it { is_expected.to eq 'Jekyll Diagrams:' }
|
16
|
+
end
|
17
|
+
|
18
|
+
describe '.jekyll_configuration' do
|
19
|
+
it 'read jekyll configurations from context' do
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
describe '.configuration' do
|
24
|
+
it 'read configurations from jekyll configurations' do
|
26
25
|
end
|
27
26
|
end
|
28
27
|
|
@@ -98,62 +97,11 @@ RSpec.describe Jekyll::Diagrams::Utils do
|
|
98
97
|
described_class.handle_error(
|
99
98
|
context_with_config(liquid: { 'error_mode' => 'unkown' }), error
|
100
99
|
)
|
101
|
-
end.to raise_error
|
100
|
+
end.to raise_error StandardError
|
102
101
|
end
|
103
102
|
end
|
104
103
|
end
|
105
104
|
|
106
|
-
describe '.vendor_path' do
|
107
|
-
context 'with no input' do
|
108
|
-
subject { described_class.vendor_path }
|
109
|
-
|
110
|
-
it { is_expected.to end_with 'vendor/' }
|
111
|
-
end
|
112
|
-
|
113
|
-
context 'with the input is "test_file' do
|
114
|
-
subject { described_class.vendor_path('test_file') }
|
115
|
-
|
116
|
-
it { is_expected.to end_with 'vendor/test_file' }
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
describe '.run_jar' do
|
121
|
-
context 'when the input is "test.jar"' do
|
122
|
-
subject { described_class.run_jar('test.jar') }
|
123
|
-
|
124
|
-
it { is_expected.to match '-Djava.awt.headless=true' }
|
125
|
-
it { is_expected.to match '-jar test.jar' }
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
|
-
describe '.normalized_attrs' do
|
130
|
-
context 'when the input is string' do
|
131
|
-
subject do
|
132
|
-
described_class.normalized_attrs('auto', prefix: '--color ')
|
133
|
-
end
|
134
|
-
|
135
|
-
it { is_expected.to eq '--color auto' }
|
136
|
-
end
|
137
|
-
|
138
|
-
context 'when the input is array' do
|
139
|
-
subject do
|
140
|
-
described_class.normalized_attrs(%w[a b], prefix: ' --include ')
|
141
|
-
end
|
142
|
-
|
143
|
-
it { is_expected.to eq ' --include a --include b' }
|
144
|
-
end
|
145
|
-
|
146
|
-
context 'when the input is hash' do
|
147
|
-
subject do
|
148
|
-
described_class.normalized_attrs(
|
149
|
-
{ scales: 2, color: 'red' }, prefix: ' --', sep: ' '
|
150
|
-
)
|
151
|
-
end
|
152
|
-
|
153
|
-
it { is_expected.to eq ' --scales 2 --color red' }
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
105
|
describe '.wrap_class' do
|
158
106
|
subject { described_class.wrap_class('content', 'active') }
|
159
107
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'bundler/setup'
|
4
|
+
|
4
5
|
require 'simplecov'
|
6
|
+
require 'pry-byebug'
|
5
7
|
|
6
8
|
require 'jekyll-diagrams'
|
7
9
|
|
8
10
|
RSpec.configure do |config|
|
9
|
-
|
10
|
-
config.example_status_persistence_file_path = '
|
11
|
-
|
11
|
+
# Enable flags like --only-failures and --next-failure
|
12
|
+
config.example_status_persistence_file_path = '.rspec_status'
|
13
|
+
|
14
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
15
|
+
config.disable_monkey_patching!
|
12
16
|
|
13
|
-
|
14
|
-
|
15
|
-
def render_with_command(command, _output = :stdout, **_options)
|
16
|
-
command
|
17
|
+
config.expect_with :rspec do |c|
|
18
|
+
c.syntax = :expect
|
17
19
|
end
|
18
20
|
end
|
19
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-diagrams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhustec
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -30,203 +30,174 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: liquid-diagrams
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.3'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.3'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: cucumber
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
36
50
|
requirements:
|
37
51
|
- - ">="
|
38
52
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
53
|
+
version: '3.0'
|
40
54
|
type: :development
|
41
55
|
prerelease: false
|
42
56
|
version_requirements: !ruby/object:Gem::Requirement
|
43
57
|
requirements:
|
44
58
|
- - ">="
|
45
59
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0'
|
60
|
+
version: '3.0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: pry-byebug
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
50
64
|
requirements:
|
51
|
-
- - "
|
65
|
+
- - "~>"
|
52
66
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
67
|
+
version: '3.0'
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
version_requirements: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
|
-
- - "
|
72
|
+
- - "~>"
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0'
|
74
|
+
version: '3.0'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: rake
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
79
|
- - ">="
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
81
|
+
version: '12.0'
|
82
|
+
- - "<"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '14.0'
|
68
85
|
type: :development
|
69
86
|
prerelease: false
|
70
87
|
version_requirements: !ruby/object:Gem::Requirement
|
71
88
|
requirements:
|
72
89
|
- - ">="
|
73
90
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
91
|
+
version: '12.0'
|
92
|
+
- - "<"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '14.0'
|
75
95
|
- !ruby/object:Gem::Dependency
|
76
96
|
name: rspec
|
77
97
|
requirement: !ruby/object:Gem::Requirement
|
78
98
|
requirements:
|
79
|
-
- - "
|
99
|
+
- - "~>"
|
80
100
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
101
|
+
version: '3.0'
|
82
102
|
type: :development
|
83
103
|
prerelease: false
|
84
104
|
version_requirements: !ruby/object:Gem::Requirement
|
85
105
|
requirements:
|
86
|
-
- - "
|
106
|
+
- - "~>"
|
87
107
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
108
|
+
version: '3.0'
|
89
109
|
- !ruby/object:Gem::Dependency
|
90
110
|
name: rubocop
|
91
111
|
requirement: !ruby/object:Gem::Requirement
|
92
112
|
requirements:
|
93
|
-
- - "
|
113
|
+
- - "~>"
|
94
114
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
115
|
+
version: 0.82.0
|
96
116
|
type: :development
|
97
117
|
prerelease: false
|
98
118
|
version_requirements: !ruby/object:Gem::Requirement
|
99
119
|
requirements:
|
100
|
-
- - "
|
120
|
+
- - "~>"
|
101
121
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
122
|
+
version: 0.82.0
|
103
123
|
- !ruby/object:Gem::Dependency
|
104
124
|
name: rubocop-rspec
|
105
125
|
requirement: !ruby/object:Gem::Requirement
|
106
126
|
requirements:
|
107
|
-
- - "
|
127
|
+
- - "~>"
|
108
128
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
129
|
+
version: '1.30'
|
110
130
|
type: :development
|
111
131
|
prerelease: false
|
112
132
|
version_requirements: !ruby/object:Gem::Requirement
|
113
133
|
requirements:
|
114
|
-
- - "
|
134
|
+
- - "~>"
|
115
135
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
136
|
+
version: '1.30'
|
117
137
|
- !ruby/object:Gem::Dependency
|
118
138
|
name: simplecov
|
119
139
|
requirement: !ruby/object:Gem::Requirement
|
120
140
|
requirements:
|
121
|
-
- - "
|
141
|
+
- - "~>"
|
122
142
|
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
143
|
+
version: '0.16'
|
124
144
|
type: :development
|
125
145
|
prerelease: false
|
126
146
|
version_requirements: !ruby/object:Gem::Requirement
|
127
147
|
requirements:
|
128
|
-
- - "
|
148
|
+
- - "~>"
|
129
149
|
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
150
|
+
version: '0.16'
|
131
151
|
- !ruby/object:Gem::Dependency
|
132
152
|
name: simplecov-lcov
|
133
153
|
requirement: !ruby/object:Gem::Requirement
|
134
154
|
requirements:
|
135
|
-
- - "
|
155
|
+
- - "~>"
|
136
156
|
- !ruby/object:Gem::Version
|
137
|
-
version: '0'
|
157
|
+
version: '0.5'
|
138
158
|
type: :development
|
139
159
|
prerelease: false
|
140
160
|
version_requirements: !ruby/object:Gem::Requirement
|
141
161
|
requirements:
|
142
|
-
- - "
|
162
|
+
- - "~>"
|
143
163
|
- !ruby/object:Gem::Version
|
144
|
-
version: '0'
|
164
|
+
version: '0.5'
|
145
165
|
description: |
|
146
166
|
A Jekyll plugin with support for Blockdiag, Erd, GraphViz, Mermaid,
|
147
167
|
Nomnoml, PlantUML, Svgbob, Syntrax, Vega, Vega-Lite and WaveDrom.
|
148
|
-
email:
|
168
|
+
email:
|
169
|
+
- zhustec@foxmail.com
|
149
170
|
executables: []
|
150
171
|
extensions: []
|
151
172
|
extra_rdoc_files: []
|
152
173
|
files:
|
153
174
|
- LICENSE
|
154
175
|
- README.md
|
155
|
-
- features/
|
156
|
-
- features/
|
157
|
-
- features/
|
158
|
-
- features/
|
159
|
-
- features/
|
160
|
-
- features/
|
161
|
-
- features/
|
162
|
-
- features/step_definitions/
|
176
|
+
- features/blockdiag_block.feature
|
177
|
+
- features/graphviz_block.feature
|
178
|
+
- features/graphviz_config.feature
|
179
|
+
- features/mermaid_block.feature
|
180
|
+
- features/nomnoml_block.feature
|
181
|
+
- features/plantuml_block.feature
|
182
|
+
- features/smcat_block.feature
|
183
|
+
- features/step_definitions/diagrams.rb
|
163
184
|
- features/support/env.rb
|
164
|
-
- features/
|
165
|
-
- features/
|
166
|
-
- features/
|
185
|
+
- features/syntrax_block.feature
|
186
|
+
- features/vega_block.feature
|
187
|
+
- features/wavedrom_block.feature
|
167
188
|
- lib/jekyll-diagrams.rb
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
-
|
171
|
-
- lib/jekyll-diagrams/blockdiag/block.rb
|
172
|
-
- lib/jekyll-diagrams/blockdiag/renderer.rb
|
173
|
-
- lib/jekyll-diagrams/erd.rb
|
174
|
-
- lib/jekyll-diagrams/erd/block.rb
|
175
|
-
- lib/jekyll-diagrams/erd/renderer.rb
|
176
|
-
- lib/jekyll-diagrams/errors.rb
|
177
|
-
- lib/jekyll-diagrams/graphviz.rb
|
178
|
-
- lib/jekyll-diagrams/graphviz/block.rb
|
179
|
-
- lib/jekyll-diagrams/graphviz/renderer.rb
|
180
|
-
- lib/jekyll-diagrams/mermaid.rb
|
181
|
-
- lib/jekyll-diagrams/mermaid/block.rb
|
182
|
-
- lib/jekyll-diagrams/mermaid/renderer.rb
|
183
|
-
- lib/jekyll-diagrams/nomnoml.rb
|
184
|
-
- lib/jekyll-diagrams/nomnoml/block.rb
|
185
|
-
- lib/jekyll-diagrams/nomnoml/renderer.rb
|
186
|
-
- lib/jekyll-diagrams/plantuml.rb
|
187
|
-
- lib/jekyll-diagrams/plantuml/block.rb
|
188
|
-
- lib/jekyll-diagrams/plantuml/renderer.rb
|
189
|
-
- lib/jekyll-diagrams/rendering.rb
|
190
|
-
- lib/jekyll-diagrams/smcat.rb
|
191
|
-
- lib/jekyll-diagrams/smcat/block.rb
|
192
|
-
- lib/jekyll-diagrams/smcat/renderer.rb
|
193
|
-
- lib/jekyll-diagrams/svgbob.rb
|
194
|
-
- lib/jekyll-diagrams/svgbob/block.rb
|
195
|
-
- lib/jekyll-diagrams/svgbob/renderer.rb
|
196
|
-
- lib/jekyll-diagrams/syntrax.rb
|
197
|
-
- lib/jekyll-diagrams/syntrax/block.rb
|
198
|
-
- lib/jekyll-diagrams/syntrax/renderer.rb
|
199
|
-
- lib/jekyll-diagrams/utils.rb
|
200
|
-
- lib/jekyll-diagrams/vega.rb
|
201
|
-
- lib/jekyll-diagrams/vega/block.rb
|
202
|
-
- lib/jekyll-diagrams/vega/renderer.rb
|
203
|
-
- lib/jekyll-diagrams/version.rb
|
204
|
-
- lib/jekyll-diagrams/wavedrom.rb
|
205
|
-
- lib/jekyll-diagrams/wavedrom/block.rb
|
206
|
-
- lib/jekyll-diagrams/wavedrom/renderer.rb
|
207
|
-
- spec/basic_block_spec.rb
|
208
|
-
- spec/basic_renderer_spec.rb
|
209
|
-
- spec/blockdiag_renderer_spec.rb
|
210
|
-
- spec/erd_renderer_spec.rb
|
211
|
-
- spec/graphviz_renderer_spec.rb
|
212
|
-
- spec/jekyll-diagrams_spec.rb
|
213
|
-
- spec/mermaid_renderer_spec.rb
|
214
|
-
- spec/nomnoml_renderer_spec.rb
|
215
|
-
- spec/plantuml_renderer_spec.rb
|
216
|
-
- spec/rendering_spec.rb
|
217
|
-
- spec/smcat_renderer_spec.rb
|
189
|
+
- lib/jekyll_diagrams.rb
|
190
|
+
- lib/jekyll_diagrams/version.rb
|
191
|
+
- spec/jekyll_diagrams_spec.rb
|
218
192
|
- spec/spec_helper.rb
|
219
|
-
- spec/svgbob_renderer_spec.rb
|
220
|
-
- spec/syntrax_renderer_spec.rb
|
221
|
-
- spec/utils_spec.rb
|
222
|
-
- spec/vega_renderer_spec.rb
|
223
|
-
- spec/wavedrom_renderer_spec.rb
|
224
|
-
- vendor/mermaid_puppeteer_config.json
|
225
|
-
- vendor/plantuml.1.2020.1.jar
|
226
193
|
homepage: https://github.com/zhustec/jekyll-diagrams
|
227
194
|
licenses:
|
228
195
|
- MIT
|
229
|
-
metadata:
|
196
|
+
metadata:
|
197
|
+
source_code_uri: https://github.com/zhustec/jekyll-diagrams
|
198
|
+
bug_tracker_uri: https://github.com/zhustec/jekyll-diagrams
|
199
|
+
changelog_uri: https://github.com/zhustec/jekyll-diagrams/releases
|
200
|
+
homepage_uri: https://github.com/zhustec/jekyll-diagrams
|
230
201
|
post_install_message:
|
231
202
|
rdoc_options: []
|
232
203
|
require_paths:
|
@@ -238,41 +209,26 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
238
209
|
version: '2.5'
|
239
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
211
|
requirements:
|
241
|
-
- - "
|
212
|
+
- - ">"
|
242
213
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
214
|
+
version: 1.3.1
|
244
215
|
requirements: []
|
245
216
|
rubygems_version: 3.1.2
|
246
217
|
signing_key:
|
247
218
|
specification_version: 4
|
248
219
|
summary: Jekyll plugins for diagrams support.
|
249
220
|
test_files:
|
250
|
-
- features/
|
251
|
-
- features/step_definitions/jekyll-diagrams.rb
|
252
|
-
- features/smcat/block.feature
|
253
|
-
- features/plantuml/block.feature
|
254
|
-
- features/nomnoml/block.feature
|
255
|
-
- features/graphviz/config.feature
|
256
|
-
- features/graphviz/block.feature
|
221
|
+
- features/step_definitions/diagrams.rb
|
257
222
|
- features/support/env.rb
|
258
|
-
- features/
|
259
|
-
- features/
|
260
|
-
- features/
|
261
|
-
- features/
|
262
|
-
-
|
223
|
+
- features/graphviz_config.feature
|
224
|
+
- features/syntrax_block.feature
|
225
|
+
- features/mermaid_block.feature
|
226
|
+
- features/nomnoml_block.feature
|
227
|
+
- features/vega_block.feature
|
228
|
+
- features/blockdiag_block.feature
|
229
|
+
- features/graphviz_block.feature
|
230
|
+
- features/plantuml_block.feature
|
231
|
+
- features/wavedrom_block.feature
|
232
|
+
- features/smcat_block.feature
|
263
233
|
- spec/spec_helper.rb
|
264
|
-
- spec/
|
265
|
-
- spec/vega_renderer_spec.rb
|
266
|
-
- spec/wavedrom_renderer_spec.rb
|
267
|
-
- spec/nomnoml_renderer_spec.rb
|
268
|
-
- spec/mermaid_renderer_spec.rb
|
269
|
-
- spec/smcat_renderer_spec.rb
|
270
|
-
- spec/svgbob_renderer_spec.rb
|
271
|
-
- spec/syntrax_renderer_spec.rb
|
272
|
-
- spec/rendering_spec.rb
|
273
|
-
- spec/graphviz_renderer_spec.rb
|
274
|
-
- spec/blockdiag_renderer_spec.rb
|
275
|
-
- spec/plantuml_renderer_spec.rb
|
276
|
-
- spec/utils_spec.rb
|
277
|
-
- spec/erd_renderer_spec.rb
|
278
|
-
- spec/jekyll-diagrams_spec.rb
|
234
|
+
- spec/jekyll_diagrams_spec.rb
|