From 81a1fcf9433ea4c98a4a501eee2dfa1b67997d02 Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Fri, 9 Sep 2016 12:55:14 -0700 Subject: [PATCH] Remove deprecated config options --- lib/raven/configuration.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/raven/configuration.rb b/lib/raven/configuration.rb index 1e390f0bd..81e09810b 100644 --- a/lib/raven/configuration.rb +++ b/lib/raven/configuration.rb @@ -38,9 +38,6 @@ class Configuration # The Faraday adapter to be used. Will default to Net::HTTP when not set. attr_accessor :http_adapter - # DEPRECATED: This option is now ignored as we use our own adapter. - attr_accessor :json_adapter - # Logger used by Raven. In Rails, this is the Rails logger, otherwise # Raven provides its own Raven::Logger. attr_accessor :logger @@ -81,8 +78,6 @@ class Configuration # When `rails_report_rescued_exceptions` is true (it is by default), Raven # will report exceptions even when they are rescued by these middlewares. attr_accessor :rails_report_rescued_exceptions - # Deprecated accessor - attr_reader :catch_debugged_exceptions # Release tag to be passed with every event sent to Sentry. # We automatically try to set this to a git SHA or Capistrano release. @@ -264,13 +259,6 @@ def project_root=(root_dir) Backtrace::Line.instance_variable_set(:@in_app_pattern, nil) # blow away cache end - def catch_debugged_exceptions=(boolean) - Raven.logger.warn "DEPRECATION WARNING: catch_debugged_exceptions has been \ - renamed to rails_report_rescued_exceptions. catch_debugged_exceptions will \ - be removed in raven-ruby 0.17.0" - self.rails_report_rescued_exceptions = boolean - end - private def detect_release