twat 0.9.4 → 0.9.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.
- data/Gemfile.lock +7 -12
- data/{README → README.md} +29 -11
- data/lib/twat/subcommands/follow_tag.rb +1 -1
- data/lib/twat/version.rb +1 -1
- data/twat.gemspec +1 -1
- metadata +7 -8
data/Gemfile.lock
CHANGED
@@ -1,28 +1,24 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
twat (0.9.
|
5
|
-
oauth
|
4
|
+
twat (0.9.4)
|
5
|
+
oauth (= 0.4.4)
|
6
6
|
readline-ng (>= 0.0.8)
|
7
|
-
twitter
|
7
|
+
twitter (~> 2.5.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (3.2.3)
|
13
|
-
i18n (~> 0.6)
|
14
|
-
multi_json (~> 1.0)
|
15
12
|
diff-lcs (1.1.3)
|
16
|
-
faraday (0.8.
|
13
|
+
faraday (0.8.1)
|
17
14
|
multipart-post (~> 1.1)
|
18
|
-
i18n (0.6.0)
|
19
15
|
metaclass (0.0.1)
|
20
16
|
mktemp (0.0.1)
|
21
17
|
mocha (0.11.4)
|
22
18
|
metaclass (~> 0.0.1)
|
23
|
-
multi_json (1.3.
|
19
|
+
multi_json (1.3.6)
|
24
20
|
multipart-post (1.1.5)
|
25
|
-
oauth (0.4.
|
21
|
+
oauth (0.4.4)
|
26
22
|
rake (0.9.2.2)
|
27
23
|
readline-ng (0.0.9)
|
28
24
|
rspec (2.10.0)
|
@@ -34,8 +30,7 @@ GEM
|
|
34
30
|
diff-lcs (~> 1.1.3)
|
35
31
|
rspec-mocks (2.10.1)
|
36
32
|
simple_oauth (0.1.8)
|
37
|
-
twitter (2.
|
38
|
-
activesupport (>= 2.3.9, < 4)
|
33
|
+
twitter (2.5.0)
|
39
34
|
faraday (~> 0.8)
|
40
35
|
multi_json (~> 1.3)
|
41
36
|
simple_oauth (~> 0.1.6)
|
data/{README → README.md}
RENAMED
@@ -1,27 +1,45 @@
|
|
1
|
-
|
1
|
+
# Twat
|
2
2
|
|
3
3
|
Like twitter? Hate GUIs? twat might be for you.
|
4
4
|
|
5
5
|
in it's simplest form, twat is a tweeting thing. I wrote it so I could
|
6
6
|
tweet from my hacktop at a conference.
|
7
7
|
|
8
|
-
|
8
|
+
```bash
|
9
9
|
|
10
|
+
twat tweet goes here.
|
11
|
+
```
|
10
12
|
simple. You'll need to hide metacharacters from your shell though. It
|
11
13
|
can also do other neat things:
|
12
14
|
|
13
|
-
twat -
|
15
|
+
You can put twat into follow mode, which is like tail -f for twitter:
|
16
|
+
|
17
|
+
```bash
|
18
|
+
|
19
|
+
twat
|
20
|
+
```
|
21
|
+
|
22
|
+
or optionionally follow a search or a hashtag
|
23
|
+
|
24
|
+
```bash
|
25
|
+
|
26
|
+
twat follow_tag #melbwebdev
|
27
|
+
```
|
28
|
+
|
29
|
+
You'll need to add your account with
|
30
|
+
|
31
|
+
```bash
|
14
32
|
|
15
|
-
|
16
|
-
|
17
|
-
You can delete them.
|
33
|
+
twat add <username>
|
34
|
+
```
|
18
35
|
|
19
|
-
|
36
|
+
Importantly, <username> is just an internal alias, it will signin to whatever
|
37
|
+
account you login to twitter with, since it's oauth backed.
|
20
38
|
|
21
39
|
(Actually twat doesn't do lots of things, in truth, if one other person
|
22
40
|
than me finds it useful, it will have far exceeded my expections)
|
23
41
|
|
24
|
-
|
42
|
+
## Release status
|
25
43
|
|
26
44
|
Features are implemented pretty much as I see need for them, and I still
|
27
45
|
haven't put together a test suite so changes may or may not leave the code in
|
@@ -32,19 +50,19 @@ a config file, but much of it's interface is missing/counterintuitive. Support
|
|
32
50
|
for sites other than twitter (identi.ca, for example) is planned but not
|
33
51
|
implemented.
|
34
52
|
|
35
|
-
|
53
|
+
## Credits and thanks
|
36
54
|
|
37
55
|
I used a lot the structure from codeplane to work out how to structure it. It's
|
38
56
|
obviously not as neat, but the gemspec was shamelessly adapted from codeplane
|
39
57
|
|
40
58
|
the oauth and Twitter gems saved me from actually having to do much work.
|
41
59
|
|
42
|
-
|
60
|
+
## Contact
|
43
61
|
|
44
62
|
I'm reachable at richo@psych0tik.net, and I contribute to a blog at
|
45
63
|
http://blog.psych0tik.net
|
46
64
|
|
47
|
-
|
65
|
+
## License
|
48
66
|
|
49
67
|
Twat is released under the WTFPL ( sam.zoy.org/wtfpl/ ), or, at your option the
|
50
68
|
GPLv2.
|
data/lib/twat/version.rb
CHANGED
data/twat.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = "Command line tool for tweeting and whatnot"
|
12
12
|
s.description = s.summary
|
13
13
|
|
14
|
-
s.add_dependency "twitter"
|
14
|
+
s.add_dependency "twitter", "~> 2.5.0"
|
15
15
|
s.add_dependency "oauth", "= 0.4.4"
|
16
16
|
s.add_dependency "readline-ng", ">= 0.0.8"
|
17
17
|
s.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: twitter
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.5.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.5.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: oauth
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +136,7 @@ files:
|
|
136
136
|
- .travis.yml
|
137
137
|
- Gemfile
|
138
138
|
- Gemfile.lock
|
139
|
-
- README
|
139
|
+
- README.md
|
140
140
|
- Rakefile
|
141
141
|
- TODO
|
142
142
|
- bin/twat
|
@@ -221,4 +221,3 @@ signing_key:
|
|
221
221
|
specification_version: 3
|
222
222
|
summary: Command line tool for tweeting and whatnot
|
223
223
|
test_files: []
|
224
|
-
has_rdoc:
|