lib/gemfury/configuration.rb in gemfury-0.12.1 vs lib/gemfury/configuration.rb in gemfury-0.13.0.beta1

- old
+ new

@@ -1,16 +1,17 @@ +# frozen_string_literal: true + module Gemfury module Configuration - CONFIGURATION_DEFAULTS = { - :user_api_key => nil, - :adapter => :net_http, - :endpoint => 'https://api.fury.io/', - :gitpoint => 'https://git.fury.io/', - :pushpoint => 'https://push.fury.io/', - :user_agent => "Gemfury RubyGem #{Gemfury::VERSION} (Ruby #{RUBY_VERSION})", - :api_version => 1, - :account => nil + user_api_key: nil, + adapter: :net_http, + endpoint: 'https://api.fury.io/', + gitpoint: 'https://git.fury.io/', + pushpoint: 'https://push.fury.io/', + user_agent: "Gemfury RubyGem #{Gemfury::VERSION} (Ruby #{RUBY_VERSION})", + api_version: 1, + account: nil }.freeze # user API key, also known as "full access token" # @return [String] attr_accessor :user_api_key