twat 0.10.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.ruby-version +1 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +11 -11
- data/LICENSE +22 -0
- data/lib/twat/subcommands/base.rb +1 -3
- data/lib/twat/version.rb +2 -2
- data/twat.gemspec +6 -1
- metadata +105 -111
- metadata.gz.sig +0 -0
- data/.rvmrc +0 -1
data.tar.gz.sig
ADDED
Binary file
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.9.3
|
data/Gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
2
|
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
twat (0.
|
4
|
+
twat (0.10.1)
|
5
5
|
oauth (= 0.4.4)
|
6
6
|
readline-ng (>= 0.0.8)
|
7
|
-
twitter
|
7
|
+
twitter
|
8
8
|
|
9
9
|
GEM
|
10
|
-
remote:
|
10
|
+
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
diff-lcs (1.1.3)
|
13
|
-
faraday (0.8.
|
13
|
+
faraday (0.8.7)
|
14
14
|
multipart-post (~> 1.1)
|
15
15
|
metaclass (0.0.1)
|
16
16
|
mktemp (0.0.1)
|
17
17
|
mocha (0.13.1)
|
18
18
|
metaclass (~> 0.0.1)
|
19
|
-
multi_json (1.
|
20
|
-
multipart-post (1.
|
19
|
+
multi_json (1.7.2)
|
20
|
+
multipart-post (1.2.0)
|
21
21
|
oauth (0.4.4)
|
22
22
|
rake (10.0.3)
|
23
23
|
readline-ng (0.2.0)
|
@@ -29,11 +29,11 @@ GEM
|
|
29
29
|
rspec-expectations (2.12.1)
|
30
30
|
diff-lcs (~> 1.1.3)
|
31
31
|
rspec-mocks (2.12.1)
|
32
|
-
simple_oauth (0.
|
33
|
-
twitter (
|
34
|
-
faraday (~> 0.8)
|
35
|
-
multi_json (~> 1.
|
36
|
-
simple_oauth (~> 0.
|
32
|
+
simple_oauth (0.2.0)
|
33
|
+
twitter (4.6.2)
|
34
|
+
faraday (~> 0.8, < 0.10)
|
35
|
+
multi_json (~> 1.0)
|
36
|
+
simple_oauth (~> 0.2)
|
37
37
|
|
38
38
|
PLATFORMS
|
39
39
|
ruby
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2011-2013 Richo Healey <richo@psych0tik.net>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
|
@@ -16,8 +16,6 @@ module Twat::Subcommands
|
|
16
16
|
|
17
17
|
include ::Twat::Exceptions
|
18
18
|
|
19
|
-
attr_reader :opts
|
20
|
-
|
21
19
|
def initialize(argv)
|
22
20
|
@argv=argv
|
23
21
|
end
|
@@ -53,7 +51,7 @@ module Twat::Subcommands
|
|
53
51
|
config.endpoint.consumer_info.each do |key, value|
|
54
52
|
twit.send("#{key}=", value)
|
55
53
|
end
|
56
|
-
twit.endpoint = config.endpoint.url
|
54
|
+
# twit.endpoint = config.endpoint.url
|
57
55
|
end
|
58
56
|
end
|
59
57
|
|
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"
|
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"
|
@@ -22,4 +22,9 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.files = `git ls-files`.split("\n")
|
23
23
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
24
|
s.require_paths = ["lib"]
|
25
|
+
|
26
|
+
if ENV['GEM_PRIVATE_KEY']
|
27
|
+
s.signing_key = "#{ENV['GEM_PRIVATE_KEY']}/gem-private_key.pem"
|
28
|
+
s.cert_chain = ["#{ENV['GEM_PRIVATE_KEY']}/gem-public_cert.pem"]
|
29
|
+
end
|
25
30
|
end
|
metadata
CHANGED
@@ -1,141 +1,131 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: twat
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.0
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.0.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Rich Healey
|
9
9
|
autorequire:
|
10
10
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6rYI4PpmceHoP9uo8iFKi4HQd2HjqjGwJ3fsrzS6Gsahbh1Qs
|
28
|
+
MwRLVBy7TV2Cb08QUlB8o9N4VGgShgl7tgFVWCU+XVUBc8XffqTlhObSCzSKZ5tZ
|
29
|
+
nu8ubBEvFw0uzGJGQsDhj1bxyi5DubK2XOxU7Gr/fyBVxys9E0WMUPEet6lz+6la
|
30
|
+
EZooDFA4YmMIfW8Fvj2/T3V/sL1vJSDCdTv7ECdoX5snQmTxD9pFsUmxLfiJ/MFM
|
31
|
+
iiw+OPtvlsI=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
|
34
|
+
date: 2013-04-24 00:00:00 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
15
37
|
name: twitter
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '3'
|
22
|
-
type: :runtime
|
23
38
|
prerelease: false
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: oauth
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
33
40
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 0
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: "0"
|
38
45
|
type: :runtime
|
46
|
+
version_requirements: *id001
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: oauth
|
39
49
|
prerelease: false
|
40
|
-
|
50
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
51
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
52
|
+
requirements:
|
53
|
+
- - "="
|
54
|
+
- !ruby/object:Gem::Version
|
45
55
|
version: 0.4.4
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: readline-ng
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 0.0.8
|
54
56
|
type: :runtime
|
57
|
+
version_requirements: *id002
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: readline-ng
|
55
60
|
prerelease: false
|
56
|
-
|
61
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
62
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
61
66
|
version: 0.0.8
|
62
|
-
|
67
|
+
type: :runtime
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
63
70
|
name: rake
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
71
|
prerelease: false
|
72
|
-
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: mocha
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
81
73
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version:
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: "0"
|
86
78
|
type: :development
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: mocha
|
87
82
|
prerelease: false
|
88
|
-
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: rspec
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
97
84
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version:
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: "0"
|
102
89
|
type: :development
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: rspec
|
103
93
|
prerelease: false
|
104
|
-
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: mktemp
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
113
95
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version:
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: "0"
|
118
100
|
type: :development
|
101
|
+
version_requirements: *id006
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: mktemp
|
119
104
|
prerelease: false
|
120
|
-
|
105
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
106
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version:
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: "0"
|
111
|
+
type: :development
|
112
|
+
version_requirements: *id007
|
126
113
|
description: Command line tool for tweeting and whatnot
|
127
|
-
email:
|
114
|
+
email:
|
128
115
|
- richo@psych0tik.net
|
129
|
-
executables:
|
116
|
+
executables:
|
130
117
|
- twat
|
131
118
|
extensions: []
|
119
|
+
|
132
120
|
extra_rdoc_files: []
|
133
|
-
|
121
|
+
|
122
|
+
files:
|
134
123
|
- .gitignore
|
135
|
-
- .
|
124
|
+
- .ruby-version
|
136
125
|
- .travis.yml
|
137
126
|
- Gemfile
|
138
127
|
- Gemfile.lock
|
128
|
+
- LICENSE
|
139
129
|
- README.md
|
140
130
|
- Rakefile
|
141
131
|
- TODO
|
@@ -198,26 +188,30 @@ files:
|
|
198
188
|
- twat.gemspec
|
199
189
|
homepage: http://github.com/richo/twat
|
200
190
|
licenses: []
|
191
|
+
|
201
192
|
post_install_message:
|
202
193
|
rdoc_options: []
|
203
|
-
|
194
|
+
|
195
|
+
require_paths:
|
204
196
|
- lib
|
205
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
206
198
|
none: false
|
207
|
-
requirements:
|
208
|
-
- -
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version:
|
211
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - ">="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: "0"
|
203
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
204
|
none: false
|
213
|
-
requirements:
|
214
|
-
- -
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version:
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: "0"
|
217
209
|
requirements: []
|
210
|
+
|
218
211
|
rubyforge_project:
|
219
212
|
rubygems_version: 1.8.24
|
220
213
|
signing_key:
|
221
214
|
specification_version: 3
|
222
215
|
summary: Command line tool for tweeting and whatnot
|
223
216
|
test_files: []
|
217
|
+
|
metadata.gz.sig
ADDED
Binary file
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use 1.9.3
|