lib/honeybadger/config/defaults.rb in honeybadger-2.7.2 vs lib/honeybadger/config/defaults.rb in honeybadger-3.0.0.beta1

- old
+ new

@@ -21,21 +21,21 @@ 'Mongoid::Errors::DocumentNotFound', 'Sinatra::NotFound'].map(&:freeze).freeze DEVELOPMENT_ENVIRONMENTS = ['development', 'test', 'cucumber'].map(&:freeze).freeze - DEFAULT_PATHS = ['honeybadger.yml', 'config/honeybadger.yml'].map(&:freeze).freeze + DEFAULT_PATHS = ['honeybadger.yml', 'config/honeybadger.yml', "#{ENV['HOME']}/honeybadger.yml"].map(&:freeze).freeze OPTIONS = { api_key: { description: 'The API key for your Honeybadger project.', default: nil, type: String }, env: { description: 'The current application\'s environment name.', - default: ENV['HONEYBADGER_ENV'] || ENV['RACK_ENV'] || ENV['APP_ENV'], + default: nil, type: String }, report_data: { description: 'Enable/disable reporting of data. Defaults to true for non-development environments.', default: nil, @@ -84,11 +84,11 @@ plugins: { description: 'An optional list of plugins to load. Default is to load all plugins.', default: nil, type: Array }, - :'plugins.skip' => { + :'skipped_plugins' => { description: 'An optional list of plugins to skip.', default: nil, type: Array }, :'config.path' => { @@ -221,11 +221,11 @@ default: IGNORE_DEFAULT, type: Array }, :'exceptions.ignore_only' => { description: 'A list of exceptions to ignore (overrides the default ignored exceptions).', - default: [].freeze, + default: nil, type: Array }, :'exceptions.ignored_user_agents' => { description: 'A list of user agents to ignore.', default: [].freeze, @@ -266,10 +266,10 @@ default: 0, type: Integer }, :'sidekiq.use_component' => { description: 'Automatically set the component to the class of the job. Helps with grouping.', - default: false, + default: true, type: Boolean }, :'sinatra.enabled' => { description: 'Enable Sinatra auto-initialization.', default: true,