t 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -0
- data/LICENSE.md +1 -1
- data/README.md +28 -20
- data/lib/t/requestable.rb +1 -1
- data/lib/t/version.rb +1 -1
- data/spec/cli_spec.rb +18 -18
- data/spec/fixtures/200_direct_messages.json +1 -27054
- data/spec/fixtures/200_statuses.json +1 -1
- data/spec/fixtures/501_ids.json +1 -509
- data/spec/fixtures/501_users_list.json +1 -17543
- data/spec/fixtures/direct_message.json +1 -80
- data/spec/fixtures/direct_messages.json +1 -802
- data/spec/fixtures/empty_cursor.json +1 -7
- data/spec/fixtures/favorites.json +1 -1099
- data/spec/fixtures/followers_ids.json +1 -10
- data/spec/fixtures/friends_ids.json +1 -9
- data/spec/fixtures/gem.json +1 -61
- data/spec/fixtures/list.json +1 -54
- data/spec/fixtures/lists.json +1 -1
- data/spec/fixtures/locations.json +1 -57
- data/spec/fixtures/not_found.json +1 -4
- data/spec/fixtures/rate_limit_status.json +1 -6
- data/spec/fixtures/recommendations.json +1 -364
- data/spec/fixtures/retweet.json +1 -112
- data/spec/fixtures/search.json +1 -1
- data/spec/fixtures/search_with_entities.json +1 -1
- data/spec/fixtures/settings.json +1 -30
- data/spec/fixtures/sferik.json +1 -60
- data/spec/fixtures/status.json +1 -109
- data/spec/fixtures/status_no_attributes.json +1 -104
- data/spec/fixtures/status_no_country.json +1 -102
- data/spec/fixtures/status_no_full_name.json +1 -101
- data/spec/fixtures/status_no_locality.json +1 -107
- data/spec/fixtures/status_no_place.json +1 -72
- data/spec/fixtures/status_no_street_address.json +1 -108
- data/spec/fixtures/status_with_mention.json +1 -1
- data/spec/fixtures/statuses.json +1 -1
- data/spec/fixtures/trends.json +1 -35
- data/spec/fixtures/users.json +1 -122
- data/spec/fixtures/users_list.json +1 -128
- data/spec/list_spec.rb +8 -8
- data/spec/search_spec.rb +39 -39
- data/t.gemspec +8 -3
- metadata +85 -46
- metadata.gz.sig +2 -0
- data/spec/fixtures/false.json +0 -1
- data/spec/fixtures/true.json +0 -1
data/t.gemspec
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 't/version'
|
3
5
|
|
4
6
|
Gem::Specification.new do |spec|
|
5
7
|
spec.add_dependency 'launchy', '~> 2.0'
|
@@ -12,8 +14,10 @@ Gem::Specification.new do |spec|
|
|
12
14
|
spec.add_dependency 'thor', ['>= 0.16', '< 2']
|
13
15
|
spec.add_dependency 'tweetstream', '~> 2.3'
|
14
16
|
spec.add_dependency 'twitter', '~> 4.4'
|
17
|
+
spec.add_development_dependency 'bundler', '~> 1.0'
|
15
18
|
spec.author = "Erik Michaels-Ober"
|
16
19
|
spec.bindir = 'bin'
|
20
|
+
spec.cert_chain = ['certs/sferik.pem']
|
17
21
|
spec.description = %q{A command-line power tool for Twitter.}
|
18
22
|
spec.email = 'sferik@gmail.com'
|
19
23
|
spec.executables = %w(t)
|
@@ -25,7 +29,8 @@ Gem::Specification.new do |spec|
|
|
25
29
|
spec.licenses = ['MIT']
|
26
30
|
spec.name = 't'
|
27
31
|
spec.require_paths = ['lib']
|
28
|
-
spec.required_rubygems_version =
|
32
|
+
spec.required_rubygems_version = '>= 1.3.6'
|
33
|
+
spec.signing_key = File.expand_path("~/.gem/private_key.pem") if $0 =~ /gem\z/
|
29
34
|
spec.summary = %q{CLI for Twitter}
|
30
35
|
spec.test_files = Dir.glob("spec/**/*")
|
31
36
|
spec.version = T::Version
|
metadata
CHANGED
@@ -1,131 +1,158 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: t
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.7.1
|
4
5
|
prerelease:
|
5
|
-
version: 1.7.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Erik Michaels-Ober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u
|
27
|
+
Z29CTFkrVC9sd0NUNGR5c3NkaHpSYmZueEFoYUt1NFNBc3NJd2FDMDF5Vm93
|
28
|
+
SUQKQVFBQm96a3dOekFKQmdOVkhSTUVBakFBTUIwR0ExVWREZ1FXQkJTMHJ1
|
29
|
+
RGZSYWs1Y2kxT3BETlgvWmRERWtJcwppVEFMQmdOVkhROEVCQU1DQkxBd0RR
|
30
|
+
WUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFISFNNcy9NUDBzT2FMa0V2NEpvCnp2
|
31
|
+
a20zcW41QTZ0MHZhSHg3NzRjbWVqeU1VKzV3eVN4UmV6c3BMN1VMaDlOZXVL
|
32
|
+
Mk9oVStPZTNUcHFyQWc1VEsKUjhHUUlMblZ1MkZlbUdBNnNBa1BEbGNQdGdB
|
33
|
+
NmllSTE5UFpPRjZIVkxtYy9JRC9kUC9OZ1pXV3pFZXFRS21jSwoyK0hNK1NF
|
34
|
+
RURoWmtTY1lla3c0Wk9lMTY0WnRaRzgxNm9BdjV4MHBHaXRTSWt1bVVwN1Y4
|
35
|
+
aUVaLzZlaHI3WTllClhPZzRlZXVuNUwvSmptakFSb1cya05kdmtSRDNjMkVl
|
36
|
+
U0xxV3ZRUnNCbHlwSGZoczZKSnVMbHlaUEdoVTNSL3YKU2YzbFZLcEJDV2dS
|
37
|
+
cEdUdnk0NVhWcEIrNTl5MzNQSm1FdVExUFRFT1l2UXlhbzlVS01BQWFBTi83
|
38
|
+
cVdRdGpsMApobHc9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
39
|
+
date: 2013-02-10 00:00:00.000000000 Z
|
13
40
|
dependencies:
|
14
41
|
- !ruby/object:Gem::Dependency
|
15
|
-
type: :runtime
|
16
|
-
version_requirements: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '2.0'
|
22
42
|
name: launchy
|
23
|
-
prerelease: false
|
24
43
|
requirement: !ruby/object:Gem::Requirement
|
25
44
|
none: false
|
26
45
|
requirements:
|
27
46
|
- - ~>
|
28
47
|
- !ruby/object:Gem::Version
|
29
48
|
version: '2.0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
49
|
type: :runtime
|
50
|
+
prerelease: false
|
32
51
|
version_requirements: !ruby/object:Gem::Requirement
|
33
52
|
none: false
|
34
53
|
requirements:
|
35
54
|
- - ~>
|
36
55
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
56
|
+
version: '2.0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
38
58
|
name: fastercsv
|
39
|
-
prerelease: false
|
40
59
|
requirement: !ruby/object:Gem::Requirement
|
41
60
|
none: false
|
42
61
|
requirements:
|
43
62
|
- - ~>
|
44
63
|
- !ruby/object:Gem::Version
|
45
64
|
version: '1.5'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
65
|
type: :runtime
|
66
|
+
prerelease: false
|
48
67
|
version_requirements: !ruby/object:Gem::Requirement
|
49
68
|
none: false
|
50
69
|
requirements:
|
51
70
|
- - ~>
|
52
71
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
72
|
+
version: '1.5'
|
73
|
+
- !ruby/object:Gem::Dependency
|
54
74
|
name: geokit
|
55
|
-
prerelease: false
|
56
75
|
requirement: !ruby/object:Gem::Requirement
|
57
76
|
none: false
|
58
77
|
requirements:
|
59
78
|
- - ~>
|
60
79
|
- !ruby/object:Gem::Version
|
61
80
|
version: '1.6'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
81
|
type: :runtime
|
82
|
+
prerelease: false
|
64
83
|
version_requirements: !ruby/object:Gem::Requirement
|
65
84
|
none: false
|
66
85
|
requirements:
|
67
86
|
- - ~>
|
68
87
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
88
|
+
version: '1.6'
|
89
|
+
- !ruby/object:Gem::Dependency
|
70
90
|
name: htmlentities
|
71
|
-
prerelease: false
|
72
91
|
requirement: !ruby/object:Gem::Requirement
|
73
92
|
none: false
|
74
93
|
requirements:
|
75
94
|
- - ~>
|
76
95
|
- !ruby/object:Gem::Version
|
77
96
|
version: '4.3'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
97
|
type: :runtime
|
98
|
+
prerelease: false
|
80
99
|
version_requirements: !ruby/object:Gem::Requirement
|
81
100
|
none: false
|
82
101
|
requirements:
|
83
102
|
- - ~>
|
84
103
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
104
|
+
version: '4.3'
|
105
|
+
- !ruby/object:Gem::Dependency
|
86
106
|
name: oauth
|
87
|
-
prerelease: false
|
88
107
|
requirement: !ruby/object:Gem::Requirement
|
89
108
|
none: false
|
90
109
|
requirements:
|
91
110
|
- - ~>
|
92
111
|
- !ruby/object:Gem::Version
|
93
112
|
version: '0.4'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
113
|
type: :runtime
|
114
|
+
prerelease: false
|
96
115
|
version_requirements: !ruby/object:Gem::Requirement
|
97
116
|
none: false
|
98
117
|
requirements:
|
99
118
|
- - ~>
|
100
119
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
120
|
+
version: '0.4'
|
121
|
+
- !ruby/object:Gem::Dependency
|
102
122
|
name: oj
|
103
|
-
prerelease: false
|
104
123
|
requirement: !ruby/object:Gem::Requirement
|
105
124
|
none: false
|
106
125
|
requirements:
|
107
126
|
- - ~>
|
108
127
|
- !ruby/object:Gem::Version
|
109
128
|
version: '2.0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
129
|
type: :runtime
|
130
|
+
prerelease: false
|
112
131
|
version_requirements: !ruby/object:Gem::Requirement
|
113
132
|
none: false
|
114
133
|
requirements:
|
115
134
|
- - ~>
|
116
135
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
136
|
+
version: '2.0'
|
137
|
+
- !ruby/object:Gem::Dependency
|
118
138
|
name: retryable
|
119
|
-
prerelease: false
|
120
139
|
requirement: !ruby/object:Gem::Requirement
|
121
140
|
none: false
|
122
141
|
requirements:
|
123
142
|
- - ~>
|
124
143
|
- !ruby/object:Gem::Version
|
125
144
|
version: '1.2'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
145
|
type: :runtime
|
146
|
+
prerelease: false
|
128
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.2'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: thor
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
129
156
|
none: false
|
130
157
|
requirements:
|
131
158
|
- - ! '>='
|
@@ -134,9 +161,9 @@ dependencies:
|
|
134
161
|
- - <
|
135
162
|
- !ruby/object:Gem::Version
|
136
163
|
version: '2'
|
137
|
-
|
164
|
+
type: :runtime
|
138
165
|
prerelease: false
|
139
|
-
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
167
|
none: false
|
141
168
|
requirements:
|
142
169
|
- - ! '>='
|
@@ -146,37 +173,53 @@ dependencies:
|
|
146
173
|
- !ruby/object:Gem::Version
|
147
174
|
version: '2'
|
148
175
|
- !ruby/object:Gem::Dependency
|
149
|
-
|
150
|
-
|
176
|
+
name: tweetstream
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
151
178
|
none: false
|
152
179
|
requirements:
|
153
180
|
- - ~>
|
154
181
|
- !ruby/object:Gem::Version
|
155
182
|
version: '2.3'
|
156
|
-
|
183
|
+
type: :runtime
|
157
184
|
prerelease: false
|
158
|
-
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
159
186
|
none: false
|
160
187
|
requirements:
|
161
188
|
- - ~>
|
162
189
|
- !ruby/object:Gem::Version
|
163
190
|
version: '2.3'
|
164
191
|
- !ruby/object:Gem::Dependency
|
192
|
+
name: twitter
|
193
|
+
requirement: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
195
|
+
requirements:
|
196
|
+
- - ~>
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '4.4'
|
165
199
|
type: :runtime
|
200
|
+
prerelease: false
|
166
201
|
version_requirements: !ruby/object:Gem::Requirement
|
167
202
|
none: false
|
168
203
|
requirements:
|
169
204
|
- - ~>
|
170
205
|
- !ruby/object:Gem::Version
|
171
206
|
version: '4.4'
|
172
|
-
|
173
|
-
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: bundler
|
174
209
|
requirement: !ruby/object:Gem::Requirement
|
175
210
|
none: false
|
176
211
|
requirements:
|
177
212
|
- - ~>
|
178
213
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
214
|
+
version: '1.0'
|
215
|
+
type: :development
|
216
|
+
prerelease: false
|
217
|
+
version_requirements: !ruby/object:Gem::Requirement
|
218
|
+
none: false
|
219
|
+
requirements:
|
220
|
+
- - ~>
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '1.0'
|
180
223
|
description: A command-line power tool for Twitter.
|
181
224
|
email: sferik@gmail.com
|
182
225
|
executables:
|
@@ -218,7 +261,6 @@ files:
|
|
218
261
|
- spec/fixtures/direct_messages.json
|
219
262
|
- spec/fixtures/empty_array.json
|
220
263
|
- spec/fixtures/empty_cursor.json
|
221
|
-
- spec/fixtures/false.json
|
222
264
|
- spec/fixtures/favorites.json
|
223
265
|
- spec/fixtures/followers_ids.json
|
224
266
|
- spec/fixtures/following.json
|
@@ -253,7 +295,6 @@ files:
|
|
253
295
|
- spec/fixtures/status_with_mention.json
|
254
296
|
- spec/fixtures/statuses.json
|
255
297
|
- spec/fixtures/trends.json
|
256
|
-
- spec/fixtures/true.json
|
257
298
|
- spec/fixtures/users.json
|
258
299
|
- spec/fixtures/users_list.json
|
259
300
|
- spec/fixtures/we_concept_bg2.png
|
@@ -276,10 +317,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
276
317
|
requirements:
|
277
318
|
- - ! '>='
|
278
319
|
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
279
321
|
segments:
|
280
322
|
- 0
|
281
|
-
hash:
|
282
|
-
version: '0'
|
323
|
+
hash: 1329724606525996769
|
283
324
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
284
325
|
none: false
|
285
326
|
requirements:
|
@@ -288,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
288
329
|
version: 1.3.6
|
289
330
|
requirements: []
|
290
331
|
rubyforge_project:
|
291
|
-
rubygems_version: 1.8.
|
332
|
+
rubygems_version: 1.8.23
|
292
333
|
signing_key:
|
293
334
|
specification_version: 3
|
294
335
|
summary: CLI for Twitter
|
@@ -306,7 +347,6 @@ test_files:
|
|
306
347
|
- spec/fixtures/direct_messages.json
|
307
348
|
- spec/fixtures/empty_array.json
|
308
349
|
- spec/fixtures/empty_cursor.json
|
309
|
-
- spec/fixtures/false.json
|
310
350
|
- spec/fixtures/favorites.json
|
311
351
|
- spec/fixtures/followers_ids.json
|
312
352
|
- spec/fixtures/following.json
|
@@ -341,7 +381,6 @@ test_files:
|
|
341
381
|
- spec/fixtures/status_with_mention.json
|
342
382
|
- spec/fixtures/statuses.json
|
343
383
|
- spec/fixtures/trends.json
|
344
|
-
- spec/fixtures/true.json
|
345
384
|
- spec/fixtures/users.json
|
346
385
|
- spec/fixtures/users_list.json
|
347
386
|
- spec/fixtures/we_concept_bg2.png
|
metadata.gz.sig
ADDED
data/spec/fixtures/false.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
false
|
data/spec/fixtures/true.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
true
|