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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f03f388280b75998a4a1db19a85291a6be317011
4
- data.tar.gz: 7148f93dfa09e3cd38c9d3c9538027702bd246ac
3
+ metadata.gz: 6ae056b0a8c37d5d1169543cad800be9e8f8d0ae
4
+ data.tar.gz: e70383dd09d4dfa0713e0875c30b979406e3c0d5
5
5
  SHA512:
6
- metadata.gz: 43d00494044dcda52d42b1395f899854650e0c9cbb402a9909b63ffa45e33d325eb625f5f87ed3e691c88d3c437dee1c2e6691270da5e0976917b2eba0d48110
7
- data.tar.gz: 254984468e03b96d3a2a8781658d0ddee210f33afb5ae0b1005500365ed98dbc6091e481d9827195b9174bb7a28620f53fdfef2513dbda5d20dded90f3d8b3c2
6
+ metadata.gz: 3bdf8e974d71f123400beb25e25529b635731643234b53ebe7f74b04eb31669e9b55dffb0db5c837cb1b6a3415359d817b6fee1c89f0cb8e4726517a37870f3a
7
+ data.tar.gz: 86aa68aa63680565341c8d14c5ae06ffd93899a19d50e524ae4fea22be951bad532f0a1f031e1126042b6fe4547de4cd9c39679f103a22ff69bbed1a7b8d69c5
@@ -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: 'learn', new_password: oauth_token)
216
+ netrc.write(new_login: github_username, new_password: oauth_token)
217
217
  end
218
218
  end
219
219
 
@@ -1,3 +1,3 @@
1
1
  module LearnConfig
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
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.1
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-28 00:00:00.000000000 Z
11
+ date: 2015-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler