cloud_search 0.0.9 → 0.1.0

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.
@@ -26,6 +26,7 @@ module CloudSearch
26
26
  end
27
27
 
28
28
  alias :page_size :items_per_page
29
+ alias :limit_value :items_per_page
29
30
  alias :total_entries :hits
30
31
  alias :any? :found?
31
32
 
@@ -1,3 +1,3 @@
1
1
  module CloudSearch
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -49,6 +49,10 @@ describe CloudSearch::SearchResponse do
49
49
  it "returns items per page as default 10" do
50
50
  subject.items_per_page.should == 10
51
51
  end
52
+
53
+ it "is an alias to limit_value" do
54
+ subject.limit_value.should == 10
55
+ end
52
56
  end
53
57
 
54
58
  describe "#page_size" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
12
+ date: 2012-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry