google_doc_seed 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google_doc_seed.rb +2 -2
- data/lib/google_doc_seed/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f698d58451b4c3ef08f9bef13baf5693f731c733
|
4
|
+
data.tar.gz: ec64d4a3940ff3afe03a846c25a908926baac81a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f5c8599d30e74422e23a613181b22b9b8ac19d529f2f44d2bab9647b9a1cdbe1015cfb5d90beed251583796a2215d58362ba2b3f8d3ec00cfd989a94ed79a88
|
7
|
+
data.tar.gz: 605842f12b94ce34b2dd7b3be88c312ced501961236103b92a62ece9f5c0b726589b59f3f097516d080da8ba7ca0197b04371052ff724faf34439cfc3f2cd459
|
data/lib/google_doc_seed.rb
CHANGED
@@ -15,8 +15,8 @@ class GoogleDocSeed
|
|
15
15
|
client.authorization.redirect_uri = 'urn:ietf:wg:oauth:2.0:oob'
|
16
16
|
client.authorization.scope = 'https://spreadsheets.google.com/feeds'
|
17
17
|
Launchy.open(client.authorization.authorization_uri)
|
18
|
-
puts 'Enter authorization code: '
|
19
|
-
client.authorization.code = gets.chomp
|
18
|
+
STDOUT.puts 'Enter authorization code: '
|
19
|
+
client.authorization.code = STDIN.gets.chomp
|
20
20
|
client.authorization.fetch_access_token!
|
21
21
|
end
|
22
22
|
|