learn-co 3.2.4 → 3.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/learn +1 -1
  3. data/lib/learn/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 171a3674783644ccc2cee0767d3df20960e6f0cb
4
- data.tar.gz: 9f10aa941df291819067cbc0d1d362a1f16b0610
3
+ metadata.gz: ab799018dd73709ffed5cabdee36161ddc8ce194
4
+ data.tar.gz: 77942e6a082394ab307cb1d3ca2a0d82d2d0f6d7
5
5
  SHA512:
6
- metadata.gz: f18eaeab2ffe0eea588e15ed2cf9ce0f6825b5dc3787224402f27dcf8fe42307fb81918b6369f43bdae848901a3f5b42f4b249f54823a5ddd598e25e754becd5
7
- data.tar.gz: c1daa708d808e9827c6cdba6b1f535348ca2c65bc2a4d4bbe98285e0fcde3a10b44fc5fc4d975b9737e63412e0163f8f63d4ac6189f930753bcd113b567e1dbe
6
+ metadata.gz: d25f01b01929fdea3f0d5fe6cd54f18c851148704be075d019ae05287ea63eebd8bc7fb0ac1d0d14283f9b07ed48d97b74fa2278b8e8c4827c9304cdf0a1a7c1
7
+ data.tar.gz: a1fb97a228948b5675e5c46d2c05566b11fe55ea2379d2bb5f4fbfb6740a1c5afaf15237642b8f2902fb295f9b5ad3274ff5e7b1f9a00551c941bd2a3a186a3d
data/bin/learn CHANGED
@@ -26,7 +26,7 @@ Learn::OptionsSanitizer.new(ARGV).sanitize!
26
26
  netrc = Learn::NetrcInteractor.new
27
27
  token = netrc.read.password
28
28
 
29
- if token.nil? || token == 'machine'
29
+ if token.nil? || token == 'machine' || !File.exist?(File.expand_path('~/.learn-config'))
30
30
  system('learn-config') unless Learn::InternetConnection.no_internet_connection?
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  module Learn
2
- VERSION = '3.2.4'
2
+ VERSION = '3.2.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-co
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 3.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School