smfbot 1.1.0 → 1.1.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.md +3 -3
  2. data/lib/smfbot.rb +1 -0
  3. metadata +2 -2
data/README.md CHANGED
@@ -25,9 +25,9 @@ IRC bot engine build for `#smf.sh` and related channels, quite similar to [cinch
25
25
  - "#my-test-channel"
26
26
  plugins:
27
27
  "Cinch::Plugins::Identify":
28
- type: :nickserv
29
- username: "user"
30
- password: "password"
28
+ :type: :nickserv
29
+ :username: "user"
30
+ :password: "password"
31
31
  "Cinch::Plugins::YamlMemo":
32
32
  "Cinch::Plugins::UrlScraper":
33
33
 
data/lib/smfbot.rb CHANGED
@@ -31,6 +31,7 @@ class SmfBot
31
31
  end
32
32
 
33
33
  def start
34
+ Kernel.trap('INT') { @bot.quit("SMFBOT - Cinch #{Cinch::VERSION}") }
34
35
  @bot.start
35
36
  end
36
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smfbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-27 00:00:00.000000000 Z
12
+ date: 2012-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cinch