dor-services-client 12.13.0 → 12.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +18 -16
- data/README.md +0 -3
- data/dor-services-client.gemspec +1 -1
- data/lib/dor/services/client/metadata.rb +0 -12
- data/lib/dor/services/client/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b877cf239dc2d14f1aaa2424eede7ac1a61dfa18e4d5f978aee892d2d44d198
|
4
|
+
data.tar.gz: b3f2e8f3619378a082bb4dab3cad8fbf759b58c582d9ae9e3e670527ecf1f1f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 561d474859ea23d5be2fb404543ae730cd03ff87f4ba985eb72fffe986d0db235ea5e8c30484bd1953e05ec9d8f3e9464c2762ba59b32aae3955b58fc9ad5ccb
|
7
|
+
data.tar.gz: fc0f8b3fa6c6e751ff71105c8e6a84a8f3338a5abf3dd78a2940cff615a2407a5aa452eb5f6c38d2251bdf5d9cc59574d626d9c965a8655cb34f24ef09c3e4ab
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dor-services-client (12.
|
4
|
+
dor-services-client (12.14.0)
|
5
5
|
activesupport (>= 4.2, < 8)
|
6
|
-
cocina-models (~> 0.
|
6
|
+
cocina-models (~> 0.90.0)
|
7
7
|
deprecation
|
8
8
|
faraday (~> 2.0)
|
9
9
|
faraday-retry
|
@@ -12,7 +12,7 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (7.0.4.
|
15
|
+
activesupport (7.0.4.3)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 1.6, < 2)
|
18
18
|
minitest (>= 5.1)
|
@@ -22,7 +22,7 @@ GEM
|
|
22
22
|
ast (2.4.2)
|
23
23
|
attr_extras (7.1.0)
|
24
24
|
byebug (11.1.3)
|
25
|
-
cocina-models (0.
|
25
|
+
cocina-models (0.90.0)
|
26
26
|
activesupport
|
27
27
|
deprecation
|
28
28
|
dry-struct (~> 1.0)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
faraday-net_http (>= 2.0, < 3.1)
|
73
73
|
ruby2_keywords (>= 0.0.4)
|
74
74
|
faraday-net_http (3.0.2)
|
75
|
-
faraday-retry (2.
|
75
|
+
faraday-retry (2.1.0)
|
76
76
|
faraday (~> 2.0)
|
77
77
|
hashdiff (1.0.1)
|
78
78
|
i18n (1.12.0)
|
@@ -81,18 +81,20 @@ GEM
|
|
81
81
|
json (2.6.3)
|
82
82
|
jsonpath (1.1.2)
|
83
83
|
multi_json
|
84
|
-
|
84
|
+
mini_portile2 (2.8.1)
|
85
|
+
minitest (5.18.0)
|
85
86
|
multi_json (1.15.0)
|
86
|
-
nokogiri (1.14.2
|
87
|
+
nokogiri (1.14.2)
|
88
|
+
mini_portile2 (~> 2.8.0)
|
87
89
|
racc (~> 1.4)
|
88
|
-
nokogiri (1.14.2-x86_64-
|
90
|
+
nokogiri (1.14.2-x86_64-darwin)
|
89
91
|
racc (~> 1.4)
|
90
92
|
openapi3_parser (0.9.2)
|
91
93
|
commonmarker (~> 0.17)
|
92
94
|
openapi_parser (0.15.0)
|
93
95
|
optimist (3.0.1)
|
94
96
|
parallel (1.22.1)
|
95
|
-
parser (3.2.1.
|
97
|
+
parser (3.2.1.1)
|
96
98
|
ast (~> 2.4.1)
|
97
99
|
patience_diff (1.2.0)
|
98
100
|
optimist (~> 3.0)
|
@@ -111,13 +113,13 @@ GEM
|
|
111
113
|
rspec-expectations (3.12.2)
|
112
114
|
diff-lcs (>= 1.2.0, < 2.0)
|
113
115
|
rspec-support (~> 3.12.0)
|
114
|
-
rspec-mocks (3.12.
|
116
|
+
rspec-mocks (3.12.5)
|
115
117
|
diff-lcs (>= 1.2.0, < 2.0)
|
116
118
|
rspec-support (~> 3.12.0)
|
117
119
|
rspec-support (3.12.0)
|
118
120
|
rss (0.2.9)
|
119
121
|
rexml
|
120
|
-
rubocop (1.
|
122
|
+
rubocop (1.48.1)
|
121
123
|
json (~> 2.3)
|
122
124
|
parallel (~> 1.10)
|
123
125
|
parser (>= 3.2.0.0)
|
@@ -127,14 +129,14 @@ GEM
|
|
127
129
|
rubocop-ast (>= 1.26.0, < 2.0)
|
128
130
|
ruby-progressbar (~> 1.7)
|
129
131
|
unicode-display_width (>= 2.4.0, < 3.0)
|
130
|
-
rubocop-ast (1.
|
132
|
+
rubocop-ast (1.28.0)
|
131
133
|
parser (>= 3.2.1.0)
|
132
134
|
rubocop-capybara (2.17.1)
|
133
135
|
rubocop (~> 1.41)
|
134
|
-
rubocop-rspec (2.
|
136
|
+
rubocop-rspec (2.19.0)
|
135
137
|
rubocop (~> 1.33)
|
136
138
|
rubocop-capybara (~> 2.17)
|
137
|
-
ruby-progressbar (1.
|
139
|
+
ruby-progressbar (1.13.0)
|
138
140
|
ruby2_keywords (0.0.5)
|
139
141
|
simplecov (0.22.0)
|
140
142
|
docile (~> 1.1)
|
@@ -142,7 +144,7 @@ GEM
|
|
142
144
|
simplecov_json_formatter (~> 0.1)
|
143
145
|
simplecov-html (0.12.3)
|
144
146
|
simplecov_json_formatter (0.1.4)
|
145
|
-
super_diff (0.
|
147
|
+
super_diff (0.10.0)
|
146
148
|
attr_extras (>= 6.2.4)
|
147
149
|
diff-lcs
|
148
150
|
patience_diff
|
@@ -174,4 +176,4 @@ DEPENDENCIES
|
|
174
176
|
webmock
|
175
177
|
|
176
178
|
BUNDLED WITH
|
177
|
-
2.
|
179
|
+
2.3.22
|
data/README.md
CHANGED
@@ -138,9 +138,6 @@ object_client.metadata.dublin_core
|
|
138
138
|
# Get the public descriptive XML representation
|
139
139
|
object_client.metadata.descriptive
|
140
140
|
|
141
|
-
# Get the public XML representation
|
142
|
-
object_client.metadata.public_xml
|
143
|
-
|
144
141
|
# Return the Cocina metadata
|
145
142
|
object_client.find
|
146
143
|
|
data/dor-services-client.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.required_ruby_version = '>= 3.0', '< 4'
|
26
26
|
|
27
27
|
spec.add_dependency 'activesupport', '>= 4.2', '< 8'
|
28
|
-
spec.add_dependency 'cocina-models', '~> 0.
|
28
|
+
spec.add_dependency 'cocina-models', '~> 0.90.0'
|
29
29
|
spec.add_dependency 'deprecation', '>= 0'
|
30
30
|
spec.add_dependency 'faraday', '~> 2.0'
|
31
31
|
spec.add_dependency 'faraday-retry'
|
@@ -37,18 +37,6 @@ module Dor
|
|
37
37
|
raise_exception_based_on_response!(resp, object_identifier)
|
38
38
|
end
|
39
39
|
|
40
|
-
# @return [String, NilClass] The public XML representation of the object or nil if response is 404
|
41
|
-
# @raise [UnexpectedResponse] on an unsuccessful response from the server
|
42
|
-
def public_xml
|
43
|
-
resp = connection.get do |req|
|
44
|
-
req.url "#{base_path}/public_xml"
|
45
|
-
end
|
46
|
-
return resp.body if resp.success?
|
47
|
-
return if resp.status == 404
|
48
|
-
|
49
|
-
raise_exception_based_on_response!(resp, object_identifier)
|
50
|
-
end
|
51
|
-
|
52
40
|
# @return [String, NilClass] the dor object's source MODS XML or nil if response is 404
|
53
41
|
# @raise [UnexpectedResponse] on an unsuccessful response from the server
|
54
42
|
def mods
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
- Michael Giarlo
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.90.0
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.90.0
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: deprecation
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,7 +213,7 @@ dependencies:
|
|
213
213
|
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
|
-
description:
|
216
|
+
description:
|
217
217
|
email:
|
218
218
|
- jcoyne@justincoyne.com
|
219
219
|
- leftwing@alumni.rutgers.edu
|
@@ -262,7 +262,7 @@ homepage: https://github.com/sul-dlss/dor-services-client
|
|
262
262
|
licenses: []
|
263
263
|
metadata:
|
264
264
|
rubygems_mfa_required: 'true'
|
265
|
-
post_install_message:
|
265
|
+
post_install_message:
|
266
266
|
rdoc_options: []
|
267
267
|
require_paths:
|
268
268
|
- lib
|
@@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
281
|
version: '0'
|
282
282
|
requirements: []
|
283
283
|
rubygems_version: 3.2.32
|
284
|
-
signing_key:
|
284
|
+
signing_key:
|
285
285
|
specification_version: 4
|
286
286
|
summary: A client for dor-services-app
|
287
287
|
test_files: []
|