decodeideas-right_aws 1.10.3

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,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: decodeideas-right_aws
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.10.3
5
+ platform: ruby
6
+ authors:
7
+ - RightScale, Inc.
8
+ - Marius Seritan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2009-04-06 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: right_http_connection
18
+ type: :runtime
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 1.2.4
25
+ version:
26
+ 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:"
27
+ email: rubygems@rightscale.com
28
+ executables: []
29
+
30
+ extensions: []
31
+
32
+ extra_rdoc_files:
33
+ - History.txt
34
+ - Manifest.txt
35
+ - README.txt
36
+ files:
37
+ - History.txt
38
+ - Manifest.txt
39
+ - README.txt
40
+ - Rakefile
41
+ - lib/awsbase/benchmark_fix.rb
42
+ - lib/awsbase/right_awsbase.rb
43
+ - lib/awsbase/support.rb
44
+ - lib/ec2/right_ec2.rb
45
+ - lib/right_aws.rb
46
+ - lib/s3/right_s3.rb
47
+ - lib/s3/right_s3_interface.rb
48
+ - lib/sdb/active_sdb.rb
49
+ - lib/sdb/right_sdb_interface.rb
50
+ - lib/sqs/right_sqs.rb
51
+ - lib/sqs/right_sqs_gen2.rb
52
+ - lib/sqs/right_sqs_gen2_interface.rb
53
+ - lib/sqs/right_sqs_interface.rb
54
+ - lib/acf/right_acf_interface.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
+ - test/acf/test_helper.rb
70
+ - test/acf/test_right_acf.rb
71
+ has_rdoc: true
72
+ homepage:
73
+ licenses:
74
+ post_install_message:
75
+ rdoc_options:
76
+ - --main
77
+ - README.txt
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: "0"
85
+ version:
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: "0"
91
+ version:
92
+ requirements: []
93
+
94
+ rubyforge_project: rightscale
95
+ rubygems_version: 1.3.5
96
+ signing_key:
97
+ specification_version: 2
98
+ summary: Interface classes for the Amazon EC2/EBS, SQS, S3, SDB, and ACF Web Services
99
+ test_files:
100
+ - test/ts_right_aws.rb