net-ping 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.3.4 - 25-Jun-2010
2
+ * Fixed a dumb platform bug. Thanks go to Jason Frey for the spot.
3
+
1
4
  == 1.3.3 - 21-Jun-2010
2
5
  * Bug fixes for JRuby on MS Windows. The code now explicitly checks for JRuby
3
6
  in a few places to ensure it doesn't try to load unsupported libraries
@@ -11,7 +11,7 @@ require File.join(File.dirname(__FILE__), 'ping/external')
11
11
  require File.join(File.dirname(__FILE__), 'ping/http')
12
12
 
13
13
  if Config::CONFIG['host_os'] =~ /msdos|mswin|cygwin|mingw|win32/i &&
14
- JAVA_PLATFORM != 'java'
14
+ RUBY_PLATFORM != 'java'
15
15
  then
16
16
  require File.join(File.dirname(__FILE__), 'ping/wmi')
17
17
  end
@@ -10,7 +10,7 @@ module Net
10
10
  #
11
11
  class Ping
12
12
  # The version of the net-ping library.
13
- VERSION = '1.3.3'
13
+ VERSION = '1.3.4'
14
14
 
15
15
  # The host to ping. In the case of Ping::HTTP, this is the URI.
16
16
  attr_accessor :host
@@ -3,7 +3,7 @@ require 'rbconfig'
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'net-ping'
6
- gem.version = '1.3.3'
6
+ gem.version = '1.3.4'
7
7
  gem.license = 'Artistic 2.0'
8
8
  gem.author = 'Daniel J. Berger'
9
9
  gem.email = 'djberg96@gmail.com'
@@ -21,6 +21,6 @@ end
21
21
 
22
22
  class TC_Net_Ping < Test::Unit::TestCase
23
23
  def test_net_ping_version
24
- assert_equal('1.3.3', Net::Ping::VERSION)
24
+ assert_equal('1.3.4', Net::Ping::VERSION)
25
25
  end
26
26
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 3
9
- version: 1.3.3
8
+ - 4
9
+ version: 1.3.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel J. Berger
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-21 00:00:00 -06:00
17
+ date: 2010-06-25 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency