solr_ead 0.0.1 → 0.0.2
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/lib/solr_ead/om_behaviors.rb +2 -5
- data/lib/solr_ead/version.rb +1 -1
- data/solr_ead.gemspec +4 -2
- metadata +36 -3
|
@@ -7,13 +7,10 @@ module SolrEad::OmBehaviors
|
|
|
7
7
|
# and remove all the namespaces from the xml first, then return the Nokogiri object.
|
|
8
8
|
# This makes working with the terminologies in SolrEad::Document much easier.
|
|
9
9
|
#
|
|
10
|
-
# Any customized ead document definitions
|
|
10
|
+
# Any customized ead document definitions that extend SolrEad::Document will include this
|
|
11
|
+
# module. Example:
|
|
11
12
|
# class MyDocument < SolrEad::Document
|
|
12
13
|
#
|
|
13
|
-
# include OM::XML::Document
|
|
14
|
-
# include Solrizer::XML::TerminologyBasedSolrizer
|
|
15
|
-
# include SolrEad::Container
|
|
16
|
-
#
|
|
17
14
|
# end
|
|
18
15
|
|
|
19
16
|
module ClassMethods
|
data/lib/solr_ead/version.rb
CHANGED
data/solr_ead.gemspec
CHANGED
|
@@ -4,9 +4,9 @@ require File.expand_path('../lib/solr_ead/version', __FILE__)
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ["Adam Wead"]
|
|
6
6
|
gem.email = ["amsterdamos@gmail.com"]
|
|
7
|
-
gem.description = %q{A gem indexing ead into solr using OM. Define your own OM terminology to create the solr fields you want from your ead, then use solr-based applications like Blacklight to search and display the results.}
|
|
7
|
+
gem.description = %q{A gem for indexing ead into solr using OM. Define your own OM terminology to create the solr fields you want from your ead, then use solr-based applications like Blacklight to search and display the results.}
|
|
8
8
|
gem.summary = %q{A gem for indexing ead into solr using OM}
|
|
9
|
-
gem.homepage = "http://github.com/awead/
|
|
9
|
+
gem.homepage = "http://github.com/awead/solr_ead"
|
|
10
10
|
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
@@ -20,6 +20,8 @@ Gem::Specification.new do |gem|
|
|
|
20
20
|
gem.add_dependency('solrizer')
|
|
21
21
|
gem.add_dependency('rsolr')
|
|
22
22
|
gem.add_dependency('sanitize')
|
|
23
|
+
gem.add_development_dependency('yard')
|
|
24
|
+
gem.add_development_dependency('redcarpet')
|
|
23
25
|
# For Development
|
|
24
26
|
gem.add_development_dependency 'rspec'
|
|
25
27
|
gem.add_development_dependency 'debugger'
|
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.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -75,6 +75,38 @@ dependencies:
|
|
|
75
75
|
- - ! '>='
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
77
|
version: '0'
|
|
78
|
+
- !ruby/object:Gem::Dependency
|
|
79
|
+
name: yard
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
81
|
+
none: false
|
|
82
|
+
requirements:
|
|
83
|
+
- - ! '>='
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '0'
|
|
86
|
+
type: :development
|
|
87
|
+
prerelease: false
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
+
none: false
|
|
90
|
+
requirements:
|
|
91
|
+
- - ! '>='
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0'
|
|
94
|
+
- !ruby/object:Gem::Dependency
|
|
95
|
+
name: redcarpet
|
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
|
97
|
+
none: false
|
|
98
|
+
requirements:
|
|
99
|
+
- - ! '>='
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0'
|
|
102
|
+
type: :development
|
|
103
|
+
prerelease: false
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
none: false
|
|
106
|
+
requirements:
|
|
107
|
+
- - ! '>='
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
78
110
|
- !ruby/object:Gem::Dependency
|
|
79
111
|
name: rspec
|
|
80
112
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,7 +155,7 @@ dependencies:
|
|
|
123
155
|
- - ! '>='
|
|
124
156
|
- !ruby/object:Gem::Version
|
|
125
157
|
version: '0'
|
|
126
|
-
description: A gem indexing ead into solr using OM. Define your own OM terminology
|
|
158
|
+
description: A gem for indexing ead into solr using OM. Define your own OM terminology
|
|
127
159
|
to create the solr fields you want from your ead, then use solr-based applications
|
|
128
160
|
like Blacklight to search and display the results.
|
|
129
161
|
email:
|
|
@@ -161,7 +193,7 @@ files:
|
|
|
161
193
|
- spec/fixtures/pp002010.xml
|
|
162
194
|
- spec/indexer_spec.rb
|
|
163
195
|
- spec/spec_helper.rb
|
|
164
|
-
homepage: http://github.com/awead/
|
|
196
|
+
homepage: http://github.com/awead/solr_ead
|
|
165
197
|
licenses: []
|
|
166
198
|
post_install_message:
|
|
167
199
|
rdoc_options: []
|
|
@@ -196,3 +228,4 @@ test_files:
|
|
|
196
228
|
- spec/fixtures/pp002010.xml
|
|
197
229
|
- spec/indexer_spec.rb
|
|
198
230
|
- spec/spec_helper.rb
|
|
231
|
+
has_rdoc:
|