tkellem 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tkellem (0.9.6)
4
+ tkellem (0.9.7)
5
5
  activerecord (~> 4.0.0.rc2)
6
6
  eventmachine (~> 1.0.3)
7
7
  geoip (~> 1.3.2)
@@ -31,7 +31,9 @@ class Tkellem::Daemon
31
31
  opts.on("-p", "--path", "Use alternate folder for tkellem data (default #{options[:path]})") { |p| options[:path] = p }
32
32
  opts.on_tail("-h", "--help", "Show this message") { puts opts; exit }
33
33
  end
34
- op.parse!(@args)
34
+ unless @args.first == 'admin'
35
+ op.parse!(@args)
36
+ end
35
37
 
36
38
  FileUtils.mkdir_p(path)
37
39
  File.chmod(0700, path)
@@ -107,12 +107,12 @@ class IrcMessage < Struct.new(:prefix, :command, :args, :ctcp)
107
107
  # a one-on-one chat -- every client i've seen doesn't know how to
108
108
  # display messages from themselves here, so we fake it by just
109
109
  # adding an arrow and pretending the other user said it. shame.
110
- prefix = args.first
110
+ self.prefix = args.first
111
111
  args[0] = nick
112
112
  args[-1] = "-> #{args.last}"
113
113
  else
114
114
  # it's a room, we can just replay
115
- prefix = nick
115
+ self.prefix = nick
116
116
  end
117
117
  end
118
118
  end
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Tkellem
3
- VERSION = "0.9.6"
3
+ VERSION = "0.9.7"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkellem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
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: 2013-10-26 00:00:00.000000000 Z
12
+ date: 2013-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
@@ -186,7 +186,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: -467999767217112565
189
+ hash: -3455277409298414242
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  none: false
192
192
  requirements:
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  segments:
197
197
  - 0
198
- hash: -467999767217112565
198
+ hash: -3455277409298414242
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 1.8.23