amazon-ecs 2.3.0 → 2.3.1
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.
- checksums.yaml +8 -8
- data/CHANGELOG +4 -0
- data/Readme.rdoc +9 -21
- data/lib/amazon/ecs.rb +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTI5MTdjZGRmZTVlOTkwNTg4MDY5MmEzMTY1MTg4NzgwNTYwNDNiNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTZlZjZkZmY0NDA3ZmQxOTFiZDUwMDRlNmY0MGFlNDg3ODU5MTA4MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTJiODllZDhlNGM4M2JhNDlmZWNiNGYwYTAzYWUzZjhmMWMwZWJjZDM1MGU0
|
10
|
+
MjFiZDc4Yzg0YTkwOTY3YzkzY2M3YWQ5ODEwYjE4NWVjNTUwYTI1ZmI2ZmNk
|
11
|
+
MDI2YjQwMDkxYTA0NDdjNWYwMjU4ZDkzNTgzZTE4YjFiOGRmOGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjVlMDVjZmU4NmQ5Y2RiOWE3MDEzNGY3ZThmY2NmOTJlNjEzOWZlMTY5MWQ4
|
14
|
+
MjIwMzcwYzJmOTBmOTNlYTFiNmM5NWIzYWJhM2UwZTRjNGU2ZmVmOTZmYzBl
|
15
|
+
NTJjMDI0YzRhZmU5ZDllNDRkZTA1Y2QxYzgxY2Y0Njk4Mzc1OTM=
|
data/CHANGELOG
CHANGED
data/Readme.rdoc
CHANGED
@@ -1,17 +1,13 @@
|
|
1
1
|
== amazon-ecs
|
2
2
|
|
3
|
-
|
4
|
-
Element wrapper classes for easy access to the REST API XML output.
|
3
|
+
Amazon ECS is a generic Ruby wrapper to access Amazon Product Advertising API.
|
5
4
|
|
6
|
-
|
7
|
-
other not implemented REST operations; and it is also generic because it just wraps around
|
8
|
-
Nokogiri element object, instead of providing one-to-one object/attributes to XML elements map.
|
5
|
+
You can easily extend the library to support any of the operations supported by the API.
|
9
6
|
|
10
|
-
The
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
For HPricot dependency implementation, please install 1.2.x version or checkout v1.2 branch.
|
7
|
+
The library wraps around Nokogiri element object. It provides an easy access to the XML response
|
8
|
+
structure through an XML path instead of an object attribute. The idea is the API evolves,
|
9
|
+
there will be changes to the XML schema. With Amazon ECS, your code will still work, only
|
10
|
+
the XML path needs to be updated.
|
15
11
|
|
16
12
|
== INSTALLATION
|
17
13
|
|
@@ -118,25 +114,17 @@ For HPricot dependency implementation, please install 1.2.x version or checkout
|
|
118
114
|
|
119
115
|
Amazon::Ecs.other_operation('[item_id]', :param1 => 'abc', :param2 => 'xyz')
|
120
116
|
|
121
|
-
Refer to Amazon Product Advertising API documentation for more information
|
122
|
-
on other valid operations, request parameters and the XML response output:
|
117
|
+
Refer to the Amazon Product Advertising API documentation for more information:
|
123
118
|
https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html
|
124
119
|
|
125
|
-
To get a sample of Amazon REST XML response output, use AWSZone.com scratch pad:
|
126
|
-
http://www.awszone.com/scratchpads/aws/ecs.us/index.aws
|
127
|
-
|
128
120
|
== SOURCE CODES
|
129
121
|
|
130
122
|
* http://github.com/jugend/amazon-ecs
|
131
123
|
|
132
124
|
== CREDITS
|
133
125
|
|
134
|
-
Thanks to Dan Milne
|
135
|
-
|
136
|
-
Thanks to Bryan Housel (https://github.com/bhousel/amazon-ecs) for the initial Nokogiri patch
|
126
|
+
Thanks to Dan Milne and Bryan Housel for the pull requests.
|
137
127
|
|
138
128
|
== LICENSE
|
139
129
|
|
140
|
-
|
141
|
-
|
142
|
-
Copyright (c) 2011 Herryanto Siatono, http://www.siatono.com
|
130
|
+
[The MIT License]
|
data/lib/amazon/ecs.rb
CHANGED
@@ -32,7 +32,7 @@ module Amazon
|
|
32
32
|
class RequestError < StandardError; end
|
33
33
|
|
34
34
|
class Ecs
|
35
|
-
VERSION = '2.3.
|
35
|
+
VERSION = '2.3.1'
|
36
36
|
|
37
37
|
SERVICE_URLS = {
|
38
38
|
:us => 'http://ecs.amazonaws.com/onca/xml',
|
@@ -43,7 +43,9 @@ module Amazon
|
|
43
43
|
:fr => 'http://ecs.amazonaws.fr/onca/xml',
|
44
44
|
:it => 'http://webservices.amazon.it/onca/xml',
|
45
45
|
:cn => 'http://webservices.amazon.cn/onca/xml',
|
46
|
-
:es => 'http://webservices.amazon.es/onca/xml'
|
46
|
+
:es => 'http://webservices.amazon.es/onca/xml',
|
47
|
+
:in => 'http://webservices.amazon.in/onca/xml',
|
48
|
+
:br => 'http://webservices.amazon.com.br/onca/xml'
|
47
49
|
}
|
48
50
|
|
49
51
|
OPENSSL_DIGEST_SUPPORT = OpenSSL::Digest.constants.include?( 'SHA256' ) ||
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Herryanto Siatono
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
74
|
rubyforge_project:
|
75
|
-
rubygems_version: 2.4.
|
75
|
+
rubygems_version: 2.4.6
|
76
76
|
signing_key:
|
77
77
|
specification_version: 2
|
78
78
|
summary: Generic Amazon Product Advertising Ruby API.
|