Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

Commit

Permalink
Version bump and JRuby handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Jun 22, 2010
1 parent eeaa8bb commit 035c966
Showing 1 changed file with 28 additions and 26 deletions.
54 changes: 28 additions & 26 deletions net-ping.gemspec
Expand Up @@ -2,35 +2,37 @@ require 'rubygems'
require 'rbconfig'

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

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

gem.add_development_dependency('test-unit', '>= 2.0.3')
gem.add_development_dependency('test-unit', '>= 2.0.9')

# These dependencies are for Net::Ping::External
if Config::CONFIG['host_os'] =~ /mswin|dos|win32|cygwin|mingw/i
gem.platform = Gem::Platform::CURRENT
gem.add_dependency('windows-pr', '>= 1.0.8')
# These dependencies are for Net::Ping::External
if Config::CONFIG['host_os'] =~ /mswin|dos|win32|cygwin|mingw/i &&
RUBY_PLATFORM != 'java'
then
gem.platform = Gem::Platform::CURRENT
gem.add_dependency('windows-pr', '>= 1.0.8')

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

gem.description = <<-EOF
The net-ping library provides a ping interface for Ruby. It includes
separate TCP, HTTP, ICMP, UDP, WMI (for Windows) and external ping
classes.
EOF
gem.description = <<-EOF
The net-ping library provides a ping interface for Ruby. It includes
separate TCP, HTTP, ICMP, UDP, WMI (for Windows) and external ping
classes.
EOF
end

0 comments on commit 035c966

Please sign in to comment.