Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (34 sloc) 1.718 kb
bc2a64e @wr0ngway Initial version
wr0ngway authored
1 require 'rake'
2 require 'rake/testtask'
3
bf90879 @wr0ngway jeweller for gems
wr0ngway authored
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |s|
7 s.name = "rubber"
ff1791c @wr0ngway helper script for running vulcanize outside of rails
wr0ngway authored
8 s.executables = "vulcanize"
bf90879 @wr0ngway jeweller for gems
wr0ngway authored
9 s.summary = "A capistrano plugin for managing multi-instance deployments to the cloud (ec2)"
10 s.email = "matt@conwaysplace.com"
11 s.homepage = "http://github.com/wr0ngway/rubber"
12 s.description = "The rubber plugin enables relatively complex multi-instance deployments of RubyOnRails applications to AmazonÕs Elastic Compute Cloud (EC2). Like capistrano, rubber is role based, so you can define a set of configuration files for a role and then assign that role to as many concrete instances as needed. One can also assign multiple roles to a single instance. This lets one start out with a single ec2 instance (belonging to all roles), and add new instances into the mix as needed to scale specific facets of your deployment, e.g. adding in instances that serve only as an 'app' role to handle increased app server load."
13 s.rubyforge_project = 'rubber'
14 s.authors = ["Matt Conway"]
ff1791c @wr0ngway helper script for running vulcanize outside of rails
wr0ngway authored
15 s.files = FileList["[A-Z][A-Z]*", "{bin,generators,lib,recipes}/**/*"]
bf90879 @wr0ngway jeweller for gems
wr0ngway authored
16 s.add_dependency 'capistrano'
98cfc89 @wr0ngway force depedency on amazon-ec2 v0.5.0
wr0ngway authored
17 s.add_dependency 'amazon-ec2', '>= 0.5.0'
bf90879 @wr0ngway jeweller for gems
wr0ngway authored
18 s.add_dependency 'aws-s3'
19 s.add_dependency 'nettica'
20 s.add_dependency 'httparty'
42f28da @wr0ngway add dependency on rails for vulcanize script
wr0ngway authored
21 s.add_dependency 'rails'
bf90879 @wr0ngway jeweller for gems
wr0ngway authored
22 end
23 Jeweler::RubyforgeTasks.new
24 rescue LoadError
25 puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
26 end
bc2a64e @wr0ngway Initial version
wr0ngway authored
27
28 desc 'Test the rubber plugin.'
29 Rake::TestTask.new(:test) do |t|
30 t.libs << 'lib'
4330845 @wr0ngway tests passing
wr0ngway authored
31 t.libs << 'test'
bc2a64e @wr0ngway Initial version
wr0ngway authored
32 t.pattern = 'test/**/*_test.rb'
33 t.verbose = true
34 end
bf90879 @wr0ngway jeweller for gems
wr0ngway authored
35
36 desc 'Default: run unit tests.'
37 task :default => :test
38
Something went wrong with that request. Please try again.