api_bucket 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module ApiBucket::Amazon
9
9
 
10
10
  def categories
11
11
  {
12
- ALL: 'All',
12
+ All: 'All',
13
13
  DVD: 'DVD / BD',
14
14
  Books: 'Books',
15
15
  ForeignBooks: 'ForeignBooks',
@@ -1,3 +1,3 @@
1
1
  module ApiBucket
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -30,6 +30,15 @@ describe "ApiBucket::Amazon" do
30
30
  service = ApiBucket::Amazon::Client.new
31
31
  expect(service.search(nil).items).to be_empty
32
32
  end
33
+
34
+ context 'when add options' do
35
+ it 'can search items' do
36
+ service = ApiBucket::Amazon::Client.new
37
+ response = service.search('ruby', {search_index: 'All'})
38
+ expect(response.items.count).to be > 2
39
+ end
40
+ end
41
+
33
42
  end
34
43
 
35
44
  describe '#lookup' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_bucket
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: