Sha256: 895869a510273d6e1fd5bf557abbe20ed2b7154aa223d02cb565759fdd4e2849

Contents?: true

Size: 999 Bytes

Versions: 13

Compression:

Stored size: 999 Bytes

Contents

Bugsnag.configure do |config|
  config.api_key = ENV["BUGSNAG_API_KEY"] || ENV["BUGSNAG_API_KEY"]
  config.endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["BUGSNAG_ENDPOINT"]
  config.session_endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["BUGSNAG_ENDPOINT"]
  config.app_type = ENV["BUGSNAG_APP_TYPE"] if ENV.include? "BUGSNAG_APP_TYPE"
  config.app_version = ENV["BUGSNAG_APP_VERSION"] if ENV.include? "BUGSNAG_APP_VERSION"
  config.auto_notify = ENV["BUGSNAG_AUTO_NOTIFY"] != "false"
  config.project_root = ENV["BUGSNAG_PROJECT_ROOT"] if ENV.include? "BUGSNAG_PROJECT_ROOT"
  config.ignore_classes << lambda { |ex| ex.class.to_s == ENV["BUGSNAG_IGNORE_CLASS"] } if ENV.include? "BUGSNAG_IGNORE_CLASS"
  config.auto_capture_sessions = ENV["BUGSNAG_AUTO_CAPTURE_SESSIONS"] == "true"
  config.release_stage = ENV["BUGSNAG_RELEASE_STAGE"] if ENV.include? "BUGSNAG_RELEASE_STAGE"
  config.send_code = ENV["BUGSNAG_SEND_CODE"] != "false"
  config.send_environment = ENV["BUGSNAG_SEND_ENVIRONMENT"] == "true"
end

Version data entries

13 entries across 10 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.14.0 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.13.1 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.13.0 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.12.2 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.12.1 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.12.0 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.11.1 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.11.0 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.10.0 features/fixtures/delayed_job/app/config/initializers/bugsnag.rb
bugsnag-6.10.0 features/fixtures/rails5/app/config/initializers/bugsnag.rb
bugsnag-6.10.0 features/fixtures/rails4/app/config/initializers/bugsnag.rb
bugsnag-6.10.0 features/fixtures/rails3/app/config/initializers/bugsnag.rb