mperham-right_aws 1.10.1

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
@@ -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,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mperham-right_aws
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.10.1
5
+ platform: ruby
6
+ authors:
7
+ - RightScale, Inc.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-07-21 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: "== DESCRIPTION: The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront. These gems have been used in production by RightScale since late 2006 and are being maintained to track enhancements made by Amazon. The RightScale AWS gems comprise: - RightAws::Ec2 -- interface to Amazon EC2 (Elastic Compute Cloud) and the associated EBS (Elastic Block Store) - RightAws::S3 and RightAws::S3Interface -- interface to Amazon S3 (Simple Storage Service) - RightAws::Sqs and RightAws::SqsInterface -- interface to first-generation Amazon SQS (Simple Queue Service) (API version 2007-05-01) - RightAws::SqsGen2 and RightAws::SqsGen2Interface -- interface to second-generation Amazon SQS (Simple Queue Service) (API version 2008-01-01) - RightAws::SdbInterface and RightAws::ActiveSdb -- interface to Amazon SDB (SimpleDB) - RightAws::AcfInterface -- interface to Amazon CloudFront, a content distribution service == FEATURES:"
26
+ email: rubygems@rightscale.com
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - History.txt
33
+ - Manifest.txt
34
+ - README.txt
35
+ files:
36
+ - History.txt
37
+ - Manifest.txt
38
+ - README.txt
39
+ - Rakefile
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
+ - lib/acf/right_acf_interface.rb
54
+ - test/ec2/test_helper.rb
55
+ - test/ec2/test_right_ec2.rb
56
+ - test/http_connection.rb
57
+ - test/s3/test_helper.rb
58
+ - test/s3/test_right_s3.rb
59
+ - test/s3/test_right_s3_stubbed.rb
60
+ - test/sdb/test_active_sdb.rb
61
+ - test/sdb/test_helper.rb
62
+ - test/sdb/test_right_sdb.rb
63
+ - test/sqs/test_helper.rb
64
+ - test/sqs/test_right_sqs.rb
65
+ - test/sqs/test_right_sqs_gen2.rb
66
+ - test/test_credentials.rb
67
+ - test/ts_right_aws.rb
68
+ - test/acf/test_helper.rb
69
+ - test/acf/test_right_acf.rb
70
+ has_rdoc: true
71
+ homepage:
72
+ post_install_message:
73
+ rdoc_options:
74
+ - --main
75
+ - README.txt
76
+ require_paths:
77
+ - lib
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: "0"
83
+ version:
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
89
+ version:
90
+ requirements: []
91
+
92
+ rubyforge_project: rightscale
93
+ rubygems_version: 1.2.0
94
+ signing_key:
95
+ specification_version: 3
96
+ summary: Interface classes for the Amazon EC2/EBS, SQS, S3, SDB, and ACF Web Services
97
+ test_files:
98
+ - test/ts_right_aws.rb