Pulse 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/library/pulse/user.rb +1 -1
  2. metadata +2 -2
@@ -5,7 +5,7 @@ module Pulse
5
5
  attr_accessor :name, :user, :host, :channel
6
6
 
7
7
  def initialize name
8
- @name = name.sub /[\W\[\]]+/, ''
8
+ @name = name.sub /[^\w\[\]]+/, ''
9
9
  end
10
10
 
11
11
  def synchronize sender
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 5
9
- version: 1.2.5
8
+ - 6
9
+ version: 1.2.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mikkel Kroman