cul_scv_hydra 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/config/locales/ldpd_hydra.en.yml +51 -0
- data/lib/cul_scv_hydra/risearch_members.rb +5 -1
- data/lib/cul_scv_hydra/version.rb +1 -1
- data/lib/cul_scv_hydra/version.rb~ +1 -1
- metadata +33 -33
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MTdjYjkwOTY1YWJhYzM3ZDUzMmVhMTA5MzY2Y2IzNWYwYjFjMTgwYg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6b86f1314e8420211994b03042bf8b38ba33c225
|
4
|
+
data.tar.gz: dcf24feda1f3be4d339ab8510a735dda1c5d3df0
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YTlkOTBlZTNjMjY5Yjc0OWEwNDAzZTI0YWZjYTEyYzRiMDNmYWM0ZTAyZDBi
|
11
|
-
MTM2YzY1ZmE1NjNmOTFiMjhjOTM4NmE0Zjk3N2U1YTI0ZWUxMTI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YWExMjcxYWU2MGEzZTk5MjA1ZWUxMWI2ZjgzMmQ2YjM4NzNjYjc1MzAxYjZj
|
14
|
-
YjUxZWNlMDIwMjk5YWQ5ZTliMzIyNmYxODcwODZlOTk0OWYwMzFhNDdhYjI3
|
15
|
-
NGFhNDM3Yzk0YjgzNWE4N2M1MjZiM2IxY2I2MWNjOWE5OTQzZjQ=
|
6
|
+
metadata.gz: 03211fdc212e6b9e51160365211f0564286817be2d84bb4198a5150594cac265ee761fa1ecea09cd8b4586e496e57c7a29804d0a1e263542862568953be8f407
|
7
|
+
data.tar.gz: 597a25e46926cebaae294dec6759b00460f4974b4a6263e975a7381be3ed7ca5b6017e0125e0b67072cae6faa65561d63877334fe29acef6fc71ef6f5f96d59d
|
@@ -18,16 +18,42 @@ en:
|
|
18
18
|
'NNC-MUS' : 'Music Library' # This is an unofficial form of NyNyCMA that we've used in the past
|
19
19
|
'NyNyCOH' : 'Oral History Center'
|
20
20
|
project:
|
21
|
+
|
22
|
+
"Avery's Architectural Ephemera Collections" : "Avery Ephemera"
|
23
|
+
"Avery's Architectural Novelties" : "Avery Novelties"
|
24
|
+
"Barbara Curtis Adachi Bunraku Collection" : "Bunraku Collection"
|
25
|
+
"Biggert Collection of Architectural Vignettes on Commercial Stationery" : "Biggert Collection"
|
26
|
+
"Butler 75: Butler Library's 75th anniversary, 1934-2009" : "Butler 75"
|
27
|
+
"Chamber of Commerce of New York" : "Chamber of Commerce"
|
28
|
+
"Charles A. Platt's Italian Garden Photographs" : "Platt's Italian Garden Photographs"
|
21
29
|
"Children's Drawings of the Spanish Civil War (online exhibition)" : 'Spanish Civil War'
|
22
30
|
'Chinese paper gods' : 'Chinese Paper Gods'
|
23
31
|
'Community Service Society Photographs' : 'Community Service Society'
|
32
|
+
"Core Curriculum: Contemporary Civilization" : "Core Curriculum: Contemporary Civilization"
|
33
|
+
"Core Curriculum: Literature Humanities" : "Core Curriculum: Literature Humanities"
|
34
|
+
"Dramatic Museum Realia" : "Dramatic Museum"
|
24
35
|
'Customer Order Collection' : 'Pres Orders'
|
25
36
|
'G.E.E. Lindquist Native American Photographs' : 'Lindquist Photographs'
|
37
|
+
"Greene & Greene Project" : "Greene & Greene"
|
38
|
+
"Hugh Ferriss architectural drawings and papers" : "Ferriss Architectural Drawings"
|
39
|
+
"Images from Stokes' Iconography of Manhattan Island, 1498-1909" : "Stokes"
|
26
40
|
'Jewels in her crown: treasures of Columbia University Libraries special collections' : 'Jewels in Her Crown'
|
41
|
+
"Joseph Urban Stage Design Models & Documents Stabilization & Access Project" : "Urban Stage Design"
|
42
|
+
"Judging a Book by its Cover : Gold-Stamped Publishers' Bindings of the 19th century" : "Judging a Book"
|
43
|
+
"Korean Independence Outbreak Movement" : "Korean Independence"
|
44
|
+
"Lehman special correspondence files" : "Lehman Correspondence"
|
45
|
+
"New York Real Estate Brochure Collection" : "New York Real Estate Brochure"
|
46
|
+
"Our Tools of Learning: George Arthur Plimpton's gifts to Columbia University" : "Plimpton"
|
47
|
+
"Political Ecologies in the Renaissance" : "Political Ecologies"
|
27
48
|
'Preserving Historic Audio Content' : 'Audio Preservation'
|
28
49
|
'Project Mapping Test' : 'Successful Project Mapping For Short Project Title'
|
50
|
+
"Quran in East and West: Manuscripts and Printed Books" : "Quran"
|
51
|
+
"Reading of Books and the Reading of Literature" : "Reading of Books"
|
29
52
|
'Russian Imperial Corps of Pages' : 'Russian Corps of Pages'
|
30
53
|
'The Papers of John Jay' : 'Jay Papers'
|
54
|
+
"The People in the Books: Hebraica and Judaica Manuscripts from Columbia University Libraries" : "People in the Books"
|
55
|
+
"Type to Print: The Book & The Type Specimen Book" : "Type to Print"
|
56
|
+
"Varsity Show: a Columbia Tradition" : "Varsity Show: a Columbia Tradition"
|
31
57
|
long:
|
32
58
|
repo:
|
33
59
|
'NNBa' : 'Barnard College Library'
|
@@ -63,13 +89,38 @@ en:
|
|
63
89
|
'NNC-MUS' : 'Gabe M. Wiener Music & Arts Library, Columbia University' # This is an unofficial form of NyNyCMA that we've used in the past
|
64
90
|
'NyNyCOH' : 'Columbia Center for Oral History, Columbia University'
|
65
91
|
project:
|
92
|
+
"Avery's Architectural Ephemera Collections" : "Avery’s Architectural Ephemera Collections"
|
93
|
+
"Avery's Architectural Novelties" : "Avery's Architectural Novelties"
|
94
|
+
"Barbara Curtis Adachi Bunraku Collection" : "Barbara Curtis Adachi Bunraku Collection"
|
95
|
+
"Biggert Collection of Architectural Vignettes on Commercial Stationery" : "Biggert Collection of Architectural Vignettes on Commercial Stationery"
|
96
|
+
"Butler 75: Butler Library's 75th anniversary, 1934-2009" : "Butler 75: Butler Library's 75th anniversary, 1934-2009"
|
97
|
+
"Chamber of Commerce of New York" : "Chamber of Commerce of New York"
|
98
|
+
"Charles A. Platt's Italian Garden Photographs" : "Charles A. Platt's Italian Garden Photographs"
|
66
99
|
"Children's Drawings of the Spanish Civil War (online exhibition)" : "Children's Drawings of the Spanish Civil War"
|
67
100
|
'Chinese paper gods' : 'Chinese Paper Gods'
|
68
101
|
'Community Service Society Photographs' : 'Community Service Society Photographs'
|
102
|
+
"Core Curriculum: Contemporary Civilization" : "Core Curriculum: Contemporary Civilization"
|
103
|
+
"Core Curriculum: Literature Humanities" : "Core Curriculum: Literature Humanities"
|
104
|
+
"Dramatic Museum Realia" : "Dramatic Museum Realia"
|
69
105
|
'Customer Order Collection' : 'Customer Order Collection'
|
70
106
|
'G.E.E. Lindquist Native American Photographs' : 'G.E.E. Lindquist Native American Photographs'
|
107
|
+
"Greene & Greene Project" : "Greene & Greene Architectural Records and Papers Collection"
|
108
|
+
"Hugh Ferriss architectural drawings and papers" : "Hugh Ferriss architectural drawings and papers"
|
109
|
+
"Images from Stokes' Iconography of Manhattan Island, 1498-1909" : "Images from Stokes' Iconography of Manhattan Island, 1498-1909"
|
71
110
|
'Jewels in her crown: treasures of Columbia University Libraries special collections' : 'Jewels in her Crown: Treasures of Columbia University Libraries Special Collections'
|
111
|
+
"Joseph Urban Stage Design Models & Documents Stabilization & Access Project" : "Joseph Urban Stage Design Models & Documents Stabilization & Access Project"
|
112
|
+
"Judging a Book by its Cover : Gold-Stamped Publishers' Bindings of the 19th century" : "Judging a Book by its Cover : Gold-Stamped Publishers' Bindings of the 19th century"
|
113
|
+
"Korean Independence Outbreak Movement" : "Korean Independence Outbreak Movement"
|
114
|
+
"Lehman special correspondence files" : "Lehman Special Correspondence Files"
|
115
|
+
"New York Real Estate Brochure Collection" : "New York Real Estate Brochure Collection"
|
116
|
+
"Our Tools of Learning: George Arthur Plimpton's gifts to Columbia University" : "Our Tools of Learning: George Arthur Plimpton's gifts to Columbia University"
|
117
|
+
"Political Ecologies in the Renaissance" : "Political Ecologies in the Renaissance"
|
72
118
|
'Preserving Historic Audio Content' : 'Preserving Historic Audio Content'
|
73
119
|
'Project Mapping Test' : 'Successful Project Mapping For Full Project Title'
|
120
|
+
"Quran in East and West: Manuscripts and Printed Books" : "Quran in East and West: Manuscripts and Printed Books"
|
121
|
+
"Reading of Books and the Reading of Literature" : "Reading of Books and the Reading of Literature"
|
74
122
|
'Russian Imperial Corps of Pages' : 'Russian Imperial Corps of Pages'
|
75
123
|
'The Papers of John Jay' : 'Papers of John Jay'
|
124
|
+
"The People in the Books: Hebraica and Judaica Manuscripts from Columbia University Libraries" : "People in the Books: Hebraica and Judaica Manuscripts from Columbia University Libraries"
|
125
|
+
"Type to Print: The Book & The Type Specimen Book" : "Type to Print: The Book & The Type Specimen Book"
|
126
|
+
"Varsity Show: a Columbia Tradition" : "Varsity Show"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Cul::Scv::Hydra::RisearchMembers
|
2
2
|
|
3
|
-
def self.get_recursive_member_pids(pid, verbose_output=false)
|
3
|
+
def self.get_recursive_member_pids(pid, verbose_output=false, cmodel_type='all')
|
4
4
|
|
5
5
|
recursive_member_query =
|
6
6
|
'select $child $parent $cmodel from <#ri>
|
@@ -9,6 +9,10 @@ module Cul::Scv::Hydra::RisearchMembers
|
|
9
9
|
and
|
10
10
|
$child <fedora-model:hasModel> $cmodel'
|
11
11
|
|
12
|
+
unless cmodel_type == 'all'
|
13
|
+
recursive_member_query += ' and $cmodel <mulgara:is> <info:fedora/ldpd:' + cmodel_type + '>'
|
14
|
+
end
|
15
|
+
|
12
16
|
puts 'Performing query:' if verbose_output
|
13
17
|
puts recursive_member_query if verbose_output
|
14
18
|
|
metadata
CHANGED
@@ -1,209 +1,209 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cul_scv_hydra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Armintor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blacklight
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hydra-head
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '7'
|
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
40
|
version: '7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: httpclient
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: active-fedora
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 7.0.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 7.0.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: active_fedora_finders
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.5.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.5.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: active_fedora_relsint
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: cul_image_props
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: mods
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: sqlite3
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '2.10'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '2.10'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rspec-rails
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '2.10'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '2.10'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: jettywrapper
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: 1.4.0
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.4.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: equivalent-xml
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- -
|
185
|
+
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: 0.2.4
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 0.2.4
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: rbx-require-relative
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- -
|
199
|
+
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- -
|
206
|
+
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
description: Hydra implementations for CUL Staff Collection Viewer
|
@@ -309,17 +309,17 @@ require_paths:
|
|
309
309
|
- fixtures
|
310
310
|
required_ruby_version: !ruby/object:Gem::Requirement
|
311
311
|
requirements:
|
312
|
-
- -
|
312
|
+
- - ">="
|
313
313
|
- !ruby/object:Gem::Version
|
314
314
|
version: 1.9.3
|
315
315
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
316
316
|
requirements:
|
317
|
-
- -
|
317
|
+
- - ">="
|
318
318
|
- !ruby/object:Gem::Version
|
319
319
|
version: '0'
|
320
320
|
requirements: []
|
321
321
|
rubyforge_project:
|
322
|
-
rubygems_version: 2.
|
322
|
+
rubygems_version: 2.2.2
|
323
323
|
signing_key:
|
324
324
|
specification_version: 4
|
325
325
|
summary: ActiveFedora, OM, and Solrizer implementations for CUL Staff Collection Viewer
|