websolr-rails 2.1.1 → 2.1.2

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 CHANGED
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.1.2
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 #{url}. #{$!}"
37
+ raise "Couldn't connect to the Solr server at #{ENV["WEBSOLR_URL"]}. #{$!}"
38
38
  false
39
39
  end
40
40
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{websolr-rails}
8
- s.version = "2.1.1"
8
+ s.version = "2.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kyle Maxwell"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websolr-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Maxwell