waistband 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,6 +58,10 @@ module Waistband
58
58
  ::Waistband::Query.new @index, term, options
59
59
  end
60
60
 
61
+ def free_query(options = {})
62
+ ::Waistband::FreeQuery.new @index, options
63
+ end
64
+
61
65
  def search_url
62
66
  connection.search_url_for_index @index
63
67
  end
@@ -1,3 +1,3 @@
1
1
  module Waistband
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -35,6 +35,10 @@ describe Waistband::Index do
35
35
  index.query('shopping').should be_a Waistband::Query
36
36
  end
37
37
 
38
+ it "proxies to a free query" do
39
+ index.free_query.should be_a Waistband::FreeQuery
40
+ end
41
+
38
42
  describe "storing" do
39
43
 
40
44
  it "stores data" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waistband
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: