redaranj-right_aws 1.10.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,72 @@
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/support'
40
+ require 'awsbase/right_awsbase'
41
+ require 'ec2/right_ec2'
42
+ require 'elb/right_elb_interface'
43
+ require 'acw/right_acw_interface'
44
+ require 'as/right_as_interface'
45
+ require 's3/right_s3_interface'
46
+ require 's3/right_s3'
47
+ require 'sqs/right_sqs_interface'
48
+ require 'sqs/right_sqs'
49
+ require 'sqs/right_sqs_gen2_interface'
50
+ require 'sqs/right_sqs_gen2'
51
+ require 'sdb/right_sdb_interface'
52
+ require 'acf/right_acf_interface'
53
+
54
+
55
+ module RightAws #:nodoc:
56
+ module VERSION #:nodoc:
57
+ MAJOR = 1
58
+ MINOR = 10
59
+ TINY = 99 #0
60
+
61
+ STRING = [MAJOR, MINOR, TINY].join('.')
62
+ end
63
+ end
64
+
65
+ #-
66
+
67
+ # We also want everything available in the Rightscale namespace for backward
68
+ # compatibility reasons.
69
+ module Rightscale #:nodoc:
70
+ include RightAws
71
+ extend RightAws
72
+ end