tkellem 0.7.0 → 0.7.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -54,7 +54,7 @@ module BouncerConnection
54
54
  return
55
55
  end
56
56
 
57
- unless bouncer.do_auth(conn_name, @password, irc_server)
57
+ unless bouncer.do_auth(@nick, @password, irc_server)
58
58
  error!("bad auth, please check your password")
59
59
  @irc_server = @conn_name = @name = @backlog = nil
60
60
  return
@@ -93,13 +93,13 @@ module BouncerConnection
93
93
  when /pass/i
94
94
  @password = msg.args.first
95
95
  when /user/i
96
- conn_name, client_name = msg.args.last.strip.split(' ')
97
- connect(conn_name, client_name, @password)
96
+ @conn_name, @client_name = msg.args.last.strip.split(' ')
98
97
  when /nick/i
99
98
  if connected?
100
99
  irc_server.change_nick(msg.last)
101
100
  else
102
101
  @nick = msg.last
102
+ connect(@conn_name, @client_name, @password)
103
103
  end
104
104
  when /quit/i
105
105
  # DENIED
data/tkellem.gemspec ADDED
@@ -0,0 +1,57 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{tkellem}
8
+ s.version = "0.7.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Brian Palmer"]
12
+ s.date = %q{2010-11-18}
13
+ s.default_executable = %q{tkellem}
14
+ s.email = %q{brian@codekitchen.net}
15
+ s.executables = ["tkellem"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE",
18
+ "README.md"
19
+ ]
20
+ s.files = [
21
+ "LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "bin/tkellem",
26
+ "examples/config.yml",
27
+ "lib/tkellem.rb",
28
+ "lib/tkellem/backlog.rb",
29
+ "lib/tkellem/bouncer.rb",
30
+ "lib/tkellem/bouncer_connection.rb",
31
+ "lib/tkellem/irc_line.rb",
32
+ "lib/tkellem/irc_server.rb",
33
+ "spec/spec_helper.rb",
34
+ "tkellem.gemspec"
35
+ ]
36
+ s.homepage = %q{http://github.com/codekitchen/tkellem}
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = %q{1.3.7}
39
+ s.summary = %q{IRC bouncer with multi-client support}
40
+ s.test_files = [
41
+ "spec/spec_helper.rb"
42
+ ]
43
+
44
+ if s.respond_to? :specification_version then
45
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
+ s.specification_version = 3
47
+
48
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
+ s.add_runtime_dependency(%q<eventmachine>, [">= 0"])
50
+ else
51
+ s.add_dependency(%q<eventmachine>, [">= 0"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<eventmachine>, [">= 0"])
55
+ end
56
+ end
57
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 0
9
- version: 0.7.0
8
+ - 1
9
+ version: 0.7.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Palmer
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-17 00:00:00 -07:00
17
+ date: 2010-11-18 00:00:00 -07:00
18
18
  default_executable: tkellem
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -53,6 +53,7 @@ files:
53
53
  - lib/tkellem/irc_line.rb
54
54
  - lib/tkellem/irc_server.rb
55
55
  - spec/spec_helper.rb
56
+ - tkellem.gemspec
56
57
  has_rdoc: true
57
58
  homepage: http://github.com/codekitchen/tkellem
58
59
  licenses: []