./net/ruby-net-ping, Ping interface for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.0.1, Package name: ruby22-net-ping-2.0.1, Maintainer: pkgsrc-users

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.


Required to run:
[lang/ruby22-base]

Master sites:

SHA1: 1063c56ee2a803a4c519418d8383601b0fa94bfa
RMD160: 224ed6f213b5bbac8716a983c314410d63baa74a
Filesize: 27.5 KB

Version history: (Expand)


CVS history: (Expand)


   2016-10-17 16:47:42 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-ping to 2.0.1.

* Moved the "ping?" and "pingecho" aliases to the `Ping` \ 
superclass.
* Fix issue #8 (the specification for net-ping-2.0.0 has corupped).
   2015-11-04 01:35:47 by Alistair G. Crooks | Files touched by this commit (748)
Log message:
Add SHA512 digests for distfiles for net category

Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-26 17:11:48 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
   2015-09-13 17:00:42 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-ping to 1.7.7.

== 1.7.7 - 22-Jan-2015
* Pull request #1 from Mike George. This fixes domains which have http in them.
   2015-06-08 17:07:55 by Takahiro Kambe | Files touched by this commit (1)
Log message:
Allow this package build on Ruby 2.2.
   2015-02-04 16:58:00 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-net-ping to 1.7.7.

== 1.7.7 - 22-Jan-2015
* Pull request #1 from Mike George. This fixes domains which have http in them.

== 1.7.6 - 13-Dec-2014
* Changed TCP handling yet again, as it was returning false positives. Thanks
  go to Marcos Piccinini for the spot.

== 1.7.5 - 2-Nov-2014
* Added packet count and intervals for external pings. Thanks go to Jack Hayter
  for the patch.
* No longer report closed TCP port as active. Thanks go to Joshua Yanovski for
  the spot and patch.

== 1.7.4 - 16-Apr-2014
* Remove the Timeout block for the Ping::HTTP class because it wasn't working
  with JRuby. Instead, we use the builtin open_timeout and read_timeout
  accessors on the underlying http request. Thanks go to Ian Heggie for the
  spot.
* The Ping::HTTP#ping? more robustly parses out the port from the uri argument
  if provided. In addition, the default port is again set back to 80 as a
  last resort in the constructor.
* Added timeout and port tests for the Ping::HTTP class.
* If a host is unreachable explicitly set the result to false regardless of
  the actual exit status. This appears to only affect Windows 7 and later.
* Reinstated the Timeout block for the Ping::ICMP class. Without it, threaded
  pings could end up in an infinite loop. Thanks go to muirmanders for the spot.

== 1.7.3 - 3-Apr-2014
* Removed the Timeout block for the Ping::External class as it apparently
  hasn't worked with open3 for some time. Instead, it now uses your command
  line ping's timeout switch. Thanks go to Andrea Bernardo Ciddio for the
  spot.
* Made ICMP pings thread safe. I think.
* Removed a redundant Timeout block in the Ping::ICMP class.
* If an ICMP ping times out, the exception attribute is set to "timeout".
* Added explicit support for AIX for the Ping::External class.
* Bumped minimum required Ruby version to 1.9.3.
   2014-03-17 15:25:07 by Takahiro Kambe | Files touched by this commit (1)
Log message:
ruby-net-ping drops Ruby 1.8.7 support from version 1.7.
   2014-03-14 19:14:26 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-net-ping to 1.7.2.

== 1.7.2 - 21-Jan-2014
* Fixed a bug in the Ping::HTTP constructor where it was not honoring the
  port if provided as the second argument. Thanks go to Florian Anderiasch
  for the spot.
* Removed win32-open3 require in the Ping::External class since it isn't
  needed in Ruby 1.9.x or later.
* Refactored the Ping::External class so that it checks the exit status rather
  than try to parse output. Thanks go to Miguel Tubia for the suggestion.
* Dropped explicit support for Windows XP.
* Removed reference to win32-open3 in README.

== 1.7.1 - 26-Sep-2013
* Fixed a bug in the Ping::TCP class where it could return nil instead
  of false. Thanks go to Grandy Nguyen for the patch.

== 1.7.0 - 25-Aug-2013
* Now requires Ruby 1.9.x or later.
* Replaced the main ping code for the Ping::TCP class. The timeout module
  really doesn't work very well with sockets, and so a raw socket approach
  combined with IO.select is now used instead.
* Updates to the doc/ping.txt file.

== 1.6.2 - 8-Aug-2013
* Fixed a bug in the ICMP ping helper module. Thanks go to Yuichi
  Tsunematsu for the spot.
* The win32-security library is not just a development dependency. Thanks
  again go to Yuichi Tsunematsu for the spot.
* Updated the icmp ping tests.
* Updated the gemspec for MS Windows.

== 1.6.1 - 17-Jul-2013
* Automatically set the scheme to "http" if not present when performing
  HTTP pings. See https://bugs.ruby-lang.org/issues/8645 for an issue
  with the uri library that led to this change. Thanks go to Preston Lee
  for the spot.
* Removed the windows/system_info dependency, since it added other
  dependencies just to check the Windows version. Instead, I added a
  helper file that adds some needed Windows functions using FFI.
* Added Rake as a development dependency and updated the Gemfile
  source because Bundler. Thanks to Jean-Philippe Doyle for the patches.
* Added some warning text to the Net::Ping::External tests for users
  who are using OpenDNS. In short, you will probably get test failures
  and surprising true results for bad hosts.

== 1.6.0 - 19-Mar-2013
* Split out the ldap portion of the code into its own branch.
* Don't require resolv-replace on Ruby 1.9.3 or later.
* Now gets proxy information from the http_proxy, https_proxy, and
  no_proxy environment variables and uses that when making requests.
  Thanks go to Kevin Olbrich for the patch.