dor-services-client 14.20.0 → 14.21.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 +1 -1
- data/lib/dor/services/client/object_version.rb +11 -0
- data/lib/dor/services/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ff6813b9be520819736afe92755b1d8cc43588fad5f6f1af004cad685c57292
|
4
|
+
data.tar.gz: 6d2c7eb5cb09746fb7d523a3dfedf6a98f3735d35da9c91b619c3893ddf04cf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ad3758cdc34002e137d7d6e7702f9b639e9b56177d0ca94dc55893a7607a5ca4a20cb524018148de76a1b249a608a3a1482d5e24d7c0d30a58e0ede2df5a398
|
7
|
+
data.tar.gz: 16342d7ae5dbaa1138a9127cd497e43e45f6f6c78d79e1bb76d5db2b1ab18160ca5d7e608ad0d1c7ba312cc37c2f897cb3bf4b5bd8755e7c540b1fd53a7c8b8b
|
data/Gemfile.lock
CHANGED
@@ -152,6 +152,17 @@ module Dor
|
|
152
152
|
VersionStatus.new(JSON.parse(resp.body).symbolize_keys!)
|
153
153
|
end
|
154
154
|
|
155
|
+
# @return [Hash] the solr document for the user version
|
156
|
+
# @raise [UnexpectedResponse] on an unsuccessful response from the server
|
157
|
+
def solr(version)
|
158
|
+
resp = connection.get do |req|
|
159
|
+
req.url "#{base_path}/#{version}/solr"
|
160
|
+
end
|
161
|
+
raise_exception_based_on_response!(resp) unless resp.success?
|
162
|
+
|
163
|
+
JSON.parse(resp.body)
|
164
|
+
end
|
165
|
+
|
155
166
|
private
|
156
167
|
|
157
168
|
attr_reader :object_identifier
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-08-
|
12
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|