icb 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.txt +2 -2
  2. data/lib/icb.rb +13 -13
  3. metadata +8 -6
data/README.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  = ICB
2
2
 
3
- * http://icb.rubyforge.org
3
+ * http://github.com/dsully/ruby-icb
4
4
 
5
5
  == DESCRIPTION:
6
6
 
@@ -38,7 +38,7 @@ end
38
38
 
39
39
  (The MIT License)
40
40
 
41
- Copyright (c) 2008 Dan Sully
41
+ Copyright (c) 2008-2009 Dan Sully
42
42
 
43
43
  Permission is hereby granted, free of charge, to any person obtaining
44
44
  a copy of this software and associated documentation files (the
data/lib/icb.rb CHANGED
@@ -2,7 +2,7 @@ class ICB
2
2
  require 'socket'
3
3
  require 'logger'
4
4
 
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
 
7
7
  # Port of Perl's Net::ICB by Dan Sully
8
8
 
@@ -16,23 +16,23 @@ class ICB
16
16
 
17
17
  # Protocol definitions: all nice cleartext.
18
18
  DEL = "\001" # Packet argument delimiter.
19
- M_LOGIN = 'a' # login packet
19
+ M_LOGIN = 'a' # login packet
20
20
  M_LOGINOK = 'a' # login response
21
- M_OPEN = 'b' # open msg to group
21
+ M_OPEN = 'b' # open msg to group
22
22
  M_PERSONAL = 'c' # personal message
23
- M_STATUS = 'd' # group status update message
24
- M_ERROR = 'e' # error message
25
- M_ALERT = 'f' # important announcement
23
+ M_STATUS = 'd' # group status update message
24
+ M_ERROR = 'e' # error message
25
+ M_ALERT = 'f' # important announcement
26
26
  M_EXIT = 'g' # quit packet from server
27
- M_COMMAND = 'h' # send a command from user
28
- M_CMDOUT = 'i' # output from a command
29
- M_PROTO = 'j' # protocol/version information
30
- M_BEEP = 'k' # beeps
27
+ M_COMMAND = 'h' # send a command from user
28
+ M_CMDOUT = 'i' # output from a command
29
+ M_PROTO = 'j' # protocol/version information
30
+ M_BEEP = 'k' # beeps
31
31
  M_PING = 'l' # ping packet from server
32
- M_PONG = 'm' # return for ping packet
32
+ M_PONG = 'm' # return for ping packet
33
33
  # Archaic packets: some sort of echo scheme?
34
- M_OOPEN = 'n' # for own open messages
35
- M_OPERSONAL= 'o' # for own personal messages
34
+ M_OOPEN = 'n' # for own open messages
35
+ M_OPERSONAL= 'o' # for own personal messages
36
36
 
37
37
  attr_reader :debug
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Sully
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-06 00:00:00 -07:00
12
+ date: 2009-11-21 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.7.0
23
+ version: 1.8.3
24
24
  version:
25
25
  description: Port of Perl's Net::ICB module for accessing the Internet Citizen's Band chat server protocol.
26
26
  email:
@@ -41,7 +41,9 @@ files:
41
41
  - lib/icb.rb
42
42
  - test/test_icb.rb
43
43
  has_rdoc: true
44
- homepage: http://icb.rubyforge.org
44
+ homepage: http://github.com/dsully/ruby-icb
45
+ licenses: []
46
+
45
47
  post_install_message:
46
48
  rdoc_options:
47
49
  - --main
@@ -63,9 +65,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
65
  requirements: []
64
66
 
65
67
  rubyforge_project: icb
66
- rubygems_version: 1.2.0
68
+ rubygems_version: 1.3.5
67
69
  signing_key:
68
- specification_version: 2
70
+ specification_version: 3
69
71
  summary: Port of Perl's Net::ICB module for accessing the Internet Citizen's Band chat server protocol.
70
72
  test_files:
71
73
  - test/test_icb.rb