twitter-vanity-suite 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/twitter-delete +20 -0
- data/bin/twitter-hist-ids +13 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 615dcb6a8d7a3176969998e6e583687f9ccc8579
|
4
|
+
data.tar.gz: 3949988a0bbcb3cc492a7df4ee82957fcf8aabdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b120b1629bd90d6344be86a37175d0413662f20111370fe69ad67d4a69995a6da81449ddddecfa3f0930aa40d20a4ff51ea50196545729bc09d647deff5d2f3
|
7
|
+
data.tar.gz: 703be7aa96c703ac21d7d3d567f24b3940bc4a7f68e81ac9293ae28eeab511e7afd2dd11e72954193fa296ef3b2e3ac1d0ae7308441507804e700313f416629c
|
data/bin/twitter-delete
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require_relative "../lib-internal/common"
|
3
|
+
|
4
|
+
ids = $stdin.readlines.map(&:chomp).reverse
|
5
|
+
|
6
|
+
64.times.map {
|
7
|
+
Thread.start do
|
8
|
+
while id = ids.pop
|
9
|
+
begin
|
10
|
+
$client.destroy_status(id)
|
11
|
+
rescue Twitter::Error::NotFound
|
12
|
+
rescue
|
13
|
+
$stderr.puts "\rERROR: #{id}"
|
14
|
+
end
|
15
|
+
print "\r%5d" % ids.size
|
16
|
+
end
|
17
|
+
end
|
18
|
+
}.each(&:join)
|
19
|
+
|
20
|
+
puts
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-vanity-suite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Somerville
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|
@@ -27,11 +27,15 @@ dependencies:
|
|
27
27
|
description: 'my personal set of command line twitter tools '
|
28
28
|
email: charlie@charliesomerville.com
|
29
29
|
executables:
|
30
|
+
- twitter-delete
|
31
|
+
- twitter-hist-ids
|
30
32
|
- twitter-intersect
|
31
33
|
- twitter-vanity
|
32
34
|
extensions: []
|
33
35
|
extra_rdoc_files: []
|
34
36
|
files:
|
37
|
+
- bin/twitter-delete
|
38
|
+
- bin/twitter-hist-ids
|
35
39
|
- bin/twitter-intersect
|
36
40
|
- bin/twitter-vanity
|
37
41
|
- lib-internal/common.rb
|