websolr-rails 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/websolr-rails.rb +2 -0
- data/websolr-rails.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.4
|
data/lib/websolr-rails.rb
CHANGED
@@ -5,10 +5,12 @@ if ENV["WEBSOLR_URL"] && !$websolr_already
|
|
5
5
|
$websolr_already = true
|
6
6
|
|
7
7
|
def websolr_install_sunspot
|
8
|
+
puts "Using websolr-rails for sunspot at #{ENV["WEBSOLR_URL"]}"
|
8
9
|
Sunspot.config.solr.url = ENV["WEBSOLR_URL"]
|
9
10
|
end
|
10
11
|
|
11
12
|
def websolr_install_acts_as_solr
|
13
|
+
puts "Using websolr-rails for acts_as_solr at #{ENV["WEBSOLR_URL"]}"
|
12
14
|
eval <<-RUBY
|
13
15
|
module ::ActsAsSolr
|
14
16
|
class Post
|
data/websolr-rails.gemspec
CHANGED