amazon-ecs 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/amazon/ecs.rb +1 -2
  3. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.5.3 2007-09-12
2
+ ----------------
3
+ * send_request to use default options.
4
+
1
5
  0.5.2 2007-09-08
2
6
  ----------------
3
7
  * Fixed Amazon::Element.get_unescaped error when result returned for given element path is nil
@@ -68,7 +68,6 @@ module Amazon
68
68
  # Search amazon items with search terms. Default search index option is 'Books'.
69
69
  # For other search type other than keywords, please specify :type => [search type param name].
70
70
  def self.item_search(terms, opts = {})
71
- opts = self.options.merge(opts) if self.options
72
71
  opts[:operation] = 'ItemSearch'
73
72
  opts[:search_index] = opts[:search_index] || 'Books'
74
73
 
@@ -84,7 +83,6 @@ module Amazon
84
83
 
85
84
  # Search an item by ASIN no.
86
85
  def self.item_lookup(item_id, opts = {})
87
- opts = self.options.merge(opts) if self.options
88
86
  opts[:operation] = 'ItemLookup'
89
87
  opts[:item_id] = item_id
90
88
 
@@ -93,6 +91,7 @@ module Amazon
93
91
 
94
92
  # Generic send request to ECS REST service. You have to specify the :operation parameter.
95
93
  def self.send_request(opts)
94
+ opts = self.options.merge(opts) if self.options
96
95
  request_url = prepare_url(opts)
97
96
  log "Request URL: #{request_url}"
98
97
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: amazon-ecs
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.2
7
- date: 2007-09-08 00:00:00 +08:00
6
+ version: 0.5.3
7
+ date: 2007-09-12 00:00:00 +08:00
8
8
  summary: Generic Amazon E-commerce Service (ECS) REST API. Supports ECS 4.0.
9
9
  require_paths:
10
10
  - lib