jugyo-termtter 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ Termtter::Client.add_hook do |statuses, event|
4
4
 
5
5
  text = statuses[0..(max - 1)].map{|s|
6
6
  status_text = s.text.gsub(%r{https?://[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+},'<a href="\0">\0</a>')
7
+ status_text.gsub!("\n", '')
7
8
  "<b>#{s.user_screen_name}</b> <span font=\"9.0\">#{status_text}</span>"
8
9
  }.join("\n")
9
10
 
data/lib/termtter.rb CHANGED
@@ -10,7 +10,7 @@ $:.unshift(File.dirname(__FILE__)) unless
10
10
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
11
11
 
12
12
  module Termtter
13
- VERSION = '0.2.1'
13
+ VERSION = '0.2.2'
14
14
 
15
15
  class Client
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jugyo-termtter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo