learn-config 1.0.75 → 1.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bb45399d53dbda69ac3d542114bd8cefd246f3c
4
- data.tar.gz: 4ee8ff4586ae4cbcaf4ebfd6333c028471db96c4
3
+ metadata.gz: 87a9903de603112774101b121f9ce9d4874314b5
4
+ data.tar.gz: 2cc8b21eed45da474155b8779b1d40a452d59143
5
5
  SHA512:
6
- metadata.gz: e78455c75d2b05708919a4eb47e9106128a4532cf395767375cd9e597824ef660fed52eb719d80efa5b8b1af3e90429d61133dff3f7f06f15a0a67e8e6d6a23f
7
- data.tar.gz: b73eea25d9ea2899b6fd5ff94448eae88c267c590eb67a14e74c1a59a2b53951fb6a23b111a77ee5ef166b1654937afdad5f94fbd3a473e3667792843d15076a
6
+ metadata.gz: dd2716ef27008e8c2a7b813604939391bc3d517a2879d46ddb8aa8657eaf8c78352934b127dd7bb02ff36a340ba2dd7b42ba4164598e1c27504e25bbf19fcc29
7
+ data.tar.gz: cb721f8635ff24d85e85da1248a06687283f1c127603d80ec7436dd2f3ba6a5694dc697a0479ded461368520fbcc0d604df4320eea83d9a8e0b61fca02dc9021
@@ -72,13 +72,13 @@ module LearnConfig
72
72
  path = ''
73
73
 
74
74
  while !path.start_with?('/')
75
- print "Enter the directory in which to store Learn lessons (/Users/#{ENV['USER']}/Development/code): "
75
+ print "Enter the directory in which to store Learn lessons (#{ENV['HOME']}/Development/code): "
76
76
  path = gets.chomp
77
77
 
78
78
  if path.start_with?('~')
79
79
  path = File.expand_path(path)
80
80
  elsif path == ''
81
- path = "/Users/#{ENV['USER']}/Development/code"
81
+ path = "#{ENV['HOME']}/Development/code"
82
82
  elsif !path.start_with?('/')
83
83
  puts "Absolute paths only, please!"
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module LearnConfig
2
- VERSION = '1.0.75'
2
+ VERSION = '1.0.76'
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.75
4
+ version: 1.0.76
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-10-28 00:00:00.000000000 Z
11
+ date: 2016-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler