Sha256: 5e8c7fd4061e37fdd26582f8a6dfb8c034a204f24d21277cb82cae25e154764f
Contents?: true
Size: 1.3 KB
Versions: 6
Compression:
Stored size: 1.3 KB
Contents
require 'rubygems' require 'rake' require 'yaml' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "net-ftp-list" gem.summary = %Q{Parse FTP LIST command output.} gem.email = "enquiries@statelesssystems.com" gem.homepage = "http://github.com/stateless-systems/net-ftp-list" gem.authors = ["Stateless Systems"] end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION.yml') config = YAML.load(File.read('VERSION.yml')) version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "net-ftp-list #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
net-ftp-list-3.2.5 | Rakefile |
net-ftp-list-3.2.4 | Rakefile |
net-ftp-list-3.2.3 | Rakefile |
net-ftp-list-3.2.2 | Rakefile |
net-ftp-list-3.2.1 | Rakefile |
net-ftp-list-3.2.0 | Rakefile |