solrizer-fedora 1.0.0 → 1.0.1
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 +3 -2
- data/Gemfile.lock +16 -10
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/solrizer/fedora/extractor.rb +3 -4
- data/lib/solrizer/fedora/indexer.rb +34 -22
- data/lib/solrizer/fedora/solrizer.rb +5 -5
- data/solrizer-fedora.gemspec +10 -7
- data/spec/lib/solrizer/indexer_spec.rb +1 -1
- data/spec/units/fedora_extractor_spec.rb +3 -7
- data/spec/units/fedora_indexer_spec.rb +33 -37
- metadata +35 -21
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -10,16 +10,16 @@ GEM
|
|
10
10
|
solr-ruby (>= 0.0.6)
|
11
11
|
solrizer (>= 0.3.0)
|
12
12
|
xml-simple (>= 1.0.12)
|
13
|
-
activeresource (2.3.
|
14
|
-
activesupport (= 2.3.
|
15
|
-
activesupport (2.3.
|
13
|
+
activeresource (2.3.11)
|
14
|
+
activesupport (= 2.3.11)
|
15
|
+
activesupport (2.3.11)
|
16
|
+
builder (3.0.0)
|
16
17
|
columnize (0.3.2)
|
17
|
-
facets (2.9.
|
18
|
+
facets (2.9.1)
|
18
19
|
linecache (0.43)
|
19
20
|
mediashelf-loggable (0.4.0)
|
20
21
|
mime-types (1.16)
|
21
|
-
mocha (0.9.
|
22
|
-
rake
|
22
|
+
mocha (0.9.12)
|
23
23
|
multipart-post (1.1.0)
|
24
24
|
nokogiri (1.4.4)
|
25
25
|
om (1.0.2)
|
@@ -27,7 +27,8 @@ GEM
|
|
27
27
|
facets
|
28
28
|
nokogiri
|
29
29
|
nokogiri (>= 1.4.2)
|
30
|
-
|
30
|
+
rsolr (1.0.0)
|
31
|
+
builder (>= 2.1.2)
|
31
32
|
rspec (1.3.1)
|
32
33
|
ruby-debug (0.10.4)
|
33
34
|
columnize (>= 0.1)
|
@@ -35,13 +36,17 @@ GEM
|
|
35
36
|
ruby-debug-base (0.10.4)
|
36
37
|
linecache (>= 0.3)
|
37
38
|
solr-ruby (0.0.8)
|
38
|
-
solrizer (0.
|
39
|
+
solrizer (1.0.0)
|
39
40
|
mediashelf-loggable
|
41
|
+
mediashelf-loggable
|
42
|
+
nokogiri
|
40
43
|
nokogiri
|
41
44
|
nokogiri
|
45
|
+
om (>= 1.0.0)
|
42
46
|
om
|
43
47
|
solr-ruby
|
44
|
-
|
48
|
+
xml-simple
|
49
|
+
xml-simple (1.0.14)
|
45
50
|
|
46
51
|
PLATFORMS
|
47
52
|
ruby
|
@@ -49,7 +54,8 @@ PLATFORMS
|
|
49
54
|
DEPENDENCIES
|
50
55
|
active-fedora (= 1.2.7)
|
51
56
|
mocha
|
57
|
+
rsolr
|
52
58
|
rspec (< 2.0.0)
|
53
59
|
ruby-debug
|
54
60
|
ruby-debug-base
|
55
|
-
solrizer (>= 0.
|
61
|
+
solrizer (>= 1.0.0)
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'solr'
|
2
1
|
require 'rexml/document'
|
3
2
|
require "nokogiri"
|
4
3
|
require 'yaml'
|
@@ -8,7 +7,7 @@ module Solrizer::Fedora::Extractor
|
|
8
7
|
#
|
9
8
|
# Extracts content-model and hydra-type from RELS-EXT datastream
|
10
9
|
#
|
11
|
-
def extract_rels_ext( text, solr_doc=
|
10
|
+
def extract_rels_ext( text, solr_doc=Hash.new )
|
12
11
|
# TODO: only read in this file once
|
13
12
|
|
14
13
|
if defined?(RAILS_ROOT)
|
@@ -21,10 +20,10 @@ module Solrizer::Fedora::Extractor
|
|
21
20
|
doc = Nokogiri::XML(text)
|
22
21
|
doc.xpath( '//foo:hasModel', 'foo' => 'info:fedora/fedora-system:def/model#' ).each do |element|
|
23
22
|
cmodel = element.attributes['resource'].to_s
|
24
|
-
|
23
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :cmodel_t, cmodel )
|
25
24
|
|
26
25
|
if map.has_key?(cmodel)
|
27
|
-
|
26
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :hydra_type_t, map[cmodel] )
|
28
27
|
end
|
29
28
|
end
|
30
29
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'rsolr'
|
2
2
|
require 'solrizer/extractor'
|
3
3
|
require 'solrizer/fedora/repository'
|
4
4
|
|
@@ -16,7 +16,7 @@ class Indexer
|
|
16
16
|
#
|
17
17
|
# Member variables
|
18
18
|
#
|
19
|
-
attr_accessor :
|
19
|
+
attr_accessor :solr, :extractor, :index_full_text
|
20
20
|
|
21
21
|
#
|
22
22
|
# This method performs initialization tasks
|
@@ -86,7 +86,8 @@ class Indexer
|
|
86
86
|
else
|
87
87
|
raise
|
88
88
|
end
|
89
|
-
@
|
89
|
+
@solr = RSolr.connect :url => url
|
90
|
+
# @connection = Solr::Connection.new(url, :autocommit => :on )
|
90
91
|
|
91
92
|
rescue
|
92
93
|
puts "Unable to establish SOLR Connection with #{solr_config.inspect}"
|
@@ -96,7 +97,7 @@ class Indexer
|
|
96
97
|
#
|
97
98
|
# This method extracts the facet categories from the given Fedora object's external tag datastream
|
98
99
|
#
|
99
|
-
def extract_xml_to_solr( obj, ds_name, solr_doc=
|
100
|
+
def extract_xml_to_solr( obj, ds_name, solr_doc=Hash.new )
|
100
101
|
xml_ds = Repository.get_datastream( obj, ds_name )
|
101
102
|
extractor.xml_to_solr( xml_ds.content, solr_doc )
|
102
103
|
end
|
@@ -104,7 +105,7 @@ class Indexer
|
|
104
105
|
#
|
105
106
|
#
|
106
107
|
#
|
107
|
-
def extract_rels_ext( obj, ds_name, solr_doc=
|
108
|
+
def extract_rels_ext( obj, ds_name, solr_doc=Hash.new )
|
108
109
|
rels_ext_ds = Repository.get_datastream( obj, ds_name )
|
109
110
|
extractor.extract_rels_ext( rels_ext_ds.content, solr_doc )
|
110
111
|
end
|
@@ -120,26 +121,31 @@ class Indexer
|
|
120
121
|
|
121
122
|
#if there is not date_t, add on with easy-to-find value
|
122
123
|
if solr_doc[:date_t].nil?
|
123
|
-
|
124
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :date_t, "9999-99-99")
|
124
125
|
end #if
|
125
126
|
|
126
|
-
#
|
127
|
-
|
127
|
+
# Grab the date value from date_t regardless of wheter it is inside of an array
|
128
|
+
# then convert it to a Date object
|
129
|
+
date_value = solr_doc[:date_t]
|
130
|
+
if date_value.kind_of? Array
|
131
|
+
date_value = date_value.first
|
132
|
+
end
|
133
|
+
date_obj = Date._parse(date_value)
|
128
134
|
|
129
135
|
if date_obj[:mon].nil?
|
130
|
-
|
136
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :month_facet, "99")
|
131
137
|
elsif 0 < date_obj[:mon] && date_obj[:mon] < 13
|
132
|
-
|
138
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :month_facet, date_obj[:mon].to_s.rjust(2, '0'))
|
133
139
|
else
|
134
|
-
|
140
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :month_facet, "99")
|
135
141
|
end
|
136
142
|
|
137
143
|
if date_obj[:mday].nil?
|
138
|
-
|
144
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :day_facet, "99")
|
139
145
|
elsif 0 < date_obj[:mday] && date_obj[:mday] < 32
|
140
|
-
|
146
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :day_facet, date_obj[:mday].to_s.rjust(2, '0'))
|
141
147
|
else
|
142
|
-
|
148
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :day_facet, "99")
|
143
149
|
end
|
144
150
|
|
145
151
|
return solr_doc
|
@@ -153,7 +159,7 @@ class Indexer
|
|
153
159
|
#
|
154
160
|
def create_document( obj )
|
155
161
|
|
156
|
-
solr_doc =
|
162
|
+
solr_doc = Hash.new
|
157
163
|
|
158
164
|
model_klazz_array = ActiveFedora::ContentModel.known_models_for( obj )
|
159
165
|
model_klazz_array.delete(ActiveFedora::Base)
|
@@ -162,11 +168,11 @@ class Indexer
|
|
162
168
|
# Otherwise, the object was passed in as a model instance other than ActiveFedora::Base,so call its to_solr method & allow it to insert the fields from ActiveFedora::Base
|
163
169
|
if obj.class == ActiveFedora::Base
|
164
170
|
solr_doc = obj.to_solr(solr_doc)
|
165
|
-
|
171
|
+
logger.debug " added base fields from #{obj.class.to_s}"
|
166
172
|
else
|
167
173
|
solr_doc = obj.to_solr(solr_doc)
|
168
174
|
model_klazz_array.delete(obj.class)
|
169
|
-
|
175
|
+
logger.debug " added base fields from #{obj.class.to_s} and model fields from #{obj.class.to_s}"
|
170
176
|
end
|
171
177
|
|
172
178
|
# Load the object as an instance of each of its other models and get the corresponding solr fields
|
@@ -174,11 +180,11 @@ class Indexer
|
|
174
180
|
model_klazz_array.each do |klazz|
|
175
181
|
instance = klazz.load_instance(obj.pid)
|
176
182
|
solr_doc = instance.to_solr(solr_doc, :model_only=>true)
|
177
|
-
|
183
|
+
logger.debug " added solr fields from #{klazz.to_s}"
|
178
184
|
end
|
179
185
|
|
180
|
-
|
181
|
-
|
186
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :id_t, "#{obj.pid}" )
|
187
|
+
::Solrizer::Extractor.insert_solr_field_value(solr_doc, :id, "#{obj.pid}" ) unless solr_doc[:id]
|
182
188
|
|
183
189
|
# increment the unique id to ensure that all documents in the search index are unique
|
184
190
|
@@unique_id += 1
|
@@ -194,9 +200,15 @@ class Indexer
|
|
194
200
|
begin
|
195
201
|
|
196
202
|
solr_doc = create_document( obj )
|
197
|
-
|
203
|
+
|
204
|
+
begin
|
205
|
+
solr.add( solr_doc )
|
206
|
+
solr.commit
|
207
|
+
# rescue
|
208
|
+
# debugger
|
209
|
+
end
|
198
210
|
|
199
|
-
# puts
|
211
|
+
# puts solr.url
|
200
212
|
#puts solr_doc
|
201
213
|
# puts "done"
|
202
214
|
|
@@ -40,7 +40,7 @@ class Solrizer
|
|
40
40
|
begin
|
41
41
|
|
42
42
|
start = Time.now
|
43
|
-
|
43
|
+
logger.debug "SOLRIZER Retrieving object #{obj} ..."
|
44
44
|
|
45
45
|
case obj
|
46
46
|
when ActiveFedora::Base
|
@@ -57,9 +57,9 @@ class Solrizer
|
|
57
57
|
|
58
58
|
obj_done = Time.now
|
59
59
|
obj_done_elapse = obj_done - start
|
60
|
-
|
60
|
+
logger.debug " completed. Duration: #{obj_done_elapse}"
|
61
61
|
|
62
|
-
|
62
|
+
logger.debug "\t Indexing object #{obj.pid} ... "
|
63
63
|
# add the keywords and facets to the search index
|
64
64
|
index_start = Time.now
|
65
65
|
indexer.index( obj )
|
@@ -67,11 +67,11 @@ class Solrizer
|
|
67
67
|
index_done = Time.now
|
68
68
|
index_elapsed = index_done - index_start
|
69
69
|
|
70
|
-
|
70
|
+
logger.debug "completed. Duration: #{index_elapsed} ."
|
71
71
|
|
72
72
|
|
73
73
|
rescue Exception => e
|
74
|
-
p "unable to index #{obj}. Failed with #{e.inspect}"
|
74
|
+
p "SOLRIZER unable to index #{obj}. Failed with #{e.inspect}"
|
75
75
|
|
76
76
|
|
77
77
|
end #begin
|
data/solrizer-fedora.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{solrizer-fedora}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Zumwalt"]
|
@@ -64,23 +64,26 @@ Gem::Specification.new do |s|
|
|
64
64
|
s.specification_version = 3
|
65
65
|
|
66
66
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
67
|
-
s.add_runtime_dependency(%q<active-fedora>, ["
|
68
|
-
s.add_runtime_dependency(%q<
|
67
|
+
s.add_runtime_dependency(%q<active-fedora>, [">= 2.0.0"])
|
68
|
+
s.add_runtime_dependency(%q<rsolr>, [">= 0"])
|
69
|
+
s.add_runtime_dependency(%q<solrizer>, [">= 1.0.0"])
|
69
70
|
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
70
71
|
s.add_development_dependency(%q<ruby-debug-base>, [">= 0"])
|
71
72
|
s.add_development_dependency(%q<rspec>, ["< 2.0.0"])
|
72
73
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
73
74
|
else
|
74
|
-
s.add_dependency(%q<active-fedora>, ["
|
75
|
-
s.add_dependency(%q<
|
75
|
+
s.add_dependency(%q<active-fedora>, [">= 2.0.0"])
|
76
|
+
s.add_dependency(%q<rsolr>, [">= 0"])
|
77
|
+
s.add_dependency(%q<solrizer>, [">= 1.0.0"])
|
76
78
|
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
77
79
|
s.add_dependency(%q<ruby-debug-base>, [">= 0"])
|
78
80
|
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
79
81
|
s.add_dependency(%q<mocha>, [">= 0"])
|
80
82
|
end
|
81
83
|
else
|
82
|
-
s.add_dependency(%q<active-fedora>, ["
|
83
|
-
s.add_dependency(%q<
|
84
|
+
s.add_dependency(%q<active-fedora>, [">= 2.0.0"])
|
85
|
+
s.add_dependency(%q<rsolr>, [">= 0"])
|
86
|
+
s.add_dependency(%q<solrizer>, [">= 1.0.0"])
|
84
87
|
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
85
88
|
s.add_dependency(%q<ruby-debug-base>, [">= 0"])
|
86
89
|
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
@@ -21,7 +21,7 @@ describe Solrizer::Fedora::Indexer do
|
|
21
21
|
|
22
22
|
@extractor = mock("Extractor")
|
23
23
|
@extractor.stubs(:html_content_to_solr).returns(@solr_doc)
|
24
|
-
@solr_doc =
|
24
|
+
@solr_doc = Hash.new
|
25
25
|
Solrizer::Extractor.expects(:new).returns(@extractor)
|
26
26
|
|
27
27
|
end
|
@@ -11,12 +11,8 @@ describe Solrizer::Fedora::Extractor do
|
|
11
11
|
it "should extract the content model of the RELS-EXT datastream of a Fedora object and set hydra_type using hydra_types mapping" do
|
12
12
|
rels_ext = fixture("rels_ext_cmodel.xml")
|
13
13
|
result = @extractor.extract_rels_ext( rels_ext )
|
14
|
-
result[:cmodel_t].should == "info:fedora/fedora-system:ContentModel-3.0"
|
15
|
-
result[:hydra_type_t].should == "salt_document"
|
16
|
-
|
17
|
-
# ... and a hacky way of making sure that it added a field for each of the dc:medium values
|
18
|
-
result.inspect.include?('@value="info:fedora/afmodel:SaltDocument"').should be_true
|
19
|
-
result.inspect.include?('@value="jp2_document"').should be_true
|
14
|
+
result[:cmodel_t].sort.should == ["info:fedora/afmodel:DCDocument", "info:fedora/afmodel:JP2Document", "info:fedora/afmodel:SaltDocument", "info:fedora/fedora-system:ContentModel-3.0"]
|
15
|
+
result[:hydra_type_t].sort.should == ["dc_document", "jp2_document", "salt_document"]
|
20
16
|
end
|
21
17
|
end
|
22
18
|
|
@@ -24,7 +20,7 @@ describe Solrizer::Fedora::Extractor do
|
|
24
20
|
it "should extract the hydra_type of a Fedora object" do
|
25
21
|
rels_ext = fixture("rels_ext_cmodel.xml")
|
26
22
|
result = @extractor.extract_rels_ext( rels_ext )
|
27
|
-
result[:hydra_type_t].should == "salt_document"
|
23
|
+
result[:hydra_type_t].sort.should == ["dc_document", "jp2_document", "salt_document"]
|
28
24
|
end
|
29
25
|
end
|
30
26
|
|
@@ -13,7 +13,7 @@ describe Solrizer::Fedora::Indexer do
|
|
13
13
|
# @solr_doc.stubs(:<<)
|
14
14
|
# @solr_doc.stubs(:[])
|
15
15
|
|
16
|
-
@solr_doc =
|
16
|
+
@solr_doc = Hash.new
|
17
17
|
|
18
18
|
Solrizer::Extractor.expects(:new).returns(@extractor)
|
19
19
|
@indexer = Solrizer::Fedora::Indexer.new
|
@@ -23,55 +23,51 @@ describe Solrizer::Fedora::Indexer do
|
|
23
23
|
describe "#generate_dates" do
|
24
24
|
it "should still give 9999-99-99 date if the solr document does not have a date_t field" do
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
solr_result = @indexer.generate_dates(@solr_doc)
|
27
|
+
solr_result.should be_kind_of Hash
|
28
|
+
solr_result[:date_t].should == ["9999-99-99"]
|
29
|
+
solr_result[:month_facet].should == ["99"]
|
30
|
+
solr_result[:day_facet].should == ['99']
|
31
31
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it "should still give 9999-99-99 date if the solr_doc[:date_t] is not valid date in YYYY-MM-DD format " do
|
35
35
|
|
36
|
-
@solr_doc
|
36
|
+
@solr_doc[:date_t] = "Unknown"
|
37
37
|
solr_result = @indexer.generate_dates(@solr_doc)
|
38
|
-
solr_result.should be_kind_of
|
38
|
+
solr_result.should be_kind_of Hash
|
39
39
|
solr_result[:date_t].should == "Unknown"
|
40
|
-
solr_result[:month_facet].should == "99"
|
41
|
-
solr_result[:day_facet].should == '99'
|
40
|
+
solr_result[:month_facet].should == ["99"]
|
41
|
+
solr_result[:day_facet].should == ['99']
|
42
42
|
|
43
43
|
end
|
44
44
|
|
45
45
|
it "should give month and dates even if the :date_t is not a valid date but is in YYYY-MM-DD format " do
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
it "should give month and day when in a valid date format" do
|
56
|
-
@solr_doc << Solr::Field.new(:date_t => "1978-04-11")
|
57
|
-
solr_result = @indexer.generate_dates(@solr_doc)
|
58
|
-
solr_result.should be_kind_of Solr::Document
|
59
|
-
solr_result[:date_t].should == "1978-04-11"
|
60
|
-
solr_result[:month_facet].should == "04"
|
61
|
-
solr_result[:day_facet].should == '11'
|
62
|
-
|
63
|
-
end
|
64
|
-
|
65
|
-
it "should still give two digit strings even if the month/day is single digit" do
|
46
|
+
@solr_doc[:date_t] = "0000-13-11"
|
47
|
+
solr_result = @indexer.generate_dates(@solr_doc)
|
48
|
+
solr_result.should be_kind_of Hash
|
49
|
+
solr_result[:date_t].should == "0000-13-11"
|
50
|
+
solr_result[:month_facet].should == ["99"]
|
51
|
+
solr_result[:day_facet].should == ['11']
|
52
|
+
end
|
66
53
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
54
|
+
it "should give month and day when in a valid date format" do
|
55
|
+
@solr_doc[:date_t] = "1978-04-11"
|
56
|
+
solr_result = @indexer.generate_dates(@solr_doc)
|
57
|
+
solr_result.should be_kind_of Hash
|
58
|
+
solr_result[:date_t].should == "1978-04-11"
|
59
|
+
solr_result[:month_facet].should == ["04"]
|
60
|
+
solr_result[:day_facet].should == ['11']
|
61
|
+
end
|
73
62
|
|
74
|
-
|
63
|
+
it "should still give two digit strings even if the month/day is single digit" do@solr_doc[:date_t] = "1978-04-11"
|
64
|
+
@solr_doc[:date_t] = "1978-4-1"
|
65
|
+
solr_result = @indexer.generate_dates(@solr_doc)
|
66
|
+
solr_result.should be_kind_of Hash
|
67
|
+
solr_result[:date_t].should == "1978-4-1"
|
68
|
+
solr_result[:month_facet].should == ["04"]
|
69
|
+
solr_result[:day_facet].should == ['01']
|
70
|
+
end
|
75
71
|
|
76
72
|
end
|
77
73
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solrizer-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Zumwalt
|
@@ -25,36 +25,50 @@ dependencies:
|
|
25
25
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
|
-
- - "
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 15
|
31
31
|
segments:
|
32
|
-
- 1
|
33
32
|
- 2
|
34
|
-
-
|
35
|
-
|
33
|
+
- 0
|
34
|
+
- 0
|
35
|
+
version: 2.0.0
|
36
36
|
requirement: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
|
-
name:
|
40
|
+
name: rsolr
|
41
41
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
hash:
|
46
|
+
hash: 3
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
|
50
|
-
- 0
|
51
|
-
version: 0.3.0
|
49
|
+
version: "0"
|
52
50
|
requirement: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
type: :runtime
|
53
|
+
prerelease: false
|
54
|
+
name: solrizer
|
55
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 23
|
61
|
+
segments:
|
62
|
+
- 1
|
63
|
+
- 0
|
64
|
+
- 0
|
65
|
+
version: 1.0.0
|
66
|
+
requirement: *id003
|
53
67
|
- !ruby/object:Gem::Dependency
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
name: ruby-debug
|
57
|
-
version_requirements: &
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
58
72
|
none: false
|
59
73
|
requirements:
|
60
74
|
- - ">="
|
@@ -63,12 +77,12 @@ dependencies:
|
|
63
77
|
segments:
|
64
78
|
- 0
|
65
79
|
version: "0"
|
66
|
-
requirement: *
|
80
|
+
requirement: *id004
|
67
81
|
- !ruby/object:Gem::Dependency
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
name: ruby-debug-base
|
71
|
-
version_requirements: &
|
85
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
72
86
|
none: false
|
73
87
|
requirements:
|
74
88
|
- - ">="
|
@@ -77,12 +91,12 @@ dependencies:
|
|
77
91
|
segments:
|
78
92
|
- 0
|
79
93
|
version: "0"
|
80
|
-
requirement: *
|
94
|
+
requirement: *id005
|
81
95
|
- !ruby/object:Gem::Dependency
|
82
96
|
type: :development
|
83
97
|
prerelease: false
|
84
98
|
name: rspec
|
85
|
-
version_requirements: &
|
99
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
86
100
|
none: false
|
87
101
|
requirements:
|
88
102
|
- - <
|
@@ -93,12 +107,12 @@ dependencies:
|
|
93
107
|
- 0
|
94
108
|
- 0
|
95
109
|
version: 2.0.0
|
96
|
-
requirement: *
|
110
|
+
requirement: *id006
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
type: :development
|
99
113
|
prerelease: false
|
100
114
|
name: mocha
|
101
|
-
version_requirements: &
|
115
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
102
116
|
none: false
|
103
117
|
requirements:
|
104
118
|
- - ">="
|
@@ -107,7 +121,7 @@ dependencies:
|
|
107
121
|
segments:
|
108
122
|
- 0
|
109
123
|
version: "0"
|
110
|
-
requirement: *
|
124
|
+
requirement: *id007
|
111
125
|
description: An extension to projecthydra/solrizer that provides utilities for loading objects from Fedora Repositories and creating solr documents from them.
|
112
126
|
email: matt.zumwalt@yourmediashelf.com
|
113
127
|
executables: []
|