tw 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/lib/tw/client/auth.rb +3 -3
- data/lib/tw/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e58c9a9785be895484e56b0bfb1157544a135050
|
4
|
+
data.tar.gz: 8bb1833fb87d8fb7669aa9526e2d72a9dbe06033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 997bf08c395e1f0dd51ca16dd0b2c6088115f4de61254545eb8bbcacd46409eab222d43977dd82f2b410e13131832164aa31b9ba9887ef0ec6d69e6e6553babf
|
7
|
+
data.tar.gz: be746c42db188db8995c63c32e8bb836f9179cd1f8285d7a17c6a2ca367694969343a9828dcd77889ff8f9228a9b5e0066001fe48e713167ef1b60ec36482a0f
|
data/History.txt
CHANGED
data/lib/tw/client/auth.rb
CHANGED
@@ -47,9 +47,9 @@ module Tw
|
|
47
47
|
print 'input PIN Number: '
|
48
48
|
verifier = STDIN.gets.strip
|
49
49
|
access_token = request_token.get_access_token(:oauth_verifier => verifier)
|
50
|
-
|
51
|
-
|
52
|
-
u =
|
50
|
+
client = Tw::Client.new.auth('access_token' => access_token.token,
|
51
|
+
'access_secret' => access_token.secret)
|
52
|
+
u = client.user
|
53
53
|
Conf['users'][u.screen_name] = {
|
54
54
|
'access_token' => access_token.token,
|
55
55
|
'access_secret' => access_token.secret,
|
data/lib/tw/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|