lib/onering/config.rb in onering-client-0.0.99 vs lib/onering/config.rb in onering-client-0.1.1
- old
+ new
@@ -3,11 +3,11 @@
module Onering
class Config
class<<self
DEFAULT_CONFIG={}
- DEFAULT_OPTIONS_FILE=["~/.onering/cli.yml", "/etc/onering/cli.yml"]
+ DEFAULT_OPTIONS_FILE=["~/.onering/cli.yml", "~/.onering/key.yml", "/etc/onering/cli.yml", "/etc/onering/key.yml"]
def load(configfile=nil, config={})
if configfile.nil?
configfile = []
else
@@ -54,6 +54,6 @@
def unset(key)
@_config.unset(key)
end
end
end
-end
\ No newline at end of file
+end