Permalink
Browse files

change gem build tool from hoe 1.x to bundler

  • Loading branch information...
1 parent 63db525 commit c4ddc40619aada9822f24ba26b70962faa02cc1e @7hunderbird 7hunderbird committed Sep 6, 2012
Showing with 56 additions and 118 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 Gemfile
  3. +4 −0 History.txt
  4. +0 −34 Manifest.txt
  5. +2 −33 Rakefile
  6. +16 −21 eycap.gemspec
  7. +27 −2 lib/eycap.rb
  8. +0 −28 lib/eycap/recipes.rb
  9. +4 −0 lib/eycap/version.rb
View
@@ -1,3 +1,4 @@
pkg
*.gem
.rbenv-version
+.DS_Store
View
@@ -0,0 +1,2 @@
+source "http://rubygems.org"
+gemspec
View
@@ -1,3 +1,7 @@
+== 0.6.0 / 2012-09-06
+ * Bundler and a clean gemspec now manage the release of eycap.
+ * Use the :bundle_without to optionally specify groups more than 'test and development' only.
+
== 0.5.23 / 2012-05-31
* Changed README to markdown format.
* Improved README to give instructions on general setup and usage.
View
@@ -1,34 +0,0 @@
-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/lib/ey_logger
-lib/eycap/lib/ey_logger_hooks
-lib/eycap/recipes/apache
-lib/eycap/recipes/backgroundrb
-lib/eycap/recipes/bundler
-lib/eycap/recipes/database
-lib/eycap/recipes/delayed_job
-lib/eycap/recipes/deploy
-lib/eycap/recipes/ferret
-lib/eycap/recipes/juggernaut
-lib/eycap/recipes/memcached
-lib/eycap/recipes/mongrel
-lib/eycap/recipes/monit
-lib/eycap/recipes/nginx
-lib/eycap/recipes/passenger
-lib/eycap/recipes/resque
-lib/eycap/recipes/slice
-lib/eycap/recipes/solr
-lib/eycap/recipes/sphinx
-lib/eycap/recipes/ssl
-lib/eycap/recipes/tomcat
-lib/eycap/recipes/unicorn
-test/test_eycap.rb
-test/test_helper.rb
View
@@ -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
View
@@ -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
+
View
@@ -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
View
@@ -1,28 +0,0 @@
-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
View
@@ -0,0 +1,4 @@
+module Eycap
+ VERSION = '0.6.0'
+end
+

0 comments on commit c4ddc40

Please sign in to comment.