rggen-markdown 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/rggen/markdown.rb +9 -22
- data/lib/rggen/markdown/setup.rb +1 -1
- data/lib/rggen/markdown/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0e5ece9dd3d244671164701253d739352b8a73a5d3536f4e2f96e9754cef2b1
|
|
4
|
+
data.tar.gz: 21527d0a2bcb0246ba75dbcc73e5011edbfd7db9918847252c30f36018cde9c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5873b9da35b8827ac46945bd7220fb9a5a8fcddc9d93347ef65a8436d078a69eec35ca3ea64eefc8907472fc7729c8e3b9c6abebec7253ee0bfd36f55e43c0e1
|
|
7
|
+
data.tar.gz: 77b2792a66ea7636ae2b02144dfd4d9e213565972d9e794bf9cbf0728cf6f6359af08acb1d1b1b332a0dff3c24696107399c7d19b6fdd52b95b6b32014e3666f
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2019-
|
|
3
|
+
Copyright (c) 2019-2021 Taichi Ishitani
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Feedbacks, bug reports, questions and etc. are wellcome! You can post them by us
|
|
|
34
34
|
|
|
35
35
|
## Copyright & License
|
|
36
36
|
|
|
37
|
-
Copyright © 2019-
|
|
37
|
+
Copyright © 2019-2021 Taichi Ishitani. RgGen::Markdown is licensed under the [MIT License](https://opensource.org/licenses/MIT), see [LICENSE](LICENSE) for futher details.
|
|
38
38
|
|
|
39
39
|
## Code of Conduct
|
|
40
40
|
|
data/lib/rggen/markdown.rb
CHANGED
|
@@ -10,31 +10,18 @@ require_relative 'markdown/factories'
|
|
|
10
10
|
|
|
11
11
|
module RgGen
|
|
12
12
|
module Markdown
|
|
13
|
-
|
|
13
|
+
extend Core::Plugin
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
def self.register_component(builder)
|
|
21
|
-
builder.output_component_registry(:markdown) do
|
|
22
|
-
register_component [
|
|
23
|
-
:root, :register_block, :register_file, :register, :bit_field
|
|
24
|
-
] do |category|
|
|
25
|
-
component Component, ComponentFactory
|
|
26
|
-
feature Feature, FeatureFactory if category != :root
|
|
27
|
-
end
|
|
15
|
+
setup_plugin :'rggen-markdown' do |plugin|
|
|
16
|
+
plugin.register_component :markdown do
|
|
17
|
+
component Component, ComponentFactory
|
|
18
|
+
feature Feature, FeatureFactory
|
|
28
19
|
end
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
def self.load_features
|
|
32
|
-
FEATURES.each { |feature| require_relative feature }
|
|
33
|
-
end
|
|
34
20
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
21
|
+
plugin.files [
|
|
22
|
+
'markdown/register/markdown',
|
|
23
|
+
'markdown/register_block/markdown'
|
|
24
|
+
]
|
|
38
25
|
end
|
|
39
26
|
end
|
|
40
27
|
end
|
data/lib/rggen/markdown/setup.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rggen-markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taichi Ishitani
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -71,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: '0'
|
|
73
73
|
requirements: []
|
|
74
|
-
rubygems_version: 3.
|
|
74
|
+
rubygems_version: 3.2.3
|
|
75
75
|
signing_key:
|
|
76
76
|
specification_version: 4
|
|
77
|
-
summary: rggen-markdown-0.
|
|
77
|
+
summary: rggen-markdown-0.20.0
|
|
78
78
|
test_files: []
|