supernova 0.3.8 → 0.3.9

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.8
1
+ 0.3.9
@@ -138,7 +138,7 @@ class Supernova::SolrCriteria < Supernova::Criteria
138
138
  end
139
139
 
140
140
  def to_a
141
- response = Supernova::Solr.connection.get("select", :params => to_params)
141
+ response = Supernova::Solr.connection.post("select", :params => 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
@@ -168,7 +168,7 @@ describe Supernova::SolrCriteria do
168
168
 
169
169
  before(:each) do
170
170
  criteria.stub(:to_params).and_return params
171
- rsolr.stub!(:get).and_return solr_response
171
+ rsolr.stub!(:post).and_return solr_response
172
172
  end
173
173
 
174
174
  it "calls to_params" do
@@ -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(:get).with("select", :params => params).and_return solr_response
180
+ rsolr.should_receive(:post).with("select", :params => params).and_return solr_response
181
181
  criteria.to_a
182
182
  end
183
183
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{supernova}
8
- s.version = "0.3.8"
8
+ s.version = "0.3.9"
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"]
12
- s.date = %q{2011-06-15}
12
+ s.date = %q{2011-06-16}
13
13
  s.description = %q{Unified search scopes}
14
14
  s.email = %q{tobias.schwab@dynport.de}
15
15
  s.extra_rdoc_files = [
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 8
10
- version: 0.3.8
9
+ - 9
10
+ version: 0.3.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Schwab
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-15 00:00:00 Z
18
+ date: 2011-06-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  requirement: &id001 !ruby/object:Gem::Requirement