websolr-sunspot_rails 1.1.0.4 → 1.1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/websolr-sunspot_rails.rb +16 -0
- data/websolr-sunspot_rails.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0.
|
1
|
+
1.1.0.5
|
@@ -40,6 +40,22 @@ if ENV["WEBSOLR_URL"]
|
|
40
40
|
"Exception: #{e.message}"
|
41
41
|
end
|
42
42
|
|
43
|
+
module Sunspot #:nodoc:
|
44
|
+
module Rails #:nodoc:
|
45
|
+
class Configuration
|
46
|
+
def hostname
|
47
|
+
URI.parse(ENV["WEBSOLR_URL"]).host
|
48
|
+
end
|
49
|
+
def port
|
50
|
+
URI.parse(ENV["WEBSOLR_URL"]).port
|
51
|
+
end
|
52
|
+
def path
|
53
|
+
URI.parse(ENV["WEBSOLR_URL"]).path
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
43
59
|
module Sunspot #:nodoc:
|
44
60
|
module Rails #:nodoc:
|
45
61
|
#
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{websolr-sunspot_rails}
|
8
|
-
s.version = "1.1.0.
|
8
|
+
s.version = "1.1.0.5"
|
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", "John Barnette", "Mat Brown", "Nick Zadrozny"]
|
12
|
-
s.date = %q{2010-07-
|
12
|
+
s.date = %q{2010-07-20}
|
13
13
|
s.description = %q{websolr to sunspot_rails shim}
|
14
14
|
s.email = %q{kyle@kylemaxwell.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 1
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.1.0.
|
9
|
+
- 5
|
10
|
+
version: 1.1.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kyle Maxwell
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-07-
|
21
|
+
date: 2010-07-20 00:00:00 -07:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|