om 1.4.4 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/History.textile +4 -0
- data/lib/om/version.rb +1 -1
- data/lib/om/xml/document.rb +33 -29
- data/lib/om/xml/term.rb +62 -53
- data/lib/om/xml/terminology.rb +49 -48
- data/spec/fixtures/no_namespace.xml +7 -0
- data/spec/unit/term_spec.rb +30 -33
- data/spec/unit/term_xpath_generator_spec.rb +37 -29
- data/spec/unit/terminology_spec.rb +79 -53
- metadata +9 -8
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: om
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 1.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Zumwalt
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
18
|
+
date: 2012-01-25 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: nokogiri
|
@@ -147,6 +146,7 @@ files:
|
|
147
146
|
- spec/fixtures/mods-3-2.xsd
|
148
147
|
- spec/fixtures/mods_article_terminology.xml
|
149
148
|
- spec/fixtures/mods_articles/hydrangea_article1.xml
|
149
|
+
- spec/fixtures/no_namespace.xml
|
150
150
|
- spec/fixtures/test_dummy_mods.xml
|
151
151
|
- spec/integration/rights_metadata_integration_example_spec.rb
|
152
152
|
- spec/spec.opts
|
@@ -168,7 +168,6 @@ files:
|
|
168
168
|
- spec/unit/validation_spec.rb
|
169
169
|
- spec/unit/xml_serialization_spec.rb
|
170
170
|
- spec/unit/xml_spec.rb
|
171
|
-
has_rdoc: true
|
172
171
|
homepage: http://github.com/mediashelf/om
|
173
172
|
licenses: []
|
174
173
|
|
@@ -198,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
197
|
requirements: []
|
199
198
|
|
200
199
|
rubyforge_project:
|
201
|
-
rubygems_version: 1.
|
200
|
+
rubygems_version: 1.8.15
|
202
201
|
signing_key:
|
203
202
|
specification_version: 3
|
204
203
|
summary: "OM (Opinionated Metadata): A library to help you tame sprawling XML schemas like MODS."
|
@@ -208,6 +207,7 @@ test_files:
|
|
208
207
|
- spec/fixtures/mods-3-2.xsd
|
209
208
|
- spec/fixtures/mods_article_terminology.xml
|
210
209
|
- spec/fixtures/mods_articles/hydrangea_article1.xml
|
210
|
+
- spec/fixtures/no_namespace.xml
|
211
211
|
- spec/fixtures/test_dummy_mods.xml
|
212
212
|
- spec/integration/rights_metadata_integration_example_spec.rb
|
213
213
|
- spec/spec.opts
|
@@ -229,3 +229,4 @@ test_files:
|
|
229
229
|
- spec/unit/validation_spec.rb
|
230
230
|
- spec/unit/xml_serialization_spec.rb
|
231
231
|
- spec/unit/xml_spec.rb
|
232
|
+
has_rdoc:
|