twitter2jabber 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to twitter2jabber version 0.1.5
5
+ This documentation refers to twitter2jabber version 0.1.6
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -222,8 +222,8 @@ class Twitter2Jabber
222
222
  end
223
223
 
224
224
  def process_html(text)
225
- text.gsub(/(?=\A|\W)@(\w+)/, '@<a href="http://twitter.com/\2">\2</a>').
226
- gsub(/(?=\A|\W)(#\w+)/, '<a href="http://search.twitter.com/search?q=\1">\1</a>')
225
+ text.gsub(/(?=\A|\W)@(\w+)/, '@<a href="http://twitter.com/\1">\1</a>').
226
+ gsub(/(?=\A|\W)#(\w+)/, '<a href="http://search.twitter.com/search?q=%23\1">#\1</a>')
227
227
  end
228
228
 
229
229
  def process_text(text)
@@ -4,7 +4,7 @@ class Twitter2Jabber
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- TINY = 5
7
+ TINY = 6
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter2jabber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille