lib/honeybadger/cli/helpers.rb in honeybadger-2.0.10 vs lib/honeybadger/cli/helpers.rb in honeybadger-2.0.11

- old
+ new

@@ -48,18 +48,11 @@ { :root => ::Rails.root, :env => ::Rails.env, :'config.path' => ::Rails.root.join('config', 'honeybadger.yml'), - :framework_name => "Rails #{::Rails::VERSION::STRING}", - :api_key => rails_secrets_api_key + :framework => :rails } - end - - def rails_secrets_api_key - if defined?(::Rails.application.secrets) - ::Rails.application.secrets.honeybadger_api_key - end end def test_exception_class exception_name = ENV['EXCEPTION'] || 'HoneybadgerTestingException' Object.const_get(exception_name)