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 +14 -6
- data/CHANGES +320 -309
- data/Gemfile +2 -2
- data/README +62 -62
- data/Rakefile +94 -94
- data/doc/ping.txt +246 -246
- data/lib/net/ping.rb +17 -17
- data/lib/net/ping/external.rb +86 -74
- data/lib/net/ping/http.rb +171 -171
- data/lib/net/ping/icmp.rb +177 -178
- data/lib/net/ping/ping.rb +89 -89
- data/lib/net/ping/tcp.rb +102 -102
- data/net-ping.gemspec +39 -40
- data/test/test_net_ping.rb +35 -35
- data/test/test_net_ping_external.rb +138 -129
- data/test/test_net_ping_http.rb +230 -230
- data/test/test_net_ping_icmp.rb +186 -139
- data/test/test_net_ping_tcp.rb +105 -105
- data/test/test_net_ping_udp.rb +119 -119
- data/test/test_net_ping_wmi.rb +81 -81
- metadata +16 -18
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
-
*
|
3
|
-
|
4
|
-
for the
|
5
|
-
|
6
|
-
|
7
|
-
*
|
8
|
-
|
9
|
-
*
|
10
|
-
*
|
11
|
-
|
12
|
-
== 1.7.
|
13
|
-
* Fixed a bug in the Ping::
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
*
|
19
|
-
|
20
|
-
|
21
|
-
*
|
22
|
-
|
23
|
-
== 1.
|
24
|
-
* Fixed a bug in the
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
*
|
29
|
-
*
|
30
|
-
|
31
|
-
|
32
|
-
*
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
*
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
*
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
*
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
*
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
*
|
104
|
-
the
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
*
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
== 1.3.
|
119
|
-
* Fixed
|
120
|
-
|
121
|
-
|
122
|
-
*
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
== 1.3.
|
133
|
-
*
|
134
|
-
|
135
|
-
|
136
|
-
*
|
137
|
-
|
138
|
-
|
139
|
-
* The
|
140
|
-
*
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
*
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
*
|
151
|
-
*
|
152
|
-
|
153
|
-
*
|
154
|
-
*
|
155
|
-
|
156
|
-
|
157
|
-
*
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
* The
|
164
|
-
|
165
|
-
* Some
|
166
|
-
|
167
|
-
== 1.
|
168
|
-
*
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
the spot
|
173
|
-
|
174
|
-
*
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
was
|
199
|
-
*
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
*
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
*
|
217
|
-
*
|
218
|
-
|
219
|
-
* The
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
* Added
|
226
|
-
|
227
|
-
|
228
|
-
*
|
229
|
-
|
230
|
-
*
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
*
|
235
|
-
the
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
*
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
*
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
*
|
257
|
-
*
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
*
|
262
|
-
*
|
263
|
-
|
264
|
-
*
|
265
|
-
|
266
|
-
|
267
|
-
*
|
268
|
-
|
269
|
-
|
270
|
-
*
|
271
|
-
|
272
|
-
|
273
|
-
*
|
274
|
-
*
|
275
|
-
*
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
*
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
*
|
285
|
-
*
|
286
|
-
*
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
*
|
292
|
-
|
293
|
-
|
294
|
-
*
|
295
|
-
*
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
*
|
301
|
-
|
302
|
-
*
|
303
|
-
*
|
304
|
-
|
305
|
-
|
306
|
-
*
|
307
|
-
|
308
|
-
== 0.0
|
309
|
-
*
|
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.
|