ronimopi 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ronimopi.rb +7 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -17,8 +17,14 @@
17
17
  require 'isaac/bot'
18
18
  CFGDIR=File::join(ENV['HOME'], '.config', 'ronimopi')
19
19
 
20
- $ronimopi = Isaac::Bot.new do
20
+ # add start_with? to string unless there
21
+ class String
22
+ def start_with? pfx
23
+ return slice(0, pfx.length) == pfx
24
+ end
25
+ end unless String.method_defined? "start_with?"
21
26
 
27
+ $ronimopi = Isaac::Bot.new do
22
28
  @channels = []
23
29
  @owner = ''
24
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronimopi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilkka Laukkanen