amazon-ecs 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTQxOWYzOWY2NjQ3YjBiZTFhNTdkMTQ0ODExYWFmOTUwYTEyODkzYw==
5
+ data.tar.gz: !binary |-
6
+ MDdkYTdlNmJiZjc1NmY1NzNlNDU3ZTI4MWJkNjRiMzJmNWU5MzQ3Yw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MWZhN2E1ODllOTBjN2FkODI3OWIzMTQ3MjZmY2ViYWJhNTRlYzY0ZTkxYTRi
10
+ Y2JhYjNkNTFlYWIwYTFjZjlhZDNhNTg2YmY1OGQwZDNhZGJlOGRhMzdlMTgw
11
+ NmIwZDg4ZTI2ZmQyNzAzN2ZhZWI0M2QyNjRhYTQ4NWFkMmY5ZTI=
12
+ data.tar.gz: !binary |-
13
+ ZTgyMTI5MmJjMTAyMWU0ZTUwMmUxNmRiMGNlZjBmOWExYzcyZDhjMGIxMzky
14
+ ZWQwZGI2OWI3NjM3OGUwZGM5MGJmODEwZmQzZWMxZGNmOTA3MDViNWNjOTY0
15
+ ZDYwZmE0OWVjNWEwNjU3ODkyMDI0NTg5Mzg4YjQzZTE0OWY3ODc=
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 2.2.5 2014-03-08
2
+ ----------------
3
+ * Replaced Digest::Digest deprecated call
4
+ * Read AWS_ACCESS_KEY_ID and AWS_SECRET_KEY env variables when running test
5
+
1
6
  2.2.4 2012-01-01
2
7
  ----------------
3
8
  * Parse with UTF-8 encoding, happy new year :)
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'http://rubygems.org'
2
2
 
3
3
  gem 'nokogiri', '~> 1.4'
4
4
  gem 'ruby-hmac', '~> 0.3'
data/Rakefile CHANGED
@@ -1,11 +1,11 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/rdoctask'
4
- require 'rake/gempackagetask'
3
+ require 'rdoc/task'
4
+ require 'rubygems/package_task'
5
5
  require 'rake/packagetask'
6
6
 
7
7
  desc "Create the RDOC html files"
8
- rd = Rake::RDocTask.new("rdoc") { |rdoc|
8
+ rd = RDoc::Task.new { |rdoc|
9
9
  rdoc.rdoc_dir = 'doc'
10
10
  rdoc.title = "amazon-ecs"
11
11
  rdoc.options << '--line-numbers' << '--inline-source' << '--main' << 'Readme.rdoc'
@@ -32,7 +32,7 @@ module Amazon
32
32
  class RequestError < StandardError; end
33
33
 
34
34
  class Ecs
35
- VERSION = '2.2.4'
35
+ VERSION = '2.2.5'
36
36
 
37
37
  SERVICE_URLS = {
38
38
  :us => 'http://ecs.amazonaws.com/onca/xml',
@@ -49,7 +49,7 @@ module Amazon
49
49
  OPENSSL_DIGEST_SUPPORT = OpenSSL::Digest.constants.include?( 'SHA256' ) ||
50
50
  OpenSSL::Digest.constants.include?( :SHA256 )
51
51
 
52
- OPENSSL_DIGEST = OpenSSL::Digest::Digest.new( 'sha256' ) if OPENSSL_DIGEST_SUPPORT
52
+ OPENSSL_DIGEST = OpenSSL::Digest.new( 'sha256' ) if OPENSSL_DIGEST_SUPPORT
53
53
 
54
54
  @@options = {
55
55
  :version => "2011-08-01",
@@ -7,8 +7,8 @@ require File.expand_path(File.dirname(__FILE__) + '/../../lib/amazon/ecs')
7
7
 
8
8
  class Amazon::EcsTest < Test::Unit::TestCase
9
9
 
10
- AWS_ACCESS_KEY_ID = '0XQXXC6YV2C85DX1BF02'
11
- AWS_SECRET_KEY = 'fwLOn0Y/IUXEM8Hk49o7QJV+ryOscbhXRb6CmA5l'
10
+ AWS_ACCESS_KEY_ID = ENV['AWS_ACCESS_KEY_ID'] || ''
11
+ AWS_SECRET_KEY = ENV['AWS_SECRET_KEY'] || ''
12
12
 
13
13
  raise "Please specify set your AWS_ACCESS_KEY_ID" if AWS_ACCESS_KEY_ID.empty?
14
14
  raise "Please specify set your AWS_SECRET_KEY" if AWS_SECRET_KEY.empty?
metadata CHANGED
@@ -1,38 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
5
- prerelease:
4
+ version: 2.2.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Herryanto Siatono
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-01-01 00:00:00.000000000Z
11
+ date: 2014-03-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: nokogiri
16
- requirement: &2156236900 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.4'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *2156236900
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.4'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: ruby-hmac
27
- requirement: &2156236280 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ~>
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0.3'
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *2156236280
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '0.3'
36
41
  description: Generic Amazon Product Advertising Ruby API.
37
42
  email: herryanto@gmail.com
38
43
  executables: []
@@ -50,25 +55,24 @@ files:
50
55
  - test/fixtures/item_search.xml
51
56
  homepage: https://github.com/jugend/amazon-ecs
52
57
  licenses: []
58
+ metadata: {}
53
59
  post_install_message:
54
60
  rdoc_options: []
55
61
  require_paths:
56
62
  - lib
57
63
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
64
  requirements:
60
65
  - - ! '>='
61
66
  - !ruby/object:Gem::Version
62
67
  version: '0'
63
68
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
69
  requirements:
66
70
  - - ! '>='
67
71
  - !ruby/object:Gem::Version
68
72
  version: '0'
69
73
  requirements: []
70
74
  rubyforge_project:
71
- rubygems_version: 1.8.10
75
+ rubygems_version: 2.0.6
72
76
  signing_key:
73
77
  specification_version: 2
74
78
  summary: Generic Amazon Product Advertising Ruby API.