sdr-client 2.19.0 → 2.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36dfee5a736196a6bef5e278eb3e7db390d074ca6a3828e32c98abe81b1bb316
4
- data.tar.gz: 664f514e53ac6ddb6f7505ee5533e4253edfb1b1010938786d42a69b218fbba4
3
+ metadata.gz: '087b8e5acb68d0be0da862c77f38216df4586613bafabfd07625bbadd64a17fe'
4
+ data.tar.gz: f82ec545f375c1f96069afe18592434f2c68dd6eee69429e561fe26a2f71d050
5
5
  SHA512:
6
- metadata.gz: 4f7f60b5ec5246c503c2731861a3cdf3f3cc6a15aa89b19bae697d51151e3acec6a9fcb2e5051220f293ef1de28d729818862b3e2c019015977700b60ecb1233
7
- data.tar.gz: 5cadf6924e38a3eecb8797347aa71aeb47cf1efa5e91329cfe7cb0b5a8c67748b79779b5bde5f3ff5a72ffd791c8d192a15529450cd941226d95dfc80a997eb6
6
+ metadata.gz: 0c3808b768f546158f32d9d7ae3f33a408592fcf355973adede80759b6cd6999dcae8113abd55b9bd526a58a77f3095c15b704cb261540fc688b383ca1503369
7
+ data.tar.gz: d093b28a4585921d7ac4fcbd8e61fc23a609795b485f97582563901d78b288a64c579b2e0a896a300441670a4635c730b0e500cc5b076ca1fc10f365eb60b5ea
data/.circleci/config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  version: 2.1
2
2
  orbs:
3
- ruby-rails: sul-dlss/ruby-rails@4.5.0
3
+ ruby-rails: sul-dlss/ruby-rails@4.6.0
4
4
  workflows:
5
5
  build:
6
6
  jobs:
@@ -9,4 +9,3 @@ workflows:
9
9
  - ruby-rails/test-gem:
10
10
  name: test
11
11
  context: dlss
12
- use-codecov: true
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
- require:
3
+ plugins:
4
4
  - rubocop-rake
5
5
  - rubocop-rspec
6
6
 
@@ -156,10 +156,6 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
156
156
  Enabled: true
157
157
  RSpec/SubjectDeclaration: # new in 2.5
158
158
  Enabled: true
159
- FactoryBot/SyntaxMethods: # new in 2.7
160
- Enabled: true
161
- RSpec/Rails/AvoidSetupHook: # new in 2.4
162
- Enabled: true
163
159
  RSpec/BeEq: # new in 2.9.0
164
160
  Enabled: true
165
161
  RSpec/BeNil: # new in 2.9.0
@@ -180,18 +176,12 @@ Style/MapCompactWithConditionalBlock: # new in 1.30
180
176
  Enabled: true
181
177
  RSpec/ChangeByZero: # new in 2.11.0
182
178
  Enabled: true
183
- Capybara/SpecificMatcher: # new in 2.12
184
- Enabled: true
185
- RSpec/Rails/HaveHttpStatus: # new in 2.12
186
- Enabled: true
187
-
188
179
  Lint/RequireRangeParentheses: # new in 1.32
189
180
  Enabled: true
190
181
  Style/EmptyHeredoc: # new in 1.32
191
182
  Enabled: true
192
183
  Style/MagicCommentFormat: # new in 1.35
193
184
  Enabled: true
194
-
195
185
  Lint/DuplicateMagicComment: # new in 1.37
196
186
  Enabled: true
197
187
  Lint/DuplicateMatchPattern: # new in 1.50
@@ -238,24 +228,6 @@ Style/RedundantRegexpConstructor: # new in 1.52
238
228
  Enabled: true
239
229
  Style/RedundantStringEscape: # new in 1.37
240
230
  Enabled: true
241
- Capybara/MatchStyle: # new in 2.17
242
- Enabled: true
243
- Capybara/NegationMatcher: # new in 2.14
244
- Enabled: true
245
- Capybara/SpecificActions: # new in 2.14
246
- Enabled: true
247
- Capybara/SpecificFinders: # new in 2.13
248
- Enabled: true
249
- FactoryBot/AssociationStyle: # new in 2.23
250
- Enabled: true
251
- FactoryBot/ConsistentParenthesesStyle: # new in 2.14
252
- Enabled: true
253
- FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
254
- Enabled: true
255
- FactoryBot/FactoryNameStyle: # new in 2.16
256
- Enabled: true
257
- FactoryBot/RedundantFactoryOption: # new in 2.23
258
- Enabled: true
259
231
  RSpec/BeEmpty: # new in 2.20
260
232
  Enabled: true
261
233
  RSpec/ContainExactly: # new in 2.19
@@ -276,13 +248,6 @@ RSpec/SkipBlockInsideExample: # new in 2.19
276
248
  Enabled: true
277
249
  RSpec/SortMetadata: # new in 2.14
278
250
  Enabled: true
279
- RSpec/Rails/InferredSpecType: # new in 2.14
280
- Enabled: true
281
- RSpec/Rails/MinitestAssertions: # new in 2.17
282
- Enabled: true
283
- RSpec/Rails/TravelAround: # new in 2.19
284
- Enabled: true
285
-
286
251
  Gemspec/DevelopmentDependencies: # new in 1.44
287
252
  Enabled: true
288
253
  Lint/MixedCaseRange: # new in 1.53
@@ -309,14 +274,69 @@ RSpec/SpecFilePathFormat: # new in 2.24
309
274
  Enabled: true
310
275
  RSpec/SpecFilePathSuffix: # new in 2.24
311
276
  Enabled: true
312
- RSpec/Rails/NegationBeValid: # new in 2.23
277
+ Gemspec/AddRuntimeDependency: # new in 1.65
313
278
  Enabled: true
314
-
315
- Capybara/ClickLinkOrButtonStyle: # new in 2.19
279
+ Lint/ArrayLiteralInRegexp: # new in 1.71
280
+ Enabled: true
281
+ Lint/ConstantReassignment: # new in 1.70
282
+ Enabled: true
283
+ Lint/CopDirectiveSyntax: # new in 1.72
284
+ Enabled: true
285
+ Lint/DuplicateSetElement: # new in 1.67
286
+ Enabled: true
287
+ Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
288
+ Enabled: true
289
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
290
+ Enabled: true
291
+ Lint/LiteralAssignmentInCondition: # new in 1.58
292
+ Enabled: true
293
+ Lint/NumericOperationWithConstantResult: # new in 1.69
294
+ Enabled: true
295
+ Lint/RedundantTypeConversion: # new in 1.72
296
+ Enabled: true
297
+ Lint/SharedMutableDefault: # new in 1.70
298
+ Enabled: true
299
+ Lint/SuppressedExceptionInNumberConversion: # new in 1.72
300
+ Enabled: true
301
+ Lint/UnescapedBracketInRegexp: # new in 1.68
302
+ Enabled: true
303
+ Lint/UselessConstantScoping: # new in 1.72
304
+ Enabled: true
305
+ Lint/UselessDefined: # new in 1.69
306
+ Enabled: true
307
+ Lint/UselessNumericOperation: # new in 1.66
308
+ Enabled: true
309
+ Style/AmbiguousEndlessMethodDefinition: # new in 1.68
310
+ Enabled: true
311
+ Style/BitwisePredicate: # new in 1.68
312
+ Enabled: true
313
+ Style/CombinableDefined: # new in 1.68
314
+ Enabled: true
315
+ Style/DigChain: # new in 1.69
316
+ Enabled: true
317
+ Style/FileNull: # new in 1.69
318
+ Enabled: true
319
+ Style/FileTouch: # new in 1.69
320
+ Enabled: true
321
+ Style/HashSlice: # new in 1.71
322
+ Enabled: true
323
+ Style/ItAssignment: # new in 1.70
324
+ Enabled: true
325
+ Style/KeywordArgumentsMerging: # new in 1.68
326
+ Enabled: true
327
+ Style/MapIntoArray: # new in 1.63
328
+ Enabled: true
329
+ Style/RedundantFormat: # new in 1.72
330
+ Enabled: true
331
+ Style/RedundantInterpolationUnfreeze: # new in 1.66
332
+ Enabled: true
333
+ Style/SafeNavigationChainLength: # new in 1.68
334
+ Enabled: true
335
+ Style/SendWithLiteralMethodName: # new in 1.64
316
336
  Enabled: true
317
- Capybara/RSpec/HaveSelector: # new in 2.19
337
+ Style/SingleLineDoEndBlock: # new in 1.57
318
338
  Enabled: true
319
- Capybara/RSpec/PredicateMatcher: # new in 2.19
339
+ Style/SuperArguments: # new in 1.64
320
340
  Enabled: true
321
- FactoryBot/IdSequence: # new in <<next>>
341
+ Style/SuperWithArgsParentheses: # new in 1.58
322
342
  Enabled: true
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config --auto-gen-only-exclude`
3
- # on 2024-05-01 23:27:58 UTC using RuboCop version 1.63.4.
3
+ # on 2025-03-10 18:31:00 UTC using RuboCop version 1.73.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
@@ -15,7 +15,7 @@ Gemspec/RequiredRubyVersion:
15
15
 
16
16
  # Offense count: 35
17
17
  # This cop supports safe autocorrection (--autocorrect).
18
- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
18
+ # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
19
19
  # URISchemes: http, https
20
20
  Layout/LineLength:
21
21
  Exclude:
@@ -33,12 +33,18 @@ Lint/NoReturnInBeginEndBlocks:
33
33
 
34
34
  # Offense count: 2
35
35
  # This cop supports safe autocorrection (--autocorrect).
36
- # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
36
+ # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
37
+ # NotImplementedExceptions: NotImplementedError
37
38
  Lint/UnusedMethodArgument:
38
39
  Exclude:
39
40
  - 'lib/sdr_client/deposit/file_type_file_set_strategy.rb'
40
41
  - 'lib/sdr_client/deposit/image_file_set_strategy.rb'
41
42
 
43
+ # Offense count: 1
44
+ Lint/UselessConstantScoping:
45
+ Exclude:
46
+ - 'lib/sdr_client/redesigned_client.rb'
47
+
42
48
  # Offense count: 15
43
49
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
44
50
  Metrics/AbcSize:
@@ -71,7 +77,7 @@ Metrics/MethodLength:
71
77
  - 'lib/sdr_client/redesigned_client/cli/update.rb'
72
78
  - 'lib/sdr_client/update.rb'
73
79
 
74
- # Offense count: 15
80
+ # Offense count: 16
75
81
  # Configuration parameters: Max, CountAsOne.
76
82
  RSpec/ExampleLength:
77
83
  Exclude:
data/Gemfile CHANGED
@@ -14,7 +14,7 @@ group :development do
14
14
  gem 'rspec', '~> 3.0'
15
15
  gem 'rubocop', '~> 1.24'
16
16
  gem 'rubocop-rake'
17
- gem 'rubocop-rspec', '~> 2.1'
17
+ gem 'rubocop-rspec'
18
18
  gem 'simplecov'
19
19
  gem 'thor'
20
20
  gem 'webmock', '~> 3.7'
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sdr-client (2.19.0)
4
+ sdr-client (2.20.1)
5
5
  activesupport
6
- cocina-models (~> 0.100.0)
6
+ cocina-models (~> 0.101.1)
7
7
  config
8
8
  dry-monads
9
9
  faraday (>= 0.16)
@@ -13,7 +13,7 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activesupport (8.0.1)
16
+ activesupport (8.0.2)
17
17
  base64
18
18
  benchmark (>= 0.3)
19
19
  bigdecimal
@@ -28,15 +28,15 @@ GEM
28
28
  uri (>= 0.13.1)
29
29
  addressable (2.8.7)
30
30
  public_suffix (>= 2.0.2, < 7.0)
31
- ast (2.4.2)
31
+ ast (2.4.3)
32
32
  attr_extras (7.1.0)
33
33
  base64 (0.2.0)
34
34
  benchmark (0.4.0)
35
35
  bigdecimal (3.1.9)
36
- byebug (11.1.3)
36
+ byebug (12.0.0)
37
37
  childprocess (5.1.0)
38
38
  logger (~> 1.5)
39
- cocina-models (0.100.0)
39
+ cocina-models (0.101.1)
40
40
  activesupport
41
41
  deprecation
42
42
  dry-struct (~> 1.0)
@@ -61,7 +61,7 @@ GEM
61
61
  deep_merge (1.2.2)
62
62
  deprecation (1.1.0)
63
63
  activesupport
64
- diff-lcs (1.5.1)
64
+ diff-lcs (1.6.1)
65
65
  docile (1.4.1)
66
66
  drb (2.2.1)
67
67
  dry-core (1.1.0)
@@ -74,11 +74,11 @@ GEM
74
74
  concurrent-ruby (~> 1.0)
75
75
  dry-core (~> 1.1)
76
76
  zeitwerk (~> 2.6)
77
- dry-monads (1.7.1)
77
+ dry-monads (1.8.3)
78
78
  concurrent-ruby (~> 1.0)
79
79
  dry-core (~> 1.1)
80
80
  zeitwerk (~> 2.6)
81
- dry-struct (1.7.1)
81
+ dry-struct (1.8.0)
82
82
  dry-core (~> 1.1)
83
83
  dry-types (~> 1.8, >= 1.8.2)
84
84
  ice_nine (~> 0.11)
@@ -94,7 +94,7 @@ GEM
94
94
  activesupport (>= 3.0, < 9.0)
95
95
  equivalent-xml (0.6.0)
96
96
  nokogiri (>= 1.4.3)
97
- faraday (2.12.2)
97
+ faraday (2.13.0)
98
98
  faraday-net_http (>= 2.0, < 3.5)
99
99
  json
100
100
  logger
@@ -104,40 +104,42 @@ GEM
104
104
  i18n (1.14.7)
105
105
  concurrent-ruby (~> 1.0)
106
106
  ice_nine (0.11.2)
107
- json (2.9.1)
107
+ json (2.10.2)
108
108
  jsonpath (1.1.5)
109
109
  multi_json
110
110
  language_server-protocol (3.17.0.4)
111
- launchy (3.1.0)
111
+ launchy (3.1.1)
112
112
  addressable (~> 2.8)
113
113
  childprocess (~> 5.0)
114
114
  logger (~> 1.6)
115
- logger (1.6.5)
116
- minitest (5.25.4)
115
+ lint_roller (1.1.0)
116
+ logger (1.7.0)
117
+ minitest (5.25.5)
117
118
  multi_json (1.15.0)
118
119
  net-http (0.6.0)
119
120
  uri
120
- nokogiri (1.18.2-arm64-darwin)
121
+ nokogiri (1.18.7-arm64-darwin)
121
122
  racc (~> 1.4)
122
- nokogiri (1.18.2-x86_64-darwin)
123
+ nokogiri (1.18.7-x86_64-darwin)
123
124
  racc (~> 1.4)
124
- nokogiri (1.18.2-x86_64-linux-gnu)
125
+ nokogiri (1.18.7-x86_64-linux-gnu)
125
126
  racc (~> 1.4)
126
127
  openapi_parser (1.0.0)
127
- optimist (3.2.0)
128
+ optimist (3.2.1)
128
129
  ostruct (0.6.1)
129
130
  parallel (1.26.3)
130
- parser (3.3.7.1)
131
+ parser (3.3.8.0)
131
132
  ast (~> 2.4.1)
132
133
  racc
133
134
  patience_diff (1.2.0)
134
135
  optimist (~> 3.0)
136
+ prism (1.4.0)
135
137
  public_suffix (6.0.1)
136
138
  racc (1.8.1)
137
139
  rainbow (3.1.1)
138
140
  rake (13.2.1)
139
141
  regexp_parser (2.10.0)
140
- rexml (3.4.0)
142
+ rexml (3.4.1)
141
143
  rspec (3.13.0)
142
144
  rspec-core (~> 3.13.0)
143
145
  rspec-expectations (~> 3.13.0)
@@ -153,31 +155,26 @@ GEM
153
155
  rspec-support (3.13.2)
154
156
  rspec_junit_formatter (0.6.0)
155
157
  rspec-core (>= 2, < 4, != 2.12.0)
156
- rubocop (1.71.2)
158
+ rubocop (1.75.2)
157
159
  json (~> 2.3)
158
- language_server-protocol (>= 3.17.0)
160
+ language_server-protocol (~> 3.17.0.2)
161
+ lint_roller (~> 1.1.0)
159
162
  parallel (~> 1.10)
160
163
  parser (>= 3.3.0.2)
161
164
  rainbow (>= 2.2.2, < 4.0)
162
165
  regexp_parser (>= 2.9.3, < 3.0)
163
- rubocop-ast (>= 1.38.0, < 2.0)
166
+ rubocop-ast (>= 1.44.0, < 2.0)
164
167
  ruby-progressbar (~> 1.7)
165
168
  unicode-display_width (>= 2.4.0, < 4.0)
166
- rubocop-ast (1.38.0)
167
- parser (>= 3.3.1.0)
168
- rubocop-capybara (2.21.0)
169
- rubocop (~> 1.41)
170
- rubocop-factory_bot (2.26.1)
171
- rubocop (~> 1.61)
172
- rubocop-rake (0.6.0)
173
- rubocop (~> 1.0)
174
- rubocop-rspec (2.31.0)
175
- rubocop (~> 1.40)
176
- rubocop-capybara (~> 2.17)
177
- rubocop-factory_bot (~> 2.22)
178
- rubocop-rspec_rails (~> 2.28)
179
- rubocop-rspec_rails (2.29.1)
180
- rubocop (~> 1.61)
169
+ rubocop-ast (1.44.1)
170
+ parser (>= 3.3.7.2)
171
+ prism (~> 1.4)
172
+ rubocop-rake (0.7.1)
173
+ lint_roller (~> 1.1)
174
+ rubocop (>= 1.72.1)
175
+ rubocop-rspec (3.5.0)
176
+ lint_roller (~> 1.1)
177
+ rubocop (~> 1.72, >= 1.72.1)
181
178
  ruby-progressbar (1.13.0)
182
179
  securerandom (0.4.1)
183
180
  simplecov (0.22.0)
@@ -196,12 +193,12 @@ GEM
196
193
  unicode-display_width (3.1.4)
197
194
  unicode-emoji (~> 4.0, >= 4.0.4)
198
195
  unicode-emoji (4.0.4)
199
- uri (1.0.2)
200
- webmock (3.25.0)
196
+ uri (1.0.3)
197
+ webmock (3.25.1)
201
198
  addressable (>= 2.8.0)
202
199
  crack (>= 0.3.2)
203
200
  hashdiff (>= 0.4.0, < 2.0.0)
204
- zeitwerk (2.7.1)
201
+ zeitwerk (2.7.2)
205
202
 
206
203
  PLATFORMS
207
204
  arm64-darwin-23
@@ -220,11 +217,11 @@ DEPENDENCIES
220
217
  rspec_junit_formatter
221
218
  rubocop (~> 1.24)
222
219
  rubocop-rake
223
- rubocop-rspec (~> 2.1)
220
+ rubocop-rspec
224
221
  sdr-client!
225
222
  simplecov
226
223
  thor
227
224
  webmock (~> 3.7)
228
225
 
229
226
  BUNDLED WITH
230
- 2.4.13
227
+ 2.6.8
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '2.19.0'
4
+ VERSION = '2.20.1'
5
5
  end
data/sdr-client.gemspec CHANGED
@@ -28,7 +28,7 @@ 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.100.0'
31
+ spec.add_dependency 'cocina-models', '~> 0.101.1'
32
32
  spec.add_dependency 'config'
33
33
  spec.add_dependency 'dry-monads'
34
34
  spec.add_dependency 'faraday', '>= 0.16'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.0
4
+ version: 2.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-02-19 00:00:00.000000000 Z
10
+ date: 2025-04-18 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -30,14 +29,14 @@ dependencies:
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: 0.100.0
32
+ version: 0.101.1
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: 0.100.0
39
+ version: 0.101.1
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: config
43
42
  requirement: !ruby/object:Gem::Requirement
@@ -209,7 +208,6 @@ metadata:
209
208
  source_code_uri: https://github.com/sul-dlss/sdr-client
210
209
  changelog_uri: https://github.com/sul-dlss/sdr-client/releases
211
210
  rubygems_mfa_required: 'true'
212
- post_install_message:
213
211
  rdoc_options: []
214
212
  require_paths:
215
213
  - lib
@@ -224,8 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
222
  - !ruby/object:Gem::Version
225
223
  version: '0'
226
224
  requirements: []
227
- rubygems_version: 3.5.11
228
- signing_key:
225
+ rubygems_version: 3.6.2
229
226
  specification_version: 4
230
227
  summary: The CLI for https://github.com/sul-dlss/sdr-api
231
228
  test_files: []