lib/ridley/connection.rb in ridley-0.5.0 vs lib/ridley/connection.rb in ridley-0.5.1

- old
+ new

@@ -88,11 +88,11 @@ # @option options [URI, String, Hash] :proxy # URI, String, or Hash of HTTP proxy options def initialize(options = {}) self.class.validate_options(options) - @client_name = options.fetch(:client_name) - @client_key = options.fetch(:client_key) + @client_name = options[:client_name] + @client_key = File.expand_path(options[:client_key]) @organization = options[:organization] @thread_count = (options[:thread_count] || DEFAULT_THREAD_COUNT) @ssh = (options[:ssh] || Hash.new) @validator_client = options[:validator_client] @validator_path = options[:validator_path]