Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Add an env variable for setting SSL on / off
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwynne committed Sep 5, 2011
1 parent 4278921 commit 43baf34
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/relish.rb
Expand Up @@ -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 removed lib/relish/commands/.base.rb.swp
Binary file not shown.
Binary file removed lib/relish/commands/.dsl.rb.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/relish/commands/base.rb
Expand Up @@ -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
Expand Down

0 comments on commit 43baf34

Please sign in to comment.