net-tnsping 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/lib/net/tnsping.rb +7 -1
- data/net-tnsping.gemspec +2 -3
- data/test/test_net_tnsping.rb +1 -1
- metadata +4 -4
data/CHANGES
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 1.3.1 - 8-Aug-2009
|
2
|
+
* Switched test-unit from a runtime dependency to a development dependency.
|
3
|
+
* Minor documentation updates.
|
4
|
+
|
1
5
|
== 1.3.0 - 22-Jul-2009
|
2
6
|
* Removed the old constant aliases. Use Ping::TNS and Ping::TNS::Error.
|
3
7
|
* Added documentation for individual accessors.
|
data/lib/net/tnsping.rb
CHANGED
@@ -1,11 +1,17 @@
|
|
1
1
|
require 'dbi'
|
2
2
|
require 'net/ping'
|
3
3
|
|
4
|
+
# The Net module serves as a namespace only.
|
4
5
|
module Net
|
6
|
+
|
7
|
+
# The Ping::TNS class encapsulates the information and behavior of tns ping.
|
5
8
|
class Ping::TNS < Ping::TCP
|
9
|
+
|
10
|
+
# The error class typically raised if any of the Ping::TNS methods fail.
|
6
11
|
class Error < StandardError; end
|
7
12
|
|
8
|
-
|
13
|
+
# The version of the net-tnsping library.
|
14
|
+
VERSION = '1.3.1'
|
9
15
|
|
10
16
|
# Database name.
|
11
17
|
attr_accessor :db
|
data/net-tnsping.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
spec = Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'net-tnsping'
|
5
|
-
gem.version = '1.3.
|
5
|
+
gem.version = '1.3.1'
|
6
6
|
gem.license = 'Artistic 2.0'
|
7
7
|
gem.author = 'Daniel J. Berger'
|
8
8
|
gem.email = 'djberg96@gmail.com'
|
@@ -17,7 +17,7 @@ spec = Gem::Specification.new do |gem|
|
|
17
17
|
gem.extra_rdoc_files = ['CHANGES', 'MANIFEST', 'README']
|
18
18
|
|
19
19
|
gem.add_dependency('net-ping', '>= 1.0.0')
|
20
|
-
gem.
|
20
|
+
gem.add_development_dependency('test-unit', '>= 2.0.3')
|
21
21
|
|
22
22
|
gem.description = <<-EOF
|
23
23
|
The net-tnsping library provides a way to ping Oracle databases and
|
@@ -27,5 +27,4 @@ spec = Gem::Specification.new do |gem|
|
|
27
27
|
EOF
|
28
28
|
end
|
29
29
|
|
30
|
-
Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0
|
31
30
|
Gem::Builder.new(spec).build
|
data/test/test_net_tnsping.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-tnsping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-08 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: test-unit
|
27
|
-
type: :
|
27
|
+
type: :development
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
requirements: []
|
76
76
|
|
77
77
|
rubyforge_project: shards
|
78
|
-
rubygems_version: 1.3.
|
78
|
+
rubygems_version: 1.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 3
|
81
81
|
summary: A library for pinging Oracle listeners and databases
|