tw 0.4.4 → 0.4.5
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 +4 -4
- data/History.txt +6 -0
- data/lib/tw/app/main.rb +1 -1
- data/lib/tw/app/opt_parser.rb +1 -1
- data/lib/tw/version.rb +1 -1
- data/test/test_tw.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 581eb62dfa7cad33cce018e20f5727649f9ce78e
|
|
4
|
+
data.tar.gz: e458f561064a25aa08095e5094d89d8a68b2318e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 716ef1d6263c8b1c2d5607cd27896217c02cd5594c14274925e8b2112d08f42781171d2d9aaa23c8070837a7dc1ac2f3beee67a0d7a0a78a665f543c065d88c1
|
|
7
|
+
data.tar.gz: 8200f1d8375a21fe1a9a2f7fa0dcbcdaa2496e541648f469efe57bec99d8b3e32c90c40b9125b1abe680b815f258f1da8f38f65c9c1e4dc452d5d24037bf2906
|
data/History.txt
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
=== 0.4.5 2013-07-27
|
|
2
|
+
|
|
3
|
+
* fix listname regex, could contain '-'
|
|
4
|
+
* thank you for contributing @takano32
|
|
5
|
+
|
|
1
6
|
=== 0.4.4 2013-07-14
|
|
2
7
|
|
|
3
8
|
* silent if --format option
|
|
@@ -23,6 +28,7 @@
|
|
|
23
28
|
=== 0.3.9 2013-03-05
|
|
24
29
|
|
|
25
30
|
* use http://api.twitter.com to auth
|
|
31
|
+
* thank you for contributing @tdksk
|
|
26
32
|
|
|
27
33
|
=== 0.3.8 2013-01-04
|
|
28
34
|
|
data/lib/tw/app/main.rb
CHANGED
|
@@ -116,7 +116,7 @@ module Tw::App
|
|
|
116
116
|
Render.display Parallel.map(@parser.argv, :in_threads => @parser.argv.size){|arg|
|
|
117
117
|
if user = username?(arg)
|
|
118
118
|
res = client.user_timeline user
|
|
119
|
-
elsif (user, list =listname?(arg)) != false
|
|
119
|
+
elsif (user, list = listname?(arg)) != false
|
|
120
120
|
res = client.list_timeline(user, list)
|
|
121
121
|
end
|
|
122
122
|
res
|
data/lib/tw/app/opt_parser.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Tw::App
|
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
def listname?(arg)
|
|
9
|
-
arg =~ /^@[a-zA-Z0-9_]+\/[a-zA-Z0-9_]+$/ ? arg.scan(/^@([a-zA-Z0-9_]+)\/([a-zA-Z0-9_]+)$/)[0] : false
|
|
9
|
+
arg =~ /^@[a-zA-Z0-9_]+\/[a-zA-Z0-9_-]+$/ ? arg.scan(/^@([a-zA-Z0-9_]+)\/([a-zA-Z0-9_-]+)$/)[0] : false
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def request?(arg)
|
data/lib/tw/version.rb
CHANGED
data/test/test_tw.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tw
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sho Hashimoto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: twitter
|
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: '0'
|
|
193
193
|
requirements: []
|
|
194
194
|
rubyforge_project:
|
|
195
|
-
rubygems_version: 2.0.
|
|
195
|
+
rubygems_version: 2.0.5
|
|
196
196
|
signing_key:
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: CUI Twitter Client.
|