supernova 0.3.9 → 0.3.10

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
- 0.3.9
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", :params => to_params)
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", :params => params).and_return solr_response
180
+ rsolr.should_receive(:post).with("select", :data => params).and_return solr_response
181
181
  criteria.to_a
182
182
  end
183
183
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{supernova}
8
- s.version = "0.3.9"
8
+ s.version = "0.3.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tobias Schwab"]
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: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 9
10
- version: 0.3.9
9
+ - 10
10
+ version: 0.3.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Schwab