net-ping 1.7.4-universal-mingw32 → 1.7.5-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTZiY2MzZGJmMmVkYjNmNjYwYzY2NGQ3Njg1YjE4MTk3NDFkMzdmZA==
5
- data.tar.gz: !binary |-
6
- ODM5OWFiNTI3ODgyMTEwMzE2MGM4ODVlOTQ2YzBjMTkyYWI1ZTNkMg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- YjY1Mzk3NGExZWQ4N2NhNDVhY2NhNjMxMTU3ZjZmODU5NDEyN2E5ZTRmZjMy
10
- MTliMzc0YjEwNDY3MjU5MGYzZmZhMjlkMjJlYmM0ZjE3ZWZjNWEwNDBhZjJj
11
- OGRlMzAzMjhhNTM3YTM2ZDYyODI3OWY5NTAxMjAwNzk2MjFjMWM=
12
- data.tar.gz: !binary |-
13
- MmJjN2E0OTBlZDU3ZTdmMTkyMTZmOTIzYzFiMjgwZjRmYzM0MTk1NzFlMzEw
14
- N2FhYTE1N2U5ZGI3NjA2ZDNlMDFkMDkzNWE3N2RkZWRhOWFlZDQwMDBjMzY4
15
- YWM0NDIwMzkwNzJlZDc2ZjNmOTQ2ZmNmYzY2YmY1ODhmNWE3OWQ=
2
+ SHA1:
3
+ metadata.gz: 76094b959b0147e022534d183b4589dea46af3e3
4
+ data.tar.gz: b15a4a418e5c43b7d14b92b5bdee5015c697a807
5
+ SHA512:
6
+ metadata.gz: 7bed079dbbeeab53dd88f1efc8d876629a4ae8d4f80b003ce36320bf180510ee24af29ca38c9c3aa14d8364dc3fdd5532a20abbcfbf1a956889be0708acbbd87
7
+ data.tar.gz: 8822d0928c89bca134bf1ec39c9373c04cef29044a0ef2b9aeca3b907e4c326eaddb69ca63356cb0522d52b7d611136beb4ad9fe8fe5c2354c498ebd6eff9847
data/CHANGES CHANGED
@@ -1,334 +1,340 @@
1
- == 1.7.4 - 16-Apr-2014
2
- * Remove the Timeout block for the Ping::HTTP class because it wasn't working
3
- with JRuby. Instead, we use the builtin open_timeout and read_timeout
4
- accessors on the underlying http request. Thanks go to Ian Heggie for the
5
- spot.
6
- * The Ping::HTTP#ping? more robustly parses out the port from the uri argument
7
- if provided. In addition, the default port is again set back to 80 as a
8
- last resort in the constructor.
9
- * Added timeout and port tests for the Ping::HTTP class.
10
- * If a host is unreachable explicitly set the result to false regardless of
11
- the actual exit status. This appears to only affect Windows 7 and later.
12
- * Reinstated the Timeout block for the Ping::ICMP class. Without it, threaded
13
- pings could end up in an infinite loop. Thanks go to muirmanders for the spot.
14
-
15
- == 1.7.3 - 3-Apr-2014
16
- * Removed the Timeout block for the Ping::External class as it apparently
17
- hasn't worked with open3 for some time. Instead, it now uses your command
18
- line ping's timeout switch. Thanks go to Andrea Bernardo Ciddio for the
19
- spot.
20
- * Made ICMP pings thread safe. I think.
21
- * Removed a redundant Timeout block in the Ping::ICMP class.
22
- * If an ICMP ping times out, the exception attribute is set to "timeout".
23
- * Added explicit support for AIX for the Ping::External class.
24
- * Bumped minimum required Ruby version to 1.9.3.
25
-
26
- == 1.7.2 - 21-Jan-2014
27
- * Fixed a bug in the Ping::HTTP constructor where it was not honoring the
28
- port if provided as the second argument. Thanks go to Florian Anderiasch
29
- for the spot.
30
- * Removed win32-open3 require in the Ping::External class since it isn't
31
- needed in Ruby 1.9.x or later.
32
- * Refactored the Ping::External class so that it checks the exit status rather
33
- than try to parse output. Thanks go to Miguel Tubia for the suggestion.
34
- * Dropped explicit support for Windows XP.
35
- * Removed reference to win32-open3 in README.
36
-
37
- == 1.7.1 - 26-Sep-2013
38
- * Fixed a bug in the Ping::TCP class where it could return nil instead
39
- of false. Thanks go to Grandy Nguyen for the patch.
40
-
41
- == 1.7.0 - 25-Aug-2013
42
- * Now requires Ruby 1.9.x or later.
43
- * Replaced the main ping code for the Ping::TCP class. The timeout module
44
- really doesn't work very well with sockets, and so a raw socket approach
45
- combined with IO.select is now used instead.
46
- * Updates to the doc/ping.txt file.
47
-
48
- == 1.6.2 - 8-Aug-2013
49
- * Fixed a bug in the ICMP ping helper module. Thanks go to Yuichi
50
- Tsunematsu for the spot.
51
- * The win32-security library is not just a development dependency. Thanks
52
- again go to Yuichi Tsunematsu for the spot.
53
- * Updated the icmp ping tests.
54
- * Updated the gemspec for MS Windows.
55
-
56
- == 1.6.1 - 17-Jul-2013
57
- * Automatically set the scheme to "http" if not present when performing
58
- HTTP pings. See https://bugs.ruby-lang.org/issues/8645 for an issue
59
- with the uri library that led to this change. Thanks go to Preston Lee
60
- for the spot.
61
- * Removed the windows/system_info dependency, since it added other
62
- dependencies just to check the Windows version. Instead, I added a
63
- helper file that adds some needed Windows functions using FFI.
64
- * Added Rake as a development dependency and updated the Gemfile
65
- source because Bundler. Thanks to Jean-Philippe Doyle for the patches.
66
- * Added some warning text to the Net::Ping::External tests for users
67
- who are using OpenDNS. In short, you will probably get test failures
68
- and surprising true results for bad hosts.
69
-
70
- == 1.6.0 - 19-Mar-2013
71
- * Split out the ldap portion of the code into its own branch.
72
- * Don't require resolv-replace on Ruby 1.9.3 or later.
73
- * Now gets proxy information from the http_proxy, https_proxy, and
74
- no_proxy environment variables and uses that when making requests.
75
- Thanks go to Kevin Olbrich for the patch.
76
-
77
- == 1.5.3 - 29-Feb-2012
78
- * Removed the Windows::Console dependency and replaced it with FFI since there
79
- were only two functions needed. This had the nice side effect of making it
80
- work with JRuby, too.
81
- * Minor cleanup on some multi-variable assignment.
82
- * Fixed require statements and one test for 1.9.
83
-
84
- == 1.5.2 - 4-Nov-2011
85
- * The Net::Ping::HTTP class now defaults to using HEAD instead of GET
86
- for its ping test. You can alter this via the get_request accessor.
87
- Thanks got to Balazs Kutil for the patch.
88
- * Added the ssl_verify_mode accessor to the Net::Ping::HTTP class, which
89
- defaults to VERIFY_NONE. This fixes possible warnings resulting from
90
- missing SSL certificates when using https. Thanks go to Balazs Kutil
91
- for the patch.
92
-
93
- == 1.5.1 - 15-Sep-2011
94
- * Use RbConfig on Ruby 1.9 and later. Thanks go to Torsten Schönebaum
95
- for the patch.
96
-
97
- == 1.5.0 - 3-May-2011
98
- * Added the Net::Ping::LDAP class which allows you to perform LDAP pings.
99
- Thanks go to Paul Gallagher for adding this.
100
- * The duration instance variable is now reset to nil on a failed ping. Again,
101
- thanks go to Paul Gallagher.
102
-
103
- == 1.4.1 - 17-Mar-2011
104
- * Incorporated changes from Lukas Zapletal that alters the icmp tests to use
105
- your localhost instead of going outside the network.
106
- * The http tests were similarly modified courtesy of fakeweb, which is now a
107
- development dependency. Again, change from Lukas Zapletal.
108
- * The icmp tests were reworked for Windows Vista and later. This required the
109
- addition of the win32-security library as a development dependency.
110
- * The Net::Ping::WMI class is no longer skipped on require or in tests since
111
- JRuby now supports win32ole.
112
-
113
- == 1.4.0 - 14-Feb-2011
114
- * Added the redirect_limit accessor for the Net::Ping::HTTP class. This caps
115
- the number of redirects that are allowed before a ping is considered a
116
- failure. The default is 5.
117
- * Changed the way in which redirects are detected. Previously I was checking
118
- against the response class, but decided this was unreliable. I now check the
119
- response code itself. Any code in the 300 range is considered a redirect.
120
- * The default port for the Net::Ping::HTTP class is no longer explicitly set
121
- to 80, but instead uses the result of the URI.parse(uri).port method by
122
- default. Note that you can still override the port if you explicitly provide
123
- one in the constructor.
124
- * The Net::Ping::HTTP class now handles https URI's properly. Note that you may
125
- get a warning about peer certificates.
126
-
127
- == 1.3.7 - 14-Oct-2010
128
- * Wrapped the ICMP ping in a while loop that breaks on success to prevent
129
- the ping from failing too early. Thanks go to Benny Holmgren for the
130
- spot and the patch.
131
-
132
- == 1.3.6 - 4-Sep-2010
133
- * Fixed variable naming issue in Net::Ping::External. Thanks go to taw
134
- for the spot.
135
- * Added a default Rake task.
136
- * Refactored the tests for Net::Ping::External to take advantage of the
137
- features of test-unit 2.x.
138
-
139
- == 1.3.5 - 3-Sep-2010
140
- * Allow for custom user agent in Net::Ping::HTTP. Thanks go to Michael
141
- Reinsch for the patch.
142
-
143
- == 1.3.4 - 25-Jun-2010
144
- * Fixed a dumb platform bug. Thanks go to Jason Frey for the spot.
145
-
146
- == 1.3.3 - 21-Jun-2010
147
- * Bug fixes for JRuby on MS Windows. The code now explicitly checks for JRuby
148
- in a few places to ensure it doesn't try to load unsupported libraries
149
- on MS Windows. Thanks go to Rob Schultz for the spot and some patches.
150
- * The Net::Ping::HTTP class will no longer fail because a root URI
151
- is missing a trailing slash. If the URI#path is empty, it now defaults
152
- to the root path.
153
- * The Rakefile tasks and naming were refactored.
154
- * Some tests were refactored to take advantage of test-unit 2.x features,
155
- as well as make them better and more descriptive in general.
156
-
157
- == 1.3.2 - 21-Sep-2009
158
- * Doing a 'require "net/ping"' was not automatically loading the
159
- Net::Ping::WMI class on MS Windows. This has been fixed. Thanks go to
160
- Joseph M. for the spot.
161
- * Removed all $LOAD_PATH mangling for both the library and tests.
162
- * Fixed a bug in the Net::Ping::HTTP class where a failed redirect did
163
- not set the @exception and @warning instance variables properly.
164
- * The PingStatus struct returned by Net::Ping::WMI is now frozen.
165
- * The test-unit library was switched from a runtime dependency to a
166
- development dependency.
167
- * Added the :gem Rake task that builds a gem.
168
- * Updated the :gem_install task to use the :gem task as a prerequisite.
169
- * Updated the dependencies for MS Windows.
170
- * The Rake test tasks are now more Rakish, e.g. test:tcp instead of test_tcp.
171
- * Renamed example file names to avoid any potential confusion with actual
172
- test files.
173
-
174
- == 1.3.1 - 22-Jul-2009
175
- * Removed class aliases, e.g. use Ping::External, not PingExternal.
176
- * Minor code change to eliminate a warning that popped up in 1.9.x.
177
- * The win32-open3 library is removed as a dependency for Ruby 1.9.x.
178
- * Changed license to Artistic 2.0.
179
- * Some gemspec and README updates.
180
-
181
- == 1.3.0 - 19-May-2009
182
- * Added the Ping::WMI class for MS Windows. This class encapsulates the
183
- Win32_PingStatus WMI class. Unlike other ping methods, this one returns
184
- a struct that contains various bits of information.
185
- * The Net::Ping::External class now ensures that handles opened by the open3
186
- call are closed. Thanks go to Nick S. Kanakakorn for the spot and a
187
- preliminary patch.
188
- * The Net::Ping::ICMP class now explicitly closes the socket if the call to
189
- the Socket.pack_sockaddr_in method fails.
190
- * Some documentation updates.
191
-
192
- == 1.2.3 - 13-Jan-2008
193
- * Fixed a bug in the checksum private method where it would die on odd data
194
- sizes. Thanks go to Jake Douglas for the spot.
195
- * A Socket.get_sockaddr_in call in the Ping::ICMP class is no longer included
196
- as part of the overall ping time. Thanks go again to Jake Douglas for
197
- the spot.
198
- * Added data_size tests to the Ping::ICMP test suite.
199
- * Renamed and updated the test files. The test-unit 2.x gem is now a
200
- prerequisite as a result.
201
-
202
- == 1.2.2 - 22-Jan-2008
203
- * Bug fix for Ping::External where it was not honoring the timeout value.
204
- Thanks go to Chris Morris for the spot and the patch.
205
- * Bug fix for Ping::External where non-English output could cause false
206
- positives on MS Windows Vista or later. This library now requires the
207
- windows-pr library on MS Windows systems as a result.
208
- * Added the Ping::UDP.service_check and Ping::UDP.service_check= class
209
- methods. This method controls whether or not Errno::ECONNREFUSED or
210
- Errno::ECONNRESET are considered successful pings or not.
211
- * The Ping::HTTP class no longer uses the resolv-replace library on MS Windows
212
- because it was (ironically) causing timeouts.
213
- * Changed the Ping::TCP.econnrefused method to Ping::TCP.service_check. I
214
- changed it because I now use a similar method in Ping::UDP, but that handles
215
- more than Errno::ECONNREFUSED. An alias is provided to provide backwards
216
- compatibility, but it is considered deprecated and will be removed in the
217
- 1.3.0 release.
218
- * Removed the install.rb file. The Rakefile now handles installation.
219
-
220
- == 1.2.1 - 6-Apr-2007
221
- * For the Ping::External class, if a ping attempt results in 100% packet loss
222
- it is now considered a failed ping, regardless of whether or not an error
223
- was sent to stdout.
224
- * Fixed the Ping::External class for OS X.
225
- * Added a Rakefile. Installation and testing should now be run via Rake tasks.
226
- * Minor fix for the Ping::ICMP class where I had accidentally dup'd some
227
- aliases. This was harmless, but did cause warnings with -w.
228
-
229
- == 1.2.0 - 5-Dec-2006
230
- * Internal reorganization - each class now lives in its own file.
231
- * Added the Ping::ICMP class. Thanks go to Jos Backus for contributing a
232
- large part of the code.
233
- * The host argument is now optional in the constructor. You can now specify
234
- it in the ping method instead. Note that it must be specified in one place
235
- or the other.
236
- * Each PingXXX class is now Ping::XXX instead. However, class name aliases
237
- have been setup for backwards compatibility for now.
238
- * The constructor for each Ping types now yields self.
239
- * Added the pingecho alias for the ping method for each Ping type.
240
- * Added the Ping::HTTP#follow_redirect accessor.
241
- * The Ping::HTTP#ping method now honors the timeout value.
242
- * The Ping::HTTP class now follows redirects automatically, though this is
243
- configurable with the follow_redirect accessor.
244
- * The Ping::TCP.ecr and Ping::TCP.ecr= methods are now true class method
245
- aliases (they were just wrappers previously).
246
- * The Ping::UDP class now enforces a 64 character limit on data that can be
247
- sent on a udp ping.
248
- * Updated the gemspec. Specifically, MS Windows now has a dependency on
249
- the win32-open3 package.
250
- * Added inline rdoc.
251
-
252
- == 1.1.1 - 15-Jun-2006
253
- * Fixed a bug in PingTCP (bad variable name). Thanks go to Anoop Chandran
254
- for the spot.
255
- * Minor variable name refactoring.
256
- * Minor test updates.
257
-
258
- == 1.1.0 - 17-Jul-2005
259
- * Fixed a bug in the PingHTTP#ping method where I was accidentally passing
260
- the timeout value instead of the port number as the third argument to
261
- Net::HTTP.get_response.
262
- * The PingHTTP.new method now has a default port of 80.
263
- * Minor doc update for PingHTTP.new.
264
-
265
- == 1.0.1 - 22-Jun-2005
266
- * Bug fix for the install.rb file. The gem is unaffected.
267
-
268
- == 1.0.0 - 14-Jun-2005
269
- * Renamed project from net-pingsimple to just net-ping.
270
- * Added a PingHTTP subclass.
271
- * Moved project to RubyForge.
272
- * Added a gemspec.
273
-
274
- == 0.3.1 - 9-Apr-2005
275
- * Updated PingExternal to use win32/open3 on Win32 platforms.
276
- * Minor error handling change for the PingSimple.econnrefused= method. It now
277
- raises an ArgumentError if any values other than true or false are passed.
278
- * PingSimple#warning and PingSimple#exception are now read-only methods.
279
- * The warning and exception attributes are now reset to nil between each call
280
- to ping.
281
- * The data and data= methods are now unique to the PingUDP class.
282
- * The time and time= methods have been changed to timeout and timeout=,
283
- respectively.
284
- * Removed the pingsimple.rd and pingsimple.html files. The pingsimple.txt file
285
- has been reorganized and is now rdoc friendly.
286
- * Added a few sample programs under the 'examples' directory.
287
- * Some minor test updates and changes.
288
- * Removed the INSTALL file. That information is now in the README file.
289
- * Now requires Ruby 1.8.0 or later.
290
-
291
- == 0.3.0 - 12-Feb-2004
292
- * Fixed ping string for PingExternal class based on platform. The old
293
- string was really only good for Linux and *BSD.
294
- * Added Win32 support (requires win32_popen package).
295
- * Added warranty info.
296
-
297
- == 0.2.3 - 12-Aug-2003
298
- * Fixed a bug in PingExternal that could consume file descriptors if used in a loop
299
- * Added some initialization to avoid -w warnings
300
- * Removed VERSION() class method. Use the constant instead
301
- * Modified test suite slightly
302
- * Moved rd2 docs to doc directory
303
-
304
- == 0.2.2 - 3-Apr-2003
305
- * Fixed handling of stdout in PingExternal
306
-
307
- == 0.2.1 - 27-Mar-2003
308
- * Fixed major bug with PingExternal class with regards to down hosts
309
- * Exceptions and warnings from PingExternal are now chomp'd
310
- * Modified test suite
311
- * Doc updates
312
-
313
- == 0.2.0 - 14-Feb-2003
314
- * The default behavior of PingTCP with regards to ECONNREFUSED is now
315
- configurable
316
- * Added a VERSION constant and method (to the base class)
317
- * Added a test suite (for those with testunit installed)
318
- * Doc changes, rearrangement and general cleanup
319
- * Manifest is now MANIFEST
320
- * Added an INSTALL file
321
-
322
- == 0.1.0 - 9-Dec-2002
323
- * Added ping? alias for ping method
324
- * Warnings now handled separately
325
- * Corrected a mis-named variable in Ping::External
326
- * Fixed the install.rb file
327
- * Updated and added docs
328
- * Renamed tarball to net-pingsimple to reflect RAA naming convention
329
-
330
- == 0.0.1a
331
- * Did this release ever happen?
332
-
333
- == 0.0.1
334
- * Initial release.
1
+ == 1.7.5 - 2-Nov-2014
2
+ * Added packet count and intervals for external pings. Thanks go to Jack Hayter
3
+ for the patch.
4
+ * No longer report closed TCP port as active. Thanks go to Joshua Yanovski for
5
+ the spot and patch.
6
+
7
+ == 1.7.4 - 16-Apr-2014
8
+ * Remove the Timeout block for the Ping::HTTP class because it wasn't working
9
+ with JRuby. Instead, we use the builtin open_timeout and read_timeout
10
+ accessors on the underlying http request. Thanks go to Ian Heggie for the
11
+ spot.
12
+ * The Ping::HTTP#ping? more robustly parses out the port from the uri argument
13
+ if provided. In addition, the default port is again set back to 80 as a
14
+ last resort in the constructor.
15
+ * Added timeout and port tests for the Ping::HTTP class.
16
+ * If a host is unreachable explicitly set the result to false regardless of
17
+ the actual exit status. This appears to only affect Windows 7 and later.
18
+ * Reinstated the Timeout block for the Ping::ICMP class. Without it, threaded
19
+ pings could end up in an infinite loop. Thanks go to muirmanders for the spot.
20
+
21
+ == 1.7.3 - 3-Apr-2014
22
+ * Removed the Timeout block for the Ping::External class as it apparently
23
+ hasn't worked with open3 for some time. Instead, it now uses your command
24
+ line ping's timeout switch. Thanks go to Andrea Bernardo Ciddio for the
25
+ spot.
26
+ * Made ICMP pings thread safe. I think.
27
+ * Removed a redundant Timeout block in the Ping::ICMP class.
28
+ * If an ICMP ping times out, the exception attribute is set to "timeout".
29
+ * Added explicit support for AIX for the Ping::External class.
30
+ * Bumped minimum required Ruby version to 1.9.3.
31
+
32
+ == 1.7.2 - 21-Jan-2014
33
+ * Fixed a bug in the Ping::HTTP constructor where it was not honoring the
34
+ port if provided as the second argument. Thanks go to Florian Anderiasch
35
+ for the spot.
36
+ * Removed win32-open3 require in the Ping::External class since it isn't
37
+ needed in Ruby 1.9.x or later.
38
+ * Refactored the Ping::External class so that it checks the exit status rather
39
+ than try to parse output. Thanks go to Miguel Tubia for the suggestion.
40
+ * Dropped explicit support for Windows XP.
41
+ * Removed reference to win32-open3 in README.
42
+
43
+ == 1.7.1 - 26-Sep-2013
44
+ * Fixed a bug in the Ping::TCP class where it could return nil instead
45
+ of false. Thanks go to Grandy Nguyen for the patch.
46
+
47
+ == 1.7.0 - 25-Aug-2013
48
+ * Now requires Ruby 1.9.x or later.
49
+ * Replaced the main ping code for the Ping::TCP class. The timeout module
50
+ really doesn't work very well with sockets, and so a raw socket approach
51
+ combined with IO.select is now used instead.
52
+ * Updates to the doc/ping.txt file.
53
+
54
+ == 1.6.2 - 8-Aug-2013
55
+ * Fixed a bug in the ICMP ping helper module. Thanks go to Yuichi
56
+ Tsunematsu for the spot.
57
+ * The win32-security library is not just a development dependency. Thanks
58
+ again go to Yuichi Tsunematsu for the spot.
59
+ * Updated the icmp ping tests.
60
+ * Updated the gemspec for MS Windows.
61
+
62
+ == 1.6.1 - 17-Jul-2013
63
+ * Automatically set the scheme to "http" if not present when performing
64
+ HTTP pings. See https://bugs.ruby-lang.org/issues/8645 for an issue
65
+ with the uri library that led to this change. Thanks go to Preston Lee
66
+ for the spot.
67
+ * Removed the windows/system_info dependency, since it added other
68
+ dependencies just to check the Windows version. Instead, I added a
69
+ helper file that adds some needed Windows functions using FFI.
70
+ * Added Rake as a development dependency and updated the Gemfile
71
+ source because Bundler. Thanks to Jean-Philippe Doyle for the patches.
72
+ * Added some warning text to the Net::Ping::External tests for users
73
+ who are using OpenDNS. In short, you will probably get test failures
74
+ and surprising true results for bad hosts.
75
+
76
+ == 1.6.0 - 19-Mar-2013
77
+ * Split out the ldap portion of the code into its own branch.
78
+ * Don't require resolv-replace on Ruby 1.9.3 or later.
79
+ * Now gets proxy information from the http_proxy, https_proxy, and
80
+ no_proxy environment variables and uses that when making requests.
81
+ Thanks go to Kevin Olbrich for the patch.
82
+
83
+ == 1.5.3 - 29-Feb-2012
84
+ * Removed the Windows::Console dependency and replaced it with FFI since there
85
+ were only two functions needed. This had the nice side effect of making it
86
+ work with JRuby, too.
87
+ * Minor cleanup on some multi-variable assignment.
88
+ * Fixed require statements and one test for 1.9.
89
+
90
+ == 1.5.2 - 4-Nov-2011
91
+ * The Net::Ping::HTTP class now defaults to using HEAD instead of GET
92
+ for its ping test. You can alter this via the get_request accessor.
93
+ Thanks got to Balazs Kutil for the patch.
94
+ * Added the ssl_verify_mode accessor to the Net::Ping::HTTP class, which
95
+ defaults to VERIFY_NONE. This fixes possible warnings resulting from
96
+ missing SSL certificates when using https. Thanks go to Balazs Kutil
97
+ for the patch.
98
+
99
+ == 1.5.1 - 15-Sep-2011
100
+ * Use RbConfig on Ruby 1.9 and later. Thanks go to Torsten Schönebaum
101
+ for the patch.
102
+
103
+ == 1.5.0 - 3-May-2011
104
+ * Added the Net::Ping::LDAP class which allows you to perform LDAP pings.
105
+ Thanks go to Paul Gallagher for adding this.
106
+ * The duration instance variable is now reset to nil on a failed ping. Again,
107
+ thanks go to Paul Gallagher.
108
+
109
+ == 1.4.1 - 17-Mar-2011
110
+ * Incorporated changes from Lukas Zapletal that alters the icmp tests to use
111
+ your localhost instead of going outside the network.
112
+ * The http tests were similarly modified courtesy of fakeweb, which is now a
113
+ development dependency. Again, change from Lukas Zapletal.
114
+ * The icmp tests were reworked for Windows Vista and later. This required the
115
+ addition of the win32-security library as a development dependency.
116
+ * The Net::Ping::WMI class is no longer skipped on require or in tests since
117
+ JRuby now supports win32ole.
118
+
119
+ == 1.4.0 - 14-Feb-2011
120
+ * Added the redirect_limit accessor for the Net::Ping::HTTP class. This caps
121
+ the number of redirects that are allowed before a ping is considered a
122
+ failure. The default is 5.
123
+ * Changed the way in which redirects are detected. Previously I was checking
124
+ against the response class, but decided this was unreliable. I now check the
125
+ response code itself. Any code in the 300 range is considered a redirect.
126
+ * The default port for the Net::Ping::HTTP class is no longer explicitly set
127
+ to 80, but instead uses the result of the URI.parse(uri).port method by
128
+ default. Note that you can still override the port if you explicitly provide
129
+ one in the constructor.
130
+ * The Net::Ping::HTTP class now handles https URI's properly. Note that you may
131
+ get a warning about peer certificates.
132
+
133
+ == 1.3.7 - 14-Oct-2010
134
+ * Wrapped the ICMP ping in a while loop that breaks on success to prevent
135
+ the ping from failing too early. Thanks go to Benny Holmgren for the
136
+ spot and the patch.
137
+
138
+ == 1.3.6 - 4-Sep-2010
139
+ * Fixed variable naming issue in Net::Ping::External. Thanks go to taw
140
+ for the spot.
141
+ * Added a default Rake task.
142
+ * Refactored the tests for Net::Ping::External to take advantage of the
143
+ features of test-unit 2.x.
144
+
145
+ == 1.3.5 - 3-Sep-2010
146
+ * Allow for custom user agent in Net::Ping::HTTP. Thanks go to Michael
147
+ Reinsch for the patch.
148
+
149
+ == 1.3.4 - 25-Jun-2010
150
+ * Fixed a dumb platform bug. Thanks go to Jason Frey for the spot.
151
+
152
+ == 1.3.3 - 21-Jun-2010
153
+ * Bug fixes for JRuby on MS Windows. The code now explicitly checks for JRuby
154
+ in a few places to ensure it doesn't try to load unsupported libraries
155
+ on MS Windows. Thanks go to Rob Schultz for the spot and some patches.
156
+ * The Net::Ping::HTTP class will no longer fail because a root URI
157
+ is missing a trailing slash. If the URI#path is empty, it now defaults
158
+ to the root path.
159
+ * The Rakefile tasks and naming were refactored.
160
+ * Some tests were refactored to take advantage of test-unit 2.x features,
161
+ as well as make them better and more descriptive in general.
162
+
163
+ == 1.3.2 - 21-Sep-2009
164
+ * Doing a 'require "net/ping"' was not automatically loading the
165
+ Net::Ping::WMI class on MS Windows. This has been fixed. Thanks go to
166
+ Joseph M. for the spot.
167
+ * Removed all $LOAD_PATH mangling for both the library and tests.
168
+ * Fixed a bug in the Net::Ping::HTTP class where a failed redirect did
169
+ not set the @exception and @warning instance variables properly.
170
+ * The PingStatus struct returned by Net::Ping::WMI is now frozen.
171
+ * The test-unit library was switched from a runtime dependency to a
172
+ development dependency.
173
+ * Added the :gem Rake task that builds a gem.
174
+ * Updated the :gem_install task to use the :gem task as a prerequisite.
175
+ * Updated the dependencies for MS Windows.
176
+ * The Rake test tasks are now more Rakish, e.g. test:tcp instead of test_tcp.
177
+ * Renamed example file names to avoid any potential confusion with actual
178
+ test files.
179
+
180
+ == 1.3.1 - 22-Jul-2009
181
+ * Removed class aliases, e.g. use Ping::External, not PingExternal.
182
+ * Minor code change to eliminate a warning that popped up in 1.9.x.
183
+ * The win32-open3 library is removed as a dependency for Ruby 1.9.x.
184
+ * Changed license to Artistic 2.0.
185
+ * Some gemspec and README updates.
186
+
187
+ == 1.3.0 - 19-May-2009
188
+ * Added the Ping::WMI class for MS Windows. This class encapsulates the
189
+ Win32_PingStatus WMI class. Unlike other ping methods, this one returns
190
+ a struct that contains various bits of information.
191
+ * The Net::Ping::External class now ensures that handles opened by the open3
192
+ call are closed. Thanks go to Nick S. Kanakakorn for the spot and a
193
+ preliminary patch.
194
+ * The Net::Ping::ICMP class now explicitly closes the socket if the call to
195
+ the Socket.pack_sockaddr_in method fails.
196
+ * Some documentation updates.
197
+
198
+ == 1.2.3 - 13-Jan-2008
199
+ * Fixed a bug in the checksum private method where it would die on odd data
200
+ sizes. Thanks go to Jake Douglas for the spot.
201
+ * A Socket.get_sockaddr_in call in the Ping::ICMP class is no longer included
202
+ as part of the overall ping time. Thanks go again to Jake Douglas for
203
+ the spot.
204
+ * Added data_size tests to the Ping::ICMP test suite.
205
+ * Renamed and updated the test files. The test-unit 2.x gem is now a
206
+ prerequisite as a result.
207
+
208
+ == 1.2.2 - 22-Jan-2008
209
+ * Bug fix for Ping::External where it was not honoring the timeout value.
210
+ Thanks go to Chris Morris for the spot and the patch.
211
+ * Bug fix for Ping::External where non-English output could cause false
212
+ positives on MS Windows Vista or later. This library now requires the
213
+ windows-pr library on MS Windows systems as a result.
214
+ * Added the Ping::UDP.service_check and Ping::UDP.service_check= class
215
+ methods. This method controls whether or not Errno::ECONNREFUSED or
216
+ Errno::ECONNRESET are considered successful pings or not.
217
+ * The Ping::HTTP class no longer uses the resolv-replace library on MS Windows
218
+ because it was (ironically) causing timeouts.
219
+ * Changed the Ping::TCP.econnrefused method to Ping::TCP.service_check. I
220
+ changed it because I now use a similar method in Ping::UDP, but that handles
221
+ more than Errno::ECONNREFUSED. An alias is provided to provide backwards
222
+ compatibility, but it is considered deprecated and will be removed in the
223
+ 1.3.0 release.
224
+ * Removed the install.rb file. The Rakefile now handles installation.
225
+
226
+ == 1.2.1 - 6-Apr-2007
227
+ * For the Ping::External class, if a ping attempt results in 100% packet loss
228
+ it is now considered a failed ping, regardless of whether or not an error
229
+ was sent to stdout.
230
+ * Fixed the Ping::External class for OS X.
231
+ * Added a Rakefile. Installation and testing should now be run via Rake tasks.
232
+ * Minor fix for the Ping::ICMP class where I had accidentally dup'd some
233
+ aliases. This was harmless, but did cause warnings with -w.
234
+
235
+ == 1.2.0 - 5-Dec-2006
236
+ * Internal reorganization - each class now lives in its own file.
237
+ * Added the Ping::ICMP class. Thanks go to Jos Backus for contributing a
238
+ large part of the code.
239
+ * The host argument is now optional in the constructor. You can now specify
240
+ it in the ping method instead. Note that it must be specified in one place
241
+ or the other.
242
+ * Each PingXXX class is now Ping::XXX instead. However, class name aliases
243
+ have been setup for backwards compatibility for now.
244
+ * The constructor for each Ping types now yields self.
245
+ * Added the pingecho alias for the ping method for each Ping type.
246
+ * Added the Ping::HTTP#follow_redirect accessor.
247
+ * The Ping::HTTP#ping method now honors the timeout value.
248
+ * The Ping::HTTP class now follows redirects automatically, though this is
249
+ configurable with the follow_redirect accessor.
250
+ * The Ping::TCP.ecr and Ping::TCP.ecr= methods are now true class method
251
+ aliases (they were just wrappers previously).
252
+ * The Ping::UDP class now enforces a 64 character limit on data that can be
253
+ sent on a udp ping.
254
+ * Updated the gemspec. Specifically, MS Windows now has a dependency on
255
+ the win32-open3 package.
256
+ * Added inline rdoc.
257
+
258
+ == 1.1.1 - 15-Jun-2006
259
+ * Fixed a bug in PingTCP (bad variable name). Thanks go to Anoop Chandran
260
+ for the spot.
261
+ * Minor variable name refactoring.
262
+ * Minor test updates.
263
+
264
+ == 1.1.0 - 17-Jul-2005
265
+ * Fixed a bug in the PingHTTP#ping method where I was accidentally passing
266
+ the timeout value instead of the port number as the third argument to
267
+ Net::HTTP.get_response.
268
+ * The PingHTTP.new method now has a default port of 80.
269
+ * Minor doc update for PingHTTP.new.
270
+
271
+ == 1.0.1 - 22-Jun-2005
272
+ * Bug fix for the install.rb file. The gem is unaffected.
273
+
274
+ == 1.0.0 - 14-Jun-2005
275
+ * Renamed project from net-pingsimple to just net-ping.
276
+ * Added a PingHTTP subclass.
277
+ * Moved project to RubyForge.
278
+ * Added a gemspec.
279
+
280
+ == 0.3.1 - 9-Apr-2005
281
+ * Updated PingExternal to use win32/open3 on Win32 platforms.
282
+ * Minor error handling change for the PingSimple.econnrefused= method. It now
283
+ raises an ArgumentError if any values other than true or false are passed.
284
+ * PingSimple#warning and PingSimple#exception are now read-only methods.
285
+ * The warning and exception attributes are now reset to nil between each call
286
+ to ping.
287
+ * The data and data= methods are now unique to the PingUDP class.
288
+ * The time and time= methods have been changed to timeout and timeout=,
289
+ respectively.
290
+ * Removed the pingsimple.rd and pingsimple.html files. The pingsimple.txt file
291
+ has been reorganized and is now rdoc friendly.
292
+ * Added a few sample programs under the 'examples' directory.
293
+ * Some minor test updates and changes.
294
+ * Removed the INSTALL file. That information is now in the README file.
295
+ * Now requires Ruby 1.8.0 or later.
296
+
297
+ == 0.3.0 - 12-Feb-2004
298
+ * Fixed ping string for PingExternal class based on platform. The old
299
+ string was really only good for Linux and *BSD.
300
+ * Added Win32 support (requires win32_popen package).
301
+ * Added warranty info.
302
+
303
+ == 0.2.3 - 12-Aug-2003
304
+ * Fixed a bug in PingExternal that could consume file descriptors if used in a loop
305
+ * Added some initialization to avoid -w warnings
306
+ * Removed VERSION() class method. Use the constant instead
307
+ * Modified test suite slightly
308
+ * Moved rd2 docs to doc directory
309
+
310
+ == 0.2.2 - 3-Apr-2003
311
+ * Fixed handling of stdout in PingExternal
312
+
313
+ == 0.2.1 - 27-Mar-2003
314
+ * Fixed major bug with PingExternal class with regards to down hosts
315
+ * Exceptions and warnings from PingExternal are now chomp'd
316
+ * Modified test suite
317
+ * Doc updates
318
+
319
+ == 0.2.0 - 14-Feb-2003
320
+ * The default behavior of PingTCP with regards to ECONNREFUSED is now
321
+ configurable
322
+ * Added a VERSION constant and method (to the base class)
323
+ * Added a test suite (for those with testunit installed)
324
+ * Doc changes, rearrangement and general cleanup
325
+ * Manifest is now MANIFEST
326
+ * Added an INSTALL file
327
+
328
+ == 0.1.0 - 9-Dec-2002
329
+ * Added ping? alias for ping method
330
+ * Warnings now handled separately
331
+ * Corrected a mis-named variable in Ping::External
332
+ * Fixed the install.rb file
333
+ * Updated and added docs
334
+ * Renamed tarball to net-pingsimple to reflect RAA naming convention
335
+
336
+ == 0.0.1a
337
+ * Did this release ever happen?
338
+
339
+ == 0.0.1
340
+ * Initial release.