outoftime-sunspot_rails 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -0
- data/Rakefile +1 -1
- data/VERSION.yml +1 -1
- data/{tasks/sunspot.rake → lib/sunspot/rails/tasks.rb} +0 -0
- metadata +2 -3
- data/tasks/sunspot_rails_tasks.rake +0 -4
data/README.rdoc
CHANGED
@@ -52,6 +52,12 @@ Create the file <code>config/sunspot.yml</code> and set it up for your environme
|
|
52
52
|
solr:
|
53
53
|
port: 8981
|
54
54
|
|
55
|
+
Rails doesn't automatically load rake tasks from plugins installed as gems
|
56
|
+
(https://rails.lighthouseapp.com/projects/8994/tickets/59). If you installed
|
57
|
+
Sunspot::Rails as a gem, add the following line to your project's Rakefile:
|
58
|
+
|
59
|
+
require 'sunspot/rails/tasks'
|
60
|
+
|
55
61
|
To start up a Solr instance, issue the following:
|
56
62
|
|
57
63
|
rake sunspot:solr:start
|
data/Rakefile
CHANGED
@@ -16,4 +16,4 @@ task :environment do
|
|
16
16
|
require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config', 'environment.rb'))
|
17
17
|
end
|
18
18
|
|
19
|
-
FileList['dev_tasks/*.rake', 'tasks
|
19
|
+
FileList['dev_tasks/*.rake', 'lib/sunspot/rails/tasks.rb'].each { |file| load(file) }
|
data/VERSION.yml
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outoftime-sunspot_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mat Brown
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- lib/sunspot/rails/configuration.rb
|
105
105
|
- lib/sunspot/rails/request_lifecycle.rb
|
106
106
|
- lib/sunspot/rails/searchable.rb
|
107
|
+
- lib/sunspot/rails/tasks.rb
|
107
108
|
- rails/init.rb
|
108
109
|
- spec/mock_app/app/controllers/application.rb
|
109
110
|
- spec/mock_app/app/controllers/application_controller.rb
|
@@ -125,8 +126,6 @@ files:
|
|
125
126
|
- spec/request_lifecycle_spec.rb
|
126
127
|
- spec/schema.rb
|
127
128
|
- spec/spec_helper.rb
|
128
|
-
- tasks/sunspot.rake
|
129
|
-
- tasks/sunspot_rails_tasks.rake
|
130
129
|
has_rdoc: true
|
131
130
|
homepage: http://github.com/outoftime/sunspot_rails
|
132
131
|
post_install_message:
|