tw 0.1.0 → 0.1.1

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.
Files changed (4) hide show
  1. data/History.txt +5 -1
  2. data/lib/tw/app/main.rb +8 -0
  3. data/lib/tw.rb +1 -1
  4. metadata +2 -2
data/History.txt CHANGED
@@ -1,4 +1,8 @@
1
- === 0.0.4 2012-10-04
1
+ === 0.1.1 2012-10-04
2
+
3
+ * command option detail on help
4
+
5
+ === 0.1.0 2012-10-04
2
6
 
3
7
  * show direct messages : --dm
4
8
  * create direct message : --dm:to=USERNAME
data/lib/tw/app/main.rb CHANGED
@@ -58,6 +58,14 @@ module Tw::App
58
58
 
59
59
  if @parser.has_option? :help
60
60
  STDERR.puts @parser.help
61
+ STDERR.puts
62
+ STDERR.puts "e.g."
63
+ STDERR.puts "tweet tw hello world"
64
+ STDERR.puts "read tw @username"
65
+ STDERR.puts " tw @username @user2 @user2/listname"
66
+ STDERR.puts " tw --search=ruby"
67
+ STDERR.puts " tw --dm:to=username \"hello!\""
68
+ STDERR.puts " echo 'hello' | tw --pipe"
61
69
  on_exit
62
70
  end
63
71
 
data/lib/tw.rb CHANGED
@@ -14,7 +14,7 @@ require 'tw/client/request'
14
14
  require 'tw/client/error'
15
15
 
16
16
  module Tw
17
- VERSION = '0.1.0'
17
+ VERSION = '0.1.1'
18
18
  class Conf
19
19
  REQUIRE_VERSION = '0.1.0'
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: -3893906850154543404
210
+ hash: 945180289423209762
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  none: false
213
213
  requirements: