websolr-rails 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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