Sha256: 631696a1e313936bf9c3233cbabf27ea1f87ca0e21c0f7d8da1dcba7224cebb8

Contents?: true

Size: 1.38 KB

Versions: 8

Compression:

Stored size: 1.38 KB

Contents

require 'rubygems'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'

spec = Gem::Specification.new do |s|
    s.name      =   "vizi_whois"
    s.version   =   "0.1.0"
    s.author    =   "Al Kivi"
    s.email     =   "al.kivi at vizitrax.com"
    s.homepage  =   "http://github.com/al-kivi/Vizi_Whois"
    s.summary = "Global whois module to select the right whois server and get response data"
    s.description = "This gem module provides a classes to find the right Regional Internet Registry
      for a given IP Address. The query method will navigate each major RIR until a response is found"
    
    s.platform  =   Gem::Platform::RUBY
    s.has_rdoc  =   true
    s.extra_rdoc_files  =   ["README.rdoc"]

    s.require_path  =   "lib"
    s.files     =   %w(README.rdoc Rakefile) + Dir.glob("lib/**/*")
end

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

Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'HttpLogParser'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList["test/**/*_test.rb"]
  t.verbose = true
end

task :default => "pkg/#{spec.name}-#{spec.version}.gem" do
    puts "generated latest version"
end

Version data entries

8 entries across 5 versions & 2 rubygems

Version Path
vizi_logger-0.1.0 Rakefile
vizi_whois-0.4.0 pkg/vizi_whois-0.1.0/Rakefile
vizi_whois-0.4.0 Rakefile
vizi_whois-0.3.0 Rakefile
vizi_whois-0.3.0 pkg/vizi_whois-0.1.0/Rakefile
vizi_whois-0.2.0 Rakefile
vizi_whois-0.2.0 pkg/vizi_whois-0.1.0/Rakefile
vizi_whois-0.1.0 Rakefile