ceiling_cat 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ module CeilingCat
5
5
  if event.type == :chat
6
6
  super
7
7
  if match = self.class.list.find{|car| body =~ Regexp.new(Regexp.escape(car[:call]),true) }
8
- reply match[:url]
8
+ reply match[:response]
9
9
  return nil
10
10
  end
11
11
  end
@@ -13,7 +13,7 @@ module CeilingCat
13
13
  begin
14
14
  loop do
15
15
  begin
16
- Timeout::timeout(90) do
16
+ Timeout::timeout(60) do
17
17
  @campfire_room.listen do |event|
18
18
  begin
19
19
  if event[:type] != "TimestampMessage"
@@ -1,3 +1,3 @@
1
1
  module CeilingCat
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ceiling_cat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Warren