Permalink
Browse files

Add an env variable for setting SSL on / off

  • Loading branch information...
1 parent 4278921 commit 43baf34aae9ee4f129e52337847deee9a1d9d160 @mattwynne mattwynne committed Sep 5, 2011
View
@@ -17,5 +17,6 @@ def #{name} # def global_options_file
setting :global_options_file, File.join(File.expand_path('~'), '.relish')
setting :local_options_file, '.relish'
setting :default_host, 'api.relishapp.com'
+ setting :default_ssl, 'on'
end
end
Binary file not shown.
Binary file not shown.
@@ -15,7 +15,7 @@ class Base
option :api_token, :default => lambda { get_and_store_api_token }
option :host, :default => lambda { Relish.default_host }
- option :ssl, :default => lambda { 'on' }
+ option :ssl, :default => lambda { Relish.default_ssl }
attr_writer :args
attr_reader :cli_options

0 comments on commit 43baf34

Please sign in to comment.