solrizer-fedora 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -39
- data/Gemfile +0 -9
- data/Gemfile.lock +8 -13
- data/History.textile +6 -0
- data/README.textile +31 -33
- data/lib/solrizer/fedora/version.rb +1 -1
- data/lib/tasks/solrizer-fedora-dev.rake +78 -71
- data/lib/tasks/solrizer-fedora.rake +1 -1
- data/solrizer-fedora.gemspec +10 -6
- data/spec/spec_helper.rb +1 -5
- metadata +81 -13
- data/spec/rcov.opts +0 -2
data/.rvmrc
CHANGED
@@ -1,39 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# This is an RVM Project .rvmrc file, used to automatically load the ruby
|
4
|
-
# development environment upon cd'ing into the directory
|
5
|
-
|
6
|
-
ruby_string="ree-1.8.7"
|
7
|
-
rubygems_version="1.8.17"
|
8
|
-
gemset_name="solrizer-fedora"
|
9
|
-
|
10
|
-
#
|
11
|
-
rvm_install_on_use_flag=1
|
12
|
-
|
13
|
-
# Specify our desired <ruby>[@<gemset>], the @gemset name is optional.
|
14
|
-
environment_id="${ruby_string}@${gemset_name}"
|
15
|
-
|
16
|
-
# First, attempt to load the desired environment directly from the environment
|
17
|
-
# file. This is very fast and efficient compared to running through the entire
|
18
|
-
# CLI and selector. If you want feedback on which environment was used then
|
19
|
-
# insert the word 'use' after --create as this triggers verbose mode.
|
20
|
-
#
|
21
|
-
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
|
22
|
-
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
|
23
|
-
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
24
|
-
else
|
25
|
-
# If the environment file has not yet been created, use the RVM CLI to select.
|
26
|
-
rvm --create "$environment_id"
|
27
|
-
fi
|
28
|
-
|
29
|
-
# Use the specified rubygems_version
|
30
|
-
if [[ -n "${rubygems_version}" && ("$(gem --version)" != ${rubygems_version}) ]] ; then
|
31
|
-
rvm rubygems "${rubygems_version}"
|
32
|
-
fi
|
33
|
-
|
34
|
-
# Ensure that Bundler is installed, install it if it is not.
|
35
|
-
if ! command -v bundle ; then
|
36
|
-
printf "The rubygem 'bundler' is not installed, installing it now.\n"
|
37
|
-
gem install bundler
|
38
|
-
fi
|
39
|
-
|
1
|
+
rvm use ree-1.8.7@solrizer-fedora --create
|
data/Gemfile
CHANGED
@@ -1,13 +1,4 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
group :development, :test do
|
4
|
-
gem 'jeweler'
|
5
|
-
gem 'jettywrapper'
|
6
|
-
gem 'rspec', '~>2.6.0'#'>=2.8.0'
|
7
|
-
gem 'mocha'
|
8
|
-
gem 'yard'
|
9
|
-
gem 'RedCloth'
|
10
|
-
end
|
11
|
-
|
12
3
|
# Specify your gem's dependencies in solrizer.gemspec
|
13
4
|
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
solrizer-fedora (2.
|
5
|
-
active-fedora (~> 4.0
|
4
|
+
solrizer-fedora (2.1.0)
|
5
|
+
active-fedora (~> 4.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
10
|
RedCloth (4.2.9)
|
11
|
-
active-fedora (4.
|
11
|
+
active-fedora (4.1.0)
|
12
12
|
activeresource (>= 3.0.0)
|
13
13
|
activesupport (>= 3.0.0)
|
14
14
|
equivalent-xml
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
activemodel (= 3.0.11)
|
32
32
|
activesupport (= 3.0.11)
|
33
33
|
activesupport (3.0.11)
|
34
|
-
addressable (2.2.
|
34
|
+
addressable (2.2.8)
|
35
35
|
akami (1.0.0)
|
36
36
|
gyoku (>= 0.4.0)
|
37
37
|
builder (2.1.2)
|
@@ -43,10 +43,9 @@ GEM
|
|
43
43
|
nokogiri (>= 1.4.3)
|
44
44
|
fastercsv (1.5.4)
|
45
45
|
ffi (1.0.11)
|
46
|
-
git (1.2.5)
|
47
46
|
gyoku (0.4.4)
|
48
47
|
builder (>= 2.1.2)
|
49
|
-
httpi (0.9.
|
48
|
+
httpi (0.9.7)
|
50
49
|
rack
|
51
50
|
i18n (0.5.0)
|
52
51
|
jettywrapper (1.2.0)
|
@@ -55,10 +54,6 @@ GEM
|
|
55
54
|
i18n
|
56
55
|
logger
|
57
56
|
mediashelf-loggable
|
58
|
-
jeweler (1.6.4)
|
59
|
-
bundler (~> 1.0)
|
60
|
-
git (>= 1.2.5)
|
61
|
-
rake
|
62
57
|
json (1.6.5)
|
63
58
|
logger (1.2.8)
|
64
59
|
mediashelf-loggable (0.4.9)
|
@@ -73,7 +68,7 @@ GEM
|
|
73
68
|
mediashelf-loggable
|
74
69
|
nokogiri (>= 1.4.2)
|
75
70
|
rack (1.4.1)
|
76
|
-
|
71
|
+
rcov (1.0.0)
|
77
72
|
rdf (0.3.5.2)
|
78
73
|
addressable (>= 2.2.6)
|
79
74
|
rdf-rdfxml (0.3.5)
|
@@ -127,9 +122,9 @@ PLATFORMS
|
|
127
122
|
|
128
123
|
DEPENDENCIES
|
129
124
|
RedCloth
|
130
|
-
jettywrapper
|
131
|
-
jeweler
|
125
|
+
jettywrapper (>= 1.1)
|
132
126
|
mocha
|
127
|
+
rcov
|
133
128
|
rdoc
|
134
129
|
rspec (~> 2.6.0)
|
135
130
|
solrizer-fedora!
|
data/History.textile
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
h2. 2.1.0
|
2
|
+
Requiring active-fedora >= 4.0 (so it will happily use 4.1.0)
|
3
|
+
Relaxed jetty-wrapper requirement to >= 1.1
|
4
|
+
Fix rake tasks and coverage so hudson builds pass
|
5
|
+
Don't require a particular rubygems version in .rvmrc
|
6
|
+
|
1
7
|
h2. 2.0.0
|
2
8
|
Requiring active-fedora >= 4.0.0
|
3
9
|
Supports sharding.
|
data/README.textile
CHANGED
@@ -4,7 +4,7 @@ An extension to projecthydra/solrizer that provides utilities for loading object
|
|
4
4
|
|
5
5
|
h2. Installation
|
6
6
|
|
7
|
-
The gem is hosted on rubygems.org. The
|
7
|
+
The gem is hosted on rubygems.org. The best way to manage the gems for your project is to use bundler. Create a Gemfile in the root of your application and include the following:
|
8
8
|
|
9
9
|
<pre>
|
10
10
|
source "http://rubygems.org"
|
@@ -17,37 +17,9 @@ Then:
|
|
17
17
|
<pre>bundle install</pre>
|
18
18
|
|
19
19
|
|
20
|
-
h2.
|
20
|
+
h2. Pre-requisite to Use of Solrizer-Fedora
|
21
21
|
|
22
|
-
In order to
|
23
|
-
|
24
|
-
h3. Using the bundled jetty instance:
|
25
|
-
|
26
|
-
Configure the bundled hydra-jetty instance.
|
27
|
-
|
28
|
-
<pre>
|
29
|
-
git submodule init
|
30
|
-
git submodule update
|
31
|
-
</pre>
|
32
|
-
|
33
|
-
Once you have updated the jetty submodule, you can easily run the rspec tests with the following rake task:
|
34
|
-
|
35
|
-
<pre>
|
36
|
-
rake hudson
|
37
|
-
</pre>
|
38
|
-
|
39
|
-
While the primary intention of this task is to provide test coverage and documentation out on projecthydra's "continuous integration server":http://hudson.projecthydra.org, it can also be used locally to run tests without having to install and configure an instance of "hydra-jetty":https://github.com/projecthydra/hydra-jetty.
|
40
|
-
|
41
|
-
Note: if you have another instance of hydra-jetty running, you should either close it down prior to running the rake hudson task.
|
42
|
-
|
43
|
-
|
44
|
-
h3. Using a different instance of hydra-jetty:
|
45
|
-
|
46
|
-
If you prefer, you can run the specs against a different hydra-jetty instance. Follow the instructions included with those projects to start the jetty instance.
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
h2. Pre-requisite
|
22
|
+
In order to use solrizer-fedora, you must have a Solr and a Fedora instance available. The easiest approach is to set up an instance of "hydra-jetty":https://github.com/projecthydra/hydra-jetty.
|
51
23
|
|
52
24
|
h3. Setup local hydra-jetty
|
53
25
|
|
@@ -159,7 +131,7 @@ solrizer.solrize_objects
|
|
159
131
|
</pre>
|
160
132
|
|
161
133
|
|
162
|
-
h3. Advanced
|
134
|
+
h3. Advanced Usage
|
163
135
|
|
164
136
|
Solrizer-fedora inspects your repository objects and attempts to match your objects to your ruby models based on the hasModel declarations in the RELS-EXT datastream.
|
165
137
|
|
@@ -210,7 +182,33 @@ Now your solr doc with the "changeme:123" ID will include the following:
|
|
210
182
|
</pre>
|
211
183
|
|
212
184
|
|
185
|
+
h2. Modifying and Testing the Solrizer-Fedora gem
|
186
|
+
|
187
|
+
In order to run the RSpec tests, it is necessary to have a hydra-jetty instance running. This can be accomplished two ways:
|
188
|
+
|
189
|
+
h3. Using the bundled jetty instance:
|
190
|
+
|
191
|
+
Configure the bundled hydra-jetty instance.
|
192
|
+
|
193
|
+
<pre>
|
194
|
+
git submodule init
|
195
|
+
git submodule update
|
196
|
+
</pre>
|
197
|
+
|
198
|
+
Once you have updated the jetty submodule, you can easily run the rspec tests with the following rake task:
|
213
199
|
|
200
|
+
<pre>
|
201
|
+
rake hudson
|
202
|
+
</pre>
|
203
|
+
|
204
|
+
While the primary intention of this task is to provide test coverage and documentation out on projecthydra's "continuous integration server":http://hudson.projecthydra.org, it can also be used locally to run tests without having to install and configure an instance of "hydra-jetty":https://github.com/projecthydra/hydra-jetty.
|
205
|
+
|
206
|
+
Note: if you have another instance of hydra-jetty running, you should either close it down prior to running the rake hudson task.
|
207
|
+
|
208
|
+
|
209
|
+
h3. Using a different instance of hydra-jetty:
|
210
|
+
|
211
|
+
If you prefer, you can run the specs against a different hydra-jetty instance. Follow the instructions included with those projects to start the jetty instance.
|
214
212
|
|
215
213
|
|
216
214
|
|
@@ -220,7 +218,7 @@ h2. Note on Patches/Pull Requests
|
|
220
218
|
* Make your feature addition or bug fix.
|
221
219
|
* Add tests for it. This is important so it doesn't get broken unintentionally
|
222
220
|
in a future version.
|
223
|
-
* Commit, do not mess with
|
221
|
+
* Commit, do not mess with rake file, version, or history.
|
224
222
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
225
223
|
* Send me a pull request. Bonus points for topic branches.
|
226
224
|
|
@@ -1,84 +1,91 @@
|
|
1
1
|
require 'jettywrapper'
|
2
2
|
require 'rspec/core/rake_task'
|
3
3
|
|
4
|
-
APP_ROOT = File.expand_path("../..",File.dirname(__FILE__))
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
require "jettywrapper"
|
9
|
-
jetty_params = {
|
10
|
-
:jetty_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty'),
|
11
|
-
:quiet => false,
|
12
|
-
:jetty_port => 8983,
|
13
|
-
:solr_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty/solr/test-core'),
|
14
|
-
:fedora_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty/fedora/default'),
|
15
|
-
:startup_wait => 25
|
16
|
-
}
|
17
|
-
error = Jettywrapper.wrap(jetty_params) do
|
18
|
-
Rake::Task["doc"].invoke
|
19
|
-
Rake::Task["solrizer:fedora:rspec"].invoke
|
20
|
-
end
|
21
|
-
raise "test failures: #{error}" if error
|
22
|
-
else
|
23
|
-
system("rake hudson RAILS_ENV=test")
|
24
|
-
end
|
25
|
-
end
|
4
|
+
APP_ROOT = File.expand_path("../..", File.dirname(__FILE__))
|
5
|
+
|
6
|
+
namespace :solrizer do
|
7
|
+
namespace :fedora do
|
26
8
|
|
27
|
-
|
28
|
-
begin
|
29
|
-
require 'yard'
|
30
|
-
require 'yard/rake/yardoc_task'
|
31
|
-
project_root = File.expand_path("#{File.dirname(__FILE__)}/../../")
|
32
|
-
doc_destination = File.join(project_root, 'doc')
|
9
|
+
task :default => :spec
|
33
10
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
11
|
+
desc "Task to execute build on a Continuous Integration Server."
|
12
|
+
task :ci do
|
13
|
+
if (ENV['RAILS_ENV'] == "test")
|
14
|
+
require "jettywrapper"
|
15
|
+
jetty_params = {
|
16
|
+
:jetty_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty'),
|
17
|
+
:quiet => false,
|
18
|
+
:jetty_port => 8983,
|
19
|
+
:solr_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty/solr/test-core'),
|
20
|
+
:fedora_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty/fedora/default'),
|
21
|
+
:startup_wait => 25
|
22
|
+
}
|
23
|
+
error = Jettywrapper.wrap(jetty_params) do
|
24
|
+
Rake::Task["solrizer:fedora:spec_w_cov"].invoke
|
25
|
+
Rake::Task["solrizer:fedora:doc"].invoke
|
26
|
+
end
|
27
|
+
raise "test failures: #{error}" if error
|
28
|
+
else
|
29
|
+
system("rake solrizer:fedora:ci RAILS_ENV=test")
|
30
|
+
end
|
31
|
+
end
|
45
32
|
|
46
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
end
|
33
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
34
|
+
# spec.libs << 'lib' << 'spec'
|
35
|
+
# spec.spec_files = FileList['spec/**/*_spec.rb']
|
36
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
37
|
+
end
|
51
38
|
|
52
|
-
|
53
|
-
|
54
|
-
spec.
|
55
|
-
|
56
|
-
|
39
|
+
desc "Run specs with coverage"
|
40
|
+
RSpec::Core::RakeTask.new(:spec_w_cov) do |spec|
|
41
|
+
# spec.libs << 'lib' << 'spec'
|
42
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
43
|
+
spec.rcov = true
|
44
|
+
spec.rcov_opts = %w{--exclude spec,gems}
|
45
|
+
end
|
57
46
|
|
58
|
-
|
47
|
+
begin
|
48
|
+
require 'rcov/rcovtask'
|
49
|
+
Rcov::RcovTask.new do |test|
|
50
|
+
test.libs << 'test'
|
51
|
+
test.pattern = 'test/**/test_*.rb'
|
52
|
+
test.verbose = true
|
53
|
+
end
|
54
|
+
rescue LoadError
|
55
|
+
task :rcov do
|
56
|
+
abort "RCov is not available. "
|
57
|
+
end
|
58
|
+
end
|
59
59
|
|
60
|
-
|
60
|
+
# Use yard to build docs
|
61
|
+
begin
|
62
|
+
require 'yard'
|
63
|
+
require 'yard/rake/yardoc_task'
|
64
|
+
project_root = File.expand_path("#{File.dirname(__FILE__)}/../../")
|
65
|
+
doc_destination = File.join(project_root, 'doc')
|
66
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
61
67
|
|
62
|
-
|
63
|
-
|
64
|
-
|
68
|
+
YARD::Rake::YardocTask.new(:doc) do |yt|
|
69
|
+
yt.files = Dir.glob(File.join(project_root, 'lib', '**', '*.rb')) +
|
70
|
+
[ File.join(project_root, 'README.textile') ]
|
71
|
+
yt.options = ['--output-dir', doc_destination, '--readme', 'README.textile', '--title', "Solrizer-Fedora #{version} Documentation"]
|
72
|
+
end
|
73
|
+
rescue LoadError
|
74
|
+
desc "Generate YARD Documentation"
|
75
|
+
task :doc do
|
76
|
+
abort "Please install the YARD gem to generate rdoc."
|
77
|
+
end
|
78
|
+
end
|
65
79
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
70
|
-
end
|
80
|
+
require 'rdoc/task'
|
81
|
+
RDoc::Task.new do |rdoc|
|
82
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
71
83
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
test.verbose = true
|
78
|
-
end
|
79
|
-
rescue LoadError
|
80
|
-
task :rcov do
|
81
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
82
|
-
end
|
83
|
-
end
|
84
|
+
rdoc.rdoc_dir = 'rdoc'
|
85
|
+
rdoc.title = "solrizer-fedora #{version}"
|
86
|
+
rdoc.rdoc_files.include('README*')
|
87
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
88
|
+
end
|
84
89
|
|
90
|
+
end
|
91
|
+
end
|
data/solrizer-fedora.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = Solrizer::Fedora::VERSION
|
8
8
|
s.authors = ["Matt Zumwalt"]
|
9
9
|
s.description = %q{An extension to projecthydra/solrizer that provides utilities for loading objects from Fedora Repositories and creating solr documents from them.}
|
10
|
-
s.email = %q{
|
10
|
+
s.email = %q{hydra-tech@googlegroups.com}
|
11
11
|
s.extra_rdoc_files = [
|
12
12
|
"LICENSE",
|
13
13
|
"README.textile"
|
@@ -20,12 +20,16 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.rubyforge_project = "solrizer-fedora"
|
22
22
|
|
23
|
-
s.add_dependency('active-fedora', '~> 4.0
|
24
|
-
s.add_development_dependency('jettywrapper', '>=1.1
|
23
|
+
s.add_dependency('active-fedora', '~> 4.0')
|
24
|
+
s.add_development_dependency('jettywrapper', '>=1.1')
|
25
25
|
s.add_development_dependency('rdoc')
|
26
|
+
s.add_development_dependency('rcov')
|
27
|
+
s.add_development_dependency('rspec', '~>2.6.0') #'>=2.8.0'
|
28
|
+
s.add_development_dependency('mocha')
|
29
|
+
s.add_development_dependency('yard')
|
30
|
+
s.add_development_dependency('RedCloth')
|
26
31
|
|
27
32
|
s.files = `git ls-files`.split("\n")
|
28
|
-
s.test_files = `git ls-files -- {
|
29
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
30
|
-
s.require_paths = ["lib"]
|
33
|
+
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
34
|
+
# s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
31
35
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
3
3
|
require 'solrizer/fedora'
|
4
|
-
require 'rspec'
|
5
|
-
|
6
4
|
require 'solrizer'
|
5
|
+
require 'rspec'
|
7
6
|
|
8
7
|
|
9
8
|
# this allows us to unload constants for testing
|
@@ -19,14 +18,11 @@ module Kernel
|
|
19
18
|
end
|
20
19
|
|
21
20
|
|
22
|
-
|
23
21
|
RSpec.configure do |config|
|
24
22
|
|
25
23
|
config.mock_with :mocha
|
26
24
|
config.color_enabled = true
|
27
25
|
|
28
|
-
|
29
|
-
|
30
26
|
def fixture(file)
|
31
27
|
File.new(File.join(File.dirname(__FILE__), 'fixtures', file))
|
32
28
|
end
|
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: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 2.0.0
|
10
|
+
version: 2.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Zumwalt
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-05-10 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: active-fedora
|
@@ -25,12 +25,11 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
28
|
+
hash: 27
|
29
29
|
segments:
|
30
30
|
- 4
|
31
31
|
- 0
|
32
|
-
|
33
|
-
version: 4.0.0
|
32
|
+
version: "4.0"
|
34
33
|
type: :runtime
|
35
34
|
version_requirements: *id001
|
36
35
|
- !ruby/object:Gem::Dependency
|
@@ -41,12 +40,11 @@ dependencies:
|
|
41
40
|
requirements:
|
42
41
|
- - ">="
|
43
42
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
43
|
+
hash: 13
|
45
44
|
segments:
|
46
45
|
- 1
|
47
46
|
- 1
|
48
|
-
|
49
|
-
version: 1.1.0
|
47
|
+
version: "1.1"
|
50
48
|
type: :development
|
51
49
|
version_requirements: *id002
|
52
50
|
- !ruby/object:Gem::Dependency
|
@@ -63,8 +61,80 @@ dependencies:
|
|
63
61
|
version: "0"
|
64
62
|
type: :development
|
65
63
|
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rcov
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
type: :development
|
77
|
+
version_requirements: *id004
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rspec
|
80
|
+
prerelease: false
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 23
|
87
|
+
segments:
|
88
|
+
- 2
|
89
|
+
- 6
|
90
|
+
- 0
|
91
|
+
version: 2.6.0
|
92
|
+
type: :development
|
93
|
+
version_requirements: *id005
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: mocha
|
96
|
+
prerelease: false
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
|
+
type: :development
|
107
|
+
version_requirements: *id006
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: yard
|
110
|
+
prerelease: false
|
111
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
hash: 3
|
117
|
+
segments:
|
118
|
+
- 0
|
119
|
+
version: "0"
|
120
|
+
type: :development
|
121
|
+
version_requirements: *id007
|
122
|
+
- !ruby/object:Gem::Dependency
|
123
|
+
name: RedCloth
|
124
|
+
prerelease: false
|
125
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
hash: 3
|
131
|
+
segments:
|
132
|
+
- 0
|
133
|
+
version: "0"
|
134
|
+
type: :development
|
135
|
+
version_requirements: *id008
|
66
136
|
description: An extension to projecthydra/solrizer that provides utilities for loading objects from Fedora Repositories and creating solr documents from them.
|
67
|
-
email:
|
137
|
+
email: hydra-tech@googlegroups.com
|
68
138
|
executables: []
|
69
139
|
|
70
140
|
extensions: []
|
@@ -99,7 +169,6 @@ files:
|
|
99
169
|
- spec/fixtures/rels_ext_cmodel.xml
|
100
170
|
- spec/integration/fedora_indexer_spec.rb
|
101
171
|
- spec/lib/solrizer/indexer_spec.rb
|
102
|
-
- spec/rcov.opts
|
103
172
|
- spec/spec.opts
|
104
173
|
- spec/spec_helper.rb
|
105
174
|
- spec/units/fedora_extractor_spec.rb
|
@@ -142,7 +211,6 @@ test_files:
|
|
142
211
|
- spec/fixtures/rels_ext_cmodel.xml
|
143
212
|
- spec/integration/fedora_indexer_spec.rb
|
144
213
|
- spec/lib/solrizer/indexer_spec.rb
|
145
|
-
- spec/rcov.opts
|
146
214
|
- spec/spec.opts
|
147
215
|
- spec/spec_helper.rb
|
148
216
|
- spec/units/fedora_extractor_spec.rb
|
data/spec/rcov.opts
DELETED