dor-services 4.22.6 → 4.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/dor/datastreams/content_metadata_ds.rb +33 -4
- data/lib/dor/models/publishable.rb +0 -1
- data/lib/dor/version.rb +1 -1
- metadata +81 -90
- data/config/certs/robots-dor-dev.crt +0 -29
- data/config/certs/robots-dor-dev.key +0 -27
- data/config/dev_console_env.rb +0 -77
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MzRmNDFlNWMyNmQzYzFkMTBlOGM0ZWFiMjU5NDMyNjc3ZjAxYzE2OA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d050e71f1ce1735d4e070bd9c0691eedd1595a15
|
4
|
+
data.tar.gz: 82d30bbd2dff8a7f134438d637c5b552ac11e0f0
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NGFhNWZjNGU0YWI0NmNjNTRiMWUxOWVkMGQzNWYwOWUzMmY5MDdmYTVkMWMw
|
11
|
-
OTRjYTQwMWQzODJkY2FkYjQ2NjJiZmI2OGIwMDJkYWMwYTBmMDY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZGQ5ZDlmNDM4ZTljNGIwNjQ5ZDM3YzA2YjAzZWJkYjUxZjUxMGJlMzZiMzky
|
14
|
-
YmJmMzY0MGQzODNjNGI1ZTNmNmU4ZGIyMjk5NTM3NzQxMmE2NDE4NDZiYjkz
|
15
|
-
NjhiZmM5MTg3NTFjNDUxOWYxYTFkZTc0Mjk1ZDMzYjkyYjVmMjA=
|
6
|
+
metadata.gz: 9b76b3ab3b360bb28904d6391c0e325694b036be58195dd84d6952a3ef3bd1d723dae7c49bbd18fc9380e05af088297184f6bdaea2e1f896555ab7dd7e657db2
|
7
|
+
data.tar.gz: 4b29c83f8f57629d9003033e454055114f1abb530c6d5f515081fc71937d158593a30dd5d86b0d712d7907085b27356f3770049c40590bfeaa1d17941815de23
|
@@ -35,10 +35,39 @@ module Dor
|
|
35
35
|
|
36
36
|
def public_xml
|
37
37
|
result = ng_xml.clone
|
38
|
-
|
39
|
-
|
40
|
-
result.xpath('/contentMetadata/resource
|
41
|
-
result.xpath('/contentMetadata/resource/file
|
38
|
+
|
39
|
+
# remove any resources or attributes that are not destined for the public XML
|
40
|
+
result.xpath('/contentMetadata/resource[not(file[(@deliver="yes" or @publish="yes")]|externalFile)]').each { |n| n.remove }
|
41
|
+
result.xpath('/contentMetadata/resource/file[not(@deliver="yes" or @publish="yes")]' ).each { |n| n.remove }
|
42
|
+
result.xpath('/contentMetadata/resource/file').xpath('@preserve|@shelve|@publish|@deliver' ).each { |n| n.remove }
|
43
|
+
result.xpath('/contentMetadata/resource/file/checksum' ).each { |n| n.remove }
|
44
|
+
|
45
|
+
# support for dereferencing links via externalFile element(s) to the source (child) item - see JUMBO-19
|
46
|
+
result.xpath('/contentMetadata/resource/externalFile').each do |externalFile|
|
47
|
+
# enforce pre-conditions that resourceId, objectId, fileId are required
|
48
|
+
src_resource_id = externalFile['resourceId']
|
49
|
+
src_druid = externalFile['objectId']
|
50
|
+
src_file_id = externalFile['fileId']
|
51
|
+
fail ArgumentError, "Malformed externalFile data: #{externalFile.inspect}" if [src_resource_id, src_file_id, src_druid].map(&:blank?).any?
|
52
|
+
|
53
|
+
# grab source item
|
54
|
+
src_item = Dor::Item.find(src_druid)
|
55
|
+
|
56
|
+
# locate and extract the resourceId/fileId elements
|
57
|
+
doc = src_item.datastreams['contentMetadata'].ng_xml
|
58
|
+
src_resource = doc.at_xpath("//resource[@id=\"#{src_resource_id}\"]")
|
59
|
+
src_file = src_resource.at_xpath("file[@id=\"#{src_file_id}\"]")
|
60
|
+
src_image_data = src_file.at_xpath('imageData')
|
61
|
+
|
62
|
+
# always use title regardless of whether a child label is present
|
63
|
+
src_label = doc.create_element('label')
|
64
|
+
src_label.content = src_item.datastreams['DC'].title.first
|
65
|
+
|
66
|
+
# add the extracted label and imageData
|
67
|
+
externalFile.add_previous_sibling(src_label)
|
68
|
+
externalFile << src_image_data unless src_image_data.nil?
|
69
|
+
end
|
70
|
+
|
42
71
|
result
|
43
72
|
end
|
44
73
|
|
@@ -50,7 +50,6 @@ module Dor
|
|
50
50
|
rels = public_relationships.root
|
51
51
|
pub.add_child(rels.clone) unless rels.nil? # TODO: Should never be nil in practice; working around an ActiveFedora quirk for testing
|
52
52
|
pub.add_child(generate_dublin_core.root.clone)
|
53
|
-
@public_xml_doc = pub # save this for possible IIIF Presentation manifest
|
54
53
|
pub.add_child(Nokogiri(generate_release_xml).root.clone) unless release_xml.children.size == 0 # If there are no release_tags, this prevents an empty <releaseData/> from being added
|
55
54
|
# Note we cannot base this on if an individual object has release tags or not, because the collection may cause one to be generated for an item,
|
56
55
|
# so we need to calculate it and then look at the final result.s
|
data/lib/dor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -12,312 +12,312 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: active-fedora
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - ~>
|
21
|
+
- - "~>"
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 5.7.1
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- - ~>
|
28
|
+
- - "~>"
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 5.7.1
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: activesupport
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- - ~>
|
35
|
+
- - "~>"
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '3.2'
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 3.2.18
|
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
47
|
version: '3.2'
|
48
|
-
- -
|
48
|
+
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: 3.2.18
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: confstruct
|
53
53
|
requirement: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - ~>
|
55
|
+
- - "~>"
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: 0.2.7
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- - ~>
|
62
|
+
- - "~>"
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 0.2.7
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
66
|
name: equivalent-xml
|
67
67
|
requirement: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - ~>
|
69
|
+
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0.5'
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.5.1
|
75
75
|
type: :runtime
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - ~>
|
79
|
+
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0.5'
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: 0.5.1
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: json
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- - ~>
|
89
|
+
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: 1.8.1
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
|
-
- - ~>
|
96
|
+
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: 1.8.1
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: net-sftp
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- - ~>
|
103
|
+
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: 2.1.2
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- - ~>
|
110
|
+
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: 2.1.2
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: net-ssh
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - ~>
|
117
|
+
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: 2.6.5
|
120
120
|
type: :runtime
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
|
-
- - ~>
|
124
|
+
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 2.6.5
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: nokogiri
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
|
-
- - ~>
|
131
|
+
- - "~>"
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: 1.6.0
|
134
134
|
type: :runtime
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- - ~>
|
138
|
+
- - "~>"
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: 1.6.0
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: om
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - ~>
|
145
|
+
- - "~>"
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: 1.8.0
|
148
148
|
type: :runtime
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- - ~>
|
152
|
+
- - "~>"
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: 1.8.0
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
156
|
name: progressbar
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
|
-
- - ~>
|
159
|
+
- - "~>"
|
160
160
|
- !ruby/object:Gem::Version
|
161
161
|
version: 0.21.0
|
162
162
|
type: :runtime
|
163
163
|
prerelease: false
|
164
164
|
version_requirements: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
|
-
- - ~>
|
166
|
+
- - "~>"
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: 0.21.0
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: rdf
|
171
171
|
requirement: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
|
-
- - ~>
|
173
|
+
- - "~>"
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: 1.0.9.0
|
176
176
|
type: :runtime
|
177
177
|
prerelease: false
|
178
178
|
version_requirements: !ruby/object:Gem::Requirement
|
179
179
|
requirements:
|
180
|
-
- - ~>
|
180
|
+
- - "~>"
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: 1.0.9.0
|
183
183
|
- !ruby/object:Gem::Dependency
|
184
184
|
name: rest-client
|
185
185
|
requirement: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
|
-
- - ~>
|
187
|
+
- - "~>"
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '1.7'
|
190
190
|
type: :runtime
|
191
191
|
prerelease: false
|
192
192
|
version_requirements: !ruby/object:Gem::Requirement
|
193
193
|
requirements:
|
194
|
-
- - ~>
|
194
|
+
- - "~>"
|
195
195
|
- !ruby/object:Gem::Version
|
196
196
|
version: '1.7'
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
198
|
name: rsolr-ext
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
|
-
- - ~>
|
201
|
+
- - "~>"
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: 1.0.3
|
204
204
|
type: :runtime
|
205
205
|
prerelease: false
|
206
206
|
version_requirements: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- - ~>
|
208
|
+
- - "~>"
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: 1.0.3
|
211
211
|
- !ruby/object:Gem::Dependency
|
212
212
|
name: ruby-cache
|
213
213
|
requirement: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
|
-
- - ~>
|
215
|
+
- - "~>"
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: 0.3.0
|
218
218
|
type: :runtime
|
219
219
|
prerelease: false
|
220
220
|
version_requirements: !ruby/object:Gem::Requirement
|
221
221
|
requirements:
|
222
|
-
- - ~>
|
222
|
+
- - "~>"
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: 0.3.0
|
225
225
|
- !ruby/object:Gem::Dependency
|
226
226
|
name: ruby-graphviz
|
227
227
|
requirement: !ruby/object:Gem::Requirement
|
228
228
|
requirements:
|
229
|
-
- - ~>
|
229
|
+
- - "~>"
|
230
230
|
- !ruby/object:Gem::Version
|
231
231
|
version: 1.0.9
|
232
232
|
type: :runtime
|
233
233
|
prerelease: false
|
234
234
|
version_requirements: !ruby/object:Gem::Requirement
|
235
235
|
requirements:
|
236
|
-
- - ~>
|
236
|
+
- - "~>"
|
237
237
|
- !ruby/object:Gem::Version
|
238
238
|
version: 1.0.9
|
239
239
|
- !ruby/object:Gem::Dependency
|
240
240
|
name: rubydora
|
241
241
|
requirement: !ruby/object:Gem::Requirement
|
242
242
|
requirements:
|
243
|
-
- - ~>
|
243
|
+
- - "~>"
|
244
244
|
- !ruby/object:Gem::Version
|
245
245
|
version: 1.6.5
|
246
246
|
type: :runtime
|
247
247
|
prerelease: false
|
248
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
|
-
- - ~>
|
250
|
+
- - "~>"
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: 1.6.5
|
253
253
|
- !ruby/object:Gem::Dependency
|
254
254
|
name: solrizer
|
255
255
|
requirement: !ruby/object:Gem::Requirement
|
256
256
|
requirements:
|
257
|
-
- - ~>
|
257
|
+
- - "~>"
|
258
258
|
- !ruby/object:Gem::Version
|
259
259
|
version: '2.0'
|
260
260
|
type: :runtime
|
261
261
|
prerelease: false
|
262
262
|
version_requirements: !ruby/object:Gem::Requirement
|
263
263
|
requirements:
|
264
|
-
- - ~>
|
264
|
+
- - "~>"
|
265
265
|
- !ruby/object:Gem::Version
|
266
266
|
version: '2.0'
|
267
267
|
- !ruby/object:Gem::Dependency
|
268
268
|
name: systemu
|
269
269
|
requirement: !ruby/object:Gem::Requirement
|
270
270
|
requirements:
|
271
|
-
- - ~>
|
271
|
+
- - "~>"
|
272
272
|
- !ruby/object:Gem::Version
|
273
273
|
version: 2.6.0
|
274
274
|
type: :runtime
|
275
275
|
prerelease: false
|
276
276
|
version_requirements: !ruby/object:Gem::Requirement
|
277
277
|
requirements:
|
278
|
-
- - ~>
|
278
|
+
- - "~>"
|
279
279
|
- !ruby/object:Gem::Version
|
280
280
|
version: 2.6.0
|
281
281
|
- !ruby/object:Gem::Dependency
|
282
282
|
name: uuidtools
|
283
283
|
requirement: !ruby/object:Gem::Requirement
|
284
284
|
requirements:
|
285
|
-
- - ~>
|
285
|
+
- - "~>"
|
286
286
|
- !ruby/object:Gem::Version
|
287
287
|
version: 2.1.4
|
288
288
|
type: :runtime
|
289
289
|
prerelease: false
|
290
290
|
version_requirements: !ruby/object:Gem::Requirement
|
291
291
|
requirements:
|
292
|
-
- - ~>
|
292
|
+
- - "~>"
|
293
293
|
- !ruby/object:Gem::Version
|
294
294
|
version: 2.1.4
|
295
295
|
- !ruby/object:Gem::Dependency
|
296
296
|
name: validatable
|
297
297
|
requirement: !ruby/object:Gem::Requirement
|
298
298
|
requirements:
|
299
|
-
- - ~>
|
299
|
+
- - "~>"
|
300
300
|
- !ruby/object:Gem::Version
|
301
301
|
version: 1.6.7
|
302
302
|
type: :runtime
|
303
303
|
prerelease: false
|
304
304
|
version_requirements: !ruby/object:Gem::Requirement
|
305
305
|
requirements:
|
306
|
-
- - ~>
|
306
|
+
- - "~>"
|
307
307
|
- !ruby/object:Gem::Version
|
308
308
|
version: 1.6.7
|
309
309
|
- !ruby/object:Gem::Dependency
|
310
310
|
name: osullivan
|
311
311
|
requirement: !ruby/object:Gem::Requirement
|
312
312
|
requirements:
|
313
|
-
- - ~>
|
313
|
+
- - "~>"
|
314
314
|
- !ruby/object:Gem::Version
|
315
315
|
version: 0.0.3
|
316
316
|
type: :runtime
|
317
317
|
prerelease: false
|
318
318
|
version_requirements: !ruby/object:Gem::Requirement
|
319
319
|
requirements:
|
320
|
-
- - ~>
|
320
|
+
- - "~>"
|
321
321
|
- !ruby/object:Gem::Version
|
322
322
|
version: 0.0.3
|
323
323
|
- !ruby/object:Gem::Dependency
|
@@ -338,194 +338,188 @@ dependencies:
|
|
338
338
|
name: retries
|
339
339
|
requirement: !ruby/object:Gem::Requirement
|
340
340
|
requirements:
|
341
|
-
- -
|
341
|
+
- - ">="
|
342
342
|
- !ruby/object:Gem::Version
|
343
343
|
version: '0'
|
344
344
|
type: :runtime
|
345
345
|
prerelease: false
|
346
346
|
version_requirements: !ruby/object:Gem::Requirement
|
347
347
|
requirements:
|
348
|
-
- -
|
348
|
+
- - ">="
|
349
349
|
- !ruby/object:Gem::Version
|
350
350
|
version: '0'
|
351
351
|
- !ruby/object:Gem::Dependency
|
352
352
|
name: dor-workflow-service
|
353
353
|
requirement: !ruby/object:Gem::Requirement
|
354
354
|
requirements:
|
355
|
-
- - ~>
|
356
|
-
- !ruby/object:Gem::Version
|
357
|
-
version: '1.7'
|
358
|
-
- - ! '>='
|
355
|
+
- - "~>"
|
359
356
|
- !ruby/object:Gem::Version
|
360
357
|
version: 1.7.7
|
361
358
|
type: :runtime
|
362
359
|
prerelease: false
|
363
360
|
version_requirements: !ruby/object:Gem::Requirement
|
364
361
|
requirements:
|
365
|
-
- - ~>
|
366
|
-
- !ruby/object:Gem::Version
|
367
|
-
version: '1.7'
|
368
|
-
- - ! '>='
|
362
|
+
- - "~>"
|
369
363
|
- !ruby/object:Gem::Version
|
370
364
|
version: 1.7.7
|
371
365
|
- !ruby/object:Gem::Dependency
|
372
366
|
name: druid-tools
|
373
367
|
requirement: !ruby/object:Gem::Requirement
|
374
368
|
requirements:
|
375
|
-
- - ~>
|
369
|
+
- - "~>"
|
376
370
|
- !ruby/object:Gem::Version
|
377
371
|
version: '0.4'
|
378
|
-
- -
|
372
|
+
- - ">="
|
379
373
|
- !ruby/object:Gem::Version
|
380
374
|
version: 0.4.1
|
381
375
|
type: :runtime
|
382
376
|
prerelease: false
|
383
377
|
version_requirements: !ruby/object:Gem::Requirement
|
384
378
|
requirements:
|
385
|
-
- - ~>
|
379
|
+
- - "~>"
|
386
380
|
- !ruby/object:Gem::Version
|
387
381
|
version: '0.4'
|
388
|
-
- -
|
382
|
+
- - ">="
|
389
383
|
- !ruby/object:Gem::Version
|
390
384
|
version: 0.4.1
|
391
385
|
- !ruby/object:Gem::Dependency
|
392
386
|
name: lyber-utils
|
393
387
|
requirement: !ruby/object:Gem::Requirement
|
394
388
|
requirements:
|
395
|
-
- - ~>
|
389
|
+
- - "~>"
|
396
390
|
- !ruby/object:Gem::Version
|
397
391
|
version: 0.1.2
|
398
392
|
type: :runtime
|
399
393
|
prerelease: false
|
400
394
|
version_requirements: !ruby/object:Gem::Requirement
|
401
395
|
requirements:
|
402
|
-
- - ~>
|
396
|
+
- - "~>"
|
403
397
|
- !ruby/object:Gem::Version
|
404
398
|
version: 0.1.2
|
405
399
|
- !ruby/object:Gem::Dependency
|
406
400
|
name: moab-versioning
|
407
401
|
requirement: !ruby/object:Gem::Requirement
|
408
402
|
requirements:
|
409
|
-
- - ~>
|
403
|
+
- - "~>"
|
410
404
|
- !ruby/object:Gem::Version
|
411
405
|
version: 1.4.4
|
412
406
|
type: :runtime
|
413
407
|
prerelease: false
|
414
408
|
version_requirements: !ruby/object:Gem::Requirement
|
415
409
|
requirements:
|
416
|
-
- - ~>
|
410
|
+
- - "~>"
|
417
411
|
- !ruby/object:Gem::Version
|
418
412
|
version: 1.4.4
|
419
413
|
- !ruby/object:Gem::Dependency
|
420
414
|
name: stanford-mods
|
421
415
|
requirement: !ruby/object:Gem::Requirement
|
422
416
|
requirements:
|
423
|
-
- - ~>
|
417
|
+
- - "~>"
|
424
418
|
- !ruby/object:Gem::Version
|
425
419
|
version: 0.0.14
|
426
420
|
type: :runtime
|
427
421
|
prerelease: false
|
428
422
|
version_requirements: !ruby/object:Gem::Requirement
|
429
423
|
requirements:
|
430
|
-
- - ~>
|
424
|
+
- - "~>"
|
431
425
|
- !ruby/object:Gem::Version
|
432
426
|
version: 0.0.14
|
433
427
|
- !ruby/object:Gem::Dependency
|
434
428
|
name: fakeweb
|
435
429
|
requirement: !ruby/object:Gem::Requirement
|
436
430
|
requirements:
|
437
|
-
- - ~>
|
431
|
+
- - "~>"
|
438
432
|
- !ruby/object:Gem::Version
|
439
433
|
version: 1.3.0
|
440
434
|
type: :development
|
441
435
|
prerelease: false
|
442
436
|
version_requirements: !ruby/object:Gem::Requirement
|
443
437
|
requirements:
|
444
|
-
- - ~>
|
438
|
+
- - "~>"
|
445
439
|
- !ruby/object:Gem::Version
|
446
440
|
version: 1.3.0
|
447
441
|
- !ruby/object:Gem::Dependency
|
448
442
|
name: haml
|
449
443
|
requirement: !ruby/object:Gem::Requirement
|
450
444
|
requirements:
|
451
|
-
- - ~>
|
445
|
+
- - "~>"
|
452
446
|
- !ruby/object:Gem::Version
|
453
447
|
version: 4.0.4
|
454
448
|
type: :development
|
455
449
|
prerelease: false
|
456
450
|
version_requirements: !ruby/object:Gem::Requirement
|
457
451
|
requirements:
|
458
|
-
- - ~>
|
452
|
+
- - "~>"
|
459
453
|
- !ruby/object:Gem::Version
|
460
454
|
version: 4.0.4
|
461
455
|
- !ruby/object:Gem::Dependency
|
462
456
|
name: jhove-service
|
463
457
|
requirement: !ruby/object:Gem::Requirement
|
464
458
|
requirements:
|
465
|
-
- - ~>
|
459
|
+
- - "~>"
|
466
460
|
- !ruby/object:Gem::Version
|
467
461
|
version: 1.0.1
|
468
462
|
type: :development
|
469
463
|
prerelease: false
|
470
464
|
version_requirements: !ruby/object:Gem::Requirement
|
471
465
|
requirements:
|
472
|
-
- - ~>
|
466
|
+
- - "~>"
|
473
467
|
- !ruby/object:Gem::Version
|
474
468
|
version: 1.0.1
|
475
469
|
- !ruby/object:Gem::Dependency
|
476
470
|
name: rake
|
477
471
|
requirement: !ruby/object:Gem::Requirement
|
478
472
|
requirements:
|
479
|
-
- -
|
473
|
+
- - ">="
|
480
474
|
- !ruby/object:Gem::Version
|
481
|
-
version: 0
|
475
|
+
version: '0'
|
482
476
|
type: :development
|
483
477
|
prerelease: false
|
484
478
|
version_requirements: !ruby/object:Gem::Requirement
|
485
479
|
requirements:
|
486
|
-
- -
|
480
|
+
- - ">="
|
487
481
|
- !ruby/object:Gem::Version
|
488
|
-
version: 0
|
482
|
+
version: '0'
|
489
483
|
- !ruby/object:Gem::Dependency
|
490
484
|
name: rdoc
|
491
485
|
requirement: !ruby/object:Gem::Requirement
|
492
486
|
requirements:
|
493
|
-
- - ~>
|
487
|
+
- - "~>"
|
494
488
|
- !ruby/object:Gem::Version
|
495
489
|
version: 4.0.1
|
496
490
|
type: :development
|
497
491
|
prerelease: false
|
498
492
|
version_requirements: !ruby/object:Gem::Requirement
|
499
493
|
requirements:
|
500
|
-
- - ~>
|
494
|
+
- - "~>"
|
501
495
|
- !ruby/object:Gem::Version
|
502
496
|
version: 4.0.1
|
503
497
|
- !ruby/object:Gem::Dependency
|
504
498
|
name: rspec
|
505
499
|
requirement: !ruby/object:Gem::Requirement
|
506
500
|
requirements:
|
507
|
-
- - ~>
|
501
|
+
- - "~>"
|
508
502
|
- !ruby/object:Gem::Version
|
509
503
|
version: 2.14.1
|
510
504
|
type: :development
|
511
505
|
prerelease: false
|
512
506
|
version_requirements: !ruby/object:Gem::Requirement
|
513
507
|
requirements:
|
514
|
-
- - ~>
|
508
|
+
- - "~>"
|
515
509
|
- !ruby/object:Gem::Version
|
516
510
|
version: 2.14.1
|
517
511
|
- !ruby/object:Gem::Dependency
|
518
512
|
name: yard
|
519
513
|
requirement: !ruby/object:Gem::Requirement
|
520
514
|
requirements:
|
521
|
-
- - ~>
|
515
|
+
- - "~>"
|
522
516
|
- !ruby/object:Gem::Version
|
523
517
|
version: 0.8.7
|
524
518
|
type: :development
|
525
519
|
prerelease: false
|
526
520
|
version_requirements: !ruby/object:Gem::Requirement
|
527
521
|
requirements:
|
528
|
-
- - ~>
|
522
|
+
- - "~>"
|
529
523
|
- !ruby/object:Gem::Version
|
530
524
|
version: 0.8.7
|
531
525
|
description: Contains classes to register objects and initialize workflows
|
@@ -540,10 +534,7 @@ files:
|
|
540
534
|
- bin/dor-indexer
|
541
535
|
- bin/dor-indexerd
|
542
536
|
- config/certs/README
|
543
|
-
- config/certs/robots-dor-dev.crt
|
544
|
-
- config/certs/robots-dor-dev.key
|
545
537
|
- config/config_defaults.yml
|
546
|
-
- config/dev_console_env.rb
|
547
538
|
- config/dev_console_env.rb.example
|
548
539
|
- config/predicate_mappings.yml
|
549
540
|
- lib/dor-services.rb
|
@@ -635,17 +626,17 @@ require_paths:
|
|
635
626
|
- lib
|
636
627
|
required_ruby_version: !ruby/object:Gem::Requirement
|
637
628
|
requirements:
|
638
|
-
- -
|
629
|
+
- - ">="
|
639
630
|
- !ruby/object:Gem::Version
|
640
631
|
version: '0'
|
641
632
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
642
633
|
requirements:
|
643
|
-
- -
|
634
|
+
- - ">="
|
644
635
|
- !ruby/object:Gem::Version
|
645
636
|
version: 1.3.6
|
646
637
|
requirements: []
|
647
638
|
rubyforge_project:
|
648
|
-
rubygems_version: 2.
|
639
|
+
rubygems_version: 2.4.8
|
649
640
|
signing_key:
|
650
641
|
specification_version: 4
|
651
642
|
summary: Ruby implmentation of DOR services used by the SULAIR Digital Library
|
@@ -1,29 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIE9zCCAt8CCQCcUJVDTu7rTjANBgkqhkiG9w0BAQUFADCBvzELMAkGA1UEBhMC
|
3
|
-
VVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCFN0YW5mb3JkMRwwGgYD
|
4
|
-
VQQKExNTdGFuZm9yZCBVbml2ZXJzaXR5MRIwEAYDVQQLEwlMaWJyYXJpZXMxJTAj
|
5
|
-
BgNVBAMTHFNVTCBET1IgKGRldi90ZXN0KSBhY2Nlc3MgQ0ExLzAtBgkqhkiG9w0B
|
6
|
-
CQEWIHN1bC13ZWJtYXN0ZXJAbGlzdHMuc3RhbmZvcmQuZWR1MB4XDTEyMDkyNjE1
|
7
|
-
NT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+IMczQ+tRGmNiU5qXhCJ4fbQHSeGqIN3Io7h/RR6E/QlJU59RrRG/a
|
24
|
-
SjqAV+ECgYEA2mA5VFK3jECnLde+biEaXidIOuBMcqaP0VG6sBwz2wTGSTBE1WkG
|
25
|
-
6prCD0McWVAgDTm3MMKxeuMaoW5eEi83+G+CywLaTBpc8Hz7qgRhBpKhRirCfHMW
|
26
|
-
EfQV5k32vEGoSI+eG8zcGb9mwDeb/EWXAMGXrx2YuYFu7txtwC2mZXc=
|
27
|
-
-----END RSA PRIVATE KEY-----
|
data/config/dev_console_env.rb
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
cert_dir = File.join(File.dirname(__FILE__), 'certs')
|
2
|
-
|
3
|
-
Dor::Config.configure do
|
4
|
-
|
5
|
-
ssl do
|
6
|
-
cert_file File.join(cert_dir, 'robots-dor-dev.crt')
|
7
|
-
key_file File.join(cert_dir, 'robots-dor-dev.key')
|
8
|
-
key_pass ''
|
9
|
-
end
|
10
|
-
|
11
|
-
suri do
|
12
|
-
mint_ids true
|
13
|
-
id_namespace 'druid'
|
14
|
-
url 'https://lyberservices-dev.stanford.edu'
|
15
|
-
user 'labware'
|
16
|
-
pass 'lyberteam'
|
17
|
-
end
|
18
|
-
|
19
|
-
metadata do
|
20
|
-
exist.url 'http://viewer:l3l%40nd@lyberapps-dev.stanford.edu/exist/rest/'
|
21
|
-
catalog.url 'http://lyberservices-prod.stanford.edu/catalog/mods'
|
22
|
-
end
|
23
|
-
|
24
|
-
stacks do
|
25
|
-
document_cache_host 'purl-dev.stanford.edu'
|
26
|
-
local_stacks_root '/stacks'
|
27
|
-
local_document_cache_root '/purl/document_cache'
|
28
|
-
local_workspace_root '/dor/workspace'
|
29
|
-
end
|
30
|
-
|
31
|
-
solrizer.url 'http://sul-solr.stanford.edu/solr/argo_test'
|
32
|
-
fedora.url 'https://sul-dor-test.stanford.edu/fedora'
|
33
|
-
workflow.url 'https://lyberservices-dev.stanford.edu/workflow/'
|
34
|
-
dor_services.url 'https://dorAdmin:dorAdmin@sul-lyberservices-dev.stanford.edu/dor'
|
35
|
-
|
36
|
-
cleanup do
|
37
|
-
local_workspace_root '/dor/workspace'
|
38
|
-
local_export_home '/dor/export'
|
39
|
-
end
|
40
|
-
|
41
|
-
sdr do
|
42
|
-
url 'https://sdrAdmin:sdrAdmin@sdr-services-test.stanford.edu/sdr/'
|
43
|
-
local_workspace_root '/dor/workspace'
|
44
|
-
local_export_home '/dor/export'
|
45
|
-
datastreams do
|
46
|
-
administrativeMetadata 'optional'
|
47
|
-
contentMetadata 'optional'
|
48
|
-
descMetadata 'required'
|
49
|
-
defaultObjectRights 'optional'
|
50
|
-
events 'optional'
|
51
|
-
embargoMetadata 'optional'
|
52
|
-
identityMetadata 'required'
|
53
|
-
provenanceMetadata 'required'
|
54
|
-
relationshipMetadata 'required'
|
55
|
-
rightsMetadata 'optional'
|
56
|
-
roleMetadata 'optional'
|
57
|
-
sourceMetadata 'optional'
|
58
|
-
technicalMetadata 'optional'
|
59
|
-
versionMetadata 'required'
|
60
|
-
workflows 'optional'
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
accessioning_robot_sleep_time 30
|
65
|
-
|
66
|
-
end
|
67
|
-
|
68
|
-
# WORKFLOW_URI = 'http://lyberservices-test.stanford.edu/workflow'
|
69
|
-
|
70
|
-
# Constants for Dor::WorkflowService
|
71
|
-
# module Dor
|
72
|
-
# CREATE_WORKFLOW = DOR_CREATE_WORKFLOW = true
|
73
|
-
# WF_URI = 'http://lyberservices-test.stanford.edu/workflow'
|
74
|
-
# end
|
75
|
-
|
76
|
-
# External application locations
|
77
|
-
JHOVE_HOME = File.join(ENV['HOME'], 'jhoveToolkit')
|