websolr-rails 2.1.2 → 2.1.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 CHANGED
@@ -1 +1 @@
1
- 2.1.2
1
+ 2.1.3
data/lib/websolr-rails.rb CHANGED
@@ -34,7 +34,8 @@ 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 #{ENV["WEBSOLR_URL"]}. #{$!}"
37
+ raise ActsAsSolr::ConnectionError,
38
+ "Couldn't connect to the Solr server at #{ENV["WEBSOLR_URL"]}. #{$!}"
38
39
  false
39
40
  end
40
41
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{websolr-rails}
8
- s.version = "2.1.2"
8
+ s.version = "2.1.3"
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"]
12
- s.date = %q{2009-10-15}
12
+ s.date = %q{2009-10-17}
13
13
  s.description = %q{Makes Sunspot and acts_as_solr play with WebSolr}
14
14
  s.email = %q{kyle@kylemaxwell.com}
15
15
  s.extra_rdoc_files = [
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.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Maxwell
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-15 00:00:00 -07:00
12
+ date: 2009-10-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15