kerryb-right_aws 1.7.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/right_aws.rb ADDED
@@ -0,0 +1,69 @@
1
+ #
2
+ # Copyright (c) 2007-2008 RightScale Inc
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining
5
+ # a copy of this software and associated documentation files (the
6
+ # "Software"), to deal in the Software without restriction, including
7
+ # without limitation the rights to use, copy, modify, merge, publish,
8
+ # distribute, sublicense, and/or sell copies of the Software, and to
9
+ # permit persons to whom the Software is furnished to do so, subject to
10
+ # the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be
13
+ # included in all copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ #
23
+
24
+ require 'benchmark'
25
+ require 'net/https'
26
+ require 'uri'
27
+ require 'time'
28
+ require "cgi"
29
+ require "base64"
30
+ require "rexml/document"
31
+ require "openssl"
32
+ require "digest/sha1"
33
+
34
+ require 'rubygems'
35
+ require 'right_http_connection'
36
+
37
+ $:.unshift(File.dirname(__FILE__))
38
+ require 'awsbase/benchmark_fix'
39
+ require 'awsbase/file_fix'
40
+ require 'awsbase/support'
41
+ require 'awsbase/right_awsbase'
42
+ require 'ec2/right_ec2'
43
+ require 's3/right_s3_interface'
44
+ require 's3/right_s3'
45
+ require 'sqs/right_sqs_interface'
46
+ require 'sqs/right_sqs'
47
+ require 'sqs/right_sqs_gen2_interface'
48
+ require 'sqs/right_sqs_gen2'
49
+ require 'sdb/right_sdb_interface'
50
+
51
+
52
+ module RightAws #:nodoc:
53
+ module VERSION #:nodoc:
54
+ MAJOR = 1
55
+ MINOR = 7
56
+ TINY = 3
57
+
58
+ STRING = [MAJOR, MINOR, TINY].join('.')
59
+ end
60
+ end
61
+
62
+ #-
63
+
64
+ # We also want everything available in the Rightscale namespace for backward
65
+ # compatibility reasons.
66
+ module Rightscale #:nodoc:
67
+ include RightAws
68
+ extend RightAws
69
+ end