twsh 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/myun2/twitter_shell/shell.rb +10 -1
- data/lib/myun2/twitter_shell/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e9f136518a93d95a1a3da92ac0bbca0178a075a
|
4
|
+
data.tar.gz: d642edf18fc123fcadd849a95d6f3e6ae259f248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08f573a077d585a15576b161b7c8aa3ca753a6357718f1acfff14ac25811aceaab121609de772d9fa5c8021977658ae3d35cbcec4e130f7cd073f52572c9dbd7
|
7
|
+
data.tar.gz: a9feb8e57592fc60e3312ff8b7fff34cd3bf4139d0a96b0a42c4dfdbb5aa922988180d64818b6c68af8933f96aeb1130ec2455b56c1b4c802c1c3614e4d87b4e
|
data/README.md
CHANGED
@@ -26,6 +26,8 @@ Please access shown URL and permit, and input PIN code.
|
|
26
26
|
$ tweet <post text>
|
27
27
|
$ post <post text>
|
28
28
|
$ update <post text>
|
29
|
+
$ p <post text>
|
30
|
+
$ t <post text>
|
29
31
|
# Tweet post text.
|
30
32
|
|
31
33
|
$ ls
|
@@ -38,4 +40,7 @@ $ ls -l
|
|
38
40
|
|
39
41
|
$ tail
|
40
42
|
# Realtime show your home-timeline
|
43
|
+
|
44
|
+
$ tail &
|
45
|
+
# Realtime show your home-timeline & background waiting
|
41
46
|
```
|
@@ -26,7 +26,10 @@ module Myun2
|
|
26
26
|
|
27
27
|
def tweet(*params)
|
28
28
|
client.update params.join(" ")
|
29
|
+
puts "Post was successfully."
|
29
30
|
end
|
31
|
+
alias p tweet
|
32
|
+
alias t tweet
|
30
33
|
alias post tweet
|
31
34
|
alias update tweet
|
32
35
|
|
@@ -37,7 +40,13 @@ module Myun2
|
|
37
40
|
def tail(*params)
|
38
41
|
#ls(*params)
|
39
42
|
puts "Waiting for timelime..."
|
40
|
-
|
43
|
+
if params[0] == '&'
|
44
|
+
@tail_thread = Thread.start do
|
45
|
+
Tail.new(@profile.data, *params)
|
46
|
+
end
|
47
|
+
else
|
48
|
+
Tail.new(@profile.data, *params)
|
49
|
+
end
|
41
50
|
end
|
42
51
|
|
43
52
|
def version
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twsh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- myun2
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|