Replace airbrake with bugsnag

footer-fixes
Marcin Kulik 10 years ago
parent ca30a5fb29
commit 94bb242c64

@ -14,7 +14,7 @@ gem 'omniauth-twitter', '~> 0.0.16'
gem 'omniauth-github', '~> 1.1.0'
gem 'omniauth-browserid', git: 'https://github.com/callahad/omniauth-browserid.git'
gem 'kaminari', '~> 0.14.1'
gem 'airbrake', '~> 3.1.14'
gem 'bugsnag', '~> 2.2.1'
gem 'draper', '~> 1.2.1'
gem 'fog', '~> 1.9.0'
gem 'simple_form', '~> 3.0.2'

@ -36,15 +36,15 @@ GEM
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
airbrake (3.1.14)
builder
json
arel (4.0.2)
axiom-types (0.0.5)
descendants_tracker (~> 0.0.1)
ice_nine (~> 0.9)
bootstrap-sass (3.1.1.0)
sass (~> 3.2)
bugsnag (2.2.1)
httparty (>= 0.6, < 1.0)
multi_json (~> 1.0)
builder (3.1.4)
cane (2.5.2)
parallel
@ -135,6 +135,9 @@ GEM
hashie (2.0.5)
highline (1.6.19)
hike (1.2.3)
httparty (0.13.1)
json (~> 1.8)
multi_xml (>= 0.5.2)
httpauth (0.2.0)
i18n (0.6.9)
ice_nine (0.11.0)
@ -165,6 +168,7 @@ GEM
mime-types (1.25.1)
minitest (4.7.5)
multi_json (1.9.2)
multi_xml (0.5.5)
multipart-post (1.2.0)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
@ -352,7 +356,7 @@ PLATFORMS
DEPENDENCIES
active_model_serializers (~> 0.8.1)
airbrake (~> 3.1.14)
bugsnag (~> 2.2.1)
cane (~> 2.5.2)
capistrano (~> 2.15)
capistrano-ext (~> 1.2)

@ -3,8 +3,7 @@ module Asciinema
include Virtus.model
attribute :add_this_profile_id, String
attribute :airbrake_api_key, String
attribute :airbrake_host, String
attribute :bugsnag_api_key, String
attribute :aws_access_key_id, String
attribute :aws_bucket, String
attribute :aws_region, String

@ -0,0 +1,5 @@
if CFG.bugsnag_api_key
Bugsnag.configure do |config|
config.api_key = CFG.bugsnag_api_key
end
end

@ -1,8 +0,0 @@
if CFG.airbrake_api_key
Airbrake.configure do |config|
config.api_key = CFG.airbrake_api_key
config.host = CFG.airbrake_host if CFG.airbrake_host
config.port = 80
config.secure = config.port == 443
end
end
Loading…
Cancel
Save