jugyo-termtter 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/termtter/stdout.rb +1 -1
  2. data/lib/termtter.rb +5 -5
  3. metadata +1 -1
@@ -13,7 +13,7 @@ Termtter::Client.add_hook do |statuses, event|
13
13
  text = s['text'].gsub("\n", '')
14
14
  color_num = colors[s['user/screen_name'].hash % colors.size]
15
15
  status = "#{s['user/screen_name']}: #{text}"
16
- unless s['in_reply_to_status_id'].empty?
16
+ unless s['in_reply_to_status_id'] && s['in_reply_to_status_id'].empty?
17
17
  status += " (reply to #{s['in_reply_to_status_id']})"
18
18
  end
19
19
 
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.1.3'
13
+ VERSION = '0.2.0'
14
14
 
15
15
  class Client
16
16
 
@@ -183,13 +183,13 @@ module Termtter
183
183
  puts <<-EOS
184
184
  exit Exit
185
185
  help Print this help message
186
- list List the posts in your friends timeline
186
+ list,l List the posts in your friends timeline
187
187
  list USERNAME List the posts in the the given user's timeline
188
188
  pause Pause updating
189
- post TEXT Post a new message
189
+ update,u TEXT Post a new message
190
190
  resume Resume updating
191
- replies List the most recent @replies for the authenticating user
192
- search TEXT Search for Twitter
191
+ replies,r List the most recent @replies for the authenticating user
192
+ search,s TEXT Search for Twitter
193
193
  show ID Show a single status
194
194
  update TEXT Update friends timeline
195
195
  EOS
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.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo