sponge 0.3.0 → 0.3.2

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.
@@ -6,4 +6,4 @@ bot = Sponge::Bot.new('irc.yourserver.net',
6
6
  :users => {'foo' => 'bar'},
7
7
  )
8
8
 
9
- bot.start
9
+ bot.run
@@ -1,7 +1,7 @@
1
1
  module Sponge
2
2
  MAJOR = 0
3
3
  MINOR = 3
4
- TINY = 0
4
+ TINY = 2
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join('.')
7
7
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Lee 'injekt' Jarvis
@@ -50,7 +50,6 @@ files:
50
50
  - lib/proto/plugins/log.rb
51
51
  - lib/proto/plugins/logout.rb
52
52
  - lib/proto/plugins/login.rb
53
- - lib/proto/plugins/seen.rb
54
53
  - lib/proto/plugins/help.rb
55
54
  - lib/proto/plugins/say.rb
56
55
  - lib/proto/sponge.rb
@@ -1,20 +0,0 @@
1
- class SeenPlugin < Sponge::Plugin
2
- listen_to :privmsg
3
-
4
- def initialize(bot)
5
- @users = {}
6
- end
7
-
8
- def listen(message)
9
- @users[message.nick] = message
10
- end
11
-
12
- def reply(m, arg)
13
- if @users.include?(arg)
14
- m.reply "I have seen #{arg}"
15
- else
16
- m.reply "I haven't seen #{arg}"
17
- end
18
- end
19
-
20
- end