sunspot-parallel-reindex 0.0.3 → 0.0.4

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: 01ee25152c5d8911ba792d0cf9b3d9376c2f615e
4
- data.tar.gz: 7847a988fb8972f002478dfcd987b43e35bcc62b
3
+ metadata.gz: c135d73a1490161eba2393b955559e918adf86fe
4
+ data.tar.gz: 129e6d283efb765a8172ca2cf9dc0ff907963961
5
5
  SHA512:
6
- metadata.gz: ea323d3d8bef5e729c661a3d2ddfad6a08593baa16d5b550fb18c4e7226d808ac6f9261152ece00d0411476940f0636fedbcc20eeab6088516aedec129fdebdc
7
- data.tar.gz: fb6125a66563ac6dcd6f31847b5c73152882468e0f08687500325d1a652a6e5adf8cd9c32fda8c69adf9ef2046880e427dfb73cda47fc1f2836695b474974a65
6
+ metadata.gz: 61c3c29c4a38df4a0d658d3dbece0e405dd4cfa8716562232695da2f5e54336e4a7d33eea3a6eaee5fcd252a1ae69d70a2b9b3abadd9dca29b8e4ea8cb96c4f6
7
+ data.tar.gz: e4ddde7a191b934762168665b568fc0f6e4e513c0c8f1d7c7778939263103577378b26f2fb241acbcf6cf77e0fadee0d6b9980ef7009af0df829091b769da018
@@ -1,6 +1,9 @@
1
1
  require "sunspot/parallel/reindex/version"
2
2
  require "sunspot/rails/searchable/acts_as_methods"
3
- require "sunspot/parallel/reindex/tasks"
3
+
4
+ if defined?(Rails::Railtie)
5
+ require 'sunspot/parallel/reindex/railtie'
6
+ end
4
7
 
5
8
  module Sunspot
6
9
  module Parallel
@@ -0,0 +1,9 @@
1
+ module Sunspot
2
+ module Solr
3
+ class Railtie < ::Rails::Railtie
4
+ rake_tasks do
5
+ load "sunspot/parallel/reindex/tasks.rb"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,7 +1,7 @@
1
1
  module Sunspot
2
2
  module Parallel
3
3
  module Reindex
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunspot-parallel-reindex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Tucker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2014-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,6 +79,7 @@ files:
79
79
  - README.md
80
80
  - Rakefile
81
81
  - lib/sunspot/parallel/reindex.rb
82
+ - lib/sunspot/parallel/reindex/railtie.rb
82
83
  - lib/sunspot/parallel/reindex/tasks.rb
83
84
  - lib/sunspot/parallel/reindex/version.rb
84
85
  - lib/sunspot/rails/searchable/acts_as_methods.rb