sul_orcid_client 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +353 -13
- data/Gemfile +2 -2
- data/Gemfile.lock +115 -112
- data/README.md +1 -2
- data/Rakefile +3 -3
- data/lib/sul_orcid_client/cocina_support.rb +9 -5
- data/lib/sul_orcid_client/contributor_mapper.rb +28 -25
- data/lib/sul_orcid_client/version.rb +1 -1
- data/lib/sul_orcid_client/work_mapper.rb +66 -59
- data/lib/sul_orcid_client.rb +44 -32
- data/sul_orcid_client.gemspec +32 -28
- metadata +61 -16
- data/.rubocop/custom.yml +0 -85
- data/.standard.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8b24483a206de34db6bc21becab54234e75353619cbf8f81769bb5a498f02c7
|
4
|
+
data.tar.gz: 66000cc3d23ea9772c1769bad446a4cc029b8aae8b6b0c5cd7b22a3b7a0c6640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c0966d940278bfc2d4a905c1535d8000b68a32f7056be5b6ab61e03b647e64dae9a54868c9eed1775d7f12b58772b4d0615acb67155d51030a9bf6c27c0fe31
|
7
|
+
data.tar.gz: e4deb9f7563d2117ee600ed2cd00095c78e486b576efbbbbdc237ab6f8c672574a2fa94325193bcc841ded6a8d280cad11adb80cc88d7d074666af93b95476a3
|
data/.rubocop.yml
CHANGED
@@ -1,18 +1,358 @@
|
|
1
|
-
inherit_mode:
|
2
|
-
merge:
|
3
|
-
- Exclude
|
4
|
-
|
5
1
|
require:
|
6
|
-
-
|
7
|
-
-
|
8
|
-
- standard-performance
|
2
|
+
- rubocop-capybara
|
3
|
+
- rubocop-factory_bot
|
9
4
|
- rubocop-performance
|
10
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
|
+
Layout/LineLength:
|
21
|
+
Max: 150
|
22
|
+
|
23
|
+
RSpec/BeEq: # new in 2.9.0
|
24
|
+
Enabled: true
|
25
|
+
RSpec/BeNil: # new in 2.9.0
|
26
|
+
Enabled: true
|
27
|
+
RSpec/ChangeByZero: # new in 2.11
|
28
|
+
Enabled: true
|
29
|
+
RSpec/ClassCheck: # new in 2.13
|
30
|
+
Enabled: true
|
31
|
+
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
32
|
+
Enabled: true
|
33
|
+
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
34
|
+
Enabled: true
|
35
|
+
RSpec/NoExpectationExample: # new in 2.13
|
36
|
+
Enabled: true
|
37
|
+
RSpec/SortMetadata: # new in 2.14
|
38
|
+
Enabled: true
|
39
|
+
RSpec/SubjectDeclaration: # new in 2.5
|
40
|
+
Enabled: true
|
41
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
42
|
+
Enabled: true
|
43
|
+
Capybara/NegationMatcher: # new in 2.14
|
44
|
+
Enabled: true
|
45
|
+
Capybara/SpecificActions: # new in 2.14
|
46
|
+
Enabled: true
|
47
|
+
Capybara/SpecificFinders: # new in 2.13
|
48
|
+
Enabled: true
|
49
|
+
Capybara/SpecificMatcher: # new in 2.12
|
50
|
+
Enabled: true
|
51
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
52
|
+
Enabled: true
|
53
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
54
|
+
Enabled: true
|
55
|
+
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
56
|
+
Enabled: true
|
57
|
+
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
58
|
+
Enabled: true
|
59
|
+
RSpec/Rails/InferredSpecType: # new in 2.14
|
60
|
+
Enabled: true
|
11
61
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
62
|
+
RSpec/MultipleExpectations:
|
63
|
+
Enabled: false
|
64
|
+
RSpec/ExampleLength:
|
65
|
+
Enabled: false
|
66
|
+
Capybara/MatchStyle: # new in 2.17
|
67
|
+
Enabled: true
|
68
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
69
|
+
Enabled: true
|
70
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
71
|
+
Enabled: true
|
72
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
73
|
+
Enabled: true
|
74
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
75
|
+
Enabled: true
|
76
|
+
RSpec/BeEmpty: # new in 2.20
|
77
|
+
Enabled: true
|
78
|
+
RSpec/ContainExactly: # new in 2.19
|
79
|
+
Enabled: true
|
80
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
81
|
+
Enabled: true
|
82
|
+
RSpec/IndexedLet: # new in 2.20
|
83
|
+
Enabled: true
|
84
|
+
RSpec/MatchArray: # new in 2.19
|
85
|
+
Enabled: true
|
86
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
87
|
+
Enabled: true
|
88
|
+
RSpec/RedundantAround: # new in 2.19
|
89
|
+
Enabled: true
|
90
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
91
|
+
Enabled: true
|
92
|
+
RSpec/Rails/MinitestAssertions: # new in 2.17
|
93
|
+
Enabled: true
|
94
|
+
RSpec/Rails/TravelAround: # new in 2.19
|
95
|
+
Enabled: true
|
16
96
|
|
17
|
-
|
18
|
-
|
97
|
+
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
98
|
+
Enabled: true
|
99
|
+
Gemspec/DevelopmentDependencies: # new in 1.44
|
100
|
+
Enabled: false
|
101
|
+
Gemspec/RequireMFA: # new in 1.23
|
102
|
+
Enabled: true
|
103
|
+
Layout/LineContinuationLeadingSpace: # new in 1.31
|
104
|
+
Enabled: true
|
105
|
+
Layout/LineContinuationSpacing: # new in 1.31
|
106
|
+
Enabled: true
|
107
|
+
Layout/LineEndStringConcatenationIndentation: # new in 1.18
|
108
|
+
Enabled: true
|
109
|
+
Layout/SpaceBeforeBrackets: # new in 1.7
|
110
|
+
Enabled: true
|
111
|
+
Lint/AmbiguousAssignment: # new in 1.7
|
112
|
+
Enabled: true
|
113
|
+
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
114
|
+
Enabled: true
|
115
|
+
Lint/AmbiguousRange: # new in 1.19
|
116
|
+
Enabled: true
|
117
|
+
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
118
|
+
Enabled: true
|
119
|
+
Lint/DeprecatedConstants: # new in 1.8
|
120
|
+
Enabled: true
|
121
|
+
Lint/DuplicateBranch: # new in 1.3
|
122
|
+
Enabled: true
|
123
|
+
Lint/DuplicateMagicComment: # new in 1.37
|
124
|
+
Enabled: true
|
125
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
126
|
+
Enabled: true
|
127
|
+
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
|
128
|
+
Enabled: true
|
129
|
+
Lint/EmptyBlock: # new in 1.1
|
130
|
+
Enabled: true
|
131
|
+
Lint/EmptyClass: # new in 1.3
|
132
|
+
Enabled: true
|
133
|
+
Lint/EmptyInPattern: # new in 1.16
|
134
|
+
Enabled: true
|
135
|
+
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
136
|
+
Enabled: true
|
137
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
138
|
+
Enabled: true
|
139
|
+
Lint/LambdaWithoutLiteralBlock: # new in 1.8
|
140
|
+
Enabled: true
|
141
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
142
|
+
Enabled: true
|
143
|
+
Lint/MixedCaseRange: # new in 1.53
|
144
|
+
Enabled: true
|
145
|
+
Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
146
|
+
Enabled: true
|
147
|
+
Lint/NonAtomicFileOperation: # new in 1.31
|
148
|
+
Enabled: true
|
149
|
+
Lint/NumberedParameterAssignment: # new in 1.9
|
150
|
+
Enabled: true
|
151
|
+
Lint/OrAssignmentToConstant: # new in 1.9
|
152
|
+
Enabled: true
|
153
|
+
Lint/RedundantDirGlobSort: # new in 1.8
|
154
|
+
Enabled: true
|
155
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
156
|
+
Enabled: true
|
157
|
+
Lint/RefinementImportMethods: # new in 1.27
|
158
|
+
Enabled: true
|
159
|
+
Lint/RequireRangeParentheses: # new in 1.32
|
160
|
+
Enabled: true
|
161
|
+
Lint/RequireRelativeSelfPath: # new in 1.22
|
162
|
+
Enabled: true
|
163
|
+
Lint/SymbolConversion: # new in 1.9
|
164
|
+
Enabled: true
|
165
|
+
Lint/ToEnumArguments: # new in 1.1
|
166
|
+
Enabled: true
|
167
|
+
Lint/TripleQuotes: # new in 1.9
|
168
|
+
Enabled: true
|
169
|
+
Lint/UnexpectedBlockArity: # new in 1.5
|
170
|
+
Enabled: true
|
171
|
+
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
172
|
+
Enabled: true
|
173
|
+
Lint/UselessRescue: # new in 1.43
|
174
|
+
Enabled: true
|
175
|
+
Lint/UselessRuby2Keywords: # new in 1.23
|
176
|
+
Enabled: true
|
177
|
+
Metrics/CollectionLiteralLength: # new in 1.47
|
178
|
+
Enabled: true
|
179
|
+
Naming/BlockForwarding: # new in 1.24
|
180
|
+
Enabled: true
|
181
|
+
Security/CompoundHash: # new in 1.28
|
182
|
+
Enabled: true
|
183
|
+
Security/IoMethods: # new in 1.22
|
184
|
+
Enabled: true
|
185
|
+
Style/ArgumentsForwarding: # new in 1.1
|
186
|
+
Enabled: true
|
187
|
+
Style/ArrayIntersect: # new in 1.40
|
188
|
+
Enabled: true
|
189
|
+
Style/CollectionCompact: # new in 1.2
|
190
|
+
Enabled: true
|
191
|
+
Style/ComparableClamp: # new in 1.44
|
192
|
+
Enabled: true
|
193
|
+
Style/ConcatArrayLiterals: # new in 1.41
|
194
|
+
Enabled: true
|
195
|
+
Style/DataInheritance: # new in 1.49
|
196
|
+
Enabled: true
|
197
|
+
Style/DirEmpty: # new in 1.48
|
198
|
+
Enabled: true
|
199
|
+
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
200
|
+
Enabled: true
|
201
|
+
Style/EmptyHeredoc: # new in 1.32
|
202
|
+
Enabled: true
|
203
|
+
Style/EndlessMethod: # new in 1.8
|
204
|
+
Enabled: true
|
205
|
+
Style/EnvHome: # new in 1.29
|
206
|
+
Enabled: true
|
207
|
+
Style/ExactRegexpMatch: # new in 1.51
|
208
|
+
Enabled: true
|
209
|
+
Style/FetchEnvVar: # new in 1.28
|
210
|
+
Enabled: true
|
211
|
+
Style/FileEmpty: # new in 1.48
|
212
|
+
Enabled: true
|
213
|
+
Style/FileRead: # new in 1.24
|
214
|
+
Enabled: true
|
215
|
+
Style/FileWrite: # new in 1.24
|
216
|
+
Enabled: true
|
217
|
+
Style/HashConversion: # new in 1.10
|
218
|
+
Enabled: true
|
219
|
+
Style/HashExcept: # new in 1.7
|
220
|
+
Enabled: true
|
221
|
+
Style/IfWithBooleanLiteralBranches: # new in 1.9
|
222
|
+
Enabled: true
|
223
|
+
Style/InPatternThen: # new in 1.16
|
224
|
+
Enabled: true
|
225
|
+
Style/MagicCommentFormat: # new in 1.35
|
226
|
+
Enabled: true
|
227
|
+
Style/MapCompactWithConditionalBlock: # new in 1.30
|
228
|
+
Enabled: true
|
229
|
+
Style/MapToHash: # new in 1.24
|
230
|
+
Enabled: true
|
231
|
+
Style/MapToSet: # new in 1.42
|
232
|
+
Enabled: true
|
233
|
+
Style/MinMaxComparison: # new in 1.42
|
234
|
+
Enabled: true
|
235
|
+
Style/MultilineInPatternThen: # new in 1.16
|
236
|
+
Enabled: true
|
237
|
+
Style/NegatedIfElseCondition: # new in 1.2
|
238
|
+
Enabled: true
|
239
|
+
Style/NestedFileDirname: # new in 1.26
|
240
|
+
Enabled: true
|
241
|
+
Style/NilLambda: # new in 1.3
|
242
|
+
Enabled: true
|
243
|
+
Style/NumberedParameters: # new in 1.22
|
244
|
+
Enabled: true
|
245
|
+
Style/NumberedParametersLimit: # new in 1.22
|
246
|
+
Enabled: true
|
247
|
+
Style/ObjectThen: # new in 1.28
|
248
|
+
Enabled: true
|
249
|
+
Style/OpenStructUse: # new in 1.23
|
250
|
+
Enabled: true
|
251
|
+
Style/OperatorMethodCall: # new in 1.37
|
252
|
+
Enabled: true
|
253
|
+
Style/QuotedSymbols: # new in 1.16
|
254
|
+
Enabled: true
|
255
|
+
Style/RedundantArgument: # new in 1.4
|
256
|
+
Enabled: true
|
257
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
258
|
+
Enabled: true
|
259
|
+
Style/RedundantConstantBase: # new in 1.40
|
260
|
+
Enabled: true
|
261
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
262
|
+
Enabled: true
|
263
|
+
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
264
|
+
Enabled: true
|
265
|
+
Style/RedundantEach: # new in 1.38
|
266
|
+
Enabled: true
|
267
|
+
Style/RedundantFilterChain: # new in 1.52
|
268
|
+
Enabled: true
|
269
|
+
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
270
|
+
Enabled: true
|
271
|
+
Style/RedundantInitialize: # new in 1.27
|
272
|
+
Enabled: true
|
273
|
+
Style/RedundantLineContinuation: # new in 1.49
|
274
|
+
Enabled: true
|
275
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
276
|
+
Enabled: true
|
277
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
278
|
+
Enabled: true
|
279
|
+
Style/RedundantSelfAssignmentBranch: # new in 1.19
|
280
|
+
Enabled: true
|
281
|
+
Style/RedundantStringEscape: # new in 1.37
|
282
|
+
Enabled: true
|
283
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
284
|
+
Enabled: true
|
285
|
+
Style/SelectByRegexp: # new in 1.22
|
286
|
+
Enabled: true
|
287
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
288
|
+
Enabled: true
|
289
|
+
Style/StringChars: # new in 1.12
|
290
|
+
Enabled: true
|
291
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
292
|
+
Enabled: true
|
293
|
+
Style/SwapValues: # new in 1.1
|
294
|
+
Enabled: true
|
295
|
+
Style/YAMLFileRead: # new in 1.53
|
296
|
+
Enabled: true
|
297
|
+
Performance/AncestorsInclude: # new in 1.7
|
298
|
+
Enabled: true
|
299
|
+
Performance/BigDecimalWithNumericArgument: # new in 1.7
|
300
|
+
Enabled: true
|
301
|
+
Performance/BlockGivenWithExplicitBlock: # new in 1.9
|
302
|
+
Enabled: true
|
303
|
+
Performance/CollectionLiteralInLoop: # new in 1.8
|
304
|
+
Enabled: true
|
305
|
+
Performance/ConcurrentMonotonicTime: # new in 1.12
|
306
|
+
Enabled: true
|
307
|
+
Performance/ConstantRegexp: # new in 1.9
|
308
|
+
Enabled: true
|
309
|
+
Performance/MapCompact: # new in 1.11
|
310
|
+
Enabled: true
|
311
|
+
Performance/MapMethodChain: # new in 1.19
|
312
|
+
Enabled: true
|
313
|
+
Performance/MethodObjectAsBlock: # new in 1.9
|
314
|
+
Enabled: true
|
315
|
+
Performance/RedundantEqualityComparisonBlock: # new in 1.10
|
316
|
+
Enabled: true
|
317
|
+
Performance/RedundantSortBlock: # new in 1.7
|
318
|
+
Enabled: true
|
319
|
+
Performance/RedundantSplitRegexpArgument: # new in 1.10
|
320
|
+
Enabled: true
|
321
|
+
Performance/RedundantStringChars: # new in 1.7
|
322
|
+
Enabled: true
|
323
|
+
Performance/ReverseFirst: # new in 1.7
|
324
|
+
Enabled: true
|
325
|
+
Performance/SortReverse: # new in 1.7
|
326
|
+
Enabled: true
|
327
|
+
Performance/Squeeze: # new in 1.7
|
328
|
+
Enabled: true
|
329
|
+
Performance/StringIdentifierArgument: # new in 1.13
|
330
|
+
Enabled: true
|
331
|
+
Performance/StringInclude: # new in 1.7
|
332
|
+
Enabled: true
|
333
|
+
Performance/Sum: # new in 1.8
|
334
|
+
Enabled: true
|
335
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
336
|
+
Enabled: true
|
337
|
+
Capybara/RedundantWithinFind: # new in 2.20
|
338
|
+
Enabled: true
|
339
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
340
|
+
Enabled: true
|
341
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
342
|
+
Enabled: true
|
343
|
+
FactoryBot/IdSequence: # new in <<next>>
|
344
|
+
Enabled: true
|
345
|
+
RSpec/EmptyMetadata: # new in 2.24
|
346
|
+
Enabled: true
|
347
|
+
RSpec/Eq: # new in 2.24
|
348
|
+
Enabled: true
|
349
|
+
RSpec/MetadataStyle: # new in 2.24
|
350
|
+
Enabled: true
|
351
|
+
RSpec/ReceiveMessages: # new in 2.23
|
352
|
+
Enabled: true
|
353
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
354
|
+
Enabled: true
|
355
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
356
|
+
Enabled: true
|
357
|
+
RSpec/Rails/NegationBeValid: # new in 2.23
|
358
|
+
Enabled: true
|