Skip to content
This repository
Newer
Older
100644 43 lines (35 sloc) 1.387 kb
18e6e23f »
2010-01-05 Initial conversion to git.
1 require 'rubygems'
2 require 'rbconfig'
3
6c4edeba »
2012-02-23 Updated specs for Windows, and set cpu to 'universal'.
4 Gem::Specification.new do |spec|
5 spec.name = 'net-ping'
6 spec.version = '1.5.3'
7 spec.license = 'Artistic 2.0'
8 spec.author = 'Daniel J. Berger'
9 spec.email = 'djberg96@gmail.com'
1a649807 »
2013-01-23 Updated dev dependency and home page in gemspec.
10 spec.homepage = 'https://github.com/djberg96/net-ping'
6c4edeba »
2012-02-23 Updated specs for Windows, and set cpu to 'universal'.
11 spec.summary = 'A ping interface for Ruby.'
12 spec.test_file = 'test/test_net_ping.rb'
13 spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
14
15 spec.rubyforge_project = 'shards'
16 spec.extra_rdoc_files = ['README', 'CHANGES', 'doc/ping.txt']
17
18 spec.add_dependency('net-ldap', '~> 0.2.2')
19 spec.add_dependency('ffi', '>= 1.0.0')
20
1a649807 »
2013-01-23 Updated dev dependency and home page in gemspec.
21 spec.add_development_dependency('test-unit', '>= 2.5.0')
6c4edeba »
2012-02-23 Updated specs for Windows, and set cpu to 'universal'.
22 spec.add_development_dependency('fakeweb', '>= 1.3.0')
23 spec.add_development_dependency('fakeldap', '~> 0.0.1')
24
0a60f9ef »
2011-03-17 Gemspec fix for Windows.
25 if File::ALT_SEPARATOR && RUBY_PLATFORM != 'java'
6c4edeba »
2012-02-23 Updated specs for Windows, and set cpu to 'universal'.
26 spec.platform = Gem::Platform::CURRENT
27 spec.platform.cpu = 'universal'
28 spec.platform.version = nil
29
30 # Used primarily for icmp pings.
d8b21fef »
2013-01-23 Windows dependency change and a minor update for win32-security.
31 spec.add_development_dependency('win32-security', '>= 0.2.0')
18e6e23f »
2010-01-05 Initial conversion to git.
32
035c9667 »
2010-06-21 Version bump and JRuby handling.
33 if RUBY_VERSION.to_f < 1.9
6c4edeba »
2012-02-23 Updated specs for Windows, and set cpu to 'universal'.
34 spec.add_dependency('win32-open3', '>= 0.3.1')
035c9667 »
2010-06-21 Version bump and JRuby handling.
35 end
36 end
18e6e23f »
2010-01-05 Initial conversion to git.
37
6c4edeba »
2012-02-23 Updated specs for Windows, and set cpu to 'universal'.
38 spec.description = <<-EOF
035c9667 »
2010-06-21 Version bump and JRuby handling.
39 The net-ping library provides a ping interface for Ruby. It includes
0f62d003 » tardate
2011-04-29 Added initial Net::Ping::LDAP implementation
40 separate TCP, HTTP, LDAP, ICMP, UDP, WMI (for Windows) and external ping
035c9667 »
2010-06-21 Version bump and JRuby handling.
41 classes.
42 EOF
18e6e23f »
2010-01-05 Initial conversion to git.
43 end
Something went wrong with that request. Please try again.