Sha256: 65bfdf0b89f15ab98236e35802b664f53f6054803cb5db5e1f0d31c2cac46802

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

require 'rake/gempackagetask'

VERSION = "0.0.3"

spec = Gem::Specification.new do |s|
  s.name              = "ident"
  s.summary           = "A Ruby library for querying identd servers (RFC 1413)"
  s.description       = s.summary
  s.version           = VERSION
  s.author            = "Dominik Honnef"
  s.email             = "dominikh@fork-bomb.org"
  s.date              = Time.now.strftime "%Y-%m-%d"
  s.require_path      = "lib"
  s.homepage          = "http://fork-bomb.org"
  s.platform          = Gem::Platform::RUBY
  s.rubyforge_project = "ident"

  s.has_rdoc = 'yard'

  s.files = FileList["lib/**/*.rb", "[A-Z]*", "examples/**/*"].to_a
end

Rake::GemPackageTask.new(spec)do |pkg|
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new do |t|
  end
rescue LoadError
end

task :test do
  begin
    require "baretest"
  rescue LoadError => e
    puts "Could not run tests: #{e}"
  end

  BareTest.load_standard_test_files(
                                    :verbose => false,
                                    :setup_file => 'test/setup.rb',
                                    :chdir => File.absolute_path("#{__FILE__}/../")
                                    )

  BareTest.run(:format => "cli", :interactive => false)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ident-0.0.3 Rakefile