net-tnsping 1.3.0 → 1.3.1

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,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.
@@ -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
- VERSION = '1.3.0'
13
+ # The version of the net-tnsping library.
14
+ VERSION = '1.3.1'
9
15
 
10
16
  # Database name.
11
17
  attr_accessor :db
@@ -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.0'
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.add_dependency('test-unit', '>= 2.0.3')
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
@@ -26,7 +26,7 @@ class TC_TNS_Ping < Test::Unit::TestCase
26
26
  end
27
27
 
28
28
  def test_version
29
- assert_equal('1.3.0', Ping::TNS::VERSION)
29
+ assert_equal('1.3.1', Ping::TNS::VERSION)
30
30
  end
31
31
 
32
32
  def test_db_get
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.0
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-07-22 00:00:00 -06:00
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: :runtime
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.4
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