Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 44 lines (35 sloc) 1.391 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
require 'rubygems'
require 'rbconfig'

Gem::Specification.new do |spec|
  spec.name = 'net-ping'
  spec.version = '1.5.3'
  spec.license = 'Artistic 2.0'
  spec.author = 'Daniel J. Berger'
  spec.email = 'djberg96@gmail.com'
  spec.homepage = 'http://www.rubyforge.org/projects/shards'
  spec.summary = 'A ping interface for Ruby.'
  spec.test_file = 'test/test_net_ping.rb'
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }

  spec.rubyforge_project = 'shards'
  spec.extra_rdoc_files = ['README', 'CHANGES', 'doc/ping.txt']

  spec.add_dependency('net-ldap', '~> 0.2.2')
  spec.add_dependency('ffi', '>= 1.0.0')

  spec.add_development_dependency('test-unit', '>= 2.1.2')
  spec.add_development_dependency('fakeweb', '>= 1.3.0')
  spec.add_development_dependency('fakeldap', '~> 0.0.1')

  if File::ALT_SEPARATOR && RUBY_PLATFORM != 'java'
    spec.platform = Gem::Platform::CURRENT
    spec.platform.cpu = 'universal'
    spec.platform.version = nil

    # Used primarily for icmp pings.
    spec.add_development_dependency('win32-security', '>= 1.0.8')

    if RUBY_VERSION.to_f < 1.9
      spec.add_dependency('win32-open3', '>= 0.3.1')
    end
  end

  spec.description = <<-EOF
The net-ping library provides a ping interface for Ruby. It includes
separate TCP, HTTP, LDAP, ICMP, UDP, WMI (for Windows) and external ping
classes.
EOF
end
Something went wrong with that request. Please try again.