sdr-client 2.24.0 → 2.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 428f1c156826bd2657f138ceb2eff9774d7352c0d52e7ce0c539dbbc41481975
4
- data.tar.gz: 3f5a585b45617afc473be6b457ad5d331cd5275f860b904e6ebbb930f9bcfb54
3
+ metadata.gz: '038fb7b35057945815cbdb65528440406723df543fc20c8c65c54f61c69d9a52'
4
+ data.tar.gz: 46ce8cfd2e7397a5b42d4f563918c6539ee4bea0b23c107d4655ab8e942a7571
5
5
  SHA512:
6
- metadata.gz: adeb65dedc1640d2e46c8233bb7e19fea2d1761064882ce2a605b0f3f50fbcb5c7d29870e2f2ac3f78a3cb8020e86bf1e9560f045c99580a4687590c889c5d0b
7
- data.tar.gz: 34795ed2a7160bcf34fb410536c5f786e7797a06d858774c7e9713a8e5e0766c474e1fcaf4af4ec844e5271b0abbda1d5d39813aa3d4f994e3587326ac6b6621
6
+ metadata.gz: 75f113e520fbcca85962502ffbe2500009cf5989f79ed46edd727165d76f9faab5d6e4a68d9acb11853738a8f6a263333156ec1157c853991ac09ba23a0986a2
7
+ data.tar.gz: c583100c40eae27e16ff78d1a413b03432dafffd17a54b8e2777749b873acb3ac96118821aefe70762c82b976e06d0aee7d1b353fa0e2242157f4ea43185956a
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sdr-client (2.24.0)
4
+ sdr-client (2.26.0)
5
5
  activesupport
6
- cocina-models (~> 0.105.0)
6
+ cocina-models (~> 0.107.0)
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.2)
16
+ activesupport (8.0.3)
17
17
  base64
18
18
  benchmark (>= 0.3)
19
19
  bigdecimal
@@ -32,11 +32,11 @@ GEM
32
32
  attr_extras (7.1.0)
33
33
  base64 (0.3.0)
34
34
  benchmark (0.4.1)
35
- bigdecimal (3.2.2)
35
+ bigdecimal (3.2.3)
36
36
  byebug (12.0.0)
37
37
  childprocess (5.1.0)
38
38
  logger (~> 1.5)
39
- cocina-models (0.105.0)
39
+ cocina-models (0.107.0)
40
40
  activesupport
41
41
  deprecation
42
42
  dry-struct (~> 1.0)
@@ -54,7 +54,7 @@ GEM
54
54
  config (5.6.1)
55
55
  deep_merge (~> 1.2, >= 1.2.1)
56
56
  ostruct
57
- connection_pool (2.5.3)
57
+ connection_pool (2.5.4)
58
58
  crack (1.0.0)
59
59
  bigdecimal
60
60
  rexml
@@ -94,17 +94,17 @@ GEM
94
94
  activesupport (>= 3.0, < 9.0)
95
95
  equivalent-xml (0.6.0)
96
96
  nokogiri (>= 1.4.3)
97
- faraday (2.13.2)
97
+ faraday (2.14.0)
98
98
  faraday-net_http (>= 2.0, < 3.5)
99
99
  json
100
100
  logger
101
101
  faraday-net_http (3.4.1)
102
102
  net-http (>= 0.5.0)
103
- hashdiff (1.2.0)
103
+ hashdiff (1.2.1)
104
104
  i18n (1.14.7)
105
105
  concurrent-ruby (~> 1.0)
106
106
  ice_nine (0.11.2)
107
- json (2.12.2)
107
+ json (2.15.0)
108
108
  jsonpath (1.1.5)
109
109
  multi_json
110
110
  language_server-protocol (3.17.0.5)
@@ -115,31 +115,31 @@ GEM
115
115
  lint_roller (1.1.0)
116
116
  logger (1.7.0)
117
117
  minitest (5.25.5)
118
- multi_json (1.16.0)
118
+ multi_json (1.17.0)
119
119
  net-http (0.6.0)
120
120
  uri
121
- nokogiri (1.18.8-arm64-darwin)
121
+ nokogiri (1.18.10-arm64-darwin)
122
122
  racc (~> 1.4)
123
- nokogiri (1.18.8-x86_64-darwin)
123
+ nokogiri (1.18.10-x86_64-darwin)
124
124
  racc (~> 1.4)
125
- nokogiri (1.18.8-x86_64-linux-gnu)
125
+ nokogiri (1.18.10-x86_64-linux-gnu)
126
126
  racc (~> 1.4)
127
127
  openapi_parser (1.0.0)
128
128
  optimist (3.2.1)
129
- ostruct (0.6.2)
129
+ ostruct (0.6.3)
130
130
  parallel (1.27.0)
131
- parser (3.3.8.0)
131
+ parser (3.3.9.0)
132
132
  ast (~> 2.4.1)
133
133
  racc
134
134
  patience_diff (1.2.0)
135
135
  optimist (~> 3.0)
136
- prism (1.4.0)
136
+ prism (1.5.1)
137
137
  public_suffix (6.0.2)
138
138
  racc (1.8.1)
139
139
  rainbow (3.1.1)
140
140
  rake (13.3.0)
141
- regexp_parser (2.10.0)
142
- rexml (3.4.1)
141
+ regexp_parser (2.11.3)
142
+ rexml (3.4.4)
143
143
  rspec (3.13.1)
144
144
  rspec-core (~> 3.13.0)
145
145
  rspec-expectations (~> 3.13.0)
@@ -152,10 +152,10 @@ GEM
152
152
  rspec-mocks (3.13.5)
153
153
  diff-lcs (>= 1.2.0, < 2.0)
154
154
  rspec-support (~> 3.13.0)
155
- rspec-support (3.13.4)
155
+ rspec-support (3.13.6)
156
156
  rspec_junit_formatter (0.6.0)
157
157
  rspec-core (>= 2, < 4, != 2.12.0)
158
- rubocop (1.78.0)
158
+ rubocop (1.81.1)
159
159
  json (~> 2.3)
160
160
  language_server-protocol (~> 3.17.0.2)
161
161
  lint_roller (~> 1.1.0)
@@ -163,16 +163,16 @@ GEM
163
163
  parser (>= 3.3.0.2)
164
164
  rainbow (>= 2.2.2, < 4.0)
165
165
  regexp_parser (>= 2.9.3, < 3.0)
166
- rubocop-ast (>= 1.45.1, < 2.0)
166
+ rubocop-ast (>= 1.47.1, < 2.0)
167
167
  ruby-progressbar (~> 1.7)
168
168
  unicode-display_width (>= 2.4.0, < 4.0)
169
- rubocop-ast (1.45.1)
169
+ rubocop-ast (1.47.1)
170
170
  parser (>= 3.3.7.2)
171
171
  prism (~> 1.4)
172
172
  rubocop-rake (0.7.1)
173
173
  lint_roller (~> 1.1)
174
174
  rubocop (>= 1.72.1)
175
- rubocop-rspec (3.6.0)
175
+ rubocop-rspec (3.7.0)
176
176
  lint_roller (~> 1.1)
177
177
  rubocop (~> 1.72, >= 1.72.1)
178
178
  ruby-progressbar (1.13.0)
@@ -181,18 +181,18 @@ GEM
181
181
  docile (~> 1.1)
182
182
  simplecov-html (~> 0.11)
183
183
  simplecov_json_formatter (~> 0.1)
184
- simplecov-html (0.13.1)
184
+ simplecov-html (0.13.2)
185
185
  simplecov_json_formatter (0.1.4)
186
186
  super_diff (0.16.0)
187
187
  attr_extras (>= 6.2.4)
188
188
  diff-lcs
189
189
  patience_diff
190
- thor (1.3.2)
190
+ thor (1.4.0)
191
191
  tzinfo (2.0.6)
192
192
  concurrent-ruby (~> 1.0)
193
- unicode-display_width (3.1.4)
194
- unicode-emoji (~> 4.0, >= 4.0.4)
195
- unicode-emoji (4.0.4)
193
+ unicode-display_width (3.2.0)
194
+ unicode-emoji (~> 4.1)
195
+ unicode-emoji (4.1.0)
196
196
  uri (1.0.3)
197
197
  webmock (3.25.1)
198
198
  addressable (>= 2.8.0)
@@ -224,4 +224,4 @@ DEPENDENCIES
224
224
  webmock (~> 3.7)
225
225
 
226
226
  BUNDLED WITH
227
- 2.6.9
227
+ 2.7.2
@@ -155,7 +155,7 @@ module SdrClient
155
155
  view: options[:view],
156
156
  download: options[:download],
157
157
  location: options[:location],
158
- controlledDigitalLending: !!options[:cdl] # rubocop:disable Style/DoubleNegation
158
+ controlledDigitalLending: !!options[:cdl]
159
159
  ),
160
160
  structural: cocina_object.structural.new(
161
161
  contains: cocina_object.structural.contains.map do |file_set|
@@ -167,7 +167,7 @@ module SdrClient
167
167
  view: options[:view],
168
168
  download: options[:download],
169
169
  location: options[:location],
170
- controlledDigitalLending: !!options[:cdl] # rubocop:disable Style/DoubleNegation
170
+ controlledDigitalLending: !!options[:cdl]
171
171
  ),
172
172
  administrative: options[:view] == 'dark' ?
173
173
  { publish: false, shelve: false, sdrPreserve: file.administrative.sdrPreserve } :
@@ -144,7 +144,6 @@ module SdrClient
144
144
  )
145
145
  end
146
146
 
147
- # rubocop:disable Style/DoubleNegation
148
147
  # Update the access of a Cocina item if the options specify a new one, else return the original
149
148
  def update_access(cocina_object)
150
149
  return cocina_object unless options[:view] || options[:download] || options[:location] || options[:cdl]
@@ -179,6 +178,5 @@ module SdrClient
179
178
  )
180
179
  )
181
180
  end
182
- # rubocop:enable Style/DoubleNegation
183
181
  end
184
182
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '2.24.0'
4
+ VERSION = '2.26.0'
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.105.0'
31
+ spec.add_dependency 'cocina-models', '~> 0.107.0'
32
32
  spec.add_dependency 'config'
33
33
  spec.add_dependency 'dry-monads'
34
34
  spec.add_dependency 'faraday', '>= 0.16'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.24.0
4
+ version: 2.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-07-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.105.0
32
+ version: 0.107.0
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.105.0
39
+ version: 0.107.0
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: config
42
42
  requirement: !ruby/object:Gem::Requirement
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []
225
- rubygems_version: 3.6.2
225
+ rubygems_version: 3.7.0
226
226
  specification_version: 4
227
227
  summary: The CLI for https://github.com/sul-dlss/sdr-api
228
228
  test_files: []