mods 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/mods/nom_terminology.rb +445 -8
- data/lib/mods/reader.rb +3 -3
- data/lib/mods/record.rb +6 -7
- data/lib/mods/version.rb +1 -1
- data/spec/language_spec.rb +100 -73
- data/spec/location_spec.rb +269 -119
- data/spec/name_spec.rb +223 -197
- data/spec/origin_info_spec.rb +315 -190
- data/spec/part_spec.rb +411 -176
- data/spec/physical_description_spec.rb +120 -55
- data/spec/reader_spec.rb +76 -61
- data/spec/record_info_spec.rb +448 -206
- data/spec/record_spec.rb +192 -7
- data/spec/related_item_spec.rb +275 -124
- data/spec/subject_spec.rb +666 -339
- data/spec/title_spec.rb +204 -89
- data/spec/top_level_elmnts_simple_spec.rb +324 -145
- metadata +79 -98
metadata
CHANGED
@@ -1,180 +1,163 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
version: 0.0.15
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Naomi Dushay
|
9
9
|
- Bess Sadler
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-11-
|
13
|
+
date: 2012-11-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
17
|
-
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
18
19
|
requirements:
|
19
20
|
- - ! '>='
|
20
21
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
-
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
none: false
|
24
|
-
requirement: !ruby/object:Gem::Requirement
|
25
27
|
requirements:
|
26
28
|
- - ! '>='
|
27
29
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
29
|
-
MA==
|
30
|
-
none: false
|
31
|
-
prerelease: false
|
32
|
-
type: :runtime
|
30
|
+
version: '0'
|
33
31
|
- !ruby/object:Gem::Dependency
|
34
32
|
name: nom-xml
|
35
|
-
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
36
35
|
requirements:
|
37
36
|
- - ! '>='
|
38
37
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
40
|
-
|
38
|
+
version: '0'
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
42
|
none: false
|
42
|
-
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ! '>='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
47
|
-
MA==
|
48
|
-
none: false
|
49
|
-
prerelease: false
|
50
|
-
type: :runtime
|
46
|
+
version: '0'
|
51
47
|
- !ruby/object:Gem::Dependency
|
52
48
|
name: iso-639
|
53
|
-
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
54
51
|
requirements:
|
55
52
|
- - ! '>='
|
56
53
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
58
|
-
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
58
|
none: false
|
60
|
-
requirement: !ruby/object:Gem::Requirement
|
61
59
|
requirements:
|
62
60
|
- - ! '>='
|
63
61
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
65
|
-
MA==
|
66
|
-
none: false
|
67
|
-
prerelease: false
|
68
|
-
type: :runtime
|
62
|
+
version: '0'
|
69
63
|
- !ruby/object:Gem::Dependency
|
70
64
|
name: rake
|
71
|
-
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
72
67
|
requirements:
|
73
68
|
- - ! '>='
|
74
69
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
|
70
|
+
version: '0'
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
74
|
none: false
|
78
|
-
requirement: !ruby/object:Gem::Requirement
|
79
75
|
requirements:
|
80
76
|
- - ! '>='
|
81
77
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
MA==
|
84
|
-
none: false
|
85
|
-
prerelease: false
|
86
|
-
type: :development
|
78
|
+
version: '0'
|
87
79
|
- !ruby/object:Gem::Dependency
|
88
80
|
name: rdoc
|
89
|
-
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
90
83
|
requirements:
|
91
84
|
- - ! '>='
|
92
85
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
94
|
-
|
86
|
+
version: '0'
|
87
|
+
type: :development
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
90
|
none: false
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
91
|
requirements:
|
98
92
|
- - ! '>='
|
99
93
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
101
|
-
MA==
|
102
|
-
none: false
|
103
|
-
prerelease: false
|
104
|
-
type: :development
|
94
|
+
version: '0'
|
105
95
|
- !ruby/object:Gem::Dependency
|
106
96
|
name: yard
|
107
|
-
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
108
99
|
requirements:
|
109
100
|
- - ! '>='
|
110
101
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
112
|
-
|
102
|
+
version: '0'
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
106
|
none: false
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
107
|
requirements:
|
116
108
|
- - ! '>='
|
117
109
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
-
MA==
|
120
|
-
none: false
|
121
|
-
prerelease: false
|
122
|
-
type: :development
|
110
|
+
version: '0'
|
123
111
|
- !ruby/object:Gem::Dependency
|
124
112
|
name: rspec
|
125
|
-
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
126
115
|
requirements:
|
127
116
|
- - ! '>='
|
128
117
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
130
|
-
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
122
|
none: false
|
132
|
-
requirement: !ruby/object:Gem::Requirement
|
133
123
|
requirements:
|
134
124
|
- - ! '>='
|
135
125
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
137
|
-
MA==
|
138
|
-
none: false
|
139
|
-
prerelease: false
|
140
|
-
type: :development
|
126
|
+
version: '0'
|
141
127
|
- !ruby/object:Gem::Dependency
|
142
128
|
name: simplecov
|
143
|
-
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
144
131
|
requirements:
|
145
132
|
- - ! '>='
|
146
133
|
- !ruby/object:Gem::Version
|
147
|
-
version:
|
148
|
-
|
134
|
+
version: '0'
|
135
|
+
type: :development
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
138
|
none: false
|
150
|
-
requirement: !ruby/object:Gem::Requirement
|
151
139
|
requirements:
|
152
140
|
- - ! '>='
|
153
141
|
- !ruby/object:Gem::Version
|
154
|
-
version:
|
155
|
-
MA==
|
156
|
-
none: false
|
157
|
-
prerelease: false
|
158
|
-
type: :development
|
142
|
+
version: '0'
|
159
143
|
- !ruby/object:Gem::Dependency
|
160
144
|
name: simplecov-rcov
|
161
|
-
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
162
147
|
requirements:
|
163
148
|
- - ! '>='
|
164
149
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
166
|
-
|
150
|
+
version: '0'
|
151
|
+
type: :development
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
154
|
none: false
|
168
|
-
requirement: !ruby/object:Gem::Requirement
|
169
155
|
requirements:
|
170
156
|
- - ! '>='
|
171
157
|
- !ruby/object:Gem::Version
|
172
|
-
version:
|
173
|
-
|
174
|
-
|
175
|
-
prerelease: false
|
176
|
-
type: :development
|
177
|
-
description: Parse MODS (Metadata Object Description Schema) records. More information about MODS can be found at http://www.loc.gov/standards/mods/
|
158
|
+
version: '0'
|
159
|
+
description: Parse MODS (Metadata Object Description Schema) records. More information
|
160
|
+
about MODS can be found at http://www.loc.gov/standards/mods/
|
178
161
|
email:
|
179
162
|
- ndushay AT stanford.edu
|
180
163
|
- bess AT stanford.edu
|
@@ -219,34 +202,32 @@ files:
|
|
219
202
|
- spec/top_level_elmnts_simple_spec.rb
|
220
203
|
homepage: https://github.com/sul-dlss/mods
|
221
204
|
licenses: []
|
222
|
-
post_install_message:
|
205
|
+
post_install_message:
|
223
206
|
rdoc_options: []
|
224
207
|
require_paths:
|
225
208
|
- lib
|
226
209
|
required_ruby_version: !ruby/object:Gem::Requirement
|
210
|
+
none: false
|
227
211
|
requirements:
|
228
212
|
- - ! '>='
|
229
213
|
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
230
215
|
segments:
|
231
216
|
- 0
|
232
|
-
hash:
|
233
|
-
version: !binary |-
|
234
|
-
MA==
|
235
|
-
none: false
|
217
|
+
hash: 3689606292418896094
|
236
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
|
+
none: false
|
237
220
|
requirements:
|
238
221
|
- - ! '>='
|
239
222
|
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
240
224
|
segments:
|
241
225
|
- 0
|
242
|
-
hash:
|
243
|
-
version: !binary |-
|
244
|
-
MA==
|
245
|
-
none: false
|
226
|
+
hash: 3689606292418896094
|
246
227
|
requirements: []
|
247
|
-
rubyforge_project:
|
228
|
+
rubyforge_project:
|
248
229
|
rubygems_version: 1.8.24
|
249
|
-
signing_key:
|
230
|
+
signing_key:
|
250
231
|
specification_version: 3
|
251
232
|
summary: Parse MODS (Metadata Object Description Schema) records.
|
252
233
|
test_files:
|
@@ -264,4 +245,4 @@ test_files:
|
|
264
245
|
- spec/subject_spec.rb
|
265
246
|
- spec/title_spec.rb
|
266
247
|
- spec/top_level_elmnts_simple_spec.rb
|
267
|
-
has_rdoc:
|
248
|
+
has_rdoc:
|