amazon-ecs 0.5.3 → 0.5.4
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.
- data/CHANGELOG +4 -0
- data/README +5 -1
- data/lib/amazon/ecs.rb +5 -0
- data/test/amazon/ecs_test.rb +2 -2
- metadata +50 -42
data/CHANGELOG
CHANGED
data/README
CHANGED
@@ -12,7 +12,7 @@ If in the future, there is a change in REST XML output structure,
|
|
12
12
|
no changes will be required on <tt>amazon-ecs</tt> library,
|
13
13
|
instead you just need to change the element path.
|
14
14
|
|
15
|
-
Version: 0.5.
|
15
|
+
Version: 0.5.4
|
16
16
|
|
17
17
|
== INSTALLATION
|
18
18
|
|
@@ -81,6 +81,10 @@ http://docs.amazonwebservices.com/AWSEcommerceService/2006-09-13/
|
|
81
81
|
To get a sample of Amazon REST response XML output, use AWSZone.com scratch pad:
|
82
82
|
http://www.awszone.com/scratchpads/aws/ecs.us/index.aws
|
83
83
|
|
84
|
+
== SOURCE CODES
|
85
|
+
|
86
|
+
* http://github.com/jugend/amazon-ecs/tree/master
|
87
|
+
|
84
88
|
== LINKS
|
85
89
|
|
86
90
|
* http://amazon-ecs.rubyforge.org
|
data/lib/amazon/ecs.rb
CHANGED
data/test/amazon/ecs_test.rb
CHANGED
@@ -2,7 +2,7 @@ require File.dirname(__FILE__) + '/../test_helper'
|
|
2
2
|
|
3
3
|
class Amazon::EcsTest < Test::Unit::TestCase
|
4
4
|
|
5
|
-
AWS_ACCESS_KEY_ID = ''
|
5
|
+
AWS_ACCESS_KEY_ID = '1ZD53WRGR730ZCVWBSG2'
|
6
6
|
raise "Please specify set your AWS_ACCESS_KEY_ID" if AWS_ACCESS_KEY_ID.empty?
|
7
7
|
|
8
8
|
Amazon::Ecs.configure do |options|
|
@@ -64,7 +64,7 @@ class Amazon::EcsTest < Test::Unit::TestCase
|
|
64
64
|
small_image = item.get_hash("smallimage")
|
65
65
|
|
66
66
|
assert_equal 3, small_image.keys.size
|
67
|
-
assert_match "
|
67
|
+
assert_match ".jpg", small_image[:url]
|
68
68
|
assert_equal "75", small_image[:height]
|
69
69
|
assert_equal "59", small_image[:width]
|
70
70
|
|
metadata
CHANGED
@@ -1,58 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.2
|
3
|
-
specification_version: 1
|
4
2
|
name: amazon-ecs
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
7
|
-
date: 2007-09-12 00:00:00 +08:00
|
8
|
-
summary: Generic Amazon E-commerce Service (ECS) REST API. Supports ECS 4.0.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: herryanto@pluitsolutions.com
|
12
|
-
homepage: http://amazon-ecs.rubyforge.net/
|
13
|
-
rubyforge_project:
|
14
|
-
description:
|
15
|
-
autorequire: name
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.5.4
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Herryanto Siatono
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
- README
|
35
|
-
- CHANGELOG
|
36
|
-
test_files:
|
37
|
-
- test/amazon/ecs_test.rb
|
38
|
-
rdoc_options: []
|
39
|
-
|
40
|
-
extra_rdoc_files:
|
41
|
-
- README
|
42
|
-
- CHANGELOG
|
43
|
-
executables: []
|
44
|
-
|
45
|
-
extensions: []
|
46
|
-
|
47
|
-
requirements: []
|
8
|
+
autorequire: name
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
48
11
|
|
12
|
+
date: 2009-01-24 00:00:00 +08:00
|
13
|
+
default_executable:
|
49
14
|
dependencies:
|
50
15
|
- !ruby/object:Gem::Dependency
|
51
16
|
name: hpricot
|
17
|
+
type: :runtime
|
52
18
|
version_requirement:
|
53
|
-
version_requirements: !ruby/object:Gem::
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
20
|
requirements:
|
55
21
|
- - ">="
|
56
22
|
- !ruby/object:Gem::Version
|
57
23
|
version: "0.4"
|
58
24
|
version:
|
25
|
+
description:
|
26
|
+
email: herryanto@pluitsolutions.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README
|
33
|
+
- CHANGELOG
|
34
|
+
files:
|
35
|
+
- lib/amazon
|
36
|
+
- lib/amazon/ecs.rb
|
37
|
+
- README
|
38
|
+
- CHANGELOG
|
39
|
+
has_rdoc: true
|
40
|
+
homepage: http://amazon-ecs.rubyforge.net/
|
41
|
+
post_install_message:
|
42
|
+
rdoc_options: []
|
43
|
+
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: "0"
|
51
|
+
version:
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
version:
|
58
|
+
requirements: []
|
59
|
+
|
60
|
+
rubyforge_project:
|
61
|
+
rubygems_version: 1.3.0
|
62
|
+
signing_key:
|
63
|
+
specification_version: 2
|
64
|
+
summary: Generic Amazon E-commerce Service (ECS) REST API. Supports ECS 4.0.
|
65
|
+
test_files:
|
66
|
+
- test/amazon/ecs_test.rb
|