rggen-markdown 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e347a1415bad51303960a8097d5797a5e0f2ff5c05b88624d4dd633e16eeedf
|
4
|
+
data.tar.gz: fdb87961c636225cb342f2f5fbd1d7ca55e39d0ff3cff28e1aabf75dec4b05fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bc02eae4f5bfe7d6aec45a9329444ddf3c75e60c0ae993346186679e3a326a4c8d902373d8cc2368fbec8d0acaf80dbe6254ad49c0a11398dd5c90fe2e78be8
|
7
|
+
data.tar.gz: e42872b5e274015b2311ee35efa7cb73bfe1d26b4491b7dc81a9949310890be5666c7d1d3ac8cbe021bff0dad443f8d79a48901250549b01462e570c3f8a525a
|
@@ -16,9 +16,7 @@ RgGen.define_simple_feature(:register, :markdown) do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def register_printables
|
19
|
-
register.printables
|
20
|
-
.reject { |key, _| [:name, :layer_name].include?(key) }
|
21
|
-
.compact
|
19
|
+
register.printables.except(:name, :layer_name).compact
|
22
20
|
end
|
23
21
|
|
24
22
|
def bit_field_table
|
@@ -21,9 +21,7 @@ RgGen.define_simple_feature(:register_block, :markdown) do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def register_block_printables
|
24
|
-
register_block.printables
|
25
|
-
.reject { |key, _| key == :name }
|
26
|
-
.compact
|
24
|
+
register_block.printables.except(:name).compact
|
27
25
|
end
|
28
26
|
|
29
27
|
def register_table
|
@@ -18,11 +18,9 @@ module RgGen
|
|
18
18
|
private
|
19
19
|
|
20
20
|
def build_md_lines(labels, table)
|
21
|
-
|
22
|
-
|
23
|
-
build_md_line(lines,
|
24
|
-
table.each { |row| build_md_line(lines, row) }
|
25
|
-
lines
|
21
|
+
[
|
22
|
+
labels, alignment_marks(labels.size), *table
|
23
|
+
].each_with_object([]) { |row, lines| build_md_line(lines, row) }
|
26
24
|
end
|
27
25
|
|
28
26
|
def build_md_line(lines, row)
|
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.21.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: 2021-
|
11
|
+
date: 2021-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '2.
|
67
|
+
version: '2.5'
|
68
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - ">="
|
@@ -74,5 +74,5 @@ requirements: []
|
|
74
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.21.0
|
78
78
|
test_files: []
|