amazon-ecs 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +4 -1
  2. data/lib/amazon/ecs.rb +2 -1
  3. metadata +10 -5
data/README CHANGED
@@ -33,7 +33,10 @@ instead you just need to update the element path.
33
33
 
34
34
  # options provided on method call will merge with the default options
35
35
  res = Amazon::Ecs.item_search('ruby', {:response_group => 'Medium', :sort => 'salesrank'})
36
-
36
+
37
+ # search amazon uk
38
+ res = Amazon::Ecs.item_search('ruby', :country => 'uk')
39
+
37
40
  # some common response object methods
38
41
  res.is_valid_request? # return true if request is valid
39
42
  res.has_error? # return true if there is an error
data/lib/amazon/ecs.rb CHANGED
@@ -37,7 +37,8 @@ module Amazon
37
37
  :ca => 'http://webservices.amazon.ca/onca/xml?',
38
38
  :de => 'http://webservices.amazon.de/onca/xml?',
39
39
  :jp => 'http://webservices.amazon.co.jp/onca/xml?',
40
- :fr => 'http://webservices.amazon.fr/onca/xml?'
40
+ :fr => 'http://webservices.amazon.fr/onca/xml?',
41
+ :it => 'http://webservices.amazon.it/onca/xml?'
41
42
  }
42
43
 
43
44
  OPENSSL_DIGEST_SUPPORT = OpenSSL::Digest.constants.include?( 'SHA256' ) ||
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-ecs
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 29
5
+ prerelease:
5
6
  segments:
6
7
  - 1
7
8
  - 2
8
- - 0
9
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Herryanto Siatono
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-02-07 00:00:00 +08:00
18
+ date: 2011-02-23 00:00:00 +08:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 3
28
30
  segments:
29
31
  - 0
30
32
  - 4
@@ -39,6 +41,7 @@ dependencies:
39
41
  requirements:
40
42
  - - ">="
41
43
  - !ruby/object:Gem::Version
44
+ hash: 23
42
45
  segments:
43
46
  - 0
44
47
  - 3
@@ -73,6 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
76
  requirements:
74
77
  - - ">="
75
78
  - !ruby/object:Gem::Version
79
+ hash: 3
76
80
  segments:
77
81
  - 0
78
82
  version: "0"
@@ -81,13 +85,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
85
  requirements:
82
86
  - - ">="
83
87
  - !ruby/object:Gem::Version
88
+ hash: 3
84
89
  segments:
85
90
  - 0
86
91
  version: "0"
87
92
  requirements: []
88
93
 
89
94
  rubyforge_project:
90
- rubygems_version: 1.3.7
95
+ rubygems_version: 1.5.0
91
96
  signing_key:
92
97
  specification_version: 2
93
98
  summary: Generic Amazon Product Advertising Ruby API