Sha256: b98fc7829919474f3eeb1596284bdf5b95cc1ca4f9af7fe4be680cf3f6cbdc2b

Contents?: true

Size: 1.54 KB

Versions: 58

Compression:

Stored size: 1.54 KB

Contents

require "rubygems"
require "rake"
require "rake/clean"
require "rdoc/task"

task :default => ["build"]
CLEAN.include [ 'pkg', 'rdoc' ]
name = "net-scp"

$:.unshift File.join(File.dirname(__FILE__), 'lib')
require "net/scp/version"
version = Net::SCP::Version::STRING.dup

begin
  require "jeweler"
  Jeweler::Tasks.new do |s|
    s.version = version
    s.name = name
    s.rubyforge_project = s.name
    s.summary = "A pure Ruby implementation of the SCP client protocol"
    s.description = s.summary
    s.email = "net-ssh@solutious.com"
    s.homepage = "https://github.com/net-ssh/net-scp"
    s.authors = ["Jamis Buck", "Delano Mandelbaum"]

    s.add_dependency 'net-ssh', ">=2.6.5"

    s.add_development_dependency 'test-unit'
    s.add_development_dependency 'mocha'

    s.license = "MIT"

    s.signing_key = File.join('/mnt/gem/', 'gem-private_key.pem')
    s.cert_chain  = ['gem-public_cert.pem']
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new do |t|
  t.libs = ["lib", "test"]
end

extra_files = %w[LICENSE.txt THANKS.txt CHANGES.txt ]
RDoc::Task.new do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title = "#{name} #{version}"
  rdoc.generator = 'hanna' # gem install hanna-nouveau
  rdoc.main = 'README.rdoc'
  rdoc.rdoc_files.include("README*")
  rdoc.rdoc_files.include("bin/*.rb")
  rdoc.rdoc_files.include("lib/**/*.rb")
  extra_files.each { |file|
    rdoc.rdoc_files.include(file) if File.exists?(file)
  }
end


Version data entries

58 entries across 50 versions & 9 rubygems

Version Path
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/net-scp-1.2.1/Rakefile
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/net-scp-1.2.1/Rakefile