airblade-right_aws 1.10.0

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.
@@ -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
@@ -0,0 +1,14 @@
1
+ require 'test/unit'
2
+ $: << File.dirname(__FILE__)
3
+ require 'test_credentials'
4
+ TestCredentials.get_credentials
5
+
6
+ require 'http_connection'
7
+ require 'awsbase/test_right_awsbase.rb'
8
+ require 'ec2/test_right_ec2.rb'
9
+ require 's3/test_right_s3.rb'
10
+ require 's3/test_right_s3_stubbed.rb'
11
+ require 'sqs/test_right_sqs.rb'
12
+ require 'sqs/test_right_sqs_gen2.rb'
13
+ require 'sdb/test_right_sdb.rb'
14
+ require 'acf/test_right_acf.rb'
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: airblade-right_aws
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.10.0
5
+ platform: ruby
6
+ authors:
7
+ - RightScale, Inc.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-06-01 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: right_http_connection
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.2.4
24
+ version:
25
+ description:
26
+ email: boss@airbladesoftware.com
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - README.txt
33
+ files:
34
+ - History.txt
35
+ - Manifest.txt
36
+ - README.txt
37
+ - Rakefile
38
+ - VERSION
39
+ - lib/acf/right_acf_interface.rb
40
+ - lib/awsbase/benchmark_fix.rb
41
+ - lib/awsbase/right_awsbase.rb
42
+ - lib/awsbase/support.rb
43
+ - lib/ec2/right_ec2.rb
44
+ - lib/right_aws.rb
45
+ - lib/s3/right_s3.rb
46
+ - lib/s3/right_s3_interface.rb
47
+ - lib/sdb/active_sdb.rb
48
+ - lib/sdb/right_sdb_interface.rb
49
+ - lib/sqs/right_sqs.rb
50
+ - lib/sqs/right_sqs_gen2.rb
51
+ - lib/sqs/right_sqs_gen2_interface.rb
52
+ - lib/sqs/right_sqs_interface.rb
53
+ - test/acf/test_helper.rb
54
+ - test/acf/test_right_acf.rb
55
+ - test/ec2/test_helper.rb
56
+ - test/ec2/test_right_ec2.rb
57
+ - test/http_connection.rb
58
+ - test/s3/test_helper.rb
59
+ - test/s3/test_right_s3.rb
60
+ - test/s3/test_right_s3_stubbed.rb
61
+ - test/sdb/test_active_sdb.rb
62
+ - test/sdb/test_helper.rb
63
+ - test/sdb/test_right_sdb.rb
64
+ - test/sqs/test_helper.rb
65
+ - test/sqs/test_right_sqs.rb
66
+ - test/sqs/test_right_sqs_gen2.rb
67
+ - test/test_credentials.rb
68
+ - test/ts_right_aws.rb
69
+ has_rdoc: true
70
+ homepage: http://rightaws.rubyforge.org
71
+ post_install_message:
72
+ rdoc_options:
73
+ - --charset=UTF-8
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: "0"
81
+ version:
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: "0"
87
+ version:
88
+ requirements: []
89
+
90
+ rubyforge_project:
91
+ rubygems_version: 1.2.0
92
+ signing_key:
93
+ specification_version: 2
94
+ summary: Interface classes for the Amazon EC2/EBS, SQS, S3, SDB, and ACF Web Services
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/http_connection.rb
101
+ - test/s3/test_helper.rb
102
+ - test/s3/test_right_s3.rb
103
+ - test/s3/test_right_s3_stubbed.rb
104
+ - test/sdb/test_active_sdb.rb
105
+ - test/sdb/test_helper.rb
106
+ - test/sdb/test_right_sdb.rb
107
+ - test/sqs/test_helper.rb
108
+ - test/sqs/test_right_sqs.rb
109
+ - test/sqs/test_right_sqs_gen2.rb
110
+ - test/test_credentials.rb
111
+ - test/ts_right_aws.rb