sdr-client 2.14.0 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/Gemfile.lock +27 -26
- data/lib/sdr_client/redesigned_client/deposit.rb +2 -0
- 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: f5597f3b5850d7af1a42a940e3b3a2dc41456e25496f9068f336fa7f5e56b10c
|
4
|
+
data.tar.gz: 3ac03b6138442518a49a513ed279aea51d9687cd5743c53751af68922eaaf6f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843bbc6116e49dc02c83dc851e5ca3c5fd49d10a4f2cb978fd41d1288ab1462498a55c05a8b87f85469b319a42b3c560a3e242d725a383aec389cfad5926fbc4
|
7
|
+
data.tar.gz: 8e8315896413afe3ccae3b889e6afb36a9537e7de320122d5dc168fe71d34a1b253f2c74fd978e9e67ffaedcfb4b904d2c54181fc7c7949e6bb88a0f59f0133c
|
data/.circleci/config.yml
CHANGED
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.16.0)
|
5
5
|
activesupport
|
6
|
-
cocina-models (~> 0.
|
6
|
+
cocina-models (~> 0.98.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 (7.1.3.
|
16
|
+
activesupport (7.1.3.4)
|
17
17
|
base64
|
18
18
|
bigdecimal
|
19
19
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
bigdecimal (3.1.8)
|
32
32
|
byebug (11.1.3)
|
33
33
|
childprocess (5.0.0)
|
34
|
-
cocina-models (0.
|
34
|
+
cocina-models (0.98.0)
|
35
35
|
activesupport
|
36
36
|
deprecation
|
37
37
|
dry-struct (~> 1.0)
|
@@ -43,13 +43,14 @@ GEM
|
|
43
43
|
nokogiri
|
44
44
|
openapi3_parser
|
45
45
|
openapi_parser (~> 1.0)
|
46
|
-
rss
|
47
46
|
super_diff
|
48
47
|
thor
|
49
48
|
zeitwerk (~> 2.1)
|
50
|
-
commonmarker (
|
51
|
-
|
52
|
-
|
49
|
+
commonmarker (1.1.4-arm64-darwin)
|
50
|
+
commonmarker (1.1.4-x86_64-darwin)
|
51
|
+
commonmarker (1.1.4-x86_64-linux)
|
52
|
+
concurrent-ruby (1.3.3)
|
53
|
+
config (5.5.1)
|
53
54
|
deep_merge (~> 1.2, >= 1.2.1)
|
54
55
|
connection_pool (2.4.1)
|
55
56
|
crack (1.0.0)
|
@@ -89,7 +90,7 @@ GEM
|
|
89
90
|
activesupport (>= 3.0, < 8.0)
|
90
91
|
equivalent-xml (0.6.0)
|
91
92
|
nokogiri (>= 1.4.3)
|
92
|
-
faraday (2.9.
|
93
|
+
faraday (2.9.1)
|
93
94
|
faraday-net_http (>= 2.0, < 3.2)
|
94
95
|
faraday-net_http (3.1.0)
|
95
96
|
net-http
|
@@ -104,7 +105,7 @@ GEM
|
|
104
105
|
launchy (3.0.1)
|
105
106
|
addressable (~> 2.8)
|
106
107
|
childprocess (~> 5.0)
|
107
|
-
minitest (5.
|
108
|
+
minitest (5.23.1)
|
108
109
|
multi_json (1.15.0)
|
109
110
|
mutex_m (0.2.0)
|
110
111
|
net-http (0.4.1)
|
@@ -115,22 +116,23 @@ GEM
|
|
115
116
|
racc (~> 1.4)
|
116
117
|
nokogiri (1.16.5-x86_64-linux)
|
117
118
|
racc (~> 1.4)
|
118
|
-
openapi3_parser (0.
|
119
|
-
commonmarker (
|
119
|
+
openapi3_parser (0.10.0)
|
120
|
+
commonmarker (>= 1.0)
|
120
121
|
openapi_parser (1.0.0)
|
121
122
|
optimist (3.1.0)
|
122
|
-
parallel (1.
|
123
|
-
parser (3.3.
|
123
|
+
parallel (1.25.1)
|
124
|
+
parser (3.3.2.0)
|
124
125
|
ast (~> 2.4.1)
|
125
126
|
racc
|
126
127
|
patience_diff (1.2.0)
|
127
128
|
optimist (~> 3.0)
|
128
129
|
public_suffix (5.0.5)
|
129
|
-
racc (1.
|
130
|
+
racc (1.8.0)
|
130
131
|
rainbow (3.1.1)
|
131
132
|
rake (13.2.1)
|
132
|
-
regexp_parser (2.9.
|
133
|
-
rexml (3.2.
|
133
|
+
regexp_parser (2.9.2)
|
134
|
+
rexml (3.2.9)
|
135
|
+
strscan
|
134
136
|
rspec (3.13.0)
|
135
137
|
rspec-core (~> 3.13.0)
|
136
138
|
rspec-expectations (~> 3.13.0)
|
@@ -146,9 +148,7 @@ GEM
|
|
146
148
|
rspec-support (3.13.1)
|
147
149
|
rspec_junit_formatter (0.6.0)
|
148
150
|
rspec-core (>= 2, < 4, != 2.12.0)
|
149
|
-
|
150
|
-
rexml
|
151
|
-
rubocop (1.63.5)
|
151
|
+
rubocop (1.64.1)
|
152
152
|
json (~> 2.3)
|
153
153
|
language_server-protocol (>= 3.17.0)
|
154
154
|
parallel (~> 1.10)
|
@@ -161,18 +161,18 @@ GEM
|
|
161
161
|
unicode-display_width (>= 2.4.0, < 3.0)
|
162
162
|
rubocop-ast (1.31.3)
|
163
163
|
parser (>= 3.3.1.0)
|
164
|
-
rubocop-capybara (2.
|
164
|
+
rubocop-capybara (2.21.0)
|
165
165
|
rubocop (~> 1.41)
|
166
|
-
rubocop-factory_bot (2.
|
166
|
+
rubocop-factory_bot (2.26.0)
|
167
167
|
rubocop (~> 1.41)
|
168
168
|
rubocop-rake (0.6.0)
|
169
169
|
rubocop (~> 1.0)
|
170
|
-
rubocop-rspec (2.
|
170
|
+
rubocop-rspec (2.31.0)
|
171
171
|
rubocop (~> 1.40)
|
172
172
|
rubocop-capybara (~> 2.17)
|
173
173
|
rubocop-factory_bot (~> 2.22)
|
174
174
|
rubocop-rspec_rails (~> 2.28)
|
175
|
-
rubocop-rspec_rails (2.
|
175
|
+
rubocop-rspec_rails (2.29.0)
|
176
176
|
rubocop (~> 1.40)
|
177
177
|
ruby-progressbar (1.13.0)
|
178
178
|
simplecov (0.22.0)
|
@@ -181,6 +181,7 @@ GEM
|
|
181
181
|
simplecov_json_formatter (~> 0.1)
|
182
182
|
simplecov-html (0.12.3)
|
183
183
|
simplecov_json_formatter (0.1.4)
|
184
|
+
strscan (3.1.0)
|
184
185
|
super_diff (0.12.1)
|
185
186
|
attr_extras (>= 6.2.4)
|
186
187
|
diff-lcs
|
@@ -190,11 +191,11 @@ GEM
|
|
190
191
|
concurrent-ruby (~> 1.0)
|
191
192
|
unicode-display_width (2.5.0)
|
192
193
|
uri (0.13.0)
|
193
|
-
webmock (3.23.
|
194
|
+
webmock (3.23.1)
|
194
195
|
addressable (>= 2.8.0)
|
195
196
|
crack (>= 0.3.2)
|
196
197
|
hashdiff (>= 0.4.0, < 2.0.0)
|
197
|
-
zeitwerk (2.6.
|
198
|
+
zeitwerk (2.6.15)
|
198
199
|
|
199
200
|
PLATFORMS
|
200
201
|
arm64-darwin-23
|
@@ -15,6 +15,7 @@ module SdrClient
|
|
15
15
|
# @param [Hash] options optional parameters
|
16
16
|
# @option options [Boolean] assign_doi should a DOI be assigned to this item
|
17
17
|
# @option options [String] priority what processing priority should be used ('low', 'default')
|
18
|
+
# @option options [String] user_versions action (none, new, update) to take for user version when closing version
|
18
19
|
# @option options [String] grouping_strategy what strategy will be used to group files
|
19
20
|
# @option options [String] file_set_strategy what strategy will be used to group file sets
|
20
21
|
# @option options [RequestBuilder] request_builder a request builder instance
|
@@ -48,6 +49,7 @@ module SdrClient
|
|
48
49
|
CreateResource.run(accession: accession,
|
49
50
|
priority: options[:priority],
|
50
51
|
assign_doi: options[:assign_doi],
|
52
|
+
user_versions: options[:user_versions],
|
51
53
|
metadata: new_request_dro)
|
52
54
|
end
|
53
55
|
|
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.98.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,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.16.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: 2024-
|
11
|
+
date: 2024-06-13 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.98.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.98.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: config
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
- !ruby/object:Gem::Version
|
225
225
|
version: '0'
|
226
226
|
requirements: []
|
227
|
-
rubygems_version: 3.
|
227
|
+
rubygems_version: 3.5.9
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: The CLI for https://github.com/sul-dlss/sdr-api
|