botsy 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. data/lib/botsy.rb +4 -0
  2. data/lib/botsy/version.rb +1 -1
  3. metadata +2 -2
@@ -7,6 +7,10 @@ module Botsy
7
7
 
8
8
  class Bot
9
9
 
10
+ def self.fork(*args, &block)
11
+ Kernel.fork { self.new(*args, &block) }
12
+ end
13
+
10
14
  def initialize(subdomain, token, room_id, &block)
11
15
  @subdomain = subdomain
12
16
  @room_id = room_id
@@ -1,5 +1,5 @@
1
1
  module Botsy
2
2
 
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
 
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: botsy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Crepezzi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-14 00:00:00 -05:00
13
+ date: 2011-02-15 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency