metanorma-plugin-plantuml 1.0.11 → 1.0.12
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/.rubocop_todo.yml +76 -18
- data/Gemfile +3 -2
- data/lib/metanorma/plugin/plantuml/block_processor.rb +1 -0
- data/lib/metanorma/plugin/plantuml/image_block_macro_processor.rb +1 -0
- data/lib/metanorma/plugin/plantuml/version.rb +1 -1
- data/lib/metanorma/plugin/plantuml/wrapper.rb +1 -1
- data/metanorma-plugin-plantuml.gemspec +1 -0
- metadata +4 -4
- data/Gemfile.devel +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b635a5dfe71978c68c5d25aad6ed5009977f4a0e3b87a7ea7444468dc23008ff
|
|
4
|
+
data.tar.gz: 9760c4cf9e48ebe43d3cf6316595afe312a3018df60791a1f2cad3afe2fadacf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 899eb66d03ea96b6386b3f321efc0553bb26b4ad056ac0b349e77eb0bdac0f5bd0e7fe4883afb7cddf4b2b951049955453ba7e72eca6c5fcfece2204b7e4889f
|
|
7
|
+
data.tar.gz: 1efb319e324426556997d9be2a93f3b769a6b6d95cb9c2b8aa01627d73b062a78ad15dc91809732575c41f33d5ee015cd70e5d9d528bf60e88dd93df487fc57d
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,20 +1,54 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on
|
|
3
|
+
# on 2026-05-11 11:55:58 UTC using RuboCop version 1.86.1.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
8
|
|
|
9
9
|
# Offense count: 1
|
|
10
|
-
#
|
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
11
|
+
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
|
|
12
|
+
Bundler/OrderedGems:
|
|
13
|
+
Exclude:
|
|
14
|
+
- 'Gemfile'
|
|
15
|
+
|
|
16
|
+
# Offense count: 1
|
|
17
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
18
|
+
Gemspec/RequireMFA:
|
|
19
|
+
Exclude:
|
|
20
|
+
- 'metanorma-plugin-plantuml.gemspec'
|
|
21
|
+
|
|
22
|
+
# Offense count: 1
|
|
11
23
|
Gemspec/RequiredRubyVersion:
|
|
12
24
|
Exclude:
|
|
13
25
|
- 'metanorma-plugin-plantuml.gemspec'
|
|
14
26
|
|
|
15
|
-
# Offense count:
|
|
27
|
+
# Offense count: 2
|
|
16
28
|
# This cop supports safe autocorrection (--autocorrect).
|
|
17
|
-
|
|
29
|
+
Layout/EmptyLinesAfterModuleInclusion:
|
|
30
|
+
Exclude:
|
|
31
|
+
- 'lib/metanorma/plugin/plantuml/block_processor.rb'
|
|
32
|
+
- 'lib/metanorma/plugin/plantuml/image_block_macro_processor.rb'
|
|
33
|
+
|
|
34
|
+
# Offense count: 1
|
|
35
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
36
|
+
# Configuration parameters: EnforcedStyle.
|
|
37
|
+
# SupportedStyles: normal, indented_internal_methods
|
|
38
|
+
Layout/IndentationConsistency:
|
|
39
|
+
Exclude:
|
|
40
|
+
- 'metanorma-plugin-plantuml.gemspec'
|
|
41
|
+
|
|
42
|
+
# Offense count: 1
|
|
43
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
44
|
+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation.
|
|
45
|
+
Layout/LeadingCommentSpace:
|
|
46
|
+
Exclude:
|
|
47
|
+
- 'spec/spec_helper.rb'
|
|
48
|
+
|
|
49
|
+
# Offense count: 8
|
|
50
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
51
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
18
52
|
# URISchemes: http, https
|
|
19
53
|
Layout/LineLength:
|
|
20
54
|
Exclude:
|
|
@@ -24,30 +58,54 @@ Layout/LineLength:
|
|
|
24
58
|
- 'lib/metanorma/plugin/plantuml/wrapper.rb'
|
|
25
59
|
- 'spec/metanorma/plugin/plantuml/plantuml_integration_spec.rb'
|
|
26
60
|
|
|
27
|
-
# Offense count:
|
|
28
|
-
#
|
|
29
|
-
|
|
61
|
+
# Offense count: 4
|
|
62
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
63
|
+
Lint/NonAtomicFileOperation:
|
|
30
64
|
Exclude:
|
|
31
|
-
- '
|
|
65
|
+
- 'lib/metanorma/plugin/plantuml/wrapper.rb'
|
|
66
|
+
- 'spec/metanorma/plugin/plantuml/backend_spec.rb'
|
|
67
|
+
- 'spec/metanorma/plugin/plantuml/block_processor_spec.rb'
|
|
68
|
+
- 'spec/metanorma/plugin/plantuml/filename_handling_spec.rb'
|
|
32
69
|
|
|
33
70
|
# Offense count: 1
|
|
34
|
-
#
|
|
35
|
-
|
|
36
|
-
Metrics/BlockLength:
|
|
71
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
72
|
+
Lint/RedundantDirGlobSort:
|
|
37
73
|
Exclude:
|
|
38
|
-
- '
|
|
74
|
+
- 'spec/metanorma/plugin/plantuml/individual_fixture_tests_spec.rb'
|
|
39
75
|
|
|
40
|
-
# Offense count:
|
|
41
|
-
# Configuration parameters:
|
|
42
|
-
Metrics/
|
|
76
|
+
# Offense count: 2
|
|
77
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
78
|
+
Metrics/AbcSize:
|
|
43
79
|
Exclude:
|
|
44
80
|
- 'Rakefile'
|
|
45
|
-
- 'lib/metanorma/plugin/plantuml/block_processor.rb'
|
|
46
|
-
- 'lib/metanorma/plugin/plantuml/image_block_macro_processor.rb'
|
|
47
|
-
- 'lib/metanorma/plugin/plantuml/wrapper.rb'
|
|
48
81
|
|
|
49
82
|
# Offense count: 1
|
|
50
83
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
51
84
|
Metrics/PerceivedComplexity:
|
|
52
85
|
Exclude:
|
|
53
86
|
- 'Rakefile'
|
|
87
|
+
|
|
88
|
+
# Offense count: 1
|
|
89
|
+
Performance/MapMethodChain:
|
|
90
|
+
Exclude:
|
|
91
|
+
- 'lib/metanorma/plugin/plantuml/block_processor_base.rb'
|
|
92
|
+
|
|
93
|
+
# Offense count: 1
|
|
94
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
95
|
+
Performance/UnfreezeString:
|
|
96
|
+
Exclude:
|
|
97
|
+
- 'spec/metanorma/plugin/plantuml/individual_fixture_tests_spec.rb'
|
|
98
|
+
|
|
99
|
+
# Offense count: 1
|
|
100
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
101
|
+
Style/RedundantRegexpArgument:
|
|
102
|
+
Exclude:
|
|
103
|
+
- 'spec/metanorma/plugin/plantuml/plantuml_integration_spec.rb'
|
|
104
|
+
|
|
105
|
+
# Offense count: 2
|
|
106
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
107
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
108
|
+
# SupportedStyles: single_quotes, double_quotes
|
|
109
|
+
Style/StringLiterals:
|
|
110
|
+
Exclude:
|
|
111
|
+
- 'metanorma-plugin-plantuml.gemspec'
|
data/Gemfile
CHANGED
|
@@ -6,8 +6,9 @@ gemspec
|
|
|
6
6
|
|
|
7
7
|
gem "benchmark"
|
|
8
8
|
gem "canon"
|
|
9
|
-
gem "metanorma"
|
|
10
|
-
gem "metanorma-
|
|
9
|
+
gem "metanorma", github: "metanorma/metanorma", branch: "main"
|
|
10
|
+
gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "fix/ruby-4.0"
|
|
11
|
+
gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
|
|
11
12
|
gem "octokit"
|
|
12
13
|
gem "rake"
|
|
13
14
|
gem "rspec"
|
|
@@ -120,7 +120,7 @@ module Metanorma
|
|
|
120
120
|
|
|
121
121
|
def generate_to_file(content, format, output_file, options)
|
|
122
122
|
output_dir = File.dirname(output_file)
|
|
123
|
-
FileUtils.mkdir_p(output_dir)
|
|
123
|
+
FileUtils.mkdir_p(output_dir)
|
|
124
124
|
|
|
125
125
|
execute_plantuml(content, format, output_file, options)
|
|
126
126
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-plugin-plantuml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: asciidoctor
|
|
@@ -38,7 +38,6 @@ files:
|
|
|
38
38
|
- ".rubocop.yml"
|
|
39
39
|
- ".rubocop_todo.yml"
|
|
40
40
|
- Gemfile
|
|
41
|
-
- Gemfile.devel
|
|
42
41
|
- LICENSE
|
|
43
42
|
- README.adoc
|
|
44
43
|
- Rakefile
|
|
@@ -63,7 +62,8 @@ files:
|
|
|
63
62
|
homepage: https://github.com/metanorma/metanorma-plugin-plantuml
|
|
64
63
|
licenses:
|
|
65
64
|
- BSD-2-Clause
|
|
66
|
-
metadata:
|
|
65
|
+
metadata:
|
|
66
|
+
rubygems_mfa_required: 'true'
|
|
67
67
|
post_install_message:
|
|
68
68
|
rdoc_options: []
|
|
69
69
|
require_paths:
|
data/Gemfile.devel
DELETED