net-ping 1.7.2-universal-mingw32 → 1.7.3-universal-mingw32

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