jamis / net-ssh

Pure Ruby implementation of an SSH (protocol 2) client. NOTE: I am no longer maintaining this project. Please see http://github.com/net-ssh for the current active repository.

This URL has Read+Write access

net-ssh / Rakefile
100644 27 lines (20 sloc) 0.716 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require './lib/net/ssh/version'
 
begin
  require 'echoe'
rescue LoadError
  abort "You'll need to have `echoe' installed to use Net::SSH's Rakefile"
end
 
version = Net::SSH::Version::STRING.dup
if ENV['SNAPSHOT'].to_i == 1
  version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
end
 
Echoe.new('net-ssh', version) do |p|
  p.changelog = "CHANGELOG.rdoc"
 
  p.author = "Jamis Buck"
  p.email = "jamis@jamisbuck.org"
  p.summary = "a pure-Ruby implementation of the SSH2 client protocol"
  p.url = "http://net-ssh.rubyforge.org/ssh"
 
  p.need_zip = true
  p.include_rakefile = true
 
  p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc|THANKS.rdoc)/
end