-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change gem build tool from hoe 1.x to bundler
- Loading branch information
1 parent
63db525
commit c4ddc40
Showing
9 changed files
with
56 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pkg | ||
*.gem | ||
.rbenv-version | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source "http://rubygems.org" | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,2 @@ | ||
require 'rubygems' | ||
require 'hoe' | ||
require './lib/eycap' | ||
|
||
Hoe.new('eycap', Eycap::VERSION) do |p| | ||
p.author = 'Engine Yard' | ||
p.email = 'appsupport@engineyard.com' | ||
p.summary = 'Capistrano tasks for Engine Yard private cloud slices' | ||
p.description = 'A bunch of useful recipes to help deployment to Engine Yard private cloud slices' | ||
p.url = 'http://github.com/engineyard/eycap' | ||
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") | ||
p.extra_deps << ['capistrano', '>= 2.2.0'] | ||
end | ||
|
||
desc "Open an irb session preloaded with this library" | ||
task :console do | ||
sh "irb -rubygems -r ./lib/eycap.rb" | ||
end | ||
|
||
task :coverage do | ||
system("rm -fr coverage") | ||
system("rcov test/test_*.rb") | ||
system("open coverage/index.html") | ||
end | ||
|
||
desc "Upload site to Rubyforge" | ||
task :site do | ||
end | ||
|
||
desc 'Install the package as a gem.' | ||
task :install_gem_no_doc => [:clean, :package] do | ||
sh "#{'sudo ' unless Hoe::WINDOZE}gem install --local --no-rdoc --no-ri pkg/*.gem" | ||
end | ||
require 'bundler' | ||
Bundler::GemHelper.install_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
Gem::Specification.new do |s| | ||
s.name = %q{eycap} | ||
s.version = "0.5.23" | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/eycap/version', __FILE__) | ||
|
||
s.specification_version = 2 if s.respond_to? :specification_version= | ||
Gem::Specification.new do |gem| | ||
gem.authors = ["Engine Yard", "Tyler Bird"] | ||
gem.email = ["appsupport@engineyard.com"] | ||
gem.description = %q{Capistrano recipes for the Engine Yard Managed platform.} | ||
gem.summary = %q{Recipes that help automate the processes of the Engine Yard stack for users of the Managed platform.} | ||
gem.homepage = "http://github.com/engineyard/eycap" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Engine Yard", "Tyler Bird"] | ||
s.date = %q{2012-05-31} | ||
s.description = %q{A bunch of useful recipes to help deployment to the Engine Yard private cloud.} | ||
s.email = %q{appsupport@engineyard.com} | ||
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.markdown"] | ||
s.files = ["History.txt", "Manifest.txt", "README.markdown", "Rakefile", "lib/capistrano/recipes/deploy/strategy/filtered_remote_cache.rb", "lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb", "lib/eycap.rb", "lib/eycap/lib/ey_logger.rb", "lib/eycap/lib/ey_logger_hooks.rb", "lib/eycap/recipes.rb", "lib/eycap/recipes/backgroundrb.rb", "lib/eycap/recipes/database.rb", "lib/eycap/recipes/deploy.rb", "lib/eycap/recipes/ferret.rb", "lib/eycap/recipes/juggernaut.rb", "lib/eycap/recipes/memcached.rb", "lib/eycap/recipes/mongrel.rb", "lib/eycap/recipes/monit.rb", "lib/eycap/recipes/nginx.rb", "lib/eycap/recipes/passenger.rb", "lib/eycap/recipes/slice.rb", "lib/eycap/recipes/solr.rb", "lib/eycap/recipes/sphinx.rb", "lib/eycap/recipes/ssl.rb", "lib/eycap/recipes/templates/maintenance.rhtml", "lib/eycap/recipes/tomcat.rb", "lib/eycap/recipes/unicorn.rb", "lib/eycap/recipes/apache.rb", "lib/eycap/recipes/delayed_job.rb", "lib/eycap/recipes/bundler.rb", "lib/eycap/recipes/resque.rb", "test/test_eycap.rb", "test/test_helper.rb"] | ||
s.has_rdoc = true | ||
s.homepage = %q{http://github.com/engineyard/eycap} | ||
s.rdoc_options = ["--main", "README.markdown"] | ||
s.require_paths = ["lib"] | ||
s.rubyforge_project = %q{eycap} | ||
s.rubygems_version = %q{1.0.1} | ||
s.summary = %q{Capistrano tasks for Engine Yard private cloud.} | ||
s.test_files = ["test/test_eycap.rb", "test/test_helper.rb"] | ||
gem.files = `git ls-files`.split($\) | ||
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.name = "eycap" | ||
gem.require_paths = ["lib"] | ||
gem.version = Eycap::VERSION | ||
|
||
s.add_dependency(%q<capistrano>, [">= 2.2.0"]) | ||
s.add_dependency(%q<hoe>, [">= 1.5.1"]) | ||
gem.add_dependency "capistrano", ">= 2.2.0" | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
module Eycap | ||
VERSION = '0.5.23' | ||
require '../eycap/lib/ey_logger' | ||
require '../eycap/lib/ey_logger_hooks' | ||
require '../eycap/recipes/apache' | ||
require '../eycap/recipes/backgroundrb' | ||
require '../eycap/recipes/bundler' | ||
require '../eycap/recipes/database' | ||
require '../eycap/recipes/delayed_job' | ||
require '../eycap/recipes/deploy' | ||
require '../eycap/recipes/ferret' | ||
require '../eycap/recipes/juggernaut' | ||
require '../eycap/recipes/memcached' | ||
require '../eycap/recipes/mongrel' | ||
require '../eycap/recipes/monit' | ||
require '../eycap/recipes/nginx' | ||
require '../eycap/recipes/passenger' | ||
require '../eycap/recipes/resque' | ||
require '../eycap/recipes/slice' | ||
require '../eycap/recipes/solr' | ||
require '../eycap/recipes/sphinx' | ||
require '../eycap/recipes/ssl' | ||
require '../eycap/recipes/tomcat' | ||
require '../eycap/recipes/unicorn' | ||
|
||
Capistrano::Configuration.instance(:must_exist).load do | ||
default_run_options[:pty] = true if respond_to?(:default_run_options) | ||
set :keep_releases, 3 | ||
set :runner, defer { user } | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module Eycap | ||
VERSION = '0.6.0' | ||
end | ||
|