twsh 0.3.2 → 0.4.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 882457f4067329d734b42441ec8b72014a373062
4
- data.tar.gz: 54f2bf772aa84bfb3c0cf58f26ef6753500a4024
3
+ metadata.gz: 24834b86fff05996f38adaf1cb37a2bce681cf46
4
+ data.tar.gz: a101230727eb845e810bfad185c36f83a3043145
5
5
  SHA512:
6
- metadata.gz: 52fce3b9f48a518c884ed662574fd5f3159c87965f3390bc0f0a9f08e5f70af36338929287e5df615d691f03faede0df45d4ac3ef84d401fc00e0bd1b10e32b1
7
- data.tar.gz: 5044bf1bf05305676fe67c1f8464be640dcfb3dcffcf092e284741a7a43c5155e6c00b7f52b2fad362a1ee9a936f3d13060f00acd7af5ad73b87e5a13376c048
6
+ metadata.gz: 5429e70ef437988d945a689b5b37cf74f2a082303b7c803827540620de1efe0fba1af61bc1cafcb89b4baa18db5b477b4e57a5362d11b4fb31a634c78d5f319a
7
+ data.tar.gz: d95cacd919ab56ab318f58eb2e6808fd379ce63ab5c1fc1eba4c4630d32f2430410af0dbb43d97fc6cefb9682f136b43ccf9e860c32ed978ddb08536b14b9903
data/README.md CHANGED
@@ -24,10 +24,13 @@ Please access shown URL and permit, and input PIN code.
24
24
 
25
25
  ```
26
26
  $ tweet <post text>
27
+ $ post <post text>
28
+ $ update <post text>
27
29
  # Tweet post text.
28
30
 
29
31
  $ ls
30
32
  # Show your home-timeline (shown 30 charactors tweet text, and only 20 tweets count.)
33
+ # Option 'l': detail timeline (timestamp and user id, full tweet text)
31
34
 
32
35
  $ tail
33
36
  # Realtime show your home-timeline
data/bin/twsh CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'twsh'
4
- Twsh.new
4
+ Twsh.new(*ARGV)
@@ -13,6 +13,9 @@ module Myun2
13
13
  def initialize(*params)
14
14
  if @profile = Profile.load
15
15
  @client = Client.new(@profile.data)
16
+ if params && params.length > 0
17
+ self.send(*params)
18
+ end
16
19
  else
17
20
  puts "Please first login"
18
21
  end
@@ -1,5 +1,5 @@
1
1
  module Myun2
2
2
  class TwitterShell
3
- VERSION = "0.3.2"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - myun2