tkellem 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tkellem (0.9.5)
4
+ tkellem (0.9.6)
5
5
  activerecord (~> 4.0.0.rc2)
6
6
  eventmachine (~> 1.0.3)
7
7
  geoip (~> 1.3.2)
@@ -94,7 +94,7 @@ class IrcMessage < Struct.new(:prefix, :command, :args, :ctcp)
94
94
  def readdress_to(nick)
95
95
  privmsg = args.first[0] != '#'[0]
96
96
 
97
- if msg.prefix
97
+ if prefix
98
98
  # to this user
99
99
  if privmsg
100
100
  args[0] = nick
@@ -107,9 +107,9 @@ 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 = msg.args.first
110
+ prefix = args.first
111
111
  args[0] = nick
112
- args[-1] = "-> #{msg.args.last}"
112
+ args[-1] = "-> #{args.last}"
113
113
  else
114
114
  # it's a room, we can just replay
115
115
  prefix = nick
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Tkellem
3
- VERSION = "0.9.5"
3
+ VERSION = "0.9.6"
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.5
4
+ version: 0.9.6
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-25 00:00:00.000000000 Z
12
+ date: 2013-10-26 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: 4535993549696292820
189
+ hash: -467999767217112565
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: 4535993549696292820
198
+ hash: -467999767217112565
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 1.8.23