Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Finishing porting the gemspec/rakefile to Jeweler.

  • Loading branch information...
commit 5e39c5610ff20cbe5a5481619349990ae22fbcd3 1 parent 1c7acac
@leehambley leehambley authored
View
104 Manifest
@@ -1,104 +0,0 @@
-bin/cap
-bin/capify
-CHANGELOG.rdoc
-examples/sample.rb
-lib/capistrano/callback.rb
-lib/capistrano/cli/execute.rb
-lib/capistrano/cli/help.rb
-lib/capistrano/cli/help.txt
-lib/capistrano/cli/options.rb
-lib/capistrano/cli/ui.rb
-lib/capistrano/cli.rb
-lib/capistrano/command.rb
-lib/capistrano/configuration/actions/file_transfer.rb
-lib/capistrano/configuration/actions/inspect.rb
-lib/capistrano/configuration/actions/invocation.rb
-lib/capistrano/configuration/callbacks.rb
-lib/capistrano/configuration/connections.rb
-lib/capistrano/configuration/execution.rb
-lib/capistrano/configuration/loading.rb
-lib/capistrano/configuration/namespaces.rb
-lib/capistrano/configuration/roles.rb
-lib/capistrano/configuration/servers.rb
-lib/capistrano/configuration/variables.rb
-lib/capistrano/configuration.rb
-lib/capistrano/errors.rb
-lib/capistrano/extensions.rb
-lib/capistrano/logger.rb
-lib/capistrano/processable.rb
-lib/capistrano/recipes/compat.rb
-lib/capistrano/recipes/deploy/dependencies.rb
-lib/capistrano/recipes/deploy/local_dependency.rb
-lib/capistrano/recipes/deploy/remote_dependency.rb
-lib/capistrano/recipes/deploy/scm/accurev.rb
-lib/capistrano/recipes/deploy/scm/base.rb
-lib/capistrano/recipes/deploy/scm/bzr.rb
-lib/capistrano/recipes/deploy/scm/cvs.rb
-lib/capistrano/recipes/deploy/scm/darcs.rb
-lib/capistrano/recipes/deploy/scm/git.rb
-lib/capistrano/recipes/deploy/scm/mercurial.rb
-lib/capistrano/recipes/deploy/scm/none.rb
-lib/capistrano/recipes/deploy/scm/perforce.rb
-lib/capistrano/recipes/deploy/scm/subversion.rb
-lib/capistrano/recipes/deploy/scm.rb
-lib/capistrano/recipes/deploy/strategy/base.rb
-lib/capistrano/recipes/deploy/strategy/checkout.rb
-lib/capistrano/recipes/deploy/strategy/copy.rb
-lib/capistrano/recipes/deploy/strategy/export.rb
-lib/capistrano/recipes/deploy/strategy/remote.rb
-lib/capistrano/recipes/deploy/strategy/remote_cache.rb
-lib/capistrano/recipes/deploy/strategy.rb
-lib/capistrano/recipes/deploy/templates/maintenance.rhtml
-lib/capistrano/recipes/deploy.rb
-lib/capistrano/recipes/standard.rb
-lib/capistrano/recipes/templates/maintenance.rhtml
-lib/capistrano/recipes/upgrade.rb
-lib/capistrano/role.rb
-lib/capistrano/server_definition.rb
-lib/capistrano/shell.rb
-lib/capistrano/ssh.rb
-lib/capistrano/task_definition.rb
-lib/capistrano/transfer.rb
-lib/capistrano/version.rb
-lib/capistrano.rb
-Rakefile
-README.rdoc
-setup.rb
-test/cli/execute_test.rb
-test/cli/help_test.rb
-test/cli/options_test.rb
-test/cli/ui_test.rb
-test/cli_test.rb
-test/command_test.rb
-test/configuration/actions/file_transfer_test.rb
-test/configuration/actions/inspect_test.rb
-test/configuration/actions/invocation_test.rb
-test/configuration/callbacks_test.rb
-test/configuration/connections_test.rb
-test/configuration/execution_test.rb
-test/configuration/loading_test.rb
-test/configuration/namespace_dsl_test.rb
-test/configuration/roles_test.rb
-test/configuration/servers_test.rb
-test/configuration/variables_test.rb
-test/configuration_test.rb
-test/deploy/local_dependency_test.rb
-test/deploy/remote_dependency_test.rb
-test/deploy/scm/accurev_test.rb
-test/deploy/scm/base_test.rb
-test/deploy/scm/git_test.rb
-test/deploy/scm/mercurial_test.rb
-test/deploy/strategy/copy_test.rb
-test/extensions_test.rb
-test/fixtures/cli_integration.rb
-test/fixtures/config.rb
-test/fixtures/custom.rb
-test/logger_test.rb
-test/role_test.rb
-test/server_definition_test.rb
-test/shell_test.rb
-test/ssh_test.rb
-test/task_definition_test.rb
-test/transfer_test.rb
-test/utils.rb
-Manifest
View
50 Rakefile
@@ -1,35 +1,33 @@
require "./lib/capistrano/version"
begin
- require 'echoe'
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.version
+ gem.name = "capistrano"
+ gem.summary = %Q{Capistrano – Welcome to easy deployment with Ruby over SSH}
+ gem.description = %Q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
+ gem.homepage = "http://github.com/capistrano/capistrano"
+ gem.email = [ "jamis@jamisbuck.org", "lee.hambley@gmail.com" ]
+ gem.authors = [ "Jamis Buck", "Lee Hambley" ]
+ gem.add_dependency "net-ssh", ">=2.0.14"
+ gem.add_dependency "net-sftp", ">=2.0.0"
+ gem.add_dependency "net-scp", ">=1.0.0"
+ gem.add_dependency "net-ssh-gateway", ">=1.0.0"
+ gem.add_dependency "highline"
+ gem.add_development_dependency "mocha", ">= 0"
+ end
rescue LoadError
- abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
-version = Capistrano::Version::STRING.dup
-if ENV['SNAPSHOT'].to_i == 1
- version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/*_test.rb'
+ test.verbose = true
end
-Echoe.new('capistrano', version) do |p|
- p.include_gemspec = true
- p.changelog = "CHANGELOG.rdoc"
+task :test => :check_dependencies
+task :default => :test
- p.author = ["Jamis Buck", "Lee Hambley"]
- p.email = ["jamis@jamisbuck.org", "lee.hambley@gmail.com"]
-
- p.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
- Capistrano is a utility and framework for executing commands in parallel
- on multiple remote machines, via SSH.
- DESC
-
- p.url = "http://www.capify.org"
- p.need_zip = true
- p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
-
- p.dependencies = ["net-ssh >=2.0.14",
- "net-sftp >=2.0.0",
- "net-scp >=1.0.0",
- "net-ssh-gateway >=1.0.0",
- "highline"]
-end
View
1  VERSION
@@ -0,0 +1 @@
+2.5.10
View
2  lib/capistrano/task_definition.rb
@@ -72,4 +72,4 @@ def continue_on_error?
@on_error == :continue
end
end
-end
+end
View
2  lib/capistrano/version.rb
@@ -6,7 +6,7 @@ module Capistrano
class Version < Net::SSH::Version
MAJOR = 2
MINOR = 5
- TINY = 9
+ TINY = 10
# The current version, as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)
Please sign in to comment.
Something went wrong with that request. Please try again.