aws 1.10.1 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,37 @@
1
+ class TestCredentials
2
+
3
+ @@aws_access_key_id = nil
4
+ @@aws_secret_access_key = nil
5
+ @@account_number = nil
6
+
7
+ def self.aws_access_key_id
8
+ @@aws_access_key_id
9
+ end
10
+ def self.aws_access_key_id=(newval)
11
+ @@aws_access_key_id = newval
12
+ end
13
+ def self.account_number
14
+ @@account_number
15
+ end
16
+ def self.account_number=(newval)
17
+ @@account_number = newval
18
+ end
19
+ def self.aws_secret_access_key
20
+ @@aws_secret_access_key
21
+ end
22
+ def self.aws_secret_access_key=(newval)
23
+ @@aws_secret_access_key = newval
24
+ end
25
+
26
+ def self.get_credentials
27
+ Dir.chdir do
28
+ begin
29
+ Dir.chdir('./.rightscale') do
30
+ require 'testcredentials'
31
+ end
32
+ rescue Exception => e
33
+ puts "Couldn't chdir to ~/.rightscale: #{e.message}"
34
+ end
35
+ end
36
+ end
37
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-10 00:00:00 -07:00
12
+ date: 2009-05-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -92,5 +92,18 @@ rubygems_version: 1.3.2
92
92
  signing_key:
93
93
  specification_version: 3
94
94
  summary: The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront
95
- test_files: []
96
-
95
+ test_files:
96
+ - test/acf/test_helper.rb
97
+ - test/acf/test_right_acf.rb
98
+ - test/ec2/test_helper.rb
99
+ - test/ec2/test_right_ec2.rb
100
+ - test/s3/test_helper.rb
101
+ - test/s3/test_right_s3.rb
102
+ - test/s3/test_right_s3_stubbed.rb
103
+ - test/sdb/test_active_sdb.rb
104
+ - test/sdb/test_helper.rb
105
+ - test/sdb/test_right_sdb.rb
106
+ - test/sqs/test_helper.rb
107
+ - test/sqs/test_right_sqs.rb
108
+ - test/sqs/test_right_sqs_gen2.rb
109
+ - test/test_credentials.rb