metanorma-release 0.2.23 → 0.2.25
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 +21 -319
- data/README.adoc +306 -91
- data/lib/metanorma/release/aggregation_pipeline.rb +65 -40
- data/lib/metanorma/release/asset_processor.rb +0 -2
- data/lib/metanorma/release/cache_store.rb +1 -0
- data/lib/metanorma/release/change_detector.rb +3 -2
- data/lib/metanorma/release/cli.rb +26 -2
- data/lib/metanorma/release/commands/aggregate.rb +0 -16
- data/lib/metanorma/release/commands/package.rb +9 -17
- data/lib/metanorma/release/commands/release_command.rb +19 -14
- data/lib/metanorma/release/config.rb +16 -7
- data/lib/metanorma/release/dependency_validation.rb +19 -0
- data/lib/metanorma/release/document_flattener.rb +173 -0
- data/lib/metanorma/release/index.rb +1 -1
- data/lib/metanorma/release/interfaces.rb +12 -0
- data/lib/metanorma/release/platform/github/manifest_reader.rb +3 -1
- data/lib/metanorma/release/platform/github/release_fetcher.rb +4 -10
- data/lib/metanorma/release/platform/github/topic_discoverer.rb +1 -1
- data/lib/metanorma/release/platform/github.rb +0 -4
- data/lib/metanorma/release/platform/local/fetcher.rb +5 -17
- data/lib/metanorma/release/platform/null/manifest_reader.rb +15 -0
- data/lib/metanorma/release/platform/null/publisher.rb +1 -1
- data/lib/metanorma/release/platform/null.rb +2 -0
- data/lib/metanorma/release/platform/static_discoverer.rb +19 -0
- data/lib/metanorma/release/platform.rb +1 -0
- data/lib/metanorma/release/platform_factory.rb +6 -21
- data/lib/metanorma/release/publication.rb +23 -161
- data/lib/metanorma/release/publication_serializer.rb +59 -0
- data/lib/metanorma/release/release_pipeline.rb +7 -15
- data/lib/metanorma/release/rxl_extractor.rb +106 -0
- data/lib/metanorma/release/site.rb +4 -154
- data/lib/metanorma/release/slug_strategy.rb +30 -15
- data/lib/metanorma/release/version.rb +1 -1
- data/lib/metanorma/release.rb +36 -19
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d042d82fb6c1175f03ccb4534e040db56ca33378c116e316937a873c275c2219
|
|
4
|
+
data.tar.gz: cefa7d75ac920f733ad39c5161557baf40533f21660b2341d0a95a76a678e32a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae3fe6c644f91c61fb4e8192ff312a42d94fe0c52e08701d5d54edb73de7048837ba06e3e77757ff96eba3a0a9ac93222c18a8aec7b8bbd23abe966f18a5b1be
|
|
7
|
+
data.tar.gz: 052b5bdb91acdaaa8a98248f734f534408cfea074ca4a819fc2bad003a1f076b26a9ac25819df2e0949b48b681192772c2efa81264dafe40d686468f9a24f2d1
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2026-
|
|
3
|
+
# on 2026-06-01 10:14:13 UTC using RuboCop version 1.86.2.
|
|
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
|
-
# Offense count: 2
|
|
10
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
11
|
-
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
|
|
12
|
-
Bundler/OrderedGems:
|
|
13
|
-
Exclude:
|
|
14
|
-
- 'Gemfile'
|
|
15
|
-
|
|
16
|
-
# Offense count: 2
|
|
17
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
18
|
-
Gemspec/AddRuntimeDependency:
|
|
19
|
-
Exclude:
|
|
20
|
-
- 'metanorma-release.gemspec'
|
|
21
|
-
|
|
22
9
|
# Offense count: 2
|
|
23
10
|
# Configuration parameters: EnforcedStyle, AllowedGems.
|
|
24
11
|
# SupportedStyles: Gemfile, gems.rb, gemspec
|
|
@@ -31,201 +18,20 @@ Gemspec/RequiredRubyVersion:
|
|
|
31
18
|
Exclude:
|
|
32
19
|
- 'metanorma-release.gemspec'
|
|
33
20
|
|
|
34
|
-
# Offense count:
|
|
35
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
36
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
37
|
-
# SupportedStyles: with_first_argument, with_fixed_indentation
|
|
38
|
-
Layout/ArgumentAlignment:
|
|
39
|
-
Enabled: false
|
|
40
|
-
|
|
41
|
-
# Offense count: 2
|
|
42
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
43
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
44
|
-
# SupportedStyles: with_first_element, with_fixed_indentation
|
|
45
|
-
Layout/ArrayAlignment:
|
|
46
|
-
Exclude:
|
|
47
|
-
- 'lib/metanorma/release/platform/local/fetcher.rb'
|
|
48
|
-
- 'spec/cli_spec.rb'
|
|
49
|
-
|
|
50
|
-
# Offense count: 1
|
|
51
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
52
|
-
# Configuration parameters: IndentationWidth.
|
|
53
|
-
Layout/AssignmentIndentation:
|
|
54
|
-
Exclude:
|
|
55
|
-
- 'metanorma-release.gemspec'
|
|
56
|
-
|
|
57
|
-
# Offense count: 19
|
|
58
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
59
|
-
# Configuration parameters: EnforcedStyleAlignWith.
|
|
60
|
-
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
|
61
|
-
Layout/BlockAlignment:
|
|
62
|
-
Exclude:
|
|
63
|
-
- 'lib/metanorma/release/channel_filter.rb'
|
|
64
|
-
- 'lib/metanorma/release/cli.rb'
|
|
65
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
66
|
-
- 'lib/metanorma/release/index.rb'
|
|
67
|
-
- 'lib/metanorma/release/platform/github/publisher.rb'
|
|
68
|
-
- 'lib/metanorma/release/platform_factory.rb'
|
|
69
|
-
- 'lib/metanorma/release/release_pipeline.rb'
|
|
70
|
-
- 'lib/metanorma/release/zip_packager.rb'
|
|
71
|
-
- 'spec/aggregation/delta_state_spec.rb'
|
|
72
|
-
- 'spec/aggregation/file_routing_spec.rb'
|
|
73
|
-
- 'spec/cli_spec.rb'
|
|
74
|
-
- 'spec/domain/config_spec.rb'
|
|
75
|
-
- 'spec/domain/repo_ref_spec.rb'
|
|
76
|
-
- 'spec/platform_factory_spec.rb'
|
|
77
|
-
|
|
78
|
-
# Offense count: 19
|
|
79
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
80
|
-
Layout/BlockEndNewline:
|
|
81
|
-
Exclude:
|
|
82
|
-
- 'lib/metanorma/release/channel_filter.rb'
|
|
83
|
-
- 'lib/metanorma/release/cli.rb'
|
|
84
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
85
|
-
- 'lib/metanorma/release/index.rb'
|
|
86
|
-
- 'lib/metanorma/release/platform/github/publisher.rb'
|
|
87
|
-
- 'lib/metanorma/release/platform_factory.rb'
|
|
88
|
-
- 'lib/metanorma/release/release_pipeline.rb'
|
|
89
|
-
- 'lib/metanorma/release/zip_packager.rb'
|
|
90
|
-
- 'spec/aggregation/delta_state_spec.rb'
|
|
91
|
-
- 'spec/aggregation/file_routing_spec.rb'
|
|
92
|
-
- 'spec/cli_spec.rb'
|
|
93
|
-
- 'spec/domain/config_spec.rb'
|
|
94
|
-
- 'spec/domain/repo_ref_spec.rb'
|
|
95
|
-
- 'spec/platform_factory_spec.rb'
|
|
96
|
-
|
|
97
|
-
# Offense count: 3
|
|
98
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
99
|
-
# Configuration parameters: IndentationWidth.
|
|
100
|
-
Layout/ClosingParenthesisIndentation:
|
|
101
|
-
Exclude:
|
|
102
|
-
- 'spec/integration/file_routing_spec.rb'
|
|
103
|
-
- 'spec/integration/local_round_trip_spec.rb'
|
|
104
|
-
- 'spec/integration/release_publish_spec.rb'
|
|
105
|
-
|
|
106
|
-
# Offense count: 1
|
|
107
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
108
|
-
Layout/ElseAlignment:
|
|
109
|
-
Exclude:
|
|
110
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
111
|
-
|
|
112
|
-
# Offense count: 3
|
|
113
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
114
|
-
Layout/EmptyLines:
|
|
115
|
-
Exclude:
|
|
116
|
-
- 'lib/metanorma/release/delta_state.rb'
|
|
117
|
-
- 'spec/platform/local/fetcher_spec.rb'
|
|
118
|
-
- 'spec/platform/local/publisher_spec.rb'
|
|
119
|
-
|
|
120
|
-
# Offense count: 1
|
|
121
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
122
|
-
Layout/EmptyLinesAfterModuleInclusion:
|
|
123
|
-
Exclude:
|
|
124
|
-
- 'lib/metanorma/release/platform_factory.rb'
|
|
125
|
-
|
|
126
|
-
# Offense count: 1
|
|
127
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
128
|
-
# Configuration parameters: EnforcedStyleAlignWith.
|
|
129
|
-
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
|
130
|
-
Layout/EndAlignment:
|
|
131
|
-
Exclude:
|
|
132
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
133
|
-
|
|
134
|
-
# Offense count: 3
|
|
135
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
136
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
137
|
-
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
|
138
|
-
Layout/FirstArgumentIndentation:
|
|
139
|
-
Exclude:
|
|
140
|
-
- 'spec/integration/file_routing_spec.rb'
|
|
141
|
-
- 'spec/integration/local_round_trip_spec.rb'
|
|
142
|
-
- 'spec/integration/release_publish_spec.rb'
|
|
143
|
-
|
|
144
|
-
# Offense count: 68
|
|
145
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
146
|
-
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
|
147
|
-
# SupportedHashRocketStyles: key, separator, table
|
|
148
|
-
# SupportedColonStyles: key, separator, table
|
|
149
|
-
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
|
150
|
-
Layout/HashAlignment:
|
|
151
|
-
Enabled: false
|
|
152
|
-
|
|
153
|
-
# Offense count: 40
|
|
154
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
155
|
-
# Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
|
|
156
|
-
# SupportedStylesAlignWith: start_of_line, relative_to_receiver
|
|
157
|
-
Layout/IndentationWidth:
|
|
158
|
-
Exclude:
|
|
159
|
-
- 'lib/metanorma/release/channel_filter.rb'
|
|
160
|
-
- 'lib/metanorma/release/cli.rb'
|
|
161
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
162
|
-
- 'lib/metanorma/release/index.rb'
|
|
163
|
-
- 'lib/metanorma/release/platform/github/publisher.rb'
|
|
164
|
-
- 'lib/metanorma/release/platform_factory.rb'
|
|
165
|
-
- 'lib/metanorma/release/release_pipeline.rb'
|
|
166
|
-
- 'lib/metanorma/release/zip_packager.rb'
|
|
167
|
-
- 'spec/aggregation/delta_state_spec.rb'
|
|
168
|
-
- 'spec/aggregation/file_routing_spec.rb'
|
|
169
|
-
- 'spec/cli_spec.rb'
|
|
170
|
-
- 'spec/domain/config_spec.rb'
|
|
171
|
-
- 'spec/domain/repo_ref_spec.rb'
|
|
172
|
-
- 'spec/platform_factory_spec.rb'
|
|
173
|
-
|
|
174
|
-
# Offense count: 234
|
|
21
|
+
# Offense count: 134
|
|
175
22
|
# This cop supports safe autocorrection (--autocorrect).
|
|
176
23
|
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
177
24
|
# URISchemes: http, https
|
|
178
25
|
Layout/LineLength:
|
|
179
26
|
Enabled: false
|
|
180
27
|
|
|
181
|
-
# Offense count:
|
|
182
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
183
|
-
# Configuration parameters: EnforcedStyle.
|
|
184
|
-
# SupportedStyles: symmetrical, new_line, same_line
|
|
185
|
-
Layout/MultilineMethodCallBraceLayout:
|
|
186
|
-
Exclude:
|
|
187
|
-
- 'spec/integration/file_routing_spec.rb'
|
|
188
|
-
- 'spec/integration/local_round_trip_spec.rb'
|
|
189
|
-
- 'spec/integration/release_publish_spec.rb'
|
|
190
|
-
|
|
191
|
-
# Offense count: 7
|
|
192
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
193
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
194
|
-
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
|
195
|
-
Layout/MultilineMethodCallIndentation:
|
|
196
|
-
Exclude:
|
|
197
|
-
- 'lib/metanorma/release/asset_processor.rb'
|
|
198
|
-
- 'lib/metanorma/release/cache_store.rb'
|
|
199
|
-
- 'lib/metanorma/release/publication.rb'
|
|
200
|
-
|
|
201
|
-
# Offense count: 110
|
|
202
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
203
|
-
# Configuration parameters: AllowInHeredoc.
|
|
204
|
-
Layout/TrailingWhitespace:
|
|
205
|
-
Enabled: false
|
|
206
|
-
|
|
207
|
-
# Offense count: 4
|
|
208
|
-
Lint/IneffectiveAccessModifier:
|
|
209
|
-
Exclude:
|
|
210
|
-
- 'lib/metanorma/release/publication.rb'
|
|
211
|
-
|
|
212
|
-
# Offense count: 5
|
|
213
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
214
|
-
Lint/NonAtomicFileOperation:
|
|
215
|
-
Exclude:
|
|
216
|
-
- 'lib/metanorma/release/cache_store.rb'
|
|
217
|
-
- 'lib/metanorma/release/platform/local/publisher.rb'
|
|
218
|
-
- 'lib/metanorma/release/zip_packager.rb'
|
|
219
|
-
- 'spec/platform/local/fetcher_spec.rb'
|
|
220
|
-
|
|
221
|
-
# Offense count: 3
|
|
28
|
+
# Offense count: 2
|
|
222
29
|
Lint/StructNewOverride:
|
|
223
30
|
Exclude:
|
|
224
|
-
- 'lib/metanorma/release/
|
|
225
|
-
- 'lib/metanorma/release/platform/local/fetcher.rb'
|
|
31
|
+
- 'lib/metanorma/release/interfaces.rb'
|
|
226
32
|
- 'lib/metanorma/release/zip_packager.rb'
|
|
227
33
|
|
|
228
|
-
# Offense count:
|
|
34
|
+
# Offense count: 8
|
|
229
35
|
# This cop supports safe autocorrection (--autocorrect).
|
|
230
36
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
|
231
37
|
# NotImplementedExceptions: NotImplementedError
|
|
@@ -236,9 +42,10 @@ Lint/UnusedMethodArgument:
|
|
|
236
42
|
- 'lib/metanorma/release/platform/local/publisher.rb'
|
|
237
43
|
- 'lib/metanorma/release/platform/null/publisher.rb'
|
|
238
44
|
- 'spec/aggregation/aggregation_pipeline_spec.rb'
|
|
45
|
+
- 'spec/domain/config_spec.rb'
|
|
239
46
|
- 'spec/release/release_pipeline_spec.rb'
|
|
240
47
|
|
|
241
|
-
# Offense count:
|
|
48
|
+
# Offense count: 33
|
|
242
49
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
243
50
|
Metrics/AbcSize:
|
|
244
51
|
Enabled: false
|
|
@@ -249,21 +56,21 @@ Metrics/AbcSize:
|
|
|
249
56
|
Metrics/BlockLength:
|
|
250
57
|
Max: 29
|
|
251
58
|
|
|
252
|
-
# Offense count:
|
|
59
|
+
# Offense count: 10
|
|
253
60
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
254
61
|
Metrics/CyclomaticComplexity:
|
|
255
62
|
Exclude:
|
|
256
63
|
- 'lib/metanorma/release/aggregation_pipeline.rb'
|
|
257
64
|
- 'lib/metanorma/release/commands/aggregate.rb'
|
|
258
65
|
- 'lib/metanorma/release/config.rb'
|
|
259
|
-
- 'lib/metanorma/release/
|
|
66
|
+
- 'lib/metanorma/release/document_flattener.rb'
|
|
260
67
|
- 'lib/metanorma/release/release_pipeline.rb'
|
|
261
|
-
- 'lib/metanorma/release/
|
|
68
|
+
- 'lib/metanorma/release/rxl_extractor.rb'
|
|
262
69
|
|
|
263
|
-
# Offense count:
|
|
70
|
+
# Offense count: 36
|
|
264
71
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
265
72
|
Metrics/MethodLength:
|
|
266
|
-
Max:
|
|
73
|
+
Max: 44
|
|
267
74
|
|
|
268
75
|
# Offense count: 2
|
|
269
76
|
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
|
@@ -277,8 +84,8 @@ Metrics/PerceivedComplexity:
|
|
|
277
84
|
- 'lib/metanorma/release/aggregation_pipeline.rb'
|
|
278
85
|
- 'lib/metanorma/release/commands/aggregate.rb'
|
|
279
86
|
- 'lib/metanorma/release/config.rb'
|
|
280
|
-
- 'lib/metanorma/release/publication.rb'
|
|
281
87
|
- 'lib/metanorma/release/release_pipeline.rb'
|
|
88
|
+
- 'lib/metanorma/release/rxl_extractor.rb'
|
|
282
89
|
|
|
283
90
|
# Offense count: 1
|
|
284
91
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
@@ -297,139 +104,34 @@ RSpec/DescribeClass:
|
|
|
297
104
|
- 'spec/integration/local_round_trip_spec.rb'
|
|
298
105
|
- 'spec/integration/release_publish_spec.rb'
|
|
299
106
|
|
|
300
|
-
# Offense count:
|
|
301
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
302
|
-
RSpec/EmptyLineAfterFinalLet:
|
|
303
|
-
Exclude:
|
|
304
|
-
- 'spec/integration/delta_dedup_spec.rb'
|
|
305
|
-
- 'spec/integration/local_round_trip_spec.rb'
|
|
306
|
-
- 'spec/platform/local/directory_discoverer_spec.rb'
|
|
307
|
-
- 'spec/platform/local/fetcher_spec.rb'
|
|
308
|
-
- 'spec/platform/local/publisher_spec.rb'
|
|
309
|
-
|
|
310
|
-
# Offense count: 79
|
|
107
|
+
# Offense count: 108
|
|
311
108
|
# Configuration parameters: CountAsOne.
|
|
312
109
|
RSpec/ExampleLength:
|
|
313
110
|
Max: 59
|
|
314
111
|
|
|
315
|
-
# Offense count:
|
|
112
|
+
# Offense count: 8
|
|
316
113
|
RSpec/MultipleDescribes:
|
|
317
114
|
Exclude:
|
|
318
115
|
- 'spec/aggregation/cache_store_spec.rb'
|
|
319
116
|
- 'spec/aggregation/delta_state_spec.rb'
|
|
320
117
|
- 'spec/aggregation/file_routing_spec.rb'
|
|
118
|
+
- 'spec/domain/config_spec.rb'
|
|
321
119
|
- 'spec/domain/publication_spec.rb'
|
|
120
|
+
- 'spec/domain/shared_types_spec.rb'
|
|
322
121
|
- 'spec/domain/slug_strategy_spec.rb'
|
|
122
|
+
- 'spec/platform_factory_spec.rb'
|
|
323
123
|
|
|
324
|
-
# Offense count:
|
|
124
|
+
# Offense count: 85
|
|
325
125
|
RSpec/MultipleExpectations:
|
|
326
|
-
Max:
|
|
126
|
+
Max: 10
|
|
327
127
|
|
|
328
128
|
# Offense count: 1
|
|
329
129
|
# Configuration parameters: AllowSubject.
|
|
330
130
|
RSpec/MultipleMemoizedHelpers:
|
|
331
131
|
Max: 7
|
|
332
132
|
|
|
333
|
-
# Offense count:
|
|
334
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
335
|
-
RSpec/ScatteredLet:
|
|
336
|
-
Exclude:
|
|
337
|
-
- 'spec/platform/local/fetcher_spec.rb'
|
|
338
|
-
- 'spec/platform/local/publisher_spec.rb'
|
|
339
|
-
|
|
340
|
-
# Offense count: 25
|
|
133
|
+
# Offense count: 29
|
|
341
134
|
# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata, InflectorPath, EnforcedInflector.
|
|
342
135
|
# SupportedInflectors: default, active_support
|
|
343
136
|
RSpec/SpecFilePathFormat:
|
|
344
137
|
Enabled: false
|
|
345
|
-
|
|
346
|
-
# Offense count: 23
|
|
347
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
348
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
|
349
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
|
350
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
|
351
|
-
# FunctionalMethods: let, let!, subject, watch
|
|
352
|
-
# AllowedMethods: lambda, proc, it
|
|
353
|
-
Style/BlockDelimiters:
|
|
354
|
-
Exclude:
|
|
355
|
-
- 'lib/metanorma/release/channel_filter.rb'
|
|
356
|
-
- 'lib/metanorma/release/cli.rb'
|
|
357
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
358
|
-
- 'lib/metanorma/release/index.rb'
|
|
359
|
-
- 'lib/metanorma/release/platform/github/publisher.rb'
|
|
360
|
-
- 'lib/metanorma/release/release_pipeline.rb'
|
|
361
|
-
- 'lib/metanorma/release/zip_packager.rb'
|
|
362
|
-
- 'spec/aggregation/delta_state_spec.rb'
|
|
363
|
-
- 'spec/aggregation/file_routing_spec.rb'
|
|
364
|
-
- 'spec/cli_spec.rb'
|
|
365
|
-
- 'spec/domain/config_spec.rb'
|
|
366
|
-
- 'spec/domain/repo_ref_spec.rb'
|
|
367
|
-
- 'spec/platform_factory_spec.rb'
|
|
368
|
-
|
|
369
|
-
# Offense count: 1
|
|
370
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
371
|
-
# Configuration parameters: EnforcedStyle, AllowedParentClasses.
|
|
372
|
-
# SupportedStyles: class_keyword, class_new, class_definition
|
|
373
|
-
Style/EmptyClassDefinition:
|
|
374
|
-
Exclude:
|
|
375
|
-
- 'lib/metanorma/release/index.rb'
|
|
376
|
-
|
|
377
|
-
# Offense count: 13
|
|
378
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
379
|
-
Style/MultilineIfModifier:
|
|
380
|
-
Exclude:
|
|
381
|
-
- 'lib/metanorma/release/cli.rb'
|
|
382
|
-
- 'lib/metanorma/release/config.rb'
|
|
383
|
-
- 'lib/metanorma/release/file_routing.rb'
|
|
384
|
-
- 'lib/metanorma/release/index.rb'
|
|
385
|
-
- 'lib/metanorma/release/platform/local/fetcher.rb'
|
|
386
|
-
- 'lib/metanorma/release/platform_factory.rb'
|
|
387
|
-
- 'lib/metanorma/release/publication.rb'
|
|
388
|
-
- 'lib/metanorma/release/repo_ref.rb'
|
|
389
|
-
|
|
390
|
-
# Offense count: 1
|
|
391
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
392
|
-
Style/MultilineTernaryOperator:
|
|
393
|
-
Exclude:
|
|
394
|
-
- 'lib/metanorma/release/content_hash.rb'
|
|
395
|
-
|
|
396
|
-
# Offense count: 1
|
|
397
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
398
|
-
# Configuration parameters: AllowComments.
|
|
399
|
-
Style/RedundantInitialize:
|
|
400
|
-
Exclude:
|
|
401
|
-
- 'lib/metanorma/release/delta_state.rb'
|
|
402
|
-
|
|
403
|
-
# Offense count: 1628
|
|
404
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
405
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
406
|
-
# SupportedStyles: single_quotes, double_quotes
|
|
407
|
-
Style/StringLiterals:
|
|
408
|
-
Enabled: false
|
|
409
|
-
|
|
410
|
-
# Offense count: 42
|
|
411
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
412
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
|
413
|
-
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
414
|
-
Style/TrailingCommaInArguments:
|
|
415
|
-
Enabled: false
|
|
416
|
-
|
|
417
|
-
# Offense count: 1
|
|
418
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
419
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
|
420
|
-
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
421
|
-
Style/TrailingCommaInArrayLiteral:
|
|
422
|
-
Exclude:
|
|
423
|
-
- 'spec/platform/github/release_fetcher_spec.rb'
|
|
424
|
-
|
|
425
|
-
# Offense count: 11
|
|
426
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
427
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
|
428
|
-
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
429
|
-
Style/TrailingCommaInHashLiteral:
|
|
430
|
-
Exclude:
|
|
431
|
-
- 'lib/metanorma/release/commands/aggregate.rb'
|
|
432
|
-
- 'lib/metanorma/release/delta_state.rb'
|
|
433
|
-
- 'lib/metanorma/release/file_routing.rb'
|
|
434
|
-
- 'lib/metanorma/release/index.rb'
|
|
435
|
-
- 'lib/metanorma/release/platform_factory.rb'
|