mais_person_client 0.0.1
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 +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +472 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +191 -0
- data/LICENSE +15 -0
- data/README.md +82 -0
- data/Rakefile +10 -0
- data/lib/mais_person_client/person.rb +376 -0
- data/lib/mais_person_client/unexpected_response.rb +26 -0
- data/lib/mais_person_client/version.rb +5 -0
- data/lib/mais_person_client.rb +86 -0
- data/mais_person_client.gemspec +55 -0
- metadata +335 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 21a49caa00804975de1f77ec3900b4da918532ae65938992015b7de7498109c3
|
|
4
|
+
data.tar.gz: a622be5a3473237e36b95f59867757b9de485aa171918486e061f812ec3e03d5
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 8fd1219a40c4e6eb38f0ccef53946d6f0d97ab88bf9076eab3c6c48138c5978c425076429ee5ad2cba4c1da0175ab1763788b93e1b6cddb1447e0242396d3ba3
|
|
7
|
+
data.tar.gz: dad511bb9d5e330152d147e38454994d2951998364938bdb7c0513239837e960f5e9468695b2fbfd52863f2c76d1ba54fd9c669e021d8a8bc9cccd57f9a3cdce
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
plugins:
|
|
2
|
+
- rubocop-capybara
|
|
3
|
+
- rubocop-factory_bot
|
|
4
|
+
- rubocop-performance
|
|
5
|
+
- rubocop-rspec
|
|
6
|
+
- rubocop-rspec_rails
|
|
7
|
+
|
|
8
|
+
AllCops:
|
|
9
|
+
TargetRubyVersion: 3.2
|
|
10
|
+
DisplayCopNames: true
|
|
11
|
+
SuggestExtensions: false
|
|
12
|
+
Exclude:
|
|
13
|
+
- bin/**
|
|
14
|
+
- vendor/bundle/**/*
|
|
15
|
+
|
|
16
|
+
# Per team developer playbook
|
|
17
|
+
RSpec/MultipleMemoizedHelpers:
|
|
18
|
+
Enabled: false
|
|
19
|
+
|
|
20
|
+
RSpec/BeEq: # new in 2.9.0
|
|
21
|
+
Enabled: true
|
|
22
|
+
RSpec/BeNil: # new in 2.9.0
|
|
23
|
+
Enabled: true
|
|
24
|
+
RSpec/ChangeByZero: # new in 2.11
|
|
25
|
+
Enabled: true
|
|
26
|
+
RSpec/ClassCheck: # new in 2.13
|
|
27
|
+
Enabled: true
|
|
28
|
+
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
|
29
|
+
Enabled: true
|
|
30
|
+
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
|
31
|
+
Enabled: true
|
|
32
|
+
RSpec/NoExpectationExample: # new in 2.13
|
|
33
|
+
Enabled: true
|
|
34
|
+
RSpec/SortMetadata: # new in 2.14
|
|
35
|
+
Enabled: true
|
|
36
|
+
RSpec/SubjectDeclaration: # new in 2.5
|
|
37
|
+
Enabled: true
|
|
38
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
|
39
|
+
Enabled: true
|
|
40
|
+
Capybara/NegationMatcher: # new in 2.14
|
|
41
|
+
Enabled: true
|
|
42
|
+
Capybara/SpecificActions: # new in 2.14
|
|
43
|
+
Enabled: true
|
|
44
|
+
Capybara/SpecificFinders: # new in 2.13
|
|
45
|
+
Enabled: true
|
|
46
|
+
Capybara/SpecificMatcher: # new in 2.12
|
|
47
|
+
Enabled: true
|
|
48
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
|
49
|
+
Enabled: true
|
|
50
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
|
51
|
+
Enabled: true
|
|
52
|
+
RSpecRails/AvoidSetupHook: # new in 2.4
|
|
53
|
+
Enabled: true
|
|
54
|
+
RSpecRails/HaveHttpStatus: # new in 2.12
|
|
55
|
+
Enabled: true
|
|
56
|
+
RSpecRails/InferredSpecType: # new in 2.14
|
|
57
|
+
Enabled: true
|
|
58
|
+
|
|
59
|
+
RSpec/MultipleExpectations:
|
|
60
|
+
Enabled: false
|
|
61
|
+
|
|
62
|
+
Capybara/MatchStyle: # new in 2.17
|
|
63
|
+
Enabled: true
|
|
64
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
|
65
|
+
Enabled: true
|
|
66
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
|
67
|
+
Enabled: true
|
|
68
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
|
69
|
+
Enabled: true
|
|
70
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
71
|
+
Enabled: true
|
|
72
|
+
RSpec/BeEmpty: # new in 2.20
|
|
73
|
+
Enabled: true
|
|
74
|
+
RSpec/ContainExactly: # new in 2.19
|
|
75
|
+
Enabled: true
|
|
76
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
|
77
|
+
Enabled: true
|
|
78
|
+
RSpec/IndexedLet: # new in 2.20
|
|
79
|
+
Enabled: true
|
|
80
|
+
RSpec/MatchArray: # new in 2.19
|
|
81
|
+
Enabled: true
|
|
82
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
|
83
|
+
Enabled: true
|
|
84
|
+
RSpec/RedundantAround: # new in 2.19
|
|
85
|
+
Enabled: true
|
|
86
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
|
87
|
+
Enabled: true
|
|
88
|
+
RSpecRails/MinitestAssertions: # new in 2.17
|
|
89
|
+
Enabled: true
|
|
90
|
+
RSpecRails/TravelAround: # new in 2.19
|
|
91
|
+
Enabled: true
|
|
92
|
+
|
|
93
|
+
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
94
|
+
Enabled: true
|
|
95
|
+
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
96
|
+
Enabled: false
|
|
97
|
+
Gemspec/RequireMFA: # new in 1.23
|
|
98
|
+
Enabled: true
|
|
99
|
+
Layout/LineContinuationLeadingSpace: # new in 1.31
|
|
100
|
+
Enabled: true
|
|
101
|
+
Layout/LineContinuationSpacing: # new in 1.31
|
|
102
|
+
Enabled: true
|
|
103
|
+
Layout/LineEndStringConcatenationIndentation: # new in 1.18
|
|
104
|
+
Enabled: true
|
|
105
|
+
Layout/SpaceBeforeBrackets: # new in 1.7
|
|
106
|
+
Enabled: true
|
|
107
|
+
Lint/AmbiguousAssignment: # new in 1.7
|
|
108
|
+
Enabled: true
|
|
109
|
+
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
|
110
|
+
Enabled: true
|
|
111
|
+
Lint/AmbiguousRange: # new in 1.19
|
|
112
|
+
Enabled: true
|
|
113
|
+
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
114
|
+
Enabled: true
|
|
115
|
+
Lint/DeprecatedConstants: # new in 1.8
|
|
116
|
+
Enabled: true
|
|
117
|
+
Lint/DuplicateBranch: # new in 1.3
|
|
118
|
+
Enabled: true
|
|
119
|
+
Lint/DuplicateMagicComment: # new in 1.37
|
|
120
|
+
Enabled: true
|
|
121
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
|
122
|
+
Enabled: true
|
|
123
|
+
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
|
|
124
|
+
Enabled: true
|
|
125
|
+
Lint/EmptyBlock: # new in 1.1
|
|
126
|
+
Enabled: true
|
|
127
|
+
Lint/EmptyClass: # new in 1.3
|
|
128
|
+
Enabled: true
|
|
129
|
+
Lint/EmptyInPattern: # new in 1.16
|
|
130
|
+
Enabled: true
|
|
131
|
+
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
|
132
|
+
Enabled: true
|
|
133
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
|
134
|
+
Enabled: true
|
|
135
|
+
Lint/LambdaWithoutLiteralBlock: # new in 1.8
|
|
136
|
+
Enabled: true
|
|
137
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
|
138
|
+
Enabled: true
|
|
139
|
+
Lint/MixedCaseRange: # new in 1.53
|
|
140
|
+
Enabled: true
|
|
141
|
+
Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
|
142
|
+
Enabled: true
|
|
143
|
+
Lint/NonAtomicFileOperation: # new in 1.31
|
|
144
|
+
Enabled: true
|
|
145
|
+
Lint/NumberedParameterAssignment: # new in 1.9
|
|
146
|
+
Enabled: true
|
|
147
|
+
Lint/OrAssignmentToConstant: # new in 1.9
|
|
148
|
+
Enabled: true
|
|
149
|
+
Lint/RedundantDirGlobSort: # new in 1.8
|
|
150
|
+
Enabled: true
|
|
151
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
|
152
|
+
Enabled: true
|
|
153
|
+
Lint/RefinementImportMethods: # new in 1.27
|
|
154
|
+
Enabled: true
|
|
155
|
+
Lint/RequireRangeParentheses: # new in 1.32
|
|
156
|
+
Enabled: true
|
|
157
|
+
Lint/RequireRelativeSelfPath: # new in 1.22
|
|
158
|
+
Enabled: true
|
|
159
|
+
Lint/SymbolConversion: # new in 1.9
|
|
160
|
+
Enabled: true
|
|
161
|
+
Lint/ToEnumArguments: # new in 1.1
|
|
162
|
+
Enabled: true
|
|
163
|
+
Lint/TripleQuotes: # new in 1.9
|
|
164
|
+
Enabled: true
|
|
165
|
+
Lint/UnexpectedBlockArity: # new in 1.5
|
|
166
|
+
Enabled: true
|
|
167
|
+
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
|
168
|
+
Enabled: true
|
|
169
|
+
Lint/UselessRescue: # new in 1.43
|
|
170
|
+
Enabled: true
|
|
171
|
+
Lint/UselessRuby2Keywords: # new in 1.23
|
|
172
|
+
Enabled: true
|
|
173
|
+
Metrics/CollectionLiteralLength: # new in 1.47
|
|
174
|
+
Enabled: true
|
|
175
|
+
Naming/BlockForwarding: # new in 1.24
|
|
176
|
+
Enabled: true
|
|
177
|
+
Security/CompoundHash: # new in 1.28
|
|
178
|
+
Enabled: true
|
|
179
|
+
Security/IoMethods: # new in 1.22
|
|
180
|
+
Enabled: true
|
|
181
|
+
Style/ArgumentsForwarding: # new in 1.1
|
|
182
|
+
Enabled: true
|
|
183
|
+
Style/ArrayIntersect: # new in 1.40
|
|
184
|
+
Enabled: true
|
|
185
|
+
Style/CollectionCompact: # new in 1.2
|
|
186
|
+
Enabled: true
|
|
187
|
+
Style/ComparableClamp: # new in 1.44
|
|
188
|
+
Enabled: true
|
|
189
|
+
Style/ConcatArrayLiterals: # new in 1.41
|
|
190
|
+
Enabled: true
|
|
191
|
+
Style/DataInheritance: # new in 1.49
|
|
192
|
+
Enabled: true
|
|
193
|
+
Style/DirEmpty: # new in 1.48
|
|
194
|
+
Enabled: true
|
|
195
|
+
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
|
196
|
+
Enabled: true
|
|
197
|
+
Style/EmptyHeredoc: # new in 1.32
|
|
198
|
+
Enabled: true
|
|
199
|
+
Style/EndlessMethod: # new in 1.8
|
|
200
|
+
Enabled: true
|
|
201
|
+
Style/EnvHome: # new in 1.29
|
|
202
|
+
Enabled: true
|
|
203
|
+
Style/ExactRegexpMatch: # new in 1.51
|
|
204
|
+
Enabled: true
|
|
205
|
+
Style/FetchEnvVar: # new in 1.28
|
|
206
|
+
Enabled: true
|
|
207
|
+
Style/FileEmpty: # new in 1.48
|
|
208
|
+
Enabled: true
|
|
209
|
+
Style/FileRead: # new in 1.24
|
|
210
|
+
Enabled: true
|
|
211
|
+
Style/FileWrite: # new in 1.24
|
|
212
|
+
Enabled: true
|
|
213
|
+
Style/HashConversion: # new in 1.10
|
|
214
|
+
Enabled: true
|
|
215
|
+
Style/HashExcept: # new in 1.7
|
|
216
|
+
Enabled: true
|
|
217
|
+
Style/IfWithBooleanLiteralBranches: # new in 1.9
|
|
218
|
+
Enabled: true
|
|
219
|
+
Style/InPatternThen: # new in 1.16
|
|
220
|
+
Enabled: true
|
|
221
|
+
Style/MagicCommentFormat: # new in 1.35
|
|
222
|
+
Enabled: true
|
|
223
|
+
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
224
|
+
Enabled: true
|
|
225
|
+
Style/MapToHash: # new in 1.24
|
|
226
|
+
Enabled: true
|
|
227
|
+
Style/MapToSet: # new in 1.42
|
|
228
|
+
Enabled: true
|
|
229
|
+
Style/MinMaxComparison: # new in 1.42
|
|
230
|
+
Enabled: true
|
|
231
|
+
Style/MultilineInPatternThen: # new in 1.16
|
|
232
|
+
Enabled: true
|
|
233
|
+
Style/NegatedIfElseCondition: # new in 1.2
|
|
234
|
+
Enabled: true
|
|
235
|
+
Style/NestedFileDirname: # new in 1.26
|
|
236
|
+
Enabled: true
|
|
237
|
+
Style/NilLambda: # new in 1.3
|
|
238
|
+
Enabled: true
|
|
239
|
+
Style/NumberedParameters: # new in 1.22
|
|
240
|
+
Enabled: true
|
|
241
|
+
Style/NumberedParametersLimit: # new in 1.22
|
|
242
|
+
Enabled: true
|
|
243
|
+
Style/ObjectThen: # new in 1.28
|
|
244
|
+
Enabled: true
|
|
245
|
+
Style/OpenStructUse: # new in 1.23
|
|
246
|
+
Enabled: true
|
|
247
|
+
Style/OperatorMethodCall: # new in 1.37
|
|
248
|
+
Enabled: true
|
|
249
|
+
Style/QuotedSymbols: # new in 1.16
|
|
250
|
+
Enabled: true
|
|
251
|
+
Style/RedundantArgument: # new in 1.4
|
|
252
|
+
Enabled: true
|
|
253
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
|
254
|
+
Enabled: true
|
|
255
|
+
Style/RedundantConstantBase: # new in 1.40
|
|
256
|
+
Enabled: true
|
|
257
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
|
258
|
+
Enabled: true
|
|
259
|
+
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
|
260
|
+
Enabled: true
|
|
261
|
+
Style/RedundantEach: # new in 1.38
|
|
262
|
+
Enabled: true
|
|
263
|
+
Style/RedundantFilterChain: # new in 1.52
|
|
264
|
+
Enabled: true
|
|
265
|
+
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
|
266
|
+
Enabled: true
|
|
267
|
+
Style/RedundantInitialize: # new in 1.27
|
|
268
|
+
Enabled: true
|
|
269
|
+
Style/RedundantLineContinuation: # new in 1.49
|
|
270
|
+
Enabled: true
|
|
271
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
|
272
|
+
Enabled: true
|
|
273
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
|
274
|
+
Enabled: true
|
|
275
|
+
Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
276
|
+
Enabled: true
|
|
277
|
+
Style/RedundantStringEscape: # new in 1.37
|
|
278
|
+
Enabled: true
|
|
279
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
|
280
|
+
Enabled: true
|
|
281
|
+
Style/SelectByRegexp: # new in 1.22
|
|
282
|
+
Enabled: true
|
|
283
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
|
284
|
+
Enabled: true
|
|
285
|
+
Style/StringChars: # new in 1.12
|
|
286
|
+
Enabled: true
|
|
287
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
|
288
|
+
Enabled: true
|
|
289
|
+
Style/SwapValues: # new in 1.1
|
|
290
|
+
Enabled: true
|
|
291
|
+
Style/YAMLFileRead: # new in 1.53
|
|
292
|
+
Enabled: true
|
|
293
|
+
Performance/AncestorsInclude: # new in 1.7
|
|
294
|
+
Enabled: true
|
|
295
|
+
Performance/BigDecimalWithNumericArgument: # new in 1.7
|
|
296
|
+
Enabled: true
|
|
297
|
+
Performance/BlockGivenWithExplicitBlock: # new in 1.9
|
|
298
|
+
Enabled: true
|
|
299
|
+
Performance/CollectionLiteralInLoop: # new in 1.8
|
|
300
|
+
Enabled: true
|
|
301
|
+
Performance/ConcurrentMonotonicTime: # new in 1.12
|
|
302
|
+
Enabled: true
|
|
303
|
+
Performance/ConstantRegexp: # new in 1.9
|
|
304
|
+
Enabled: true
|
|
305
|
+
Performance/MapCompact: # new in 1.11
|
|
306
|
+
Enabled: true
|
|
307
|
+
Performance/MapMethodChain: # new in 1.19
|
|
308
|
+
Enabled: true
|
|
309
|
+
Performance/MethodObjectAsBlock: # new in 1.9
|
|
310
|
+
Enabled: true
|
|
311
|
+
Performance/RedundantEqualityComparisonBlock: # new in 1.10
|
|
312
|
+
Enabled: true
|
|
313
|
+
Performance/RedundantSortBlock: # new in 1.7
|
|
314
|
+
Enabled: true
|
|
315
|
+
Performance/RedundantSplitRegexpArgument: # new in 1.10
|
|
316
|
+
Enabled: true
|
|
317
|
+
Performance/RedundantStringChars: # new in 1.7
|
|
318
|
+
Enabled: true
|
|
319
|
+
Performance/ReverseFirst: # new in 1.7
|
|
320
|
+
Enabled: true
|
|
321
|
+
Performance/SortReverse: # new in 1.7
|
|
322
|
+
Enabled: true
|
|
323
|
+
Performance/Squeeze: # new in 1.7
|
|
324
|
+
Enabled: true
|
|
325
|
+
Performance/StringIdentifierArgument: # new in 1.13
|
|
326
|
+
Enabled: true
|
|
327
|
+
Performance/StringInclude: # new in 1.7
|
|
328
|
+
Enabled: true
|
|
329
|
+
Performance/Sum: # new in 1.8
|
|
330
|
+
Enabled: true
|
|
331
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
|
332
|
+
Enabled: true
|
|
333
|
+
Capybara/RedundantWithinFind: # new in 2.20
|
|
334
|
+
Enabled: true
|
|
335
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
|
336
|
+
Enabled: true
|
|
337
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
|
338
|
+
Enabled: true
|
|
339
|
+
FactoryBot/IdSequence: # new in <<next>>
|
|
340
|
+
Enabled: true
|
|
341
|
+
RSpec/EmptyMetadata: # new in 2.24
|
|
342
|
+
Enabled: true
|
|
343
|
+
RSpec/Eq: # new in 2.24
|
|
344
|
+
Enabled: true
|
|
345
|
+
RSpec/MetadataStyle: # new in 2.24
|
|
346
|
+
Enabled: true
|
|
347
|
+
RSpec/ReceiveMessages: # new in 2.23
|
|
348
|
+
Enabled: true
|
|
349
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
|
350
|
+
Enabled: true
|
|
351
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
|
352
|
+
Enabled: true
|
|
353
|
+
RSpecRails/NegationBeValid: # new in 2.23
|
|
354
|
+
Enabled: true
|
|
355
|
+
|
|
356
|
+
Gemspec/AddRuntimeDependency: # new in 1.65
|
|
357
|
+
Enabled: true
|
|
358
|
+
Gemspec/AttributeAssignment: # new in 1.77
|
|
359
|
+
Enabled: true
|
|
360
|
+
Layout/EmptyLinesAfterModuleInclusion: # new in 1.79
|
|
361
|
+
Enabled: true
|
|
362
|
+
Lint/ArrayLiteralInRegexp: # new in 1.71
|
|
363
|
+
Enabled: true
|
|
364
|
+
Lint/ConstantReassignment: # new in 1.70
|
|
365
|
+
Enabled: true
|
|
366
|
+
Lint/CopDirectiveSyntax: # new in 1.72
|
|
367
|
+
Enabled: true
|
|
368
|
+
Lint/DuplicateSetElement: # new in 1.67
|
|
369
|
+
Enabled: true
|
|
370
|
+
Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
|
|
371
|
+
Enabled: true
|
|
372
|
+
Lint/NumericOperationWithConstantResult: # new in 1.69
|
|
373
|
+
Enabled: true
|
|
374
|
+
Lint/RedundantTypeConversion: # new in 1.72
|
|
375
|
+
Enabled: true
|
|
376
|
+
Lint/SharedMutableDefault: # new in 1.70
|
|
377
|
+
Enabled: true
|
|
378
|
+
Lint/SuppressedExceptionInNumberConversion: # new in 1.72
|
|
379
|
+
Enabled: true
|
|
380
|
+
Lint/UnescapedBracketInRegexp: # new in 1.68
|
|
381
|
+
Enabled: true
|
|
382
|
+
Lint/UselessConstantScoping: # new in 1.72
|
|
383
|
+
Enabled: true
|
|
384
|
+
Lint/UselessDefaultValueArgument: # new in 1.76
|
|
385
|
+
Enabled: true
|
|
386
|
+
Lint/UselessDefined: # new in 1.69
|
|
387
|
+
Enabled: true
|
|
388
|
+
Lint/UselessNumericOperation: # new in 1.66
|
|
389
|
+
Enabled: true
|
|
390
|
+
Lint/UselessOr: # new in 1.76
|
|
391
|
+
Enabled: true
|
|
392
|
+
Naming/PredicateMethod: # new in 1.76
|
|
393
|
+
Enabled: true
|
|
394
|
+
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
|
395
|
+
Enabled: true
|
|
396
|
+
Style/BitwisePredicate: # new in 1.68
|
|
397
|
+
Enabled: true
|
|
398
|
+
Style/CollectionQuerying: # new in 1.77
|
|
399
|
+
Enabled: true
|
|
400
|
+
Style/CombinableDefined: # new in 1.68
|
|
401
|
+
Enabled: true
|
|
402
|
+
Style/ComparableBetween: # new in 1.74
|
|
403
|
+
Enabled: true
|
|
404
|
+
Style/DigChain: # new in 1.69
|
|
405
|
+
Enabled: true
|
|
406
|
+
Style/EmptyStringInsideInterpolation: # new in 1.76
|
|
407
|
+
Enabled: true
|
|
408
|
+
Style/FileNull: # new in 1.69
|
|
409
|
+
Enabled: true
|
|
410
|
+
Style/FileTouch: # new in 1.69
|
|
411
|
+
Enabled: true
|
|
412
|
+
Style/HashFetchChain: # new in 1.75
|
|
413
|
+
Enabled: true
|
|
414
|
+
Style/HashSlice: # new in 1.71
|
|
415
|
+
Enabled: true
|
|
416
|
+
Style/ItAssignment: # new in 1.70
|
|
417
|
+
Enabled: true
|
|
418
|
+
Style/ItBlockParameter: # new in 1.75
|
|
419
|
+
Enabled: true
|
|
420
|
+
Style/KeywordArgumentsMerging: # new in 1.68
|
|
421
|
+
Enabled: true
|
|
422
|
+
Style/MapIntoArray: # new in 1.63
|
|
423
|
+
Enabled: true
|
|
424
|
+
Style/RedundantArrayFlatten: # new in 1.76
|
|
425
|
+
Enabled: true
|
|
426
|
+
Style/RedundantFormat: # new in 1.72
|
|
427
|
+
Enabled: true
|
|
428
|
+
Style/RedundantInterpolationUnfreeze: # new in 1.66
|
|
429
|
+
Enabled: true
|
|
430
|
+
Style/SafeNavigationChainLength: # new in 1.68
|
|
431
|
+
Enabled: true
|
|
432
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
|
433
|
+
Enabled: true
|
|
434
|
+
Style/SuperArguments: # new in 1.64
|
|
435
|
+
Enabled: true
|
|
436
|
+
Capybara/FindAllFirst: # new in 2.22
|
|
437
|
+
Enabled: true
|
|
438
|
+
Capybara/NegationMatcherAfterVisit: # new in 2.22
|
|
439
|
+
Enabled: true
|
|
440
|
+
FactoryBot/ExcessiveCreateList: # new in 2.25
|
|
441
|
+
Enabled: true
|
|
442
|
+
Performance/StringBytesize: # new in 1.23
|
|
443
|
+
Enabled: true
|
|
444
|
+
Performance/ZipWithoutBlock: # new in 1.24
|
|
445
|
+
Enabled: true
|
|
446
|
+
RSpec/IncludeExamples: # new in 3.6
|
|
447
|
+
Enabled: true
|
|
448
|
+
|
|
449
|
+
# Custom configurations for complex model classes
|
|
450
|
+
Metrics/ClassLength:
|
|
451
|
+
Exclude:
|
|
452
|
+
- 'lib/mais_person_client/person.rb'
|
|
453
|
+
|
|
454
|
+
Metrics/AbcSize:
|
|
455
|
+
Exclude:
|
|
456
|
+
- 'lib/mais_person_client/person.rb'
|
|
457
|
+
|
|
458
|
+
Metrics/CyclomaticComplexity:
|
|
459
|
+
Exclude:
|
|
460
|
+
- 'lib/mais_person_client/person.rb'
|
|
461
|
+
|
|
462
|
+
Metrics/MethodLength:
|
|
463
|
+
Exclude:
|
|
464
|
+
- 'lib/mais_person_client/person.rb'
|
|
465
|
+
|
|
466
|
+
Metrics/PerceivedComplexity:
|
|
467
|
+
Exclude:
|
|
468
|
+
- 'lib/mais_person_client/person.rb'
|
|
469
|
+
|
|
470
|
+
# Allow longer examples in spec files for comprehensive testing
|
|
471
|
+
RSpec/ExampleLength:
|
|
472
|
+
Max: 15
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
mais_person_client (0.0.1)
|
|
5
|
+
activesupport (>= 4.2)
|
|
6
|
+
faraday
|
|
7
|
+
faraday-retry
|
|
8
|
+
nokogiri
|
|
9
|
+
ostruct
|
|
10
|
+
zeitwerk
|
|
11
|
+
|
|
12
|
+
GEM
|
|
13
|
+
remote: https://rubygems.org/
|
|
14
|
+
specs:
|
|
15
|
+
activesupport (8.0.2.1)
|
|
16
|
+
base64
|
|
17
|
+
benchmark (>= 0.3)
|
|
18
|
+
bigdecimal
|
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
20
|
+
connection_pool (>= 2.2.5)
|
|
21
|
+
drb
|
|
22
|
+
i18n (>= 1.6, < 2)
|
|
23
|
+
logger (>= 1.4.2)
|
|
24
|
+
minitest (>= 5.1)
|
|
25
|
+
securerandom (>= 0.3)
|
|
26
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
27
|
+
uri (>= 0.13.1)
|
|
28
|
+
addressable (2.8.7)
|
|
29
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
30
|
+
ast (2.4.3)
|
|
31
|
+
base64 (0.3.0)
|
|
32
|
+
benchmark (0.4.1)
|
|
33
|
+
bigdecimal (3.2.3)
|
|
34
|
+
byebug (12.0.0)
|
|
35
|
+
coderay (1.1.3)
|
|
36
|
+
concurrent-ruby (1.3.5)
|
|
37
|
+
connection_pool (2.5.4)
|
|
38
|
+
crack (1.0.0)
|
|
39
|
+
bigdecimal
|
|
40
|
+
rexml
|
|
41
|
+
diff-lcs (1.6.2)
|
|
42
|
+
docile (1.4.1)
|
|
43
|
+
drb (2.2.3)
|
|
44
|
+
faraday (2.13.4)
|
|
45
|
+
faraday-net_http (>= 2.0, < 3.5)
|
|
46
|
+
json
|
|
47
|
+
logger
|
|
48
|
+
faraday-net_http (3.4.1)
|
|
49
|
+
net-http (>= 0.5.0)
|
|
50
|
+
faraday-retry (2.3.2)
|
|
51
|
+
faraday (~> 2.0)
|
|
52
|
+
hashdiff (1.2.1)
|
|
53
|
+
i18n (1.14.7)
|
|
54
|
+
concurrent-ruby (~> 1.0)
|
|
55
|
+
io-console (0.8.1)
|
|
56
|
+
json (2.13.2)
|
|
57
|
+
language_server-protocol (3.17.0.5)
|
|
58
|
+
lint_roller (1.1.0)
|
|
59
|
+
logger (1.7.0)
|
|
60
|
+
method_source (1.1.0)
|
|
61
|
+
minitest (5.25.5)
|
|
62
|
+
net-http (0.6.0)
|
|
63
|
+
uri
|
|
64
|
+
nokogiri (1.18.9-aarch64-linux-gnu)
|
|
65
|
+
racc (~> 1.4)
|
|
66
|
+
nokogiri (1.18.9-aarch64-linux-musl)
|
|
67
|
+
racc (~> 1.4)
|
|
68
|
+
nokogiri (1.18.9-arm-linux-gnu)
|
|
69
|
+
racc (~> 1.4)
|
|
70
|
+
nokogiri (1.18.9-arm-linux-musl)
|
|
71
|
+
racc (~> 1.4)
|
|
72
|
+
nokogiri (1.18.9-arm64-darwin)
|
|
73
|
+
racc (~> 1.4)
|
|
74
|
+
nokogiri (1.18.9-x86_64-darwin)
|
|
75
|
+
racc (~> 1.4)
|
|
76
|
+
nokogiri (1.18.9-x86_64-linux-gnu)
|
|
77
|
+
racc (~> 1.4)
|
|
78
|
+
nokogiri (1.18.9-x86_64-linux-musl)
|
|
79
|
+
racc (~> 1.4)
|
|
80
|
+
ostruct (0.6.3)
|
|
81
|
+
parallel (1.27.0)
|
|
82
|
+
parser (3.3.9.0)
|
|
83
|
+
ast (~> 2.4.1)
|
|
84
|
+
racc
|
|
85
|
+
prism (1.4.0)
|
|
86
|
+
pry (0.15.2)
|
|
87
|
+
coderay (~> 1.1)
|
|
88
|
+
method_source (~> 1.0)
|
|
89
|
+
public_suffix (6.0.2)
|
|
90
|
+
racc (1.8.1)
|
|
91
|
+
rainbow (3.1.1)
|
|
92
|
+
rake (13.3.0)
|
|
93
|
+
regexp_parser (2.11.2)
|
|
94
|
+
reline (0.6.2)
|
|
95
|
+
io-console (~> 0.5)
|
|
96
|
+
rexml (3.4.4)
|
|
97
|
+
rspec (3.13.1)
|
|
98
|
+
rspec-core (~> 3.13.0)
|
|
99
|
+
rspec-expectations (~> 3.13.0)
|
|
100
|
+
rspec-mocks (~> 3.13.0)
|
|
101
|
+
rspec-core (3.13.5)
|
|
102
|
+
rspec-support (~> 3.13.0)
|
|
103
|
+
rspec-expectations (3.13.5)
|
|
104
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
105
|
+
rspec-support (~> 3.13.0)
|
|
106
|
+
rspec-mocks (3.13.5)
|
|
107
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
108
|
+
rspec-support (~> 3.13.0)
|
|
109
|
+
rspec-support (3.13.5)
|
|
110
|
+
rubocop (1.80.2)
|
|
111
|
+
json (~> 2.3)
|
|
112
|
+
language_server-protocol (~> 3.17.0.2)
|
|
113
|
+
lint_roller (~> 1.1.0)
|
|
114
|
+
parallel (~> 1.10)
|
|
115
|
+
parser (>= 3.3.0.2)
|
|
116
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
117
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
118
|
+
rubocop-ast (>= 1.46.0, < 2.0)
|
|
119
|
+
ruby-progressbar (~> 1.7)
|
|
120
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
121
|
+
rubocop-ast (1.46.0)
|
|
122
|
+
parser (>= 3.3.7.2)
|
|
123
|
+
prism (~> 1.4)
|
|
124
|
+
rubocop-capybara (2.22.1)
|
|
125
|
+
lint_roller (~> 1.1)
|
|
126
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
127
|
+
rubocop-factory_bot (2.27.1)
|
|
128
|
+
lint_roller (~> 1.1)
|
|
129
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
130
|
+
rubocop-performance (1.26.0)
|
|
131
|
+
lint_roller (~> 1.1)
|
|
132
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
133
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
|
134
|
+
rubocop-rspec (3.7.0)
|
|
135
|
+
lint_roller (~> 1.1)
|
|
136
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
137
|
+
rubocop-rspec_rails (2.31.0)
|
|
138
|
+
lint_roller (~> 1.1)
|
|
139
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
140
|
+
rubocop-rspec (~> 3.5)
|
|
141
|
+
ruby-progressbar (1.13.0)
|
|
142
|
+
securerandom (0.4.1)
|
|
143
|
+
simplecov (0.22.0)
|
|
144
|
+
docile (~> 1.1)
|
|
145
|
+
simplecov-html (~> 0.11)
|
|
146
|
+
simplecov_json_formatter (~> 0.1)
|
|
147
|
+
simplecov-html (0.13.2)
|
|
148
|
+
simplecov_json_formatter (0.1.4)
|
|
149
|
+
tzinfo (2.0.6)
|
|
150
|
+
concurrent-ruby (~> 1.0)
|
|
151
|
+
unicode-display_width (3.2.0)
|
|
152
|
+
unicode-emoji (~> 4.1)
|
|
153
|
+
unicode-emoji (4.1.0)
|
|
154
|
+
uri (1.0.3)
|
|
155
|
+
vcr (6.3.1)
|
|
156
|
+
base64
|
|
157
|
+
webmock (3.25.1)
|
|
158
|
+
addressable (>= 2.8.0)
|
|
159
|
+
crack (>= 0.3.2)
|
|
160
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
161
|
+
zeitwerk (2.7.3)
|
|
162
|
+
|
|
163
|
+
PLATFORMS
|
|
164
|
+
aarch64-linux-gnu
|
|
165
|
+
aarch64-linux-musl
|
|
166
|
+
arm-linux-gnu
|
|
167
|
+
arm-linux-musl
|
|
168
|
+
arm64-darwin
|
|
169
|
+
x86_64-darwin
|
|
170
|
+
x86_64-linux-gnu
|
|
171
|
+
x86_64-linux-musl
|
|
172
|
+
|
|
173
|
+
DEPENDENCIES
|
|
174
|
+
byebug
|
|
175
|
+
mais_person_client!
|
|
176
|
+
pry
|
|
177
|
+
rake (~> 13.0)
|
|
178
|
+
reline
|
|
179
|
+
rspec (~> 3.0)
|
|
180
|
+
rubocop
|
|
181
|
+
rubocop-capybara
|
|
182
|
+
rubocop-factory_bot
|
|
183
|
+
rubocop-performance
|
|
184
|
+
rubocop-rspec
|
|
185
|
+
rubocop-rspec_rails
|
|
186
|
+
simplecov
|
|
187
|
+
vcr
|
|
188
|
+
webmock
|
|
189
|
+
|
|
190
|
+
BUNDLED WITH
|
|
191
|
+
2.7.2
|
data/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
Copyright (c) 2025 by The Board of Trustees of the Leland Stanford
|
|
3
|
+
Junior University. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
6
|
+
may not use this file except in compliance with the License. You
|
|
7
|
+
may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
14
|
+
implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|