lib/relish/commands/base.rb in relish-0.7 vs lib/relish/commands/base.rb in relish-0.7.1
- old
+ new
@@ -62,9 +62,10 @@
def resource(options = {})
options[:user] ||= api_token
options[:password] ||= 'X'
options[:headers] = { :client_version => Relish::Version::STRING }
+ options[:ssl_version] = 'SSLv23'
RestClient::Resource.new(url, options)
end
def clean_args(args)
args.inject([]) {|cleaned, arg| cleaned << arg.sub('--', '') }