cul-fedora 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cul-fedora.gemspec +6 -5
- data/lib/cul-fedora/item.rb +1 -0
- metadata +44 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/cul-fedora.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cul-fedora}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2012-03-
|
11
|
+
s.authors = ["James Stuart"]
|
12
|
+
s.date = %q{2012-03-29}
|
13
13
|
s.description = %q{Columbia-specific Fedora libraries}
|
14
14
|
s.email = %q{tastyhat@jamesstuart.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -62,11 +62,12 @@ Gem::Specification.new do |s|
|
|
62
62
|
"test_fedora_item.rb"
|
63
63
|
]
|
64
64
|
s.homepage = %q{http://github.com/tastyhat/cul-fedora}
|
65
|
-
s.require_paths = [
|
66
|
-
s.rubygems_version = %q{1.
|
65
|
+
s.require_paths = ["lib"]
|
66
|
+
s.rubygems_version = %q{1.3.7}
|
67
67
|
s.summary = %q{Columbia University Fedora Hooks}
|
68
68
|
|
69
69
|
if s.respond_to? :specification_version then
|
70
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
70
71
|
s.specification_version = 3
|
71
72
|
|
72
73
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/lib/cul-fedora/item.rb
CHANGED
@@ -289,6 +289,7 @@ module Cul
|
|
289
289
|
if(related_series = mods.at_css("relatedItem[@type='series']"))
|
290
290
|
if(related_series.has_attribute?("ID"))
|
291
291
|
add_field.call("series_facet", related_series.at_css("titleInfo>title"))
|
292
|
+
add_field.call("part_number", related_series.at_css("titleInfo>partNumber"))
|
292
293
|
end
|
293
294
|
end
|
294
295
|
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cul-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 17
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- James Stuart
|
@@ -10,7 +15,8 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-29 00:00:00 -04:00
|
19
|
+
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: shoulda
|
@@ -20,6 +26,9 @@ dependencies:
|
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
23
32
|
version: "0"
|
24
33
|
type: :development
|
25
34
|
version_requirements: *id001
|
@@ -31,6 +40,11 @@ dependencies:
|
|
31
40
|
requirements:
|
32
41
|
- - ">="
|
33
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 43
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
- 9
|
47
|
+
- 8
|
34
48
|
version: 0.9.8
|
35
49
|
type: :development
|
36
50
|
version_requirements: *id002
|
@@ -42,6 +56,9 @@ dependencies:
|
|
42
56
|
requirements:
|
43
57
|
- - ">="
|
44
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
45
62
|
version: "0"
|
46
63
|
type: :runtime
|
47
64
|
version_requirements: *id003
|
@@ -53,6 +70,9 @@ dependencies:
|
|
53
70
|
requirements:
|
54
71
|
- - ">="
|
55
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
56
76
|
version: "0"
|
57
77
|
type: :runtime
|
58
78
|
version_requirements: *id004
|
@@ -64,6 +84,9 @@ dependencies:
|
|
64
84
|
requirements:
|
65
85
|
- - ">="
|
66
86
|
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
67
90
|
version: "0"
|
68
91
|
type: :runtime
|
69
92
|
version_requirements: *id005
|
@@ -75,6 +98,11 @@ dependencies:
|
|
75
98
|
requirements:
|
76
99
|
- - ">="
|
77
100
|
- !ruby/object:Gem::Version
|
101
|
+
hash: 45
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
- 12
|
105
|
+
- 1
|
78
106
|
version: 0.12.1
|
79
107
|
type: :runtime
|
80
108
|
version_requirements: *id006
|
@@ -86,6 +114,11 @@ dependencies:
|
|
86
114
|
requirements:
|
87
115
|
- - ">="
|
88
116
|
- !ruby/object:Gem::Version
|
117
|
+
hash: 45
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
- 12
|
121
|
+
- 1
|
89
122
|
version: 0.12.1
|
90
123
|
type: :runtime
|
91
124
|
version_requirements: *id007
|
@@ -142,6 +175,7 @@ files:
|
|
142
175
|
- test/test_fedora_server.rb
|
143
176
|
- test/test_fedora_solr.rb
|
144
177
|
- test_fedora_item.rb
|
178
|
+
has_rdoc: true
|
145
179
|
homepage: http://github.com/tastyhat/cul-fedora
|
146
180
|
licenses: []
|
147
181
|
|
@@ -155,17 +189,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
189
|
requirements:
|
156
190
|
- - ">="
|
157
191
|
- !ruby/object:Gem::Version
|
192
|
+
hash: 3
|
193
|
+
segments:
|
194
|
+
- 0
|
158
195
|
version: "0"
|
159
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
197
|
none: false
|
161
198
|
requirements:
|
162
199
|
- - ">="
|
163
200
|
- !ruby/object:Gem::Version
|
201
|
+
hash: 3
|
202
|
+
segments:
|
203
|
+
- 0
|
164
204
|
version: "0"
|
165
205
|
requirements: []
|
166
206
|
|
167
207
|
rubyforge_project:
|
168
|
-
rubygems_version: 1.
|
208
|
+
rubygems_version: 1.3.7
|
169
209
|
signing_key:
|
170
210
|
specification_version: 3
|
171
211
|
summary: Columbia University Fedora Hooks
|