websolr-rails 2.0.2 → 2.0.3
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 -1
- data/websolr-rails.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.3
|
data/lib/websolr-rails.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# Post-require hooks for acts_as_solr and sunspot if this
|
2
2
|
# gem is loaded and WEBSOLR_URL is defined.
|
3
3
|
|
4
|
-
if ENV["WEBSOLR_URL"]
|
4
|
+
if ENV["WEBSOLR_URL"] && !$websolr_already
|
5
|
+
$websolr_already = true
|
5
6
|
|
6
7
|
def websolr_install_sunspot
|
7
8
|
Sunspot.config.solr.url = ENV["WEBSOLR_URL"]
|
data/websolr-rails.gemspec
CHANGED