twtr 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/bin/twtr +1 -2
- data/lib/twtr/console.rb +2 -2
- data/lib/twtr/version.rb +1 -1
- data/test/test_twtr_console.rb +15 -16
- metadata +2 -2
data/History.txt
CHANGED
data/bin/twtr
CHANGED
data/lib/twtr/console.rb
CHANGED
@@ -25,13 +25,13 @@ SYNOPSIS
|
|
25
25
|
$ twtr ul -l "Tokyo, Japan" # => Update location.
|
26
26
|
|
27
27
|
SUBCMMAND
|
28
|
-
setting (reset) # (Re)Set twtr configuration
|
28
|
+
setting (reset) # (Re)Set twtr configuration.
|
29
29
|
friends_timeline (ft) # Show friends timeline.
|
30
30
|
putlic_timeline (pt) # Show public timeline.
|
31
31
|
user_timeline (ut) # Show user timeline. -i, --id option required.
|
32
32
|
replies (rp) # Show replies.
|
33
33
|
update (up) # Updates your status. -m, --message option required.
|
34
|
-
|
34
|
+
friends (fds) # Show friends. available -i, --id option.
|
35
35
|
update_location (ul) # Update location. -l, --location option required.
|
36
36
|
|
37
37
|
_TEXT_
|
data/lib/twtr/version.rb
CHANGED
data/test/test_twtr_console.rb
CHANGED
@@ -42,22 +42,21 @@ class TestTwtrConsole < Test::Unit::TestCase
|
|
42
42
|
|
43
43
|
end
|
44
44
|
|
45
|
-
def test_run()
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
end
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
end
|
45
|
+
# def test_run()
|
46
|
+
# ret = `#{TWTR_PATH} x`
|
47
|
+
# assert_equal("Unkown Subcommand [x]. Please type 'twtr -h'.\n", ret)
|
48
|
+
#
|
49
|
+
# end
|
50
|
+
#
|
51
|
+
# def test_help()
|
52
|
+
# ret = `#{TWTR_PATH} -h`
|
53
|
+
# assert_equal(true, ret.include?(Twtr::DESCRIPTION))
|
54
|
+
# end
|
55
|
+
#
|
56
|
+
# def test_version()
|
57
|
+
# ret = `#{TWTR_PATH} -v`
|
58
|
+
# assert_equal("twtr 0.1.2\n", ret)
|
59
|
+
# end
|
61
60
|
|
62
61
|
def test_unkown_subcommand
|
63
62
|
test_args = ["x"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twtr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Maruko
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-06-
|
12
|
+
date: 2008-06-28 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|