Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prefer echoe to hoe

  • Loading branch information...
commit 4a82c10b47b3502f44f2704f81f1759ce8a24615 1 parent 13fa007
@jamis jamis authored
View
3  CHANGELOG.rdoc
@@ -0,0 +1,3 @@
+=== 2.0 Preview Release 1 (1.99.0) / 22 Mar 2008
+
+* Rewritten! (Never, ever, do this at home.) New and improved API.
View
6 History.txt
@@ -1,6 +0,0 @@
-=== (unreleased)
-
-* 1 major enhancement
-
- * Rewritten! (Never, ever, do this at home.) New and improved API.
-
View
55 Manifest.txt
@@ -1,55 +0,0 @@
-lib/net/sftp/constants.rb
-lib/net/sftp/errors.rb
-lib/net/sftp/operations/dir.rb
-lib/net/sftp/operations/download.rb
-lib/net/sftp/operations/file.rb
-lib/net/sftp/operations/file_factory.rb
-lib/net/sftp/operations/upload.rb
-lib/net/sftp/packet.rb
-lib/net/sftp/protocol/01/attributes.rb
-lib/net/sftp/protocol/01/base.rb
-lib/net/sftp/protocol/01/name.rb
-lib/net/sftp/protocol/02/base.rb
-lib/net/sftp/protocol/03/base.rb
-lib/net/sftp/protocol/04/attributes.rb
-lib/net/sftp/protocol/04/base.rb
-lib/net/sftp/protocol/04/name.rb
-lib/net/sftp/protocol/05/base.rb
-lib/net/sftp/protocol/06/attributes.rb
-lib/net/sftp/protocol/06/base.rb
-lib/net/sftp/protocol/base.rb
-lib/net/sftp/protocol.rb
-lib/net/sftp/request.rb
-lib/net/sftp/response.rb
-lib/net/sftp/session.rb
-lib/net/sftp/version.rb
-lib/net/sftp.rb
-test/common.rb
-test/protocol/01/test_attributes.rb
-test/protocol/01/test_base.rb
-test/protocol/01/test_name.rb
-test/protocol/02/test_base.rb
-test/protocol/03/test_base.rb
-test/protocol/04/test_attributes.rb
-test/protocol/04/test_base.rb
-test/protocol/04/test_name.rb
-test/protocol/05/test_base.rb
-test/protocol/06/test_attributes.rb
-test/protocol/06/test_base.rb
-test/protocol/test_base.rb
-test/test_all.rb
-test/test_dir.rb
-test/test_download.rb
-test/test_file.rb
-test/test_file_factory.rb
-test/test_packet.rb
-test/test_protocol.rb
-test/test_request.rb
-test/test_response.rb
-test/test_session.rb
-test/test_upload.rb
-History.txt
-Manifest.txt
-README.txt
-Rakefile
-setup.rb
View
2  README.txt → README.rdoc
@@ -56,7 +56,7 @@ For the full documentation, start with Net::SFTP::Session. Also see Net::SFTP::O
If you wish to run the tests, you'll need:
-* Hoe
+* Echoe (if you want to use the Rakefile)
* Mocha
== INSTALL:
View
47 Rakefile
@@ -1,37 +1,30 @@
-if ENV['REBUILD_MANIFEST']
- source_files = FileList.new do |fl|
- [ "lib", "test" ].each do |dir|
- fl.include "#{dir}/**/*"
- end
-
- fl.include "History.txt", "Manifest.txt", "README.txt"
- fl.include "Rakefile", "setup.rb"
- end
-
- File.open("Manifest.txt", "w") do |f|
- source_files.each do |file|
- next if File.directory?(file)
- f.puts(file)
- end
- end
-end
-
$LOAD_PATH.unshift "../net-ssh/lib"
require './lib/net/sftp/version'
-require 'hoe'
+begin
+ require 'echoe'
+rescue LoadError
+ abort "You'll need to have `echoe' installed to use Net::SFTP's Rakefile"
+end
version = Net::SFTP::Version::STRING.dup
if ENV['SNAPSHOT'].to_i == 1
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
end
-Hoe.new('net-sftp', version) do |p|
- p.author = "Jamis Buck"
- p.email = "jamis@jamisbuck.org"
- p.summary = "A pure Ruby implementation of the SFTP client protocol"
- p.url = "http://net-ssh.rubyforge.org/sftp"
- p.extra_deps << [["net-ssh", ">= 1.99.1"]]
- p.need_zip = true
- p.rubyforge_name = "net-ssh"
+Echoe.new('net-sftp', version) do |p|
+ p.project = "net-ssh"
+ p.changelog = "CHANGELOG.rdoc"
+
+ p.author = "Jamis Buck"
+ p.email = "jamis@jamisbuck.org"
+ p.summary = "A pure Ruby implementation of the SFTP client protocol"
+ p.url = "http://net-ssh.rubyforge.org/sftp"
+
+ p.dependencies = ["net-ssh >=1.99.1"]
+
+ p.need_zip = true
+ p.include_rakefile = true
+
+ p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
end
Please sign in to comment.
Something went wrong with that request. Please try again.