Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 92 lines (81 sloc) 4.912 kB
219de4c Refs #8684: Rip out hoe nonsense and replace it with sound gemspecs.
Graham Hughes authored
1 #-- -*- mode: ruby; encoding: utf-8 -*-
2 # Copyright: Copyright (c) 2010 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 NONINFRINGEMENT.
18 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 #++
23
24 require 'rubygems'
25 require File.expand_path(File.join(File.dirname(__FILE__), "lib", "awsbase", "version"))
26
27 Gem::Specification.new do |spec|
28 spec.name = 'right_aws'
29 spec.rubyforge_project = 'rightaws'
30 spec.version = RightAws::VERSION::STRING
31 spec.authors = ['RightScale, Inc.']
32 spec.email = 'support@rightscale.com'
33 spec.summary = 'Interface classes for the Amazon EC2, SQS, and S3 Web Services'
34 spec.rdoc_options = ['--main', 'README.txt', '--title', '']
35 spec.extra_rdoc_files = ['README.txt']
36 spec.required_ruby_version = '>= 1.8.7'
37 spec.require_path = 'lib'
38
39 spec.add_dependency('right_http_connection', '>= 1.2.5')
223d189 @konstantin-dzreev refs 8963, Remove UUIDtool dependency
konstantin-dzreev authored
40 #spec.requirements << "uuidtools >= 1.0.7 if you want to use ActiveSdb"
da68b66 Refs #8684: Add runtime dependencies.
Graham Hughes authored
41 spec.requirements << "libxml-ruby >= 0.5.2.0 is encouraged"
42
43 spec.add_development_dependency('rake')
44 spec.add_development_dependency('rcov')
219de4c Refs #8684: Rip out hoe nonsense and replace it with sound gemspecs.
Graham Hughes authored
45
addde11 @kevmoo A summary rocks. right_aws will look a lot better on `Ruby Toolbox` a…
kevmoo authored
46 spec.summary = 'The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront.'
219de4c Refs #8684: Rip out hoe nonsense and replace it with sound gemspecs.
Graham Hughes authored
47 spec.description = <<-EOF
48 == DESCRIPTION:
49
50 The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront.
51 These gems have been used in production by RightScale since late 2006 and are being maintained to track enhancements made by Amazon.
52 The RightScale AWS gems comprise:
53
54 - RightAws::Ec2 -- interface to Amazon EC2 (Elastic Compute Cloud) and the
55 associated EBS (Elastic Block Store)
56 - RightAws::S3 and RightAws::S3Interface -- interface to Amazon S3 (Simple Storage Service)
57 - RightAws::Sqs and RightAws::SqsInterface -- interface to first-generation Amazon SQS (Simple Queue Service) (API version 2007-05-01)
58 - RightAws::SqsGen2 and RightAws::SqsGen2Interface -- interface to second-generation Amazon SQS (Simple Queue Service) (API version 2008-01-01)
59 - RightAws::SdbInterface and RightAws::ActiveSdb -- interface to Amazon SDB (SimpleDB)
60 - RightAws::AcfInterface -- interface to Amazon CloudFront, a content distribution service
61
62 == FEATURES:
63
64 - Full programmmatic access to EC2, EBS, S3, SQS, SDB, and CloudFront.
65 - Complete error handling: all operations check for errors and report complete
66 error information by raising an AwsError.
67 - Persistent HTTP connections with robust network-level retry layer using
68 RightHttpConnection). This includes socket timeouts and retries.
69 - Robust HTTP-level retry layer. Certain (user-adjustable) HTTP errors returned
70 by Amazon's services are classified as temporary errors.
71 These errors are automaticallly retried using exponentially increasing intervals.
72 The number of retries is user-configurable.
73 - Fast REXML-based parsing of responses (as fast as a pure Ruby solution allows).
74 - Uses libxml (if available) for faster response parsing.
75 - Support for large S3 list operations. Buckets and key subfolders containing
76 many (> 1000) keys are listed in entirety. Operations based on list (like
77 bucket clear) work on arbitrary numbers of keys.
78 - Support for streaming GETs from S3, and streaming PUTs to S3 if the data source is a file.
79 - Support for single-threaded usage, multithreaded usage, as well as usage with multiple
80 AWS accounts.
81 - Support for both first- and second-generation SQS (API versions 2007-05-01
82 and 2008-01-01). These versions of SQS are not compatible.
83 - Support for signature versions 0 and 1 on SQS, SDB, and EC2.
84 - Interoperability with any cloud running Eucalyptus (http://eucalyptus.cs.ucsb.edu)
85 - Test suite (requires AWS account to do "live" testing).
86 EOF
87
88 candidates = Dir.glob('{lib,test}/**/*') + ['History.txt', 'Manifest.txt', 'README.txt', 'Rakefile', 'right_aws.gemspec']
89 spec.files = candidates.sort
90 spec.test_files = Dir.glob('test/**/*')
91 end
Something went wrong with that request. Please try again.