sdr-client 2.5.0 → 2.7.0
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/.circleci/config.yml +1 -1
- data/.rubocop.yml +131 -2
- data/.rubocop_todo.yml +28 -30
- data/Gemfile +12 -0
- data/Gemfile.lock +56 -39
- data/lib/sdr_client/version.rb +1 -1
- data/lib/sdr_client.rb +1 -3
- data/sdr-client.gemspec +1 -10
- metadata +5 -131
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5cfe9b4451ed3b6d68c8f39cafc80528f978ded12f0fafeb92998b89ebe08eb
|
|
4
|
+
data.tar.gz: 988ff36dc15ae15dc1e1955dfc35a12a4fbe2a6b958222a98346f5a2ad130516
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a171b923b97b524b64a6576da221b6d17ac80537317285e07a239f38e1d157b99303941411cdba6d7c8add3ed9ac0cff22248b3091bd8f2d1d481e0a8d758c5
|
|
7
|
+
data.tar.gz: 3cc1b5dc8a79a6f0ec9f8102dc8273839a2997deaa10fbcc9c4bbb1f21ef030513231bbc79b4310e0fc532960f40a761dd038b0bc8331e67eaf2ba9d4d6f442e
|
data/.circleci/config.yml
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -150,7 +150,7 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
|
|
|
150
150
|
Enabled: true
|
|
151
151
|
RSpec/SubjectDeclaration: # new in 2.5
|
|
152
152
|
Enabled: true
|
|
153
|
-
|
|
153
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
|
154
154
|
Enabled: true
|
|
155
155
|
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
|
156
156
|
Enabled: true
|
|
@@ -174,7 +174,7 @@ Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
|
174
174
|
Enabled: true
|
|
175
175
|
RSpec/ChangeByZero: # new in 2.11.0
|
|
176
176
|
Enabled: true
|
|
177
|
-
|
|
177
|
+
Capybara/SpecificMatcher: # new in 2.12
|
|
178
178
|
Enabled: true
|
|
179
179
|
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
|
180
180
|
Enabled: true
|
|
@@ -185,3 +185,132 @@ Style/EmptyHeredoc: # new in 1.32
|
|
|
185
185
|
Enabled: true
|
|
186
186
|
Style/MagicCommentFormat: # new in 1.35
|
|
187
187
|
Enabled: true
|
|
188
|
+
|
|
189
|
+
Lint/DuplicateMagicComment: # new in 1.37
|
|
190
|
+
Enabled: true
|
|
191
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
|
192
|
+
Enabled: true
|
|
193
|
+
Lint/UselessRescue: # new in 1.43
|
|
194
|
+
Enabled: true
|
|
195
|
+
Metrics/CollectionLiteralLength: # new in 1.47
|
|
196
|
+
Enabled: true
|
|
197
|
+
Style/ArrayIntersect: # new in 1.40
|
|
198
|
+
Enabled: true
|
|
199
|
+
Style/ComparableClamp: # new in 1.44
|
|
200
|
+
Enabled: true
|
|
201
|
+
Style/ConcatArrayLiterals: # new in 1.41
|
|
202
|
+
Enabled: true
|
|
203
|
+
Style/DataInheritance: # new in 1.49
|
|
204
|
+
Enabled: true
|
|
205
|
+
Style/DirEmpty: # new in 1.48
|
|
206
|
+
Enabled: true
|
|
207
|
+
Style/ExactRegexpMatch: # new in 1.51
|
|
208
|
+
Enabled: true
|
|
209
|
+
Style/FileEmpty: # new in 1.48
|
|
210
|
+
Enabled: true
|
|
211
|
+
Style/MapToSet: # new in 1.42
|
|
212
|
+
Enabled: true
|
|
213
|
+
Style/MinMaxComparison: # new in 1.42
|
|
214
|
+
Enabled: true
|
|
215
|
+
Style/OperatorMethodCall: # new in 1.37
|
|
216
|
+
Enabled: true
|
|
217
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
|
218
|
+
Enabled: true
|
|
219
|
+
Style/RedundantConstantBase: # new in 1.40
|
|
220
|
+
Enabled: true
|
|
221
|
+
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
|
222
|
+
Enabled: true
|
|
223
|
+
Style/RedundantEach: # new in 1.38
|
|
224
|
+
Enabled: true
|
|
225
|
+
Style/RedundantFilterChain: # new in 1.52
|
|
226
|
+
Enabled: true
|
|
227
|
+
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
|
228
|
+
Enabled: true
|
|
229
|
+
Style/RedundantLineContinuation: # new in 1.49
|
|
230
|
+
Enabled: true
|
|
231
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
|
232
|
+
Enabled: true
|
|
233
|
+
Style/RedundantStringEscape: # new in 1.37
|
|
234
|
+
Enabled: true
|
|
235
|
+
Capybara/MatchStyle: # new in 2.17
|
|
236
|
+
Enabled: true
|
|
237
|
+
Capybara/NegationMatcher: # new in 2.14
|
|
238
|
+
Enabled: true
|
|
239
|
+
Capybara/SpecificActions: # new in 2.14
|
|
240
|
+
Enabled: true
|
|
241
|
+
Capybara/SpecificFinders: # new in 2.13
|
|
242
|
+
Enabled: true
|
|
243
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
|
244
|
+
Enabled: true
|
|
245
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
|
246
|
+
Enabled: true
|
|
247
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
|
248
|
+
Enabled: true
|
|
249
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
|
250
|
+
Enabled: true
|
|
251
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
252
|
+
Enabled: true
|
|
253
|
+
RSpec/BeEmpty: # new in 2.20
|
|
254
|
+
Enabled: true
|
|
255
|
+
RSpec/ContainExactly: # new in 2.19
|
|
256
|
+
Enabled: true
|
|
257
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
|
258
|
+
Enabled: true
|
|
259
|
+
RSpec/IndexedLet: # new in 2.20
|
|
260
|
+
Enabled: true
|
|
261
|
+
RSpec/MatchArray: # new in 2.19
|
|
262
|
+
Enabled: true
|
|
263
|
+
RSpec/NoExpectationExample: # new in 2.13
|
|
264
|
+
Enabled: true
|
|
265
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
|
266
|
+
Enabled: true
|
|
267
|
+
RSpec/RedundantAround: # new in 2.19
|
|
268
|
+
Enabled: true
|
|
269
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
|
270
|
+
Enabled: true
|
|
271
|
+
RSpec/SortMetadata: # new in 2.14
|
|
272
|
+
Enabled: true
|
|
273
|
+
RSpec/Rails/InferredSpecType: # new in 2.14
|
|
274
|
+
Enabled: true
|
|
275
|
+
RSpec/Rails/MinitestAssertions: # new in 2.17
|
|
276
|
+
Enabled: true
|
|
277
|
+
RSpec/Rails/TravelAround: # new in 2.19
|
|
278
|
+
Enabled: true
|
|
279
|
+
|
|
280
|
+
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
281
|
+
Enabled: true
|
|
282
|
+
Lint/MixedCaseRange: # new in 1.53
|
|
283
|
+
Enabled: true
|
|
284
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
|
285
|
+
Enabled: true
|
|
286
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
|
287
|
+
Enabled: true
|
|
288
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
|
289
|
+
Enabled: true
|
|
290
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
|
291
|
+
Enabled: true
|
|
292
|
+
Style/YAMLFileRead: # new in 1.53
|
|
293
|
+
Enabled: true
|
|
294
|
+
RSpec/EmptyMetadata: # new in 2.24
|
|
295
|
+
Enabled: true
|
|
296
|
+
RSpec/Eq: # new in 2.24
|
|
297
|
+
Enabled: true
|
|
298
|
+
RSpec/MetadataStyle: # new in 2.24
|
|
299
|
+
Enabled: true
|
|
300
|
+
RSpec/ReceiveMessages: # new in 2.23
|
|
301
|
+
Enabled: true
|
|
302
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
|
303
|
+
Enabled: true
|
|
304
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
|
305
|
+
Enabled: true
|
|
306
|
+
RSpec/Rails/NegationBeValid: # new in 2.23
|
|
307
|
+
Enabled: true
|
|
308
|
+
|
|
309
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
|
310
|
+
Enabled: true
|
|
311
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
|
312
|
+
Enabled: true
|
|
313
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
|
314
|
+
Enabled: true
|
|
315
|
+
FactoryBot/IdSequence: # new in <<next>>
|
|
316
|
+
Enabled: true
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config --auto-gen-only-exclude`
|
|
3
|
-
# on
|
|
3
|
+
# on 2023-09-11 17:08:41 UTC using RuboCop version 1.56.3.
|
|
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
|
-
# Configuration parameters: Include.
|
|
10
|
+
# Configuration parameters: Severity, Include.
|
|
11
11
|
# Include: **/*.gemspec
|
|
12
12
|
Gemspec/RequiredRubyVersion:
|
|
13
13
|
Exclude:
|
|
@@ -27,20 +27,20 @@ Lint/UnusedMethodArgument:
|
|
|
27
27
|
- 'lib/sdr_client/deposit/image_file_set_strategy.rb'
|
|
28
28
|
|
|
29
29
|
# Offense count: 4
|
|
30
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns,
|
|
30
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
31
31
|
Metrics/AbcSize:
|
|
32
32
|
Exclude:
|
|
33
33
|
- 'lib/sdr_client/cli.rb'
|
|
34
34
|
- 'lib/sdr_client/update.rb'
|
|
35
35
|
|
|
36
36
|
# Offense count: 1
|
|
37
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns,
|
|
37
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
38
38
|
Metrics/CyclomaticComplexity:
|
|
39
39
|
Exclude:
|
|
40
40
|
- 'lib/sdr_client/update.rb'
|
|
41
41
|
|
|
42
42
|
# Offense count: 12
|
|
43
|
-
# Configuration parameters: CountComments, Max, CountAsOne,
|
|
43
|
+
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
44
44
|
Metrics/MethodLength:
|
|
45
45
|
Exclude:
|
|
46
46
|
- 'lib/sdr_client/cli.rb'
|
|
@@ -56,17 +56,9 @@ Metrics/MethodLength:
|
|
|
56
56
|
RSpec/ExampleLength:
|
|
57
57
|
Exclude:
|
|
58
58
|
- 'spec/sdr_client/deposit_spec.rb'
|
|
59
|
-
- 'spec/sdr_client/
|
|
59
|
+
- 'spec/sdr_client/deposit_model_spec.rb'
|
|
60
60
|
- 'spec/sdr_client/update_spec.rb'
|
|
61
61
|
|
|
62
|
-
# Offense count: 2
|
|
63
|
-
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
|
|
64
|
-
# Include: **/*_spec*rb*, **/spec/**/*
|
|
65
|
-
RSpec/FilePath:
|
|
66
|
-
Exclude:
|
|
67
|
-
- 'spec/sdr_client/client_spec.rb'
|
|
68
|
-
- 'spec/sdr_client/model_deposit_spec.rb'
|
|
69
|
-
|
|
70
62
|
# Offense count: 1
|
|
71
63
|
# Configuration parameters: EnforcedStyle.
|
|
72
64
|
# SupportedStyles: have_received, receive
|
|
@@ -83,20 +75,11 @@ RSpec/MultipleExpectations:
|
|
|
83
75
|
- 'spec/sdr_client/deposit_spec.rb'
|
|
84
76
|
- 'spec/sdr_client/find_spec.rb'
|
|
85
77
|
- 'spec/sdr_client/login_spec.rb'
|
|
86
|
-
- 'spec/sdr_client/
|
|
87
|
-
|
|
88
|
-
# Offense count: 36
|
|
89
|
-
# Configuration parameters: AllowSubject, Max.
|
|
90
|
-
RSpec/MultipleMemoizedHelpers:
|
|
91
|
-
Exclude:
|
|
92
|
-
- 'spec/sdr_client/deposit/metadata_builder_spec.rb'
|
|
93
|
-
- 'spec/sdr_client/deposit/model_process_spec.rb'
|
|
94
|
-
- 'spec/sdr_client/deposit/process_spec.rb'
|
|
95
|
-
- 'spec/sdr_client/deposit/request_spec.rb'
|
|
96
|
-
- 'spec/sdr_client/update_spec.rb'
|
|
78
|
+
- 'spec/sdr_client/deposit_model_spec.rb'
|
|
97
79
|
|
|
98
80
|
# Offense count: 24
|
|
99
|
-
# Configuration parameters: IgnoreSharedExamples.
|
|
81
|
+
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
|
|
82
|
+
# SupportedStyles: always, named_only
|
|
100
83
|
RSpec/NamedSubject:
|
|
101
84
|
Exclude:
|
|
102
85
|
- 'spec/sdr_client/background_job_results_spec.rb'
|
|
@@ -107,7 +90,7 @@ RSpec/NamedSubject:
|
|
|
107
90
|
- 'spec/sdr_client/login_spec.rb'
|
|
108
91
|
|
|
109
92
|
# Offense count: 19
|
|
110
|
-
# Configuration parameters: Max.
|
|
93
|
+
# Configuration parameters: Max, AllowedGroups.
|
|
111
94
|
RSpec/NestedGroups:
|
|
112
95
|
Exclude:
|
|
113
96
|
- 'spec/sdr_client/deposit/metadata_builder_spec.rb'
|
|
@@ -116,7 +99,22 @@ RSpec/NestedGroups:
|
|
|
116
99
|
- 'spec/sdr_client/login_spec.rb'
|
|
117
100
|
- 'spec/sdr_client/update_spec.rb'
|
|
118
101
|
|
|
119
|
-
# Offense count:
|
|
102
|
+
# Offense count: 5
|
|
103
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
104
|
+
RSpec/ReceiveMessages:
|
|
105
|
+
Exclude:
|
|
106
|
+
- 'spec/sdr_client/update_spec.rb'
|
|
107
|
+
|
|
108
|
+
# Offense count: 2
|
|
109
|
+
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
|
|
110
|
+
# Include: **/*_spec.rb
|
|
111
|
+
RSpec/SpecFilePathFormat:
|
|
112
|
+
Exclude:
|
|
113
|
+
- '**/spec/routing/**/*'
|
|
114
|
+
- 'spec/sdr_client/client_spec.rb'
|
|
115
|
+
- 'spec/sdr_client/model_deposit_spec.rb'
|
|
116
|
+
|
|
117
|
+
# Offense count: 21
|
|
120
118
|
# This cop supports safe autocorrection (--autocorrect).
|
|
121
119
|
Style/KeywordParametersOrder:
|
|
122
120
|
Exclude:
|
|
@@ -137,9 +135,9 @@ Style/StringConcatenation:
|
|
|
137
135
|
- 'lib/sdr_client/deposit/create_resource.rb'
|
|
138
136
|
- 'spec/sdr_client/deposit_spec.rb'
|
|
139
137
|
|
|
140
|
-
# Offense count:
|
|
138
|
+
# Offense count: 35
|
|
141
139
|
# This cop supports safe autocorrection (--autocorrect).
|
|
142
|
-
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns
|
|
140
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
|
143
141
|
# URISchemes: http, https
|
|
144
142
|
Layout/LineLength:
|
|
145
143
|
Exclude:
|
data/Gemfile
CHANGED
|
@@ -7,3 +7,15 @@ gemspec
|
|
|
7
7
|
|
|
8
8
|
gem 'byebug'
|
|
9
9
|
gem 'rspec_junit_formatter' # For circleCI
|
|
10
|
+
|
|
11
|
+
group :development do
|
|
12
|
+
gem 'bundler', '~> 2.0'
|
|
13
|
+
gem 'rake', '~> 13.0'
|
|
14
|
+
gem 'rspec', '~> 3.0'
|
|
15
|
+
gem 'rubocop', '~> 1.24'
|
|
16
|
+
gem 'rubocop-rake'
|
|
17
|
+
gem 'rubocop-rspec', '~> 2.1'
|
|
18
|
+
gem 'simplecov'
|
|
19
|
+
gem 'thor'
|
|
20
|
+
gem 'webmock', '~> 3.7'
|
|
21
|
+
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sdr-client (2.
|
|
4
|
+
sdr-client (2.7.0)
|
|
5
5
|
activesupport
|
|
6
|
-
cocina-models (~> 0.
|
|
6
|
+
cocina-models (~> 0.92.0)
|
|
7
7
|
config
|
|
8
8
|
dry-monads
|
|
9
9
|
faraday (>= 0.16)
|
|
@@ -12,36 +12,45 @@ PATH
|
|
|
12
12
|
GEM
|
|
13
13
|
remote: https://rubygems.org/
|
|
14
14
|
specs:
|
|
15
|
-
activesupport (7.
|
|
15
|
+
activesupport (7.1.1)
|
|
16
|
+
base64
|
|
17
|
+
bigdecimal
|
|
16
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
19
|
+
connection_pool (>= 2.2.5)
|
|
20
|
+
drb
|
|
17
21
|
i18n (>= 1.6, < 2)
|
|
18
22
|
minitest (>= 5.1)
|
|
23
|
+
mutex_m
|
|
19
24
|
tzinfo (~> 2.0)
|
|
20
|
-
addressable (2.8.
|
|
25
|
+
addressable (2.8.5)
|
|
21
26
|
public_suffix (>= 2.0.2, < 6.0)
|
|
22
27
|
ast (2.4.2)
|
|
23
28
|
attr_extras (7.1.0)
|
|
29
|
+
base64 (0.1.1)
|
|
30
|
+
bigdecimal (3.1.4)
|
|
24
31
|
byebug (11.1.3)
|
|
25
|
-
cocina-models (0.
|
|
32
|
+
cocina-models (0.92.0)
|
|
26
33
|
activesupport
|
|
27
34
|
deprecation
|
|
28
35
|
dry-struct (~> 1.0)
|
|
29
36
|
dry-types (~> 1.1)
|
|
30
37
|
edtf
|
|
31
38
|
equivalent-xml
|
|
39
|
+
i18n
|
|
32
40
|
jsonpath
|
|
33
41
|
nokogiri
|
|
34
42
|
openapi3_parser
|
|
35
|
-
openapi_parser (
|
|
43
|
+
openapi_parser (~> 1.0)
|
|
36
44
|
rss
|
|
37
45
|
super_diff
|
|
38
46
|
thor
|
|
39
47
|
zeitwerk (~> 2.1)
|
|
40
|
-
commonmarker (0.23.
|
|
48
|
+
commonmarker (0.23.10)
|
|
41
49
|
concurrent-ruby (1.2.2)
|
|
42
|
-
config (
|
|
50
|
+
config (5.0.0)
|
|
43
51
|
deep_merge (~> 1.2, >= 1.2.1)
|
|
44
52
|
dry-validation (~> 1.0, >= 1.0.0)
|
|
53
|
+
connection_pool (2.4.1)
|
|
45
54
|
crack (0.4.5)
|
|
46
55
|
rexml
|
|
47
56
|
deep_merge (1.2.2)
|
|
@@ -49,10 +58,12 @@ GEM
|
|
|
49
58
|
activesupport
|
|
50
59
|
diff-lcs (1.5.0)
|
|
51
60
|
docile (1.4.0)
|
|
52
|
-
|
|
61
|
+
drb (2.1.1)
|
|
62
|
+
ruby2_keywords
|
|
63
|
+
dry-configurable (1.1.0)
|
|
53
64
|
dry-core (~> 1.0, < 2)
|
|
54
65
|
zeitwerk (~> 2.6)
|
|
55
|
-
dry-core (1.0.
|
|
66
|
+
dry-core (1.0.1)
|
|
56
67
|
concurrent-ruby (~> 1.0)
|
|
57
68
|
zeitwerk (~> 2.6)
|
|
58
69
|
dry-inflector (1.0.0)
|
|
@@ -65,7 +76,7 @@ GEM
|
|
|
65
76
|
concurrent-ruby (~> 1.0)
|
|
66
77
|
dry-core (~> 1.0, < 2)
|
|
67
78
|
zeitwerk (~> 2.6)
|
|
68
|
-
dry-schema (1.13.
|
|
79
|
+
dry-schema (1.13.3)
|
|
69
80
|
concurrent-ruby (~> 1.0)
|
|
70
81
|
dry-configurable (~> 1.0, >= 1.0.1)
|
|
71
82
|
dry-core (~> 1.0, < 2)
|
|
@@ -94,7 +105,8 @@ GEM
|
|
|
94
105
|
activesupport (>= 3.0, < 8.0)
|
|
95
106
|
equivalent-xml (0.6.0)
|
|
96
107
|
nokogiri (>= 1.4.3)
|
|
97
|
-
faraday (2.7.
|
|
108
|
+
faraday (2.7.11)
|
|
109
|
+
base64
|
|
98
110
|
faraday-net_http (>= 2.0, < 3.1)
|
|
99
111
|
ruby2_keywords (>= 0.0.4)
|
|
100
112
|
faraday-net_http (3.0.2)
|
|
@@ -103,32 +115,34 @@ GEM
|
|
|
103
115
|
concurrent-ruby (~> 1.0)
|
|
104
116
|
ice_nine (0.11.2)
|
|
105
117
|
json (2.6.3)
|
|
106
|
-
jsonpath (1.1.
|
|
118
|
+
jsonpath (1.1.5)
|
|
107
119
|
multi_json
|
|
120
|
+
language_server-protocol (3.17.0.3)
|
|
108
121
|
launchy (2.5.2)
|
|
109
122
|
addressable (~> 2.8)
|
|
110
|
-
minitest (5.
|
|
123
|
+
minitest (5.20.0)
|
|
111
124
|
multi_json (1.15.0)
|
|
112
|
-
|
|
125
|
+
mutex_m (0.1.2)
|
|
126
|
+
nokogiri (1.15.4-x86_64-darwin)
|
|
113
127
|
racc (~> 1.4)
|
|
114
|
-
nokogiri (1.15.
|
|
128
|
+
nokogiri (1.15.4-x86_64-linux)
|
|
115
129
|
racc (~> 1.4)
|
|
116
130
|
openapi3_parser (0.9.2)
|
|
117
131
|
commonmarker (~> 0.17)
|
|
118
|
-
openapi_parser (0.
|
|
119
|
-
optimist (3.0
|
|
132
|
+
openapi_parser (1.0.0)
|
|
133
|
+
optimist (3.1.0)
|
|
120
134
|
parallel (1.23.0)
|
|
121
|
-
parser (3.2.2.
|
|
135
|
+
parser (3.2.2.4)
|
|
122
136
|
ast (~> 2.4.1)
|
|
123
137
|
racc
|
|
124
138
|
patience_diff (1.2.0)
|
|
125
139
|
optimist (~> 3.0)
|
|
126
|
-
public_suffix (5.0.
|
|
127
|
-
racc (1.7.
|
|
140
|
+
public_suffix (5.0.3)
|
|
141
|
+
racc (1.7.1)
|
|
128
142
|
rainbow (3.1.1)
|
|
129
|
-
rake (13.0
|
|
130
|
-
regexp_parser (2.8.
|
|
131
|
-
rexml (3.2.
|
|
143
|
+
rake (13.1.0)
|
|
144
|
+
regexp_parser (2.8.2)
|
|
145
|
+
rexml (3.2.6)
|
|
132
146
|
rspec (3.12.0)
|
|
133
147
|
rspec-core (~> 3.12.0)
|
|
134
148
|
rspec-expectations (~> 3.12.0)
|
|
@@ -138,34 +152,35 @@ GEM
|
|
|
138
152
|
rspec-expectations (3.12.3)
|
|
139
153
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
140
154
|
rspec-support (~> 3.12.0)
|
|
141
|
-
rspec-mocks (3.12.
|
|
155
|
+
rspec-mocks (3.12.6)
|
|
142
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
143
157
|
rspec-support (~> 3.12.0)
|
|
144
|
-
rspec-support (3.12.
|
|
158
|
+
rspec-support (3.12.1)
|
|
145
159
|
rspec_junit_formatter (0.6.0)
|
|
146
160
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
147
|
-
rss (0.
|
|
161
|
+
rss (0.3.0)
|
|
148
162
|
rexml
|
|
149
|
-
rubocop (1.
|
|
163
|
+
rubocop (1.57.2)
|
|
150
164
|
json (~> 2.3)
|
|
165
|
+
language_server-protocol (>= 3.17.0)
|
|
151
166
|
parallel (~> 1.10)
|
|
152
|
-
parser (>= 3.2.2.
|
|
167
|
+
parser (>= 3.2.2.4)
|
|
153
168
|
rainbow (>= 2.2.2, < 4.0)
|
|
154
169
|
regexp_parser (>= 1.8, < 3.0)
|
|
155
170
|
rexml (>= 3.2.5, < 4.0)
|
|
156
|
-
rubocop-ast (>= 1.28.
|
|
171
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
|
157
172
|
ruby-progressbar (~> 1.7)
|
|
158
173
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
159
|
-
rubocop-ast (1.
|
|
174
|
+
rubocop-ast (1.30.0)
|
|
160
175
|
parser (>= 3.2.1.0)
|
|
161
|
-
rubocop-capybara (2.
|
|
176
|
+
rubocop-capybara (2.19.0)
|
|
162
177
|
rubocop (~> 1.41)
|
|
163
|
-
rubocop-factory_bot (2.
|
|
178
|
+
rubocop-factory_bot (2.24.0)
|
|
164
179
|
rubocop (~> 1.33)
|
|
165
180
|
rubocop-rake (0.6.0)
|
|
166
181
|
rubocop (~> 1.0)
|
|
167
|
-
rubocop-rspec (2.
|
|
168
|
-
rubocop (~> 1.
|
|
182
|
+
rubocop-rspec (2.25.0)
|
|
183
|
+
rubocop (~> 1.40)
|
|
169
184
|
rubocop-capybara (~> 2.17)
|
|
170
185
|
rubocop-factory_bot (~> 2.22)
|
|
171
186
|
ruby-progressbar (1.13.0)
|
|
@@ -180,19 +195,21 @@ GEM
|
|
|
180
195
|
attr_extras (>= 6.2.4)
|
|
181
196
|
diff-lcs
|
|
182
197
|
patience_diff
|
|
183
|
-
thor (1.
|
|
198
|
+
thor (1.3.0)
|
|
184
199
|
tzinfo (2.0.6)
|
|
185
200
|
concurrent-ruby (~> 1.0)
|
|
186
|
-
unicode-display_width (2.
|
|
187
|
-
webmock (3.
|
|
201
|
+
unicode-display_width (2.5.0)
|
|
202
|
+
webmock (3.19.1)
|
|
188
203
|
addressable (>= 2.8.0)
|
|
189
204
|
crack (>= 0.3.2)
|
|
190
205
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
191
|
-
zeitwerk (2.6.
|
|
206
|
+
zeitwerk (2.6.12)
|
|
192
207
|
|
|
193
208
|
PLATFORMS
|
|
194
209
|
x86_64-darwin-19
|
|
210
|
+
x86_64-darwin-20
|
|
195
211
|
x86_64-darwin-21
|
|
212
|
+
x86_64-darwin-22
|
|
196
213
|
x86_64-linux
|
|
197
214
|
|
|
198
215
|
DEPENDENCIES
|
data/lib/sdr_client/version.rb
CHANGED
data/lib/sdr_client.rb
CHANGED
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
require 'dry/monads'
|
|
4
4
|
require 'faraday'
|
|
5
5
|
require 'active_support'
|
|
6
|
-
require 'active_support/core_ext
|
|
7
|
-
require 'active_support/core_ext/hash/indifferent_access'
|
|
8
|
-
require 'active_support/core_ext/file/atomic'
|
|
6
|
+
require 'active_support/core_ext'
|
|
9
7
|
require 'cocina/models'
|
|
10
8
|
|
|
11
9
|
require 'sdr_client/version'
|
data/sdr-client.gemspec
CHANGED
|
@@ -28,20 +28,11 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
spec.require_paths = ['lib']
|
|
29
29
|
|
|
30
30
|
spec.add_dependency 'activesupport'
|
|
31
|
-
spec.add_dependency 'cocina-models', '~> 0.
|
|
31
|
+
spec.add_dependency 'cocina-models', '~> 0.92.0'
|
|
32
32
|
spec.add_dependency 'config'
|
|
33
33
|
spec.add_dependency 'dry-monads'
|
|
34
34
|
spec.add_dependency 'faraday', '>= 0.16'
|
|
35
35
|
spec.add_dependency 'launchy'
|
|
36
36
|
|
|
37
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
|
38
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
|
39
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
40
|
-
spec.add_development_dependency 'rubocop', '~> 1.24'
|
|
41
|
-
spec.add_development_dependency 'rubocop-rake'
|
|
42
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.1'
|
|
43
|
-
spec.add_development_dependency 'simplecov'
|
|
44
|
-
spec.add_development_dependency 'thor'
|
|
45
|
-
spec.add_development_dependency 'webmock', '~> 3.7'
|
|
46
37
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
47
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sdr-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.
|
|
33
|
+
version: 0.92.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
40
|
+
version: 0.92.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: config
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,132 +94,6 @@ dependencies:
|
|
|
94
94
|
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
|
-
- !ruby/object:Gem::Dependency
|
|
98
|
-
name: bundler
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - "~>"
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '2.0'
|
|
104
|
-
type: :development
|
|
105
|
-
prerelease: false
|
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
-
requirements:
|
|
108
|
-
- - "~>"
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: '2.0'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: rake
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - "~>"
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: '13.0'
|
|
118
|
-
type: :development
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - "~>"
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: '13.0'
|
|
125
|
-
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: rspec
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - "~>"
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: '3.0'
|
|
132
|
-
type: :development
|
|
133
|
-
prerelease: false
|
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
-
requirements:
|
|
136
|
-
- - "~>"
|
|
137
|
-
- !ruby/object:Gem::Version
|
|
138
|
-
version: '3.0'
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: rubocop
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - "~>"
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: '1.24'
|
|
146
|
-
type: :development
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - "~>"
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '1.24'
|
|
153
|
-
- !ruby/object:Gem::Dependency
|
|
154
|
-
name: rubocop-rake
|
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
|
156
|
-
requirements:
|
|
157
|
-
- - ">="
|
|
158
|
-
- !ruby/object:Gem::Version
|
|
159
|
-
version: '0'
|
|
160
|
-
type: :development
|
|
161
|
-
prerelease: false
|
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
-
requirements:
|
|
164
|
-
- - ">="
|
|
165
|
-
- !ruby/object:Gem::Version
|
|
166
|
-
version: '0'
|
|
167
|
-
- !ruby/object:Gem::Dependency
|
|
168
|
-
name: rubocop-rspec
|
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
|
170
|
-
requirements:
|
|
171
|
-
- - "~>"
|
|
172
|
-
- !ruby/object:Gem::Version
|
|
173
|
-
version: '2.1'
|
|
174
|
-
type: :development
|
|
175
|
-
prerelease: false
|
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
177
|
-
requirements:
|
|
178
|
-
- - "~>"
|
|
179
|
-
- !ruby/object:Gem::Version
|
|
180
|
-
version: '2.1'
|
|
181
|
-
- !ruby/object:Gem::Dependency
|
|
182
|
-
name: simplecov
|
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
|
184
|
-
requirements:
|
|
185
|
-
- - ">="
|
|
186
|
-
- !ruby/object:Gem::Version
|
|
187
|
-
version: '0'
|
|
188
|
-
type: :development
|
|
189
|
-
prerelease: false
|
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
191
|
-
requirements:
|
|
192
|
-
- - ">="
|
|
193
|
-
- !ruby/object:Gem::Version
|
|
194
|
-
version: '0'
|
|
195
|
-
- !ruby/object:Gem::Dependency
|
|
196
|
-
name: thor
|
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
|
198
|
-
requirements:
|
|
199
|
-
- - ">="
|
|
200
|
-
- !ruby/object:Gem::Version
|
|
201
|
-
version: '0'
|
|
202
|
-
type: :development
|
|
203
|
-
prerelease: false
|
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
205
|
-
requirements:
|
|
206
|
-
- - ">="
|
|
207
|
-
- !ruby/object:Gem::Version
|
|
208
|
-
version: '0'
|
|
209
|
-
- !ruby/object:Gem::Dependency
|
|
210
|
-
name: webmock
|
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
|
212
|
-
requirements:
|
|
213
|
-
- - "~>"
|
|
214
|
-
- !ruby/object:Gem::Version
|
|
215
|
-
version: '3.7'
|
|
216
|
-
type: :development
|
|
217
|
-
prerelease: false
|
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
219
|
-
requirements:
|
|
220
|
-
- - "~>"
|
|
221
|
-
- !ruby/object:Gem::Version
|
|
222
|
-
version: '3.7'
|
|
223
97
|
description: This provides a way to deposit repository objects into the Stanford Digital
|
|
224
98
|
Repository
|
|
225
99
|
email:
|
|
@@ -304,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
304
178
|
- !ruby/object:Gem::Version
|
|
305
179
|
version: '0'
|
|
306
180
|
requirements: []
|
|
307
|
-
rubygems_version: 3.4.
|
|
181
|
+
rubygems_version: 3.4.19
|
|
308
182
|
signing_key:
|
|
309
183
|
specification_version: 4
|
|
310
184
|
summary: The CLI for https://github.com/sul-dlss/sdr-api
|