om 1.8.0.rc1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.textile +10 -0
- data/lib/om/version.rb +1 -1
- metadata +153 -180
data/History.textile
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
h3. 1.8.0
|
2
|
+
Removed unused mods_article_terminology.xml
|
3
|
+
Replacing :data_type with :type; deprecating :data_type
|
4
|
+
Making test related to HYDRA-647 pending
|
5
|
+
Adding .type method for ruby 1.8.7 compatibility
|
6
|
+
XML serialization should use the data_type node name and not type
|
7
|
+
Update homepage in gemspec
|
8
|
+
Remove .rvmrc
|
9
|
+
Remove debugger from gemfile
|
10
|
+
|
1
11
|
h3. 1.7.0
|
2
12
|
Add casting to dates and integers when you specify the :type attribute on a terminology node
|
3
13
|
|
data/lib/om/version.rb
CHANGED
metadata
CHANGED
@@ -1,205 +1,173 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: om
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 8
|
8
|
+
- 0
|
9
|
+
version: 1.8.0
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Matt Zumwalt
|
9
13
|
- Justin Coyne
|
10
14
|
autorequire:
|
11
15
|
bindir: bin
|
12
16
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
17
|
+
|
18
|
+
date: 2012-11-30 00:00:00 -06:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
16
22
|
name: activesupport
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ! '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0'
|
23
|
-
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
name: activemodel
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - ! '>='
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: '0'
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
39
31
|
type: :runtime
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activemodel
|
40
35
|
prerelease: false
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
name: nokogiri
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 1.4.2
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
42
|
+
version: "0"
|
55
43
|
type: :runtime
|
44
|
+
version_requirements: *id002
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: nokogiri
|
56
47
|
prerelease: false
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
48
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
segments:
|
53
|
+
- 1
|
54
|
+
- 4
|
55
|
+
- 2
|
62
56
|
version: 1.4.2
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: mediashelf-loggable
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
|
-
requirements:
|
68
|
-
- - ! '>='
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
57
|
type: :runtime
|
58
|
+
version_requirements: *id003
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: mediashelf-loggable
|
72
61
|
prerelease: false
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
name: deprecation
|
81
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
|
-
requirements:
|
84
|
-
- - ! '>='
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: '0'
|
62
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
segments:
|
67
|
+
- 0
|
68
|
+
version: "0"
|
87
69
|
type: :runtime
|
70
|
+
version_requirements: *id004
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: deprecation
|
88
73
|
prerelease: false
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
74
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
version: "0"
|
81
|
+
type: :runtime
|
82
|
+
version_requirements: *id005
|
83
|
+
- !ruby/object:Gem::Dependency
|
96
84
|
name: rspec
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
100
|
-
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '2.0'
|
103
|
-
type: :development
|
104
85
|
prerelease: false
|
105
|
-
|
106
|
-
|
107
|
-
requirements:
|
86
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
108
88
|
- - ~>
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
111
|
-
-
|
112
|
-
|
113
|
-
|
114
|
-
none: false
|
115
|
-
requirements:
|
116
|
-
- - ! '>='
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
segments:
|
91
|
+
- 2
|
92
|
+
- 0
|
93
|
+
version: "2.0"
|
119
94
|
type: :development
|
95
|
+
version_requirements: *id006
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rake
|
120
98
|
prerelease: false
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
name: rdoc
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
|
-
requirements:
|
132
|
-
- - ! '>='
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: '0'
|
99
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
135
106
|
type: :development
|
107
|
+
version_requirements: *id007
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: rdoc
|
136
110
|
prerelease: false
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
name: awesome_print
|
145
|
-
requirement: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
|
-
requirements:
|
148
|
-
- - ! '>='
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0'
|
111
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
segments:
|
116
|
+
- 0
|
117
|
+
version: "0"
|
151
118
|
type: :development
|
119
|
+
version_requirements: *id008
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: awesome_print
|
152
122
|
prerelease: false
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
name: mocha
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
|
-
requirements:
|
164
|
-
- - ! '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.9.8
|
123
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
version: "0"
|
167
130
|
type: :development
|
131
|
+
version_requirements: *id009
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: mocha
|
168
134
|
prerelease: false
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
135
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
- 9
|
142
|
+
- 8
|
174
143
|
version: 0.9.8
|
175
|
-
- !ruby/object:Gem::Dependency
|
176
|
-
name: equivalent-xml
|
177
|
-
requirement: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
|
-
requirements:
|
180
|
-
- - ! '>='
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: 0.2.4
|
183
144
|
type: :development
|
145
|
+
version_requirements: *id010
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: equivalent-xml
|
184
148
|
prerelease: false
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
149
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
segments:
|
154
|
+
- 0
|
155
|
+
- 2
|
156
|
+
- 4
|
190
157
|
version: 0.2.4
|
191
|
-
|
192
|
-
|
193
|
-
methods for doing things like retrieve generated xpath queries or look up properties
|
194
|
-
based on a simplified DSL'
|
158
|
+
type: :development
|
159
|
+
version_requirements: *id011
|
160
|
+
description: "OM (Opinionated Metadata): A library to help you tame sprawling XML schemas like MODS. Wraps Nokogiri documents in objects with miscellaneous helper methods for doing things like retrieve generated xpath queries or look up properties based on a simplified DSL"
|
195
161
|
email: matt.zumwalt@yourmediashelf.com justin.coyne@mediashelf.com
|
196
162
|
executables: []
|
163
|
+
|
197
164
|
extensions: []
|
198
|
-
|
165
|
+
|
166
|
+
extra_rdoc_files:
|
199
167
|
- LICENSE
|
200
168
|
- README.rdoc
|
201
169
|
- README.textile
|
202
|
-
files:
|
170
|
+
files:
|
203
171
|
- .document
|
204
172
|
- .gitignore
|
205
173
|
- COMMON_OM_PATTERNS.textile
|
@@ -269,32 +237,37 @@ files:
|
|
269
237
|
- spec/unit/validation_spec.rb
|
270
238
|
- spec/unit/xml_serialization_spec.rb
|
271
239
|
- spec/unit/xml_spec.rb
|
240
|
+
has_rdoc: true
|
272
241
|
homepage: http://github.com/projecthydra/om
|
273
242
|
licenses: []
|
243
|
+
|
274
244
|
post_install_message:
|
275
245
|
rdoc_options: []
|
276
|
-
|
246
|
+
|
247
|
+
require_paths:
|
277
248
|
- lib
|
278
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
requirements:
|
287
|
-
- -
|
288
|
-
- !ruby/object:Gem::Version
|
289
|
-
|
249
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
250
|
+
requirements:
|
251
|
+
- - ">="
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
segments:
|
254
|
+
- 0
|
255
|
+
version: "0"
|
256
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
|
+
requirements:
|
258
|
+
- - ">="
|
259
|
+
- !ruby/object:Gem::Version
|
260
|
+
segments:
|
261
|
+
- 0
|
262
|
+
version: "0"
|
290
263
|
requirements: []
|
264
|
+
|
291
265
|
rubyforge_project:
|
292
|
-
rubygems_version: 1.
|
266
|
+
rubygems_version: 1.3.6
|
293
267
|
signing_key:
|
294
268
|
specification_version: 3
|
295
|
-
summary:
|
296
|
-
|
297
|
-
test_files:
|
269
|
+
summary: "OM (Opinionated Metadata): A library to help you tame sprawling XML schemas like MODS."
|
270
|
+
test_files:
|
298
271
|
- spec/fixtures/CBF_MODS/ARS0025_016.xml
|
299
272
|
- spec/fixtures/RUBRIC_mods_article_template.xml
|
300
273
|
- spec/fixtures/mods-3-2.xsd
|