t 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/bin/t +1 -1
- data/lib/t/cli.rb +26 -2
- data/lib/t/list.rb +0 -2
- data/lib/t/printable.rb +6 -5
- data/lib/t/stream.rb +0 -20
- data/lib/t/version.rb +1 -1
- data/t.gemspec +4 -8
- metadata +6 -131
- data/Rakefile +0 -21
- data/spec/cli_spec.rb +0 -4141
- data/spec/delete_spec.rb +0 -250
- data/spec/editor_spec.rb +0 -102
- data/spec/fixtures/200_direct_messages.json +0 -1
- data/spec/fixtures/200_statuses.json +0 -1
- data/spec/fixtures/501_ids.json +0 -1
- data/spec/fixtures/501_users_list.json +0 -1
- data/spec/fixtures/access_token +0 -1
- data/spec/fixtures/bearer_token.json +0 -1
- data/spec/fixtures/checkip.html +0 -1
- data/spec/fixtures/direct_message.json +0 -1
- data/spec/fixtures/direct_messages.json +0 -1
- data/spec/fixtures/empty_array.json +0 -1
- data/spec/fixtures/empty_cursor.json +0 -1
- data/spec/fixtures/favorites.json +0 -1
- data/spec/fixtures/followers_ids.json +0 -1
- data/spec/fixtures/following.json +0 -1
- data/spec/fixtures/friends_ids.json +0 -1
- data/spec/fixtures/gem.json +0 -1
- data/spec/fixtures/geo.json +0 -414
- data/spec/fixtures/geo_no_city.json +0 -344
- data/spec/fixtures/geo_no_state.json +0 -299
- data/spec/fixtures/geoplugin.xml +0 -17
- data/spec/fixtures/ids_list.json +0 -1
- data/spec/fixtures/ids_list2.json +0 -1
- data/spec/fixtures/list.json +0 -1
- data/spec/fixtures/lists.json +0 -1
- data/spec/fixtures/locations.json +0 -1
- data/spec/fixtures/long.png +0 -0
- data/spec/fixtures/matrix.json +0 -1
- data/spec/fixtures/me.jpg +0 -0
- data/spec/fixtures/not_following.json +0 -1
- data/spec/fixtures/not_found.json +0 -1
- data/spec/fixtures/rate_limit_status.json +0 -1
- data/spec/fixtures/recommendations.json +0 -1
- data/spec/fixtures/request_token +0 -1
- data/spec/fixtures/retweet.json +0 -1
- data/spec/fixtures/search.json +0 -1
- data/spec/fixtures/search2.json +0 -1
- data/spec/fixtures/search_with_entities.json +0 -1
- data/spec/fixtures/settings.json +0 -1
- data/spec/fixtures/sferik.json +0 -1
- data/spec/fixtures/status.json +0 -1
- data/spec/fixtures/status_no_attributes.json +0 -1
- data/spec/fixtures/status_no_country.json +0 -1
- data/spec/fixtures/status_no_full_name.json +0 -1
- data/spec/fixtures/status_no_locality.json +0 -1
- data/spec/fixtures/status_no_place.json +0 -1
- data/spec/fixtures/status_no_street_address.json +0 -1
- data/spec/fixtures/status_with_mention.json +0 -1
- data/spec/fixtures/statuses.json +0 -1
- data/spec/fixtures/trends.json +0 -1
- data/spec/fixtures/users.json +0 -1
- data/spec/fixtures/users_list.json +0 -1
- data/spec/fixtures/we_concept_bg2.png +0 -0
- data/spec/helper.rb +0 -78
- data/spec/list_spec.rb +0 -812
- data/spec/rcfile_spec.rb +0 -221
- data/spec/search_spec.rb +0 -944
- data/spec/set_spec.rb +0 -154
- data/spec/stream_spec.rb +0 -286
- data/spec/utils_spec.rb +0 -96
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 396899cbdf4cb92d502e5855093669a3c6dd2cab
|
4
|
+
data.tar.gz: ac3862cb4cc6f31d3883c7c0651861f45ca2a700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 990ec4a4abf99e8c60011817fef945ce630f05efc2205ef47f00c131c0f694698c98af7695acdee02a6f8ad1bb06b1b123582831742010a3ffed458cf576b295
|
7
|
+
data.tar.gz: 695a01f499537cf92f0c2b1780c61476a5b5a17c61739064bfea9e974958c7e760c059995c1c374b61ab28626dd7cca19e1bab60efbb6268b0a4475db40b5d74
|
data/README.md
CHANGED
@@ -6,13 +6,12 @@
|
|
6
6
|
[![Build Status](http://img.shields.io/travis/sferik/t.svg)][travis]
|
7
7
|
[![Dependency Status](http://img.shields.io/gemnasium/sferik/t.svg)][gemnasium]
|
8
8
|
[![Coverage Status](http://img.shields.io/coveralls/sferik/t.svg)][coveralls]
|
9
|
-
[![
|
9
|
+
[![tip for next commit](https://tip4commit.com/projects/102.svg)](https://tip4commit.com/github/sferik/t)
|
10
10
|
|
11
11
|
[gem]: https://rubygems.org/gems/t
|
12
12
|
[travis]: http://travis-ci.org/sferik/t
|
13
13
|
[gemnasium]: https://gemnasium.com/sferik/t
|
14
14
|
[coveralls]: https://coveralls.io/r/sferik/t
|
15
|
-
[gittip]: https://www.gittip.com/gems/
|
16
15
|
|
17
16
|
#### A command-line power tool for Twitter.
|
18
17
|
The CLI takes syntactic cues from the [Twitter SMS commands][sms], but it
|
@@ -47,7 +46,7 @@ or for Red Hat-based distros like Fedora and CentOS, type:
|
|
47
46
|
(if necessary, adapt for your package manager)
|
48
47
|
|
49
48
|
**On Windows**, you can install Ruby with [RubyInstaller][].
|
50
|
-
[rubyinstaller]: http://rubyinstaller.org/
|
49
|
+
[rubyinstaller]: http://rubyinstaller.org/downloads/
|
51
50
|
|
52
51
|
Once you've verified that Ruby is installed:
|
53
52
|
|
@@ -65,6 +64,8 @@ messages", otherwise you'll receive an error that looks like this:
|
|
65
64
|
|
66
65
|
Error processing your OAuth request: Read-only application cannot POST
|
67
66
|
|
67
|
+
A mobile phone number must be associated with your account in order to obtain write privileges. If your carrier is not supported by Twitter and you are unable to add a number, contact Twitter using <https://support.twitter.com/forms/platform>, selecting the last checkbox. Some users have reported success adding their number using the mobile site, <https://mobile.twitter.com/settings>, which seems to bypass the carrier check at the moment.
|
68
|
+
|
68
69
|
Now, you're ready to authorize a Twitter account with your application. To
|
69
70
|
proceed, type the following command at the prompt and follow the instructions:
|
70
71
|
|
@@ -283,7 +284,6 @@ the original code.
|
|
283
284
|
This library aims to support and is [tested against][travis] the following Ruby
|
284
285
|
implementations:
|
285
286
|
|
286
|
-
* Ruby 1.9.2
|
287
287
|
* Ruby 1.9.3
|
288
288
|
* Ruby 2.0.0
|
289
289
|
* Ruby 2.1.0
|
data/bin/t
CHANGED
@@ -25,7 +25,7 @@ rescue OAuth::Unauthorized
|
|
25
25
|
rescue Twitter::Error::TooManyRequests => error
|
26
26
|
pute error.message,
|
27
27
|
"The rate limit for this request will reset in #{error.rate_limit.reset_in} #{error.rate_limit.reset_in == 1 ? 'second' : 'seconds'}.",
|
28
|
-
'While you wait, consider making a polite request for Twitter to increase the API rate limit at https://
|
28
|
+
'While you wait, consider making a polite request for Twitter to increase the API rate limit at https://twittercommunity.com/t/discussing-api-v1-1/10180'
|
29
29
|
rescue Twitter::Error::BadRequest => error
|
30
30
|
pute error.message,
|
31
31
|
'Run `t authorize` to authorize.'
|
data/lib/t/cli.rb
CHANGED
@@ -43,7 +43,7 @@ module T
|
|
43
43
|
@rcfile.path = options['profile'] if options['profile']
|
44
44
|
@rcfile.profiles.each do |profile|
|
45
45
|
say profile[0]
|
46
|
-
profile[1].
|
46
|
+
profile[1].each_key do |key|
|
47
47
|
say " #{key}#{@rcfile.active_profile[0] == profile[0] && @rcfile.active_profile[1] == key ? ' (active)' : nil}"
|
48
48
|
end
|
49
49
|
end
|
@@ -223,6 +223,8 @@ module T
|
|
223
223
|
desc 'does_follow USER [USER]', 'Find out whether one user follows another.'
|
224
224
|
method_option 'id', :aliases => '-i', :type => :boolean, :desc => 'Specify user via ID instead of screen name.'
|
225
225
|
def does_follow(user1, user2 = nil)
|
226
|
+
abort 'No, you are not following yourself.' if user2.nil? && user1 == @rcfile.active_profile[0].downcase
|
227
|
+
abort "No, @#{user1} is not following themself." if user1 == user2
|
226
228
|
require 't/core_ext/string'
|
227
229
|
thread1 = if options['id']
|
228
230
|
Thread.new { client.user(user1.to_i).screen_name }
|
@@ -536,6 +538,23 @@ module T
|
|
536
538
|
say "Run `#{File.basename($PROGRAM_NAME)} delete mute #{muted_users.collect { |muted_user| "@#{muted_user.screen_name}" }.join(' ')}` to unmute."
|
537
539
|
end
|
538
540
|
|
541
|
+
desc 'muted [USER]', 'Returns a list of the people you have muted on Twitter.'
|
542
|
+
method_option 'csv', :aliases => '-c', :type => :boolean, :desc => 'Output in CSV format.'
|
543
|
+
method_option 'long', :aliases => '-l', :type => :boolean, :desc => 'Output in long format.'
|
544
|
+
method_option 'relative_dates', :aliases => '-a', :type => :boolean, :desc => 'Show relative dates.'
|
545
|
+
method_option 'reverse', :aliases => '-r', :type => :boolean, :desc => 'Reverse the order of the sort.'
|
546
|
+
method_option 'sort', :aliases => '-s', :type => :string, :enum => %w[favorites followers friends listed screen_name since tweets tweeted], :default => 'screen_name', :desc => 'Specify the order of the results.', :banner => 'ORDER'
|
547
|
+
method_option 'unsorted', :aliases => '-u', :type => :boolean, :desc => 'Output is not sorted.'
|
548
|
+
def muted
|
549
|
+
muted_ids = client.muted_ids.to_a
|
550
|
+
require 'retryable'
|
551
|
+
muted_users = retryable(:tries => 3, :on => Twitter::Error, :sleep => 0) do
|
552
|
+
client.users(muted_ids)
|
553
|
+
end
|
554
|
+
print_users(muted_users)
|
555
|
+
end
|
556
|
+
map %w[mutes] => :muted
|
557
|
+
|
539
558
|
desc 'open USER', "Opens that user's profile in a web browser."
|
540
559
|
method_option 'display-uri', :aliases => '-d', :type => :boolean, :desc => 'Display the requested URL instead of attempting to open it.'
|
541
560
|
method_option 'id', :aliases => '-i', :type => :boolean, :desc => 'Specify user via ID instead of screen name.'
|
@@ -578,6 +597,7 @@ module T
|
|
578
597
|
desc 'reply TWEET_ID MESSAGE', 'Post your Tweet as a reply directed at another person.'
|
579
598
|
method_option 'all', :aliases => '-a', :type => :boolean, :desc => 'Reply to all users mentioned in the Tweet.'
|
580
599
|
method_option 'location', :aliases => '-l', :type => :string, :default => nil, :desc => "Add location information. If the optional 'latitude,longitude' parameter is not supplied, looks up location by IP address."
|
600
|
+
method_option 'file', :aliases => '-f', :type => :string, :desc => 'The path to an image to attach to your tweet.'
|
581
601
|
def reply(status_id, message)
|
582
602
|
status = client.status(status_id.to_i, :include_my_retweet => false)
|
583
603
|
users = Array(status.user.screen_name)
|
@@ -590,7 +610,11 @@ module T
|
|
590
610
|
users.collect!(&:prepend_at)
|
591
611
|
opts = {:in_reply_to_status_id => status.id, :trim_user => true}
|
592
612
|
add_location!(options, opts)
|
593
|
-
reply =
|
613
|
+
reply = if options['file']
|
614
|
+
client.update_with_media("#{users.join(' ')} #{message}", File.new(File.expand_path(options['file'])), opts)
|
615
|
+
else
|
616
|
+
client.update("#{users.join(' ')} #{message}", opts)
|
617
|
+
end
|
594
618
|
say "Reply posted by @#{@rcfile.active_profile[0]} to #{users.join(' ')}."
|
595
619
|
say
|
596
620
|
say "Run `#{File.basename($PROGRAM_NAME)} delete status #{reply.id}` to delete."
|
data/lib/t/list.rb
CHANGED
data/lib/t/printable.rb
CHANGED
@@ -55,13 +55,13 @@ module T
|
|
55
55
|
def print_lists(lists)
|
56
56
|
lists = case options['sort']
|
57
57
|
when 'members'
|
58
|
-
lists.sort_by
|
58
|
+
lists.sort_by(&:member_count)
|
59
59
|
when 'mode'
|
60
|
-
lists.sort_by
|
60
|
+
lists.sort_by(&:mode)
|
61
61
|
when 'since'
|
62
|
-
lists.sort_by
|
62
|
+
lists.sort_by(&:created_at)
|
63
63
|
when 'subscribers'
|
64
|
-
lists.sort_by
|
64
|
+
lists.sort_by(&:subscriber_count)
|
65
65
|
else
|
66
66
|
lists.sort_by { |list| list.slug.downcase }
|
67
67
|
end unless options['unsorted']
|
@@ -108,6 +108,7 @@ module T
|
|
108
108
|
else
|
109
109
|
print_table(array)
|
110
110
|
end
|
111
|
+
STDOUT.flush
|
111
112
|
end
|
112
113
|
|
113
114
|
def print_message(from_user, message)
|
@@ -154,7 +155,7 @@ module T
|
|
154
155
|
when 'listed'
|
155
156
|
users.sort_by { |user| user.listed_count.to_i }
|
156
157
|
when 'since'
|
157
|
-
users.sort_by
|
158
|
+
users.sort_by(&:created_at)
|
158
159
|
when 'tweets'
|
159
160
|
users.sort_by { |user| user.statuses_count.to_i }
|
160
161
|
when 'tweeted'
|
data/lib/t/stream.rb
CHANGED
@@ -28,8 +28,6 @@ module T
|
|
28
28
|
method_option 'csv', :aliases => '-c', :type => :boolean, :desc => 'Output in CSV format.'
|
29
29
|
method_option 'decode_uris', :aliases => '-d', :type => :boolean, :desc => 'Decodes t.co URLs into their original form.'
|
30
30
|
method_option 'long', :aliases => '-l', :type => :boolean, :desc => 'Output in long format.'
|
31
|
-
method_option 'no-replies', :type => :boolean, :desc => 'Exclude replies.'
|
32
|
-
method_option 'no-retweets', :type => :boolean, :desc => 'Exclude retweets.'
|
33
31
|
def all
|
34
32
|
streaming_client.before_request do
|
35
33
|
if options['csv']
|
@@ -44,8 +42,6 @@ module T
|
|
44
42
|
end
|
45
43
|
streaming_client.sample do |tweet|
|
46
44
|
next unless tweet.is_a?(Twitter::Tweet)
|
47
|
-
next if options['no-replies'] && tweet.reply?
|
48
|
-
next if options['no-retweets'] && tweet.retweet?
|
49
45
|
if options['csv']
|
50
46
|
print_csv_tweet(tweet)
|
51
47
|
elsif options['long']
|
@@ -64,8 +60,6 @@ module T
|
|
64
60
|
method_option 'decode_uris', :aliases => '-d', :type => :boolean, :desc => 'Decodes t.co URLs into their original form.'
|
65
61
|
method_option 'id', :aliases => '-i', :type => :boolean, :desc => 'Specify user via ID instead of screen name.'
|
66
62
|
method_option 'long', :aliases => '-l', :type => :boolean, :desc => 'Output in long format.'
|
67
|
-
method_option 'no-replies', :type => :boolean, :desc => 'Exclude replies.'
|
68
|
-
method_option 'no-retweets', :type => :boolean, :desc => 'Exclude retweets.'
|
69
63
|
method_option 'reverse', :aliases => '-r', :type => :boolean, :desc => 'Reverse the order of the sort.'
|
70
64
|
def list(user_list)
|
71
65
|
owner, list_name = extract_owner(user_list, options)
|
@@ -80,8 +74,6 @@ module T
|
|
80
74
|
user_ids = client.list_members(owner, list_name).collect(&:id)
|
81
75
|
streaming_client.filter(:follow => user_ids.join(',')) do |tweet|
|
82
76
|
next unless tweet.is_a?(Twitter::Tweet)
|
83
|
-
next if options['no-replies'] && tweet.reply?
|
84
|
-
next if options['no-retweets'] && tweet.retweet?
|
85
77
|
if options['csv']
|
86
78
|
print_csv_tweet(tweet)
|
87
79
|
elsif options['long']
|
@@ -113,8 +105,6 @@ module T
|
|
113
105
|
method_option 'csv', :aliases => '-c', :type => :boolean, :desc => 'Output in CSV format.'
|
114
106
|
method_option 'decode_uris', :aliases => '-d', :type => :boolean, :desc => 'Decodes t.co URLs into their original form.'
|
115
107
|
method_option 'long', :aliases => '-l', :type => :boolean, :desc => 'Output in long format.'
|
116
|
-
method_option 'no-replies', :type => :boolean, :desc => 'Exclude replies.'
|
117
|
-
method_option 'no-retweets', :type => :boolean, :desc => 'Exclude retweets.'
|
118
108
|
def search(keyword, *keywords)
|
119
109
|
keywords.unshift(keyword)
|
120
110
|
require 't/search'
|
@@ -127,8 +117,6 @@ module T
|
|
127
117
|
end
|
128
118
|
streaming_client.filter(:track => keywords.join(',')) do |tweet|
|
129
119
|
next unless tweet.is_a?(Twitter::Tweet)
|
130
|
-
next if options['no-replies'] && tweet.reply?
|
131
|
-
next if options['no-retweets'] && tweet.retweet?
|
132
120
|
if options['csv']
|
133
121
|
print_csv_tweet(tweet)
|
134
122
|
elsif options['long']
|
@@ -146,8 +134,6 @@ module T
|
|
146
134
|
method_option 'csv', :aliases => '-c', :type => :boolean, :desc => 'Output in CSV format.'
|
147
135
|
method_option 'decode_uris', :aliases => '-d', :type => :boolean, :desc => 'Decodes t.co URLs into their original form.'
|
148
136
|
method_option 'long', :aliases => '-l', :type => :boolean, :desc => 'Output in long format.'
|
149
|
-
method_option 'no-replies', :type => :boolean, :desc => 'Exclude replies.'
|
150
|
-
method_option 'no-retweets', :type => :boolean, :desc => 'Exclude retweets.'
|
151
137
|
def timeline
|
152
138
|
require 't/cli'
|
153
139
|
streaming_client.before_request do
|
@@ -159,8 +145,6 @@ module T
|
|
159
145
|
end
|
160
146
|
streaming_client.user do |tweet|
|
161
147
|
next unless tweet.is_a?(Twitter::Tweet)
|
162
|
-
next if options['no-replies'] && tweet.reply?
|
163
|
-
next if options['no-retweets'] && tweet.retweet?
|
164
148
|
if options['csv']
|
165
149
|
print_csv_tweet(tweet)
|
166
150
|
elsif options['long']
|
@@ -178,8 +162,6 @@ module T
|
|
178
162
|
method_option 'csv', :aliases => '-c', :type => :boolean, :desc => 'Output in CSV format.'
|
179
163
|
method_option 'decode_uris', :aliases => '-d', :type => :boolean, :desc => 'Decodes t.co URLs into their original form.'
|
180
164
|
method_option 'long', :aliases => '-l', :type => :boolean, :desc => 'Output in long format.'
|
181
|
-
method_option 'no-replies', :type => :boolean, :desc => 'Exclude replies.'
|
182
|
-
method_option 'no-retweets', :type => :boolean, :desc => 'Exclude retweets.'
|
183
165
|
def users(user_id, *user_ids)
|
184
166
|
user_ids.unshift(user_id)
|
185
167
|
user_ids.collect!(&:to_i)
|
@@ -196,8 +178,6 @@ module T
|
|
196
178
|
end
|
197
179
|
streaming_client.filter(:follow => user_ids.join(',')) do |tweet|
|
198
180
|
next unless tweet.is_a?(Twitter::Tweet)
|
199
|
-
next if options['no-replies'] && tweet.reply?
|
200
|
-
next if options['no-retweets'] && tweet.retweet?
|
201
181
|
if options['csv']
|
202
182
|
print_csv_tweet(tweet)
|
203
183
|
elsif options['long']
|
data/lib/t/version.rb
CHANGED
data/t.gemspec
CHANGED
@@ -10,24 +10,20 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.add_dependency 'oauth', '~> 0.4.7'
|
11
11
|
spec.add_dependency 'retryable', '~> 1.3'
|
12
12
|
spec.add_dependency 'thor', ['>= 0.19.1', '< 2']
|
13
|
-
spec.add_dependency 'twitter', '~> 5.
|
13
|
+
spec.add_dependency 'twitter', '~> 5.12'
|
14
14
|
spec.add_development_dependency 'bundler', '~> 1.0'
|
15
15
|
spec.author = 'Erik Michaels-Ober'
|
16
16
|
spec.bindir = 'bin'
|
17
|
-
spec.description =
|
17
|
+
spec.description = 'A command-line power tool for Twitter.'
|
18
18
|
spec.email = 'sferik@gmail.com'
|
19
19
|
spec.executables = %w[t]
|
20
|
-
spec.files = %w[CONTRIBUTING.md LICENSE.md README.md
|
21
|
-
spec.files += Dir.glob('lib/**/*.rb')
|
22
|
-
spec.files += Dir.glob('bin/**/*')
|
23
|
-
spec.files += Dir.glob('spec/**/*')
|
20
|
+
spec.files = %w[CONTRIBUTING.md LICENSE.md README.md t.gemspec] + Dir['bin/*'] + Dir['lib/**/*.rb']
|
24
21
|
spec.homepage = 'http://sferik.github.com/t/'
|
25
22
|
spec.licenses = %w[MIT]
|
26
23
|
spec.name = 't'
|
27
24
|
spec.require_paths = %w[lib]
|
28
25
|
spec.required_ruby_version = '>= 1.9.2'
|
29
26
|
spec.required_rubygems_version = '>= 1.3.5'
|
30
|
-
spec.summary =
|
31
|
-
spec.test_files = Dir.glob('spec/**/*')
|
27
|
+
spec.summary = 'CLI for Twitter'
|
32
28
|
spec.version = T::Version
|
33
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: t
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Michaels-Ober
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: launchy
|
@@ -112,14 +112,14 @@ dependencies:
|
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '5.
|
115
|
+
version: '5.12'
|
116
116
|
type: :runtime
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '5.
|
122
|
+
version: '5.12'
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
124
|
name: bundler
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,7 +144,6 @@ files:
|
|
144
144
|
- CONTRIBUTING.md
|
145
145
|
- LICENSE.md
|
146
146
|
- README.md
|
147
|
-
- Rakefile
|
148
147
|
- bin/t
|
149
148
|
- lib/t.rb
|
150
149
|
- lib/t/cli.rb
|
@@ -162,68 +161,6 @@ files:
|
|
162
161
|
- lib/t/stream.rb
|
163
162
|
- lib/t/utils.rb
|
164
163
|
- lib/t/version.rb
|
165
|
-
- spec/cli_spec.rb
|
166
|
-
- spec/delete_spec.rb
|
167
|
-
- spec/editor_spec.rb
|
168
|
-
- spec/fixtures/200_direct_messages.json
|
169
|
-
- spec/fixtures/200_statuses.json
|
170
|
-
- spec/fixtures/501_ids.json
|
171
|
-
- spec/fixtures/501_users_list.json
|
172
|
-
- spec/fixtures/access_token
|
173
|
-
- spec/fixtures/bearer_token.json
|
174
|
-
- spec/fixtures/checkip.html
|
175
|
-
- spec/fixtures/direct_message.json
|
176
|
-
- spec/fixtures/direct_messages.json
|
177
|
-
- spec/fixtures/empty_array.json
|
178
|
-
- spec/fixtures/empty_cursor.json
|
179
|
-
- spec/fixtures/favorites.json
|
180
|
-
- spec/fixtures/followers_ids.json
|
181
|
-
- spec/fixtures/following.json
|
182
|
-
- spec/fixtures/friends_ids.json
|
183
|
-
- spec/fixtures/gem.json
|
184
|
-
- spec/fixtures/geo.json
|
185
|
-
- spec/fixtures/geo_no_city.json
|
186
|
-
- spec/fixtures/geo_no_state.json
|
187
|
-
- spec/fixtures/geoplugin.xml
|
188
|
-
- spec/fixtures/ids_list.json
|
189
|
-
- spec/fixtures/ids_list2.json
|
190
|
-
- spec/fixtures/list.json
|
191
|
-
- spec/fixtures/lists.json
|
192
|
-
- spec/fixtures/locations.json
|
193
|
-
- spec/fixtures/long.png
|
194
|
-
- spec/fixtures/matrix.json
|
195
|
-
- spec/fixtures/me.jpg
|
196
|
-
- spec/fixtures/not_following.json
|
197
|
-
- spec/fixtures/not_found.json
|
198
|
-
- spec/fixtures/rate_limit_status.json
|
199
|
-
- spec/fixtures/recommendations.json
|
200
|
-
- spec/fixtures/request_token
|
201
|
-
- spec/fixtures/retweet.json
|
202
|
-
- spec/fixtures/search.json
|
203
|
-
- spec/fixtures/search2.json
|
204
|
-
- spec/fixtures/search_with_entities.json
|
205
|
-
- spec/fixtures/settings.json
|
206
|
-
- spec/fixtures/sferik.json
|
207
|
-
- spec/fixtures/status.json
|
208
|
-
- spec/fixtures/status_no_attributes.json
|
209
|
-
- spec/fixtures/status_no_country.json
|
210
|
-
- spec/fixtures/status_no_full_name.json
|
211
|
-
- spec/fixtures/status_no_locality.json
|
212
|
-
- spec/fixtures/status_no_place.json
|
213
|
-
- spec/fixtures/status_no_street_address.json
|
214
|
-
- spec/fixtures/status_with_mention.json
|
215
|
-
- spec/fixtures/statuses.json
|
216
|
-
- spec/fixtures/trends.json
|
217
|
-
- spec/fixtures/users.json
|
218
|
-
- spec/fixtures/users_list.json
|
219
|
-
- spec/fixtures/we_concept_bg2.png
|
220
|
-
- spec/helper.rb
|
221
|
-
- spec/list_spec.rb
|
222
|
-
- spec/rcfile_spec.rb
|
223
|
-
- spec/search_spec.rb
|
224
|
-
- spec/set_spec.rb
|
225
|
-
- spec/stream_spec.rb
|
226
|
-
- spec/utils_spec.rb
|
227
164
|
- t.gemspec
|
228
165
|
homepage: http://sferik.github.com/t/
|
229
166
|
licenses:
|
@@ -245,71 +182,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
182
|
version: 1.3.5
|
246
183
|
requirements: []
|
247
184
|
rubyforge_project:
|
248
|
-
rubygems_version: 2.
|
185
|
+
rubygems_version: 2.2.2
|
249
186
|
signing_key:
|
250
187
|
specification_version: 4
|
251
188
|
summary: CLI for Twitter
|
252
|
-
test_files:
|
253
|
-
- spec/cli_spec.rb
|
254
|
-
- spec/delete_spec.rb
|
255
|
-
- spec/editor_spec.rb
|
256
|
-
- spec/fixtures/200_direct_messages.json
|
257
|
-
- spec/fixtures/200_statuses.json
|
258
|
-
- spec/fixtures/501_ids.json
|
259
|
-
- spec/fixtures/501_users_list.json
|
260
|
-
- spec/fixtures/access_token
|
261
|
-
- spec/fixtures/bearer_token.json
|
262
|
-
- spec/fixtures/checkip.html
|
263
|
-
- spec/fixtures/direct_message.json
|
264
|
-
- spec/fixtures/direct_messages.json
|
265
|
-
- spec/fixtures/empty_array.json
|
266
|
-
- spec/fixtures/empty_cursor.json
|
267
|
-
- spec/fixtures/favorites.json
|
268
|
-
- spec/fixtures/followers_ids.json
|
269
|
-
- spec/fixtures/following.json
|
270
|
-
- spec/fixtures/friends_ids.json
|
271
|
-
- spec/fixtures/gem.json
|
272
|
-
- spec/fixtures/geo.json
|
273
|
-
- spec/fixtures/geo_no_city.json
|
274
|
-
- spec/fixtures/geo_no_state.json
|
275
|
-
- spec/fixtures/geoplugin.xml
|
276
|
-
- spec/fixtures/ids_list.json
|
277
|
-
- spec/fixtures/ids_list2.json
|
278
|
-
- spec/fixtures/list.json
|
279
|
-
- spec/fixtures/lists.json
|
280
|
-
- spec/fixtures/locations.json
|
281
|
-
- spec/fixtures/long.png
|
282
|
-
- spec/fixtures/matrix.json
|
283
|
-
- spec/fixtures/me.jpg
|
284
|
-
- spec/fixtures/not_following.json
|
285
|
-
- spec/fixtures/not_found.json
|
286
|
-
- spec/fixtures/rate_limit_status.json
|
287
|
-
- spec/fixtures/recommendations.json
|
288
|
-
- spec/fixtures/request_token
|
289
|
-
- spec/fixtures/retweet.json
|
290
|
-
- spec/fixtures/search.json
|
291
|
-
- spec/fixtures/search2.json
|
292
|
-
- spec/fixtures/search_with_entities.json
|
293
|
-
- spec/fixtures/settings.json
|
294
|
-
- spec/fixtures/sferik.json
|
295
|
-
- spec/fixtures/status.json
|
296
|
-
- spec/fixtures/status_no_attributes.json
|
297
|
-
- spec/fixtures/status_no_country.json
|
298
|
-
- spec/fixtures/status_no_full_name.json
|
299
|
-
- spec/fixtures/status_no_locality.json
|
300
|
-
- spec/fixtures/status_no_place.json
|
301
|
-
- spec/fixtures/status_no_street_address.json
|
302
|
-
- spec/fixtures/status_with_mention.json
|
303
|
-
- spec/fixtures/statuses.json
|
304
|
-
- spec/fixtures/trends.json
|
305
|
-
- spec/fixtures/users.json
|
306
|
-
- spec/fixtures/users_list.json
|
307
|
-
- spec/fixtures/we_concept_bg2.png
|
308
|
-
- spec/helper.rb
|
309
|
-
- spec/list_spec.rb
|
310
|
-
- spec/rcfile_spec.rb
|
311
|
-
- spec/search_spec.rb
|
312
|
-
- spec/set_spec.rb
|
313
|
-
- spec/stream_spec.rb
|
314
|
-
- spec/utils_spec.rb
|
189
|
+
test_files: []
|
315
190
|
has_rdoc:
|