net-tnsping 1.0.0 → 1.1.0
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 +5 -0
- data/README +1 -1
- data/lib/net/tnsping.rb +2 -2
- data/test/tc_tns_ping.rb +2 -2
- metadata +12 -4
data/CHANGES
CHANGED
data/README
CHANGED
data/lib/net/tnsping.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
require "dbi"
|
2
|
-
require "net/
|
2
|
+
require "net/ping"
|
3
3
|
|
4
4
|
module Net
|
5
5
|
class TNSPingError < StandardError; end
|
6
6
|
class TNSPing < PingTCP
|
7
7
|
|
8
|
-
VERSION = "1.
|
8
|
+
VERSION = "1.1.0"
|
9
9
|
|
10
10
|
attr_accessor :db, :dsn, :tns_file, :host, :tns_admin
|
11
11
|
attr_accessor :oracle_home, :driver, :timeout
|
data/test/tc_tns_ping.rb
CHANGED
@@ -20,12 +20,12 @@ include Net
|
|
20
20
|
|
21
21
|
class TC_TNSPing < Test::Unit::TestCase
|
22
22
|
def setup
|
23
|
-
@db = "
|
23
|
+
@db = "changme"
|
24
24
|
@tp = TNSPing.new(@db)
|
25
25
|
end
|
26
26
|
|
27
27
|
def test_version
|
28
|
-
assert_equal("1.
|
28
|
+
assert_equal("1.1.0", TNSPing::VERSION)
|
29
29
|
end
|
30
30
|
|
31
31
|
def test_db
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
|
|
3
3
|
specification_version: 1
|
4
4
|
name: net-tnsping
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date: 2005-06-
|
6
|
+
version: 1.1.0
|
7
|
+
date: 2005-06-16
|
8
8
|
summary: A package for pinging Oracle listeners and databases
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -44,5 +44,13 @@ extensions: []
|
|
44
44
|
|
45
45
|
requirements: []
|
46
46
|
|
47
|
-
dependencies:
|
48
|
-
|
47
|
+
dependencies:
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: net-ping
|
50
|
+
version_requirement:
|
51
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 1.0.0
|
56
|
+
version:
|