solr_ead 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fac4816cdbd0c90b954d357444668ccce88ff511
4
- data.tar.gz: b9a2fb99788ffa1b4f6be8dc95bbe59da4ee20a3
3
+ metadata.gz: e97d950a41c83804c8564f33b1eaebe27a62a64f
4
+ data.tar.gz: 450470264a8feb5afb4c1d2fbe5316cca9178128
5
5
  SHA512:
6
- metadata.gz: 93fcefab8ff1af3447e6c7da861d22f10d92696b0d1865c0f57fe70f01b0a395f1adcfa4f12c0e05035124c238c4b4fbb3697a76fe2e2a45e4bb218559b802c2
7
- data.tar.gz: 63f11b18aa234f899dec25b16bb295bcb505895a2789f2e31512603ac7f2e754d043dc3f2930d3380448d37f6014d08817bbd5e3512f687da708eefd2bc8565f
6
+ metadata.gz: e73e22eff5fe79419efdc40ca50d6575b58065d753eb56ce2301e3d13d324a8402da4281bd36caa5f95e6861678c6e2346d126b7d41cb61222e2230684502f71
7
+ data.tar.gz: ddf3819890055d7d0431940d8e067dd629e1c15543e6a480a5658faab45cbdb0e86828c462cd5eebc26e4a02a515adfb9c27e861ee25039eba3b8791b1754e4f
@@ -1,3 +1,4 @@
1
+ require 'solr_ead/railtie' if defined?(Rails)
1
2
  require 'nokogiri'
2
3
  require 'solrizer'
3
4
  require 'om'
@@ -5,9 +6,6 @@ require 'rsolr'
5
6
  require 'active_support'
6
7
  require 'yaml'
7
8
 
8
- # Load these rake tasks when the gem is included in a Rails application
9
- Dir[File.expand_path(File.join(File.dirname(__FILE__),"../tasks/*.rake"))].each { |ext| load ext } if defined?(Rake)
10
-
11
9
  module SolrEad
12
10
  extend ActiveSupport::Autoload
13
11
 
@@ -0,0 +1,7 @@
1
+ module SolrEad
2
+ class Railtie < Rails::Railtie
3
+ rake_tasks do
4
+ Dir[File.expand_path(File.join(File.dirname(__FILE__),"../../tasks/*.rake"))].each { |ext| load ext }
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module SolrEad
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.2"
3
3
  end
@@ -4,8 +4,8 @@ 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 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
- gem.summary = %q{A gem for indexing ead into solr using OM}
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
+ gem.summary = %q{A gem for indexing EAD into solr using OM}
9
9
  gem.homepage = "http://github.com/awead/solr_ead"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.name = "solr_ead"
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = SolrEad::VERSION
17
- gem.license = "Apache 2"
17
+ gem.license = "Apache-2.0"
18
18
 
19
19
  # Dependencies
20
20
  gem.add_dependency 'om', '>= 3.0.0', '< 4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solr_ead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Wead
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: om
@@ -176,8 +176,8 @@ dependencies:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
- description: A gem for indexing ead into solr using OM. Define your own OM terminology
180
- to create the solr fields you want from your ead, then use solr-based applications
179
+ description: A gem for indexing EAD into solr using OM. Define your own OM terminology
180
+ to create the solr fields you want from your ead, then use Solr-based applications
181
181
  like Blacklight to search and display the results.
182
182
  email:
183
183
  - amsterdamos@gmail.com
@@ -201,6 +201,7 @@ files:
201
201
  - lib/solr_ead/formatting.rb
202
202
  - lib/solr_ead/indexer.rb
203
203
  - lib/solr_ead/om_behaviors.rb
204
+ - lib/solr_ead/railtie.rb
204
205
  - lib/solr_ead/version.rb
205
206
  - lib/tasks/dev.rake
206
207
  - solr/schema.xml
@@ -222,7 +223,7 @@ files:
222
223
  - tasks/solr_ead.rake
223
224
  homepage: http://github.com/awead/solr_ead
224
225
  licenses:
225
- - Apache 2
226
+ - Apache-2.0
226
227
  metadata: {}
227
228
  post_install_message:
228
229
  rdoc_options: []
@@ -240,10 +241,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
241
  version: '0'
241
242
  requirements: []
242
243
  rubyforge_project:
243
- rubygems_version: 2.6.11
244
+ rubygems_version: 2.6.8
244
245
  signing_key:
245
246
  specification_version: 4
246
- summary: A gem for indexing ead into solr using OM
247
+ summary: A gem for indexing EAD into solr using OM
247
248
  test_files:
248
249
  - spec/behaviors_spec.rb
249
250
  - spec/component_spec.rb