forked from capistrano/capistrano
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finishing porting the gemspec/rakefile to Jeweler.
- Loading branch information
1 parent
1c7acac
commit 5e39c56
Showing
5 changed files
with
27 additions
and
132 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,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:https://github.com/capistrano/capistrano" | ||
gem.email = [ "[email protected]", "[email protected]" ] | ||
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 = ["[email protected]", "[email protected]"] | ||
|
||
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:https://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 |
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.5.10 |
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 |
---|---|---|
|
@@ -72,4 +72,4 @@ def continue_on_error? | |
@on_error == :continue | ||
end | ||
end | ||
end | ||
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