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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67e3d45720cc99c248922c72d67b4ef9e2c30140
4
- data.tar.gz: 8745299b931c12965e259655bcd2570c60413585
3
+ metadata.gz: 7e9f136518a93d95a1a3da92ac0bbca0178a075a
4
+ data.tar.gz: d642edf18fc123fcadd849a95d6f3e6ae259f248
5
5
  SHA512:
6
- metadata.gz: 495f527b0338ec3aa932e2ffd6fb37a43eeae64828673dedddac7626faf27b0422b9368ad9bbda14dcfe7c4aa3c98fc2c31c58e0cd05193cf5829d0bef5c2adc
7
- data.tar.gz: 86890b03b5cad054236676ab433de61f0a0a10fe72a4ee04aa96b71eb1c0452e7d82e329ef4ccc3c2aed42124c3562affb97916d69cca1864635ad9a26c5edc5
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
- Tail.new(@profile.data, *params)
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
@@ -1,5 +1,5 @@
1
1
  module Myun2
2
2
  class TwitterShell
3
- VERSION = "0.4.5"
3
+ VERSION = "0.4.6"
4
4
  end
5
5
  end
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.5
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-12 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twitter