ruby_gntp 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_gntp.rb +2 -2
- metadata +1 -1
data/lib/ruby_gntp.rb
CHANGED
@@ -41,7 +41,7 @@ class GNTP
|
|
41
41
|
attr_reader :message if $DEBUG
|
42
42
|
|
43
43
|
RUBY_GNTP_NAME = 'ruby_gntp'
|
44
|
-
RUBY_GNTP_VERSION = '0.2.
|
44
|
+
RUBY_GNTP_VERSION = '0.2.2'
|
45
45
|
|
46
46
|
def initialize(app_name = 'Ruby/GNTP', host = 'localhost', password = '', port = 23053)
|
47
47
|
@app_name = app_name
|
@@ -268,7 +268,7 @@ end
|
|
268
268
|
#----------------------------
|
269
269
|
# self test code
|
270
270
|
if __FILE__ == $0
|
271
|
-
host = ARGV[0] || '
|
271
|
+
host = ARGV[0] || 'localhost'
|
272
272
|
passwd = ARGV[1] || ''
|
273
273
|
|
274
274
|
#--- Use standard notification method ('register' first then 'notify')
|