percy 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/percy.rb +5 -1
  3. data/lib/percylogger.rb +1 -1
  4. metadata +1 -1
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = Percy 0.0.3
1
+ = Percy 0.0.4
2
2
 
3
3
  == Configuring the bot
4
4
 
data/lib/percy.rb CHANGED
@@ -8,7 +8,7 @@ require 'thread'
8
8
  Thread.abort_on_exception = true
9
9
 
10
10
  class Percy
11
- VERSION = 'Percy 0.0.3 (http://github.com/tbuehlmann/percy)'
11
+ VERSION = 'Percy 0.0.4 (http://github.com/tbuehlmann/percy)'
12
12
 
13
13
  Config = Struct.new(:server, :port, :password, :nick, :username, :verbose, :logging)
14
14
 
@@ -378,6 +378,10 @@ class Percy
378
378
  end
379
379
  end
380
380
 
381
+ def nick
382
+ @config.nick
383
+ end
384
+
381
385
  # connect!
382
386
  def connect
383
387
  begin
data/lib/percylogger.rb CHANGED
@@ -24,7 +24,7 @@ class PercyLogger
24
24
  File.new(@filename, 'w+')
25
25
  end
26
26
 
27
- @file = File.open(@filename, 'w+')
27
+ @file = File.open(@filename, 'a+')
28
28
  @file.sync = true
29
29
  end
30
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Tobias B\xC3\xBChlmann"