jugyo-termtter 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.2'
13
+ VERSION = '0.2.3'
14
14
 
15
15
  class Client
16
16
 
@@ -5,7 +5,7 @@ Termtter::Client.add_hook do |statuses, event|
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
7
  status_text.gsub!("\n", '')
8
- "<b>#{s.user_screen_name}</b> <span font=\"9.0\">#{status_text}</span>"
8
+ "<b>#{s.user_screen_name}:</b> <span font=\"9.0\">#{status_text}</span>"
9
9
  }.join("\n")
10
10
 
11
11
  text += "\n<a href=\"http://twitter.com/\">more…</a>" if statuses.size > max
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo