amazon-ecs 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,6 +44,9 @@ For HPricot dependency implementation, please install 1.2.x version or checkout
44
44
 
45
45
  # search amazon uk
46
46
  res = Amazon::Ecs.item_search('ruby', :country => 'uk')
47
+
48
+ # search all items, default search index is Books
49
+ res = Amazon::Ecs.item_search('ruby', :search_index => 'All')
47
50
 
48
51
  # some common response object methods
49
52
  res.is_valid_request? # return true if request is valid
@@ -2,8 +2,9 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'test/unit'
5
+ # require 'redgreen'
5
6
 
6
- require './' + File.dirname(__FILE__) + '/../../lib/amazon/ecs'
7
+ require File.expand_path(File.dirname(__FILE__) + '/../../lib/amazon/ecs')
7
8
 
8
9
  class Amazon::EcsTest < Test::Unit::TestCase
9
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-06 00:00:00.000000000 +08:00
12
+ date: 2011-10-25 00:00:00.000000000 +08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &2156946340 !ruby/object:Gem::Requirement
17
+ requirement: &2168864200 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.4.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156946340
25
+ version_requirements: *2168864200
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ruby-hmac
28
- requirement: &2156945860 !ruby/object:Gem::Requirement
28
+ requirement: &2168863640 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,15 +33,15 @@ dependencies:
33
33
  version: 0.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156945860
36
+ version_requirements: *2168863640
37
37
  description: Generic Amazon Product Advertising Ruby API
38
38
  email: herryanto@gmail.com
39
39
  executables: []
40
40
  extensions: []
41
41
  extra_rdoc_files:
42
- - README
42
+ - Readme.rdoc
43
43
  files:
44
- - README
44
+ - Readme.rdoc
45
45
  - lib/amazon/ecs.rb
46
46
  - test/amazon/ecs_test.rb
47
47
  has_rdoc: true