t 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5ed9426634f92209eda86924c8780723c1bde4a0
4
+ data.tar.gz: b5464b8bdb020faf0ccf773fa20211a97668c1ff
5
+ SHA512:
6
+ metadata.gz: e1376337924a2b7a1c5b372cfb99c4211ba652b358209ab130087df5840975091695e8173a39954e11248764f88931c6a2c553869f48008cb43ed5b9810da2ad
7
+ data.tar.gz: 8648a2acc2236667e3a11acecfa3d71eba1834bfcf6fa5a366bbf4f6400ba18c9e5bcfe15d4877ea4e62542f50337ae8e5d09ca887ebb3ef539539decb8bc4cf
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CONTRIBUTING.md CHANGED
@@ -16,10 +16,10 @@ Here are some ways *you* can contribute:
16
16
  * by refactoring code
17
17
  * by fixing [issues][]
18
18
  * by reviewing patches
19
- * [financially][pledgie]
19
+ * [financially][gittip]
20
20
 
21
21
  [issues]: https://github.com/sferik/t/issues
22
- [pledgie]: http://www.pledgie.com/campaigns/17330
22
+ [gittip]: https://www.gittip.com/sferik/
23
23
 
24
24
  ## Submitting an Issue
25
25
  We use the [GitHub issue tracker][issues] to track bugs and features. Before
data/README.md CHANGED
@@ -6,15 +6,13 @@
6
6
  [![Build Status](https://secure.travis-ci.org/sferik/t.png?branch=master)][travis]
7
7
  [![Dependency Status](https://gemnasium.com/sferik/t.png?travis)][gemnasium]
8
8
  [![Coverage Status](https://coveralls.io/repos/sferik/t/badge.png?branch=master)][coveralls]
9
- [![Pledgie](https://pledgie.com/campaigns/17330.png)][pledgie]
10
- [![Flattr](http://api.flattr.com/button/flattr-badge-large.png)][flattr]
9
+ [![Gittip](http://img.shields.io/gittip/sferik.png)][gittip]
11
10
 
12
11
  [gem]: https://rubygems.org/gems/t
13
12
  [travis]: http://travis-ci.org/sferik/t
14
13
  [gemnasium]: https://gemnasium.com/sferik/t
15
14
  [coveralls]: https://coveralls.io/r/sferik/t
16
- [pledgie]: http://www.pledgie.com/campaigns/17330
17
- [flattr]: http://flattr.com/thing/815001/sferikt-on-GitHub
15
+ [gittip]: https://www.gittip.com/sferik/
18
16
 
19
17
  #### A command-line power tool for Twitter.
20
18
  The CLI takes syntactic cues from the [Twitter SMS commands][sms], however it
@@ -167,7 +165,7 @@ example, send a user a direct message only if he already follows you:
167
165
  t leaders | xargs t unfollow
168
166
 
169
167
  #### Unfollow 10 people who haven't tweeted in the longest time
170
- t followings -l --sort=tweeted | head -10 | awk '{print $1}' | xargs t unfollow -i
168
+ t followings -l --sort=tweeted | head -10 | awk '{print $1}' | xargs t unfollow -i
171
169
 
172
170
  #### Twitter roulette: randomly follow someone who follows you (who you don't already follow)
173
171
  t groupies | shuf | head -1 | xargs t follow
data/lib/t/printable.rb CHANGED
@@ -156,7 +156,7 @@ module T
156
156
  when 'tweets'
157
157
  users.sort_by{|user| user.statuses_count.to_i}
158
158
  when 'tweeted'
159
- users.sort_by{|user| user.status.created_at rescue Time.at(0)}
159
+ users.sort_by{|user| user.status? ? user.status.created_at : Time.at(0)}
160
160
  else
161
161
  users.sort_by{|user| user.screen_name.downcase}
162
162
  end unless options['unsorted']
data/lib/t/version.rb CHANGED
@@ -14,7 +14,7 @@ module T
14
14
 
15
15
  # @return [Integer]
16
16
  def patch
17
- 0
17
+ 1
18
18
  end
19
19
 
20
20
  # @return [String, NilClass]
data/t.gemspec CHANGED
@@ -15,7 +15,6 @@ Gem::Specification.new do |spec|
15
15
  spec.author = "Erik Michaels-Ober"
16
16
  spec.bindir = 'bin'
17
17
  spec.cert_chain = ['certs/sferik.pem']
18
- spec.date = '2013-11-18'
19
18
  spec.description = %q{A command-line power tool for Twitter.}
20
19
  spec.email = 'sferik@gmail.com'
21
20
  spec.executables = %w(t)
metadata CHANGED
@@ -1,47 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
5
- prerelease:
4
+ version: 2.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Erik Michaels-Ober
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMakNDQWhhZ0F3SUJB
14
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE5TVE4d0RRWURWUVFEREFaelpt
15
- VnkKYVdzeEZUQVRCZ29Ka2lhSmsvSXNaQUVaRmdWbmJXRnBiREVUTUJFR0Nn
16
- bVNKb21UOGl4a0FSa1dBMk52YlRBZQpGdzB4TXpBeU1ETXhNREF5TWpkYUZ3
17
- MHhOREF5TURNeE1EQXlNamRhTUQweER6QU5CZ05WQkFNTUJuTm1aWEpwCmF6
18
- RVZNQk1HQ2dtU0pvbVQ4aXhrQVJrV0JXZHRZV2xzTVJNd0VRWUtDWkltaVpQ
19
- eUxHUUJHUllEWTI5dE1JSUIKSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4
20
- QU1JSUJDZ0tDQVFFQWwweDVkeDh1S3hpN1Rrckl1eUJVVEpWQgp2MW85M25V
21
- QjlqL3k0TTk2Z1Yycll3QWNpMUpQQnNlTmQ2RnliempvM1lHdUhsN0VRSHVT
22
- SE5hZjFwMmx4ZXcvCnk2MEpYSUpCQmdQY0RLL0tDUDROVUhvZm0wamZvWUQr
23
- SDV1TkpmSENOcTcvWnNUeE90RTNSYTkyczBCQ01UcG0Kd0JNTWxXUjVNdGRF
24
- aElZdUJPNFhobmVqWWdIMEwvN0JMMmx5bW50Vm5zci9hZ2RRb29qUUNOMUlR
25
- bXNSSnZyUgpkdVpSTzN0WnZvSW8xcEJjNEpFZWhEdXFDZXlCZ1BMT3FNb0t0
26
- UWxvbGQxVFFzMWtXVUJLN0tXTUZFaEtDL0tnCnp5ektSSFFvOXlEWXdPdllu
27
- Z29CTFkrVC9sd0NUNGR5c3NkaHpSYmZue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17
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl0x5dx8uKxi7TkrIuyBUTJVB
18
+ v1o93nUB9j/y4M96gV2rYwAci1JPBseNd6Fybzjo3YGuHl7EQHuSHNaf1p2lxew/
19
+ y60JXIJBBgPcDK/KCP4NUHofm0jfoYD+H5uNJfHCNq7/ZsTxOtE3Ra92s0BCMTpm
20
+ wBMMlWR5MtdEhIYuBO4XhnejYgH0L/7BL2lymntVnsr/agdQoojQCN1IQmsRJvrR
21
+ duZRO3tZvoIo1pBc4JEehDuqCeyBgPLOqMoKtQlold1TQs1kWUBK7KWMFEhKC/Kg
22
+ zyzKRHQo9yDYwOvYngoBLY+T/lwCT4dyssdhzRbfnxAhaKu4SAssIwaC01yVowID
23
+ AQABozkwNzAJBgNVHRMEAjAAMB0GA1UdDgQWBBS0ruDfRak5ci1OpDNX/ZdDEkIs
24
+ iTALBgNVHQ8EBAMCBLAwDQYJKoZIhvcNAQEFBQADggEBAHHSMs/MP0sOaLkEv4Jo
25
+ zvkm3qn5A6t0vaHx774cmejyMU+5wySxRezspL7ULh9NeuK2OhU+Oe3TpqrAg5TK
26
+ R8GQILnVu2FemGA6sAkPDlcPtgA6ieI19PZOF6HVLmc/ID/dP/NgZWWzEeqQKmcK
27
+ 2+HM+SEEDhZkScYekw4ZOe164ZtZG816oAv5x0pGitSIkumUp7V8iEZ/6ehr7Y9e
28
+ XOg4eeun5L/JjmjARoW2kNdvkRD3c2EeSLqWvQRsBlypHfhs6JJuLlyZPGhU3R/v
29
+ Sf3lVKpBCWgRpGTvy45XVpB+59y33PJmEuQ1PTEOYvQyao9UKMAAaAN/7qWQtjl0
30
+ hlw=
31
+ -----END CERTIFICATE-----
32
+ date: 2013-11-28 00:00:00.000000000 Z
40
33
  dependencies:
41
34
  - !ruby/object:Gem::Dependency
42
35
  name: launchy
43
36
  requirement: !ruby/object:Gem::Requirement
44
- none: false
45
37
  requirements:
46
38
  - - ~>
47
39
  - !ruby/object:Gem::Version
@@ -49,7 +41,6 @@ dependencies:
49
41
  type: :runtime
50
42
  prerelease: false
51
43
  version_requirements: !ruby/object:Gem::Requirement
52
- none: false
53
44
  requirements:
54
45
  - - ~>
55
46
  - !ruby/object:Gem::Version
@@ -57,7 +48,6 @@ dependencies:
57
48
  - !ruby/object:Gem::Dependency
58
49
  name: geokit
59
50
  requirement: !ruby/object:Gem::Requirement
60
- none: false
61
51
  requirements:
62
52
  - - ~>
63
53
  - !ruby/object:Gem::Version
@@ -65,7 +55,6 @@ dependencies:
65
55
  type: :runtime
66
56
  prerelease: false
67
57
  version_requirements: !ruby/object:Gem::Requirement
68
- none: false
69
58
  requirements:
70
59
  - - ~>
71
60
  - !ruby/object:Gem::Version
@@ -73,7 +62,6 @@ dependencies:
73
62
  - !ruby/object:Gem::Dependency
74
63
  name: htmlentities
75
64
  requirement: !ruby/object:Gem::Requirement
76
- none: false
77
65
  requirements:
78
66
  - - ~>
79
67
  - !ruby/object:Gem::Version
@@ -81,7 +69,6 @@ dependencies:
81
69
  type: :runtime
82
70
  prerelease: false
83
71
  version_requirements: !ruby/object:Gem::Requirement
84
- none: false
85
72
  requirements:
86
73
  - - ~>
87
74
  - !ruby/object:Gem::Version
@@ -89,7 +76,6 @@ dependencies:
89
76
  - !ruby/object:Gem::Dependency
90
77
  name: oauth
91
78
  requirement: !ruby/object:Gem::Requirement
92
- none: false
93
79
  requirements:
94
80
  - - ~>
95
81
  - !ruby/object:Gem::Version
@@ -97,7 +83,6 @@ dependencies:
97
83
  type: :runtime
98
84
  prerelease: false
99
85
  version_requirements: !ruby/object:Gem::Requirement
100
- none: false
101
86
  requirements:
102
87
  - - ~>
103
88
  - !ruby/object:Gem::Version
@@ -105,7 +90,6 @@ dependencies:
105
90
  - !ruby/object:Gem::Dependency
106
91
  name: retryable
107
92
  requirement: !ruby/object:Gem::Requirement
108
- none: false
109
93
  requirements:
110
94
  - - ~>
111
95
  - !ruby/object:Gem::Version
@@ -113,7 +97,6 @@ dependencies:
113
97
  type: :runtime
114
98
  prerelease: false
115
99
  version_requirements: !ruby/object:Gem::Requirement
116
- none: false
117
100
  requirements:
118
101
  - - ~>
119
102
  - !ruby/object:Gem::Version
@@ -121,9 +104,8 @@ dependencies:
121
104
  - !ruby/object:Gem::Dependency
122
105
  name: thor
123
106
  requirement: !ruby/object:Gem::Requirement
124
- none: false
125
107
  requirements:
126
- - - ! '>='
108
+ - - '>='
127
109
  - !ruby/object:Gem::Version
128
110
  version: 0.18.1
129
111
  - - <
@@ -132,9 +114,8 @@ dependencies:
132
114
  type: :runtime
133
115
  prerelease: false
134
116
  version_requirements: !ruby/object:Gem::Requirement
135
- none: false
136
117
  requirements:
137
- - - ! '>='
118
+ - - '>='
138
119
  - !ruby/object:Gem::Version
139
120
  version: 0.18.1
140
121
  - - <
@@ -143,7 +124,6 @@ dependencies:
143
124
  - !ruby/object:Gem::Dependency
144
125
  name: twitter
145
126
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
127
  requirements:
148
128
  - - ~>
149
129
  - !ruby/object:Gem::Version
@@ -151,7 +131,6 @@ dependencies:
151
131
  type: :runtime
152
132
  prerelease: false
153
133
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
134
  requirements:
156
135
  - - ~>
157
136
  - !ruby/object:Gem::Version
@@ -159,7 +138,6 @@ dependencies:
159
138
  - !ruby/object:Gem::Dependency
160
139
  name: bundler
161
140
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
141
  requirements:
164
142
  - - ~>
165
143
  - !ruby/object:Gem::Version
@@ -167,7 +145,6 @@ dependencies:
167
145
  type: :development
168
146
  prerelease: false
169
147
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
148
  requirements:
172
149
  - - ~>
173
150
  - !ruby/object:Gem::Version
@@ -262,27 +239,26 @@ files:
262
239
  homepage: http://sferik.github.com/t/
263
240
  licenses:
264
241
  - MIT
242
+ metadata: {}
265
243
  post_install_message:
266
244
  rdoc_options: []
267
245
  require_paths:
268
246
  - lib
269
247
  required_ruby_version: !ruby/object:Gem::Requirement
270
- none: false
271
248
  requirements:
272
- - - ! '>='
249
+ - - '>='
273
250
  - !ruby/object:Gem::Version
274
251
  version: 1.9.2
275
252
  required_rubygems_version: !ruby/object:Gem::Requirement
276
- none: false
277
253
  requirements:
278
- - - ! '>='
254
+ - - '>='
279
255
  - !ruby/object:Gem::Version
280
256
  version: 1.3.5
281
257
  requirements: []
282
258
  rubyforge_project:
283
- rubygems_version: 1.8.23
259
+ rubygems_version: 2.0.14
284
260
  signing_key:
285
- specification_version: 3
261
+ specification_version: 4
286
262
  summary: CLI for Twitter
287
263
  test_files:
288
264
  - spec/cli_spec.rb
@@ -343,3 +319,4 @@ test_files:
343
319
  - spec/set_spec.rb
344
320
  - spec/stream_spec.rb
345
321
  - spec/utils_spec.rb
322
+ has_rdoc:
metadata.gz.sig CHANGED
Binary file