tw 1.0.5 → 1.0.6
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 +5 -1
- 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: dc1df0cc1ccd60dd856c096f17518ee3da6c49ad
|
4
|
+
data.tar.gz: 590bf05cfcacfa7731a38b3b6daea5aa70b02a18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23805b0bc35830b2554a4c4fa30386459d9a68eb6518244f5a96b89ba0d55bd53256f6a1f790ab5d479189a6b6f19f29f1c99296558ee00496e1646645dd97cb
|
7
|
+
data.tar.gz: a75fa07add9fc4002fbbab348c1dcddec894c5bdf44ed7fd0e51356de224a711e707dee2d7c197ad661905d69efc2038c286684dc353a562f19abac50cb700e0
|
data/History.txt
CHANGED
data/lib/tw/client/auth.rb
CHANGED
@@ -42,7 +42,11 @@ module Tw
|
|
42
42
|
:site => 'https://api.twitter.com')
|
43
43
|
request_token = consumer.get_request_token
|
44
44
|
puts "open #{request_token.authorize_url}"
|
45
|
-
|
45
|
+
begin
|
46
|
+
Launchy.open request_token.authorize_url
|
47
|
+
rescue
|
48
|
+
STDERR.puts "couldn't open web-browser"
|
49
|
+
end
|
46
50
|
print 'input PIN Number: '
|
47
51
|
verifier = STDIN.gets.strip
|
48
52
|
access_token = request_token.get_access_token(:oauth_verifier => verifier)
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|