learn-config 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/learn_config/setup.rb +1 -1
- data/lib/learn_config/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: 6ae056b0a8c37d5d1169543cad800be9e8f8d0ae
|
4
|
+
data.tar.gz: e70383dd09d4dfa0713e0875c30b979406e3c0d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bdf8e974d71f123400beb25e25529b635731643234b53ebe7f74b04eb31669e9b55dffb0db5c837cb1b6a3415359d817b6fee1c89f0cb8e4726517a37870f3a
|
7
|
+
data.tar.gz: 86aa68aa63680565341c8d14c5ae06ffd93899a19d50e524ae4fea22be951bad532f0a1f031e1126042b6fe4547de4cd9c39679f103a22ff69bbed1a7b8d69c5
|
data/lib/learn_config/setup.rb
CHANGED
@@ -213,7 +213,7 @@ module LearnConfig
|
|
213
213
|
if (!login || !password) || !LearnWeb::Client.new(token: password, silent_output: true).valid_token?
|
214
214
|
github_username, _uid = netrc.read(machine: 'flatiron-push')
|
215
215
|
oauth_token = LearnConfig::CLI.new(github_username).ask_for_oauth_token
|
216
|
-
netrc.write(new_login:
|
216
|
+
netrc.write(new_login: github_username, new_password: oauth_token)
|
217
217
|
end
|
218
218
|
end
|
219
219
|
|
data/lib/learn_config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: learn-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flatiron School
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|