fracassandra 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fracassandra.gemspec +1 -1
- data/lib/fracassandra/model.rb +2 -2
- data/lib/fracassandra/sunspot.rb +5 -2
- data/lib/fracassandra.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/fracassandra.gemspec
CHANGED
data/lib/fracassandra/model.rb
CHANGED
data/lib/fracassandra/sunspot.rb
CHANGED
@@ -5,6 +5,9 @@
|
|
5
5
|
#
|
6
6
|
|
7
7
|
if defined?(Sunspot)
|
8
|
+
require 'sunspot'
|
9
|
+
require 'sunspot/adapters'
|
10
|
+
|
8
11
|
module Fracassandra
|
9
12
|
class FracassandraInstanceAdapter < Sunspot::Adapters::InstanceAdapter
|
10
13
|
def id
|
@@ -20,5 +23,5 @@ if defined?(Sunspot)
|
|
20
23
|
end
|
21
24
|
|
22
25
|
Sunspot::Adapters::InstanceAdapter.register(Fracassandra::FracassandraInstanceAdapter, Fracassandra::Model)
|
23
|
-
Sunspot::Adapters::
|
24
|
-
end
|
26
|
+
Sunspot::Adapters::DataAccessor.register(Fracassandra::FracassandraDataAccessor, Fracassandra::Model)
|
27
|
+
end
|
data/lib/fracassandra.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fracassandra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 3
|
10
|
+
version: 0.3.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeremy Tregunna
|