11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-10-16 16:43:25 UTC using RuboCop version 1.66.1.
3+ # on 2025-02-12 18:53:52 UTC using RuboCop version 1.66.1.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9- # Offense count: 8
9+ # Offense count: 7
1010# Configuration parameters: EnforcedStyle, AllowedGems, Include.
1111# SupportedStyles: Gemfile, gems.rb, gemspec
1212# Include: **/*.gemspec, **/Gemfile, **/gems.rb
@@ -21,87 +21,77 @@ Gemspec/RequiredRubyVersion:
2121 Exclude :
2222 - ' ruby-hl7.gemspec'
2323
24- # Offense count: 2
25- # This cop supports safe autocorrection (--autocorrect).
26- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
27- # SupportedStyles: space, no_space
28- # SupportedStylesForEmptyBraces: space, no_space
29- Layout/SpaceInsideBlockBraces :
30- Exclude :
31- - ' lib/message.rb'
32- - ' lib/segment.rb'
33-
3424# Offense count: 1
3525# Configuration parameters: AllowedMethods.
3626# AllowedMethods: enums
3727Lint/ConstantDefinitionInBlock :
3828 Exclude :
3929 - ' spec/segment_field_spec.rb'
4030
41- # Offense count: 3
31+ # Offense count: 8
4232Lint/IneffectiveAccessModifier :
4333 Exclude :
44- - ' lib/segment.rb'
34+ - ' lib/hl7/message/segment.rb'
35+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
4536
4637# Offense count: 2
4738Lint/ShadowingOuterLocalVariable :
4839 Exclude :
4940 - ' Rakefile'
5041
51- # Offense count: 1
42+ # Offense count: 2
5243# Configuration parameters: AllowKeywordBlockArguments.
5344Lint/UnderscorePrefixedVariableName :
5445 Exclude :
55- - ' lib/message_parser.rb'
46+ - ' lib/hl7/message_batch_parser.rb'
47+ - ' pkg/ruby-hl7-1.4.0/lib/message_parser.rb'
5648
57- # Offense count: 2
49+ # Offense count: 4
5850# This cop supports safe autocorrection (--autocorrect).
5951# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
6052Lint/Void :
6153 Exclude :
62- - ' lib/message.rb'
63- - ' lib/segment.rb'
54+ - ' lib/hl7/message.rb'
55+ - ' lib/hl7/message/segment.rb'
56+ - ' pkg/ruby-hl7-1.4.0/lib/message.rb'
57+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
6458
65- # Offense count: 1
59+ # Offense count: 2
6660Naming/AccessorMethodName :
6761 Exclude :
68- - ' lib/segment_generator.rb'
62+ - ' lib/hl7/message/segment_generator.rb'
63+ - ' pkg/ruby-hl7-1.4.0/lib/segment_generator.rb'
6964
7065# Offense count: 2
71- # This cop supports safe autocorrection (--autocorrect).
72- # Configuration parameters: EnforcedStyle, BlockForwardingName.
73- # SupportedStyles: anonymous, explicit
74- Naming/BlockForwarding :
75- Exclude :
76- - ' lib/message.rb'
77- - ' lib/segment.rb'
78-
79- # Offense count: 1
8066# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
8167# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
8268# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
8369Naming/FileName :
8470 Exclude :
8571 - ' Rakefile.rb'
8672 - ' lib/ruby-hl7.rb'
73+ - ' pkg/ruby-hl7-1.4.0/lib/ruby-hl7.rb'
8774
88- # Offense count: 3
75+ # Offense count: 6
8976# Configuration parameters: ForbiddenDelimiters.
9077# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
9178Naming/HeredocDelimiterNaming :
9279 Exclude :
93- - ' lib/segment.rb'
94- - ' lib/segment_fields.rb'
80+ - ' lib/hl7/message/segment.rb'
81+ - ' lib/hl7/message/segment_fields.rb'
82+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
83+ - ' pkg/ruby-hl7-1.4.0/lib/segment_fields.rb'
9584
96- # Offense count: 1
85+ # Offense count: 2
9786# This cop supports unsafe autocorrection (--autocorrect-all).
9887# Configuration parameters: EnforcedStyleForLeadingUnderscores.
9988# SupportedStylesForLeadingUnderscores: disallowed, required, optional
10089Naming/MemoizedInstanceVariableName :
10190 Exclude :
102- - ' lib/segment.rb'
91+ - ' lib/hl7/message/segment.rb'
92+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
10393
104- # Offense count: 3
94+ # Offense count: 6
10595# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
10696# NamePrefix: is_, has_, have_
10797# ForbiddenPrefixes: is_, has_, have_
@@ -110,31 +100,36 @@ Naming/MemoizedInstanceVariableName:
110100Naming/PredicateName :
111101 Exclude :
112102 - ' spec/**/*'
113- - ' lib/segment.rb'
114- - ' lib/segment_list_storage.rb'
103+ - ' lib/hl7/message/segment.rb'
104+ - ' lib/hl7/message/segment_list_storage.rb'
105+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
106+ - ' pkg/ruby-hl7-1.4.0/lib/segment_list_storage.rb'
115107
116- # Offense count: 18
108+ # Offense count: 34
117109# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
118110# SupportedStyles: snake_case, normalcase, non_integer
119111# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
120112Naming/VariableNumber :
121113 Exclude :
122- - ' lib/segments /obr.rb'
114+ - ' lib/hl7/message/segment /obr.rb'
123115 - ' lib/test/hl7_messages.rb'
116+ - ' pkg/ruby-hl7-1.4.0/lib/segments/obr.rb'
117+ - ' pkg/ruby-hl7-1.4.0/lib/test/hl7_messages.rb'
124118 - ' spec/core_ext/date_time_spec.rb'
125119
126- # Offense count: 4
120+ # Offense count: 6
127121# This cop supports unsafe autocorrection (--autocorrect-all).
128122Performance/StringInclude :
129123 Exclude :
130- - ' lib/message_parser.rb'
124+ - ' lib/hl7/message_batch_parser.rb'
125+ - ' pkg/ruby-hl7-1.4.0/lib/message_parser.rb'
131126 - ' spec/child_segment_spec.rb'
132127
133- # Offense count: 27
128+ # Offense count: 26
134129RSpec/BeforeAfterAll :
135130 Enabled : false
136131
137- # Offense count: 32
132+ # Offense count: 31
138133# Configuration parameters: Prefixes, AllowedPatterns.
139134# Prefixes: when, with, without
140135RSpec/ContextWording :
@@ -154,14 +149,14 @@ RSpec/DescribeClass:
154149 - ' spec/dynamic_segment_def_spec.rb'
155150 - ' spec/messages_spec.rb'
156151
157- # Offense count: 100
152+ # Offense count: 106
158153# This cop supports unsafe autocorrection (--autocorrect-all).
159154# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
160155# SupportedStyles: described_class, explicit
161156RSpec/DescribedClass :
162157 Enabled : false
163158
164- # Offense count: 39
159+ # Offense count: 41
165160# Configuration parameters: CountAsOne.
166161RSpec/ExampleLength :
167162 Max : 39
@@ -172,7 +167,7 @@ RSpec/IndexedLet:
172167 Exclude :
173168 - ' spec/core_ext/date_time_spec.rb'
174169
175- # Offense count: 125
170+ # Offense count: 122
176171# Configuration parameters: AssignmentOnly.
177172RSpec/InstanceVariable :
178173 Enabled : false
@@ -190,7 +185,7 @@ RSpec/MultipleDescribes:
190185
191186# Offense count: 74
192187RSpec/MultipleExpectations :
193- Max : 39
188+ Max : 49
194189
195190# Offense count: 3
196191# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
@@ -200,7 +195,7 @@ RSpec/NamedSubject:
200195 - ' spec/core_ext/date_time_spec.rb'
201196 - ' spec/segment_list_storage_spec.rb'
202197
203- # Offense count: 2
198+ # Offense count: 6
204199# Configuration parameters: AllowedGroups.
205200RSpec/NestedGroups :
206201 Max : 4
@@ -212,42 +207,38 @@ RSpec/NoExpectationExample:
212207 Exclude :
213208 - ' spec/segment_list_storage_spec.rb'
214209
215- # Offense count: 34
210+ # Offense count: 37
216211# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
217212# Include: **/*_spec.rb
218213RSpec/SpecFilePathFormat :
219214 Enabled : false
220215
221- # Offense count: 2
216+ # Offense count: 4
222217Security/Eval :
223218 Exclude :
224- - ' lib/segment.rb'
225- - ' lib/segment_generator.rb'
219+ - ' lib/hl7/message/segment.rb'
220+ - ' lib/hl7/message/segment_generator.rb'
221+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
222+ - ' pkg/ruby-hl7-1.4.0/lib/segment_generator.rb'
226223
227- # Offense count: 49
224+ # Offense count: 102
228225# This cop supports unsafe autocorrection (--autocorrect-all).
229226# Configuration parameters: EnforcedStyle.
230227# SupportedStyles: nested, compact
231228Style/ClassAndModuleChildren :
232229 Enabled : false
233230
234- # Offense count: 2
231+ # Offense count: 4
235232Style/DocumentDynamicEvalDefinition :
236233 Exclude :
237- - ' lib/segment_fields.rb'
234+ - ' lib/hl7/message/segment_fields.rb'
235+ - ' pkg/ruby-hl7-1.4.0/lib/segment_fields.rb'
238236
239- # Offense count: 37
237+ # Offense count: 80
240238# Configuration parameters: AllowedConstants.
241239Style/Documentation :
242240 Enabled : false
243241
244- # Offense count: 2
245- # This cop supports safe autocorrection (--autocorrect).
246- Style/ExplicitBlockArgument :
247- Exclude :
248- - ' lib/message.rb'
249- - ' lib/segment.rb'
250-
251242# Offense count: 1
252243# This cop supports safe autocorrection (--autocorrect).
253244# Configuration parameters: EnforcedStyle.
@@ -263,29 +254,22 @@ Style/FormatString:
263254Style/FormatStringToken :
264255 EnforcedStyle : unannotated
265256
266- # Offense count: 5
267- # This cop supports safe autocorrection (--autocorrect).
268- Style/IfUnlessModifier :
269- Exclude :
270- - ' lib/message.rb'
271- - ' lib/segment_list_storage.rb'
272- - ' lib/segments/gt1.rb'
273- - ' lib/segments/pid.rb'
274-
275- # Offense count: 1
257+ # Offense count: 2
276258Style/MissingRespondToMissing :
277259 Exclude :
278- - ' lib/segment.rb'
260+ - ' lib/hl7/message/segment.rb'
261+ - ' pkg/ruby-hl7-1.4.0/lib/segment.rb'
279262
280- # Offense count: 1
263+ # Offense count: 2
281264# This cop supports unsafe autocorrection (--autocorrect-all).
282265# Configuration parameters: EnforcedStyle.
283266# SupportedStyles: literals, strict
284267Style/MutableConstant :
285268 Exclude :
286269 - ' lib/test/hl7_messages.rb'
270+ - ' pkg/ruby-hl7-1.4.0/lib/test/hl7_messages.rb'
287271
288- # Offense count: 35
272+ # Offense count: 53
289273# This cop supports safe autocorrection (--autocorrect).
290274# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
291275# URISchemes: http, https
0 commit comments