lib/exercism.rb in exercism-0.0.19 vs lib/exercism.rb in exercism-0.0.20
- old
+ new
@@ -23,16 +23,16 @@
def self.home
@home ||= Env.home
end
- def self.login(github_username, key, dir, config_path)
+ def self.login(github_username, key, dir)
data = {
'github_username' => github_username,
'key' => key,
'project_dir' => dir
}
- Config.write(config_path, data)
+ Config.write home, data
end
def self.user
c = config
User.new(c.github_username, c.key)