sdr-client 2.25.0 → 2.27.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 +22 -23
- 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: f4eac7ed872f8c4791565ebbb054b6b30529b27a1ec2f401726b2bde8ef2ac51
|
|
4
|
+
data.tar.gz: 4613edecdd8a60d35f2b001799e2abb1c746ac3932318eec0acf25a5be7b8510
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ee8192bf92808eb3bb74598880d017f5fc6972fbb42e947c07c8211ca8d6d2b0bcd74b322220b357b43095313f42c1ee9e67e1926d9291b3a178feae4c53917
|
|
7
|
+
data.tar.gz: e57d22b21910cffb4e95b8799680755bfc9422bd8692d4fd33c3ae109a84465ab96b802145df9b912edbe2d3591909280ce0819c99de7369cbe3296582c7a00f
|
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.27.0)
|
|
5
5
|
activesupport
|
|
6
|
-
cocina-models (~> 0.
|
|
6
|
+
cocina-models (~> 0.108.0)
|
|
7
7
|
config
|
|
8
8
|
dry-monads
|
|
9
9
|
faraday (>= 0.16)
|
|
@@ -13,14 +13,14 @@ PATH
|
|
|
13
13
|
GEM
|
|
14
14
|
remote: https://rubygems.org/
|
|
15
15
|
specs:
|
|
16
|
-
activesupport (8.0
|
|
16
|
+
activesupport (8.1.0)
|
|
17
17
|
base64
|
|
18
|
-
benchmark (>= 0.3)
|
|
19
18
|
bigdecimal
|
|
20
19
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
21
20
|
connection_pool (>= 2.2.5)
|
|
22
21
|
drb
|
|
23
22
|
i18n (>= 1.6, < 2)
|
|
23
|
+
json
|
|
24
24
|
logger (>= 1.4.2)
|
|
25
25
|
minitest (>= 5.1)
|
|
26
26
|
securerandom (>= 0.3)
|
|
@@ -31,12 +31,11 @@ GEM
|
|
|
31
31
|
ast (2.4.3)
|
|
32
32
|
attr_extras (7.1.0)
|
|
33
33
|
base64 (0.3.0)
|
|
34
|
-
|
|
35
|
-
bigdecimal (3.2.3)
|
|
34
|
+
bigdecimal (3.3.1)
|
|
36
35
|
byebug (12.0.0)
|
|
37
36
|
childprocess (5.1.0)
|
|
38
37
|
logger (~> 1.5)
|
|
39
|
-
cocina-models (0.
|
|
38
|
+
cocina-models (0.108.0)
|
|
40
39
|
activesupport
|
|
41
40
|
deprecation
|
|
42
41
|
dry-struct (~> 1.0)
|
|
@@ -55,7 +54,7 @@ GEM
|
|
|
55
54
|
deep_merge (~> 1.2, >= 1.2.1)
|
|
56
55
|
ostruct
|
|
57
56
|
connection_pool (2.5.4)
|
|
58
|
-
crack (1.0.
|
|
57
|
+
crack (1.0.1)
|
|
59
58
|
bigdecimal
|
|
60
59
|
rexml
|
|
61
60
|
deep_merge (1.2.2)
|
|
@@ -94,7 +93,7 @@ GEM
|
|
|
94
93
|
activesupport (>= 3.0, < 9.0)
|
|
95
94
|
equivalent-xml (0.6.0)
|
|
96
95
|
nokogiri (>= 1.4.3)
|
|
97
|
-
faraday (2.
|
|
96
|
+
faraday (2.14.0)
|
|
98
97
|
faraday-net_http (>= 2.0, < 3.5)
|
|
99
98
|
json
|
|
100
99
|
logger
|
|
@@ -104,7 +103,7 @@ GEM
|
|
|
104
103
|
i18n (1.14.7)
|
|
105
104
|
concurrent-ruby (~> 1.0)
|
|
106
105
|
ice_nine (0.11.2)
|
|
107
|
-
json (2.
|
|
106
|
+
json (2.15.2)
|
|
108
107
|
jsonpath (1.1.5)
|
|
109
108
|
multi_json
|
|
110
109
|
language_server-protocol (3.17.0.5)
|
|
@@ -114,7 +113,7 @@ GEM
|
|
|
114
113
|
logger (~> 1.6)
|
|
115
114
|
lint_roller (1.1.0)
|
|
116
115
|
logger (1.7.0)
|
|
117
|
-
minitest (5.
|
|
116
|
+
minitest (5.26.0)
|
|
118
117
|
multi_json (1.17.0)
|
|
119
118
|
net-http (0.6.0)
|
|
120
119
|
uri
|
|
@@ -128,34 +127,34 @@ GEM
|
|
|
128
127
|
optimist (3.2.1)
|
|
129
128
|
ostruct (0.6.3)
|
|
130
129
|
parallel (1.27.0)
|
|
131
|
-
parser (3.3.
|
|
130
|
+
parser (3.3.10.0)
|
|
132
131
|
ast (~> 2.4.1)
|
|
133
132
|
racc
|
|
134
133
|
patience_diff (1.2.0)
|
|
135
134
|
optimist (~> 3.0)
|
|
136
|
-
prism (1.
|
|
135
|
+
prism (1.6.0)
|
|
137
136
|
public_suffix (6.0.2)
|
|
138
137
|
racc (1.8.1)
|
|
139
138
|
rainbow (3.1.1)
|
|
140
139
|
rake (13.3.0)
|
|
141
140
|
regexp_parser (2.11.3)
|
|
142
141
|
rexml (3.4.4)
|
|
143
|
-
rspec (3.13.
|
|
142
|
+
rspec (3.13.2)
|
|
144
143
|
rspec-core (~> 3.13.0)
|
|
145
144
|
rspec-expectations (~> 3.13.0)
|
|
146
145
|
rspec-mocks (~> 3.13.0)
|
|
147
|
-
rspec-core (3.13.
|
|
146
|
+
rspec-core (3.13.6)
|
|
148
147
|
rspec-support (~> 3.13.0)
|
|
149
148
|
rspec-expectations (3.13.5)
|
|
150
149
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
151
150
|
rspec-support (~> 3.13.0)
|
|
152
|
-
rspec-mocks (3.13.
|
|
151
|
+
rspec-mocks (3.13.6)
|
|
153
152
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
154
153
|
rspec-support (~> 3.13.0)
|
|
155
|
-
rspec-support (3.13.
|
|
154
|
+
rspec-support (3.13.6)
|
|
156
155
|
rspec_junit_formatter (0.6.0)
|
|
157
156
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
158
|
-
rubocop (1.
|
|
157
|
+
rubocop (1.81.6)
|
|
159
158
|
json (~> 2.3)
|
|
160
159
|
language_server-protocol (~> 3.17.0.2)
|
|
161
160
|
lint_roller (~> 1.1.0)
|
|
@@ -163,10 +162,10 @@ GEM
|
|
|
163
162
|
parser (>= 3.3.0.2)
|
|
164
163
|
rainbow (>= 2.2.2, < 4.0)
|
|
165
164
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
166
|
-
rubocop-ast (>= 1.
|
|
165
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
167
166
|
ruby-progressbar (~> 1.7)
|
|
168
167
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
169
|
-
rubocop-ast (1.
|
|
168
|
+
rubocop-ast (1.47.1)
|
|
170
169
|
parser (>= 3.3.7.2)
|
|
171
170
|
prism (~> 1.4)
|
|
172
171
|
rubocop-rake (0.7.1)
|
|
@@ -183,7 +182,7 @@ GEM
|
|
|
183
182
|
simplecov_json_formatter (~> 0.1)
|
|
184
183
|
simplecov-html (0.13.2)
|
|
185
184
|
simplecov_json_formatter (0.1.4)
|
|
186
|
-
super_diff (0.
|
|
185
|
+
super_diff (0.17.0)
|
|
187
186
|
attr_extras (>= 6.2.4)
|
|
188
187
|
diff-lcs
|
|
189
188
|
patience_diff
|
|
@@ -193,8 +192,8 @@ GEM
|
|
|
193
192
|
unicode-display_width (3.2.0)
|
|
194
193
|
unicode-emoji (~> 4.1)
|
|
195
194
|
unicode-emoji (4.1.0)
|
|
196
|
-
uri (1.0.
|
|
197
|
-
webmock (3.
|
|
195
|
+
uri (1.0.4)
|
|
196
|
+
webmock (3.26.0)
|
|
198
197
|
addressable (>= 2.8.0)
|
|
199
198
|
crack (>= 0.3.2)
|
|
200
199
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
@@ -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.108.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.27.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.108.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.108.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: []
|