solr_ead 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +17 -16
- data/README.md +25 -5
- data/lib/solr_ead/component.rb +1 -1
- data/lib/solr_ead/document.rb +4 -2
- data/lib/solr_ead/indexer.rb +1 -0
- data/lib/solr_ead/version.rb +1 -1
- data/lib/solr_ead.rb +0 -1
- data/lib/tasks/solr_ead.rake +0 -2
- data/solr_ead.gemspec +2 -2
- data/spec/document_spec.rb +7 -0
- data/spec/fixtures/ARC-0161.xml +1508 -0
- metadata +10 -9
- data/lib/terminology_based_solrizer.rb +0 -9
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solr_ead
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: om
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: solrizer
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.0.
|
37
|
+
version: 2.1.0.rc1
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.
|
45
|
+
version: 2.1.0.rc1
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rsolr
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,12 +182,12 @@ files:
|
|
182
182
|
- lib/solr_ead/railtie.rb
|
183
183
|
- lib/solr_ead/version.rb
|
184
184
|
- lib/tasks/solr_ead.rake
|
185
|
-
- lib/terminology_based_solrizer.rb
|
186
185
|
- solr_ead.gemspec
|
187
186
|
- spec/behaviors_spec.rb
|
188
187
|
- spec/component_spec.rb
|
189
188
|
- spec/document_spec.rb
|
190
189
|
- spec/fixtures/ARC-0005.xml
|
190
|
+
- spec/fixtures/ARC-0161.xml
|
191
191
|
- spec/fixtures/component_template.xml
|
192
192
|
- spec/fixtures/ead_sample.xml
|
193
193
|
- spec/fixtures/ead_template.xml
|
@@ -223,6 +223,7 @@ test_files:
|
|
223
223
|
- spec/component_spec.rb
|
224
224
|
- spec/document_spec.rb
|
225
225
|
- spec/fixtures/ARC-0005.xml
|
226
|
+
- spec/fixtures/ARC-0161.xml
|
226
227
|
- spec/fixtures/component_template.xml
|
227
228
|
- spec/fixtures/ead_sample.xml
|
228
229
|
- spec/fixtures/ead_template.xml
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# Overrides Solrizer::XML::TerminologyBasedSolrizer in the solrizer gem and
|
2
|
-
# uses our own custom field mapper defined in EadMapper
|
3
|
-
module Solrizer::XML::TerminologyBasedSolrizer
|
4
|
-
|
5
|
-
def self.default_field_mapper
|
6
|
-
@@default_field_mapper ||= EadMapper.new
|
7
|
-
end
|
8
|
-
|
9
|
-
end
|