supernova 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/supernova/solr_criteria.rb +1 -1
- data/spec/supernova/solr_criteria_spec.rb +1 -1
- data/supernova.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.10
|
@@ -138,7 +138,7 @@ class Supernova::SolrCriteria < Supernova::Criteria
|
|
138
138
|
end
|
139
139
|
|
140
140
|
def to_a
|
141
|
-
response = Supernova::Solr.connection.post("select", :
|
141
|
+
response = Supernova::Solr.connection.post("select", :data => to_params)
|
142
142
|
collection = Supernova::Collection.new(current_page, per_page, response["response"]["numFound"])
|
143
143
|
collection.replace(build_docs(response["response"]["docs"]))
|
144
144
|
collection
|
@@ -177,7 +177,7 @@ describe Supernova::SolrCriteria do
|
|
177
177
|
end
|
178
178
|
|
179
179
|
it "calls get with select and params" do
|
180
|
-
rsolr.should_receive(:post).with("select", :
|
180
|
+
rsolr.should_receive(:post).with("select", :data => params).and_return solr_response
|
181
181
|
criteria.to_a
|
182
182
|
end
|
183
183
|
|
data/supernova.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: supernova
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 10
|
10
|
+
version: 0.3.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Schwab
|