websolr-rails 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/websolr-rails.rb +1 -1
- data/websolr-rails.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -11,6 +11,7 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/onemorecloud/websolr-rails"
|
12
12
|
gem.authors = ["Kyle Maxwell"]
|
13
13
|
end
|
14
|
+
Jeweler::GemcutterTasks.new
|
14
15
|
rescue LoadError
|
15
16
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
16
17
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.1
|
data/lib/websolr-rails.rb
CHANGED
@@ -34,7 +34,7 @@ if ENV["WEBSOLR_URL"]
|
|
34
34
|
connection = Solr::Connection.new(ENV["WEBSOLR_URL"])
|
35
35
|
return connection.send(request)
|
36
36
|
rescue
|
37
|
-
raise "Couldn't connect to the Solr server at
|
37
|
+
raise "Couldn't connect to the Solr server at #{url}. #{$!}"
|
38
38
|
false
|
39
39
|
end
|
40
40
|
end
|
data/websolr-rails.gemspec
CHANGED