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 CHANGED
@@ -12,7 +12,11 @@ require 'exercism/api'
12
12
  class Exercism
13
13
 
14
14
  def self.home
15
- Dir.home(Etc.getlogin)
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)
@@ -1,3 +1,3 @@
1
1
  class Exercism
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: