sdr-client 2.25.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 +4 -4
- data/Gemfile.lock +10 -10
- data/lib/sdr_client/redesigned_client/cli/update.rb +2 -2
- data/lib/sdr_client/update.rb +0 -2
- data/lib/sdr_client/version.rb +1 -1
- data/sdr-client.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '038fb7b35057945815cbdb65528440406723df543fc20c8c65c54f61c69d9a52'
|
4
|
+
data.tar.gz: 46ce8cfd2e7397a5b42d4f563918c6539ee4bea0b23c107d4655ab8e942a7571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
4
|
+
sdr-client (2.26.0)
|
5
5
|
activesupport
|
6
|
-
cocina-models (~> 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.
|
16
|
+
activesupport (8.0.3)
|
17
17
|
base64
|
18
18
|
benchmark (>= 0.3)
|
19
19
|
bigdecimal
|
@@ -36,7 +36,7 @@ GEM
|
|
36
36
|
byebug (12.0.0)
|
37
37
|
childprocess (5.1.0)
|
38
38
|
logger (~> 1.5)
|
39
|
-
cocina-models (0.
|
39
|
+
cocina-models (0.107.0)
|
40
40
|
activesupport
|
41
41
|
deprecation
|
42
42
|
dry-struct (~> 1.0)
|
@@ -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.
|
97
|
+
faraday (2.14.0)
|
98
98
|
faraday-net_http (>= 2.0, < 3.5)
|
99
99
|
json
|
100
100
|
logger
|
@@ -104,7 +104,7 @@ GEM
|
|
104
104
|
i18n (1.14.7)
|
105
105
|
concurrent-ruby (~> 1.0)
|
106
106
|
ice_nine (0.11.2)
|
107
|
-
json (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)
|
@@ -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.
|
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.
|
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,10 +163,10 @@ 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.
|
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.
|
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)
|
@@ -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]
|
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]
|
170
|
+
controlledDigitalLending: !!options[:cdl]
|
171
171
|
),
|
172
172
|
administrative: options[:view] == 'dark' ?
|
173
173
|
{ publish: false, shelve: false, sdrPreserve: file.administrative.sdrPreserve } :
|
data/lib/sdr_client/update.rb
CHANGED
@@ -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
|
data/lib/sdr_client/version.rb
CHANGED
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.
|
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.
|
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:
|
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.
|
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.
|
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.
|
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: []
|