exercism 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/exercism.rb +5 -1
- data/lib/exercism/version.rb +1 -1
- metadata +1 -1
data/lib/exercism.rb
CHANGED
@@ -12,7 +12,11 @@ require 'exercism/api'
|
|
12
12
|
class Exercism
|
13
13
|
|
14
14
|
def self.home
|
15
|
-
|
15
|
+
if ENV["OS"] == 'Windows_NT' then
|
16
|
+
ENV["HOMEDRIVE"]+ENV["HOMEPATH"]
|
17
|
+
else
|
18
|
+
Dir.home(Etc.getlogin)
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
22
|
def self.login(github_username, key, dir)
|
data/lib/exercism/version.rb
CHANGED