From d4b98eef49e8ef5349397e4ab4060ca30d86beb8 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Sun, 30 Aug 2015 11:32:35 +0100 Subject: [PATCH] Remove Rollbar --- Gemfile | 1 - Gemfile.lock | 2 -- Rakefile | 2 -- config/initializers/rollbar.rb | 6 ------ lib/api.rb | 1 - 5 files changed, 12 deletions(-) delete mode 100644 config/initializers/rollbar.rb diff --git a/Gemfile b/Gemfile index 3f95959..1b13e91 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,6 @@ source 'http://rubygems.org' ruby '2.2.3' gem 'fixer' -gem 'rollbar' gem 'newrelic_rpm' gem 'pry' gem 'rake' diff --git a/Gemfile.lock b/Gemfile.lock index a578b8f..66ef67a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -36,8 +36,6 @@ GEM rack (>= 1.0) raindrops (0.13.0) rake (10.4.2) - rollbar (1.5.3) - multi_json (~> 1.3) sequel (4.22.0) sequel_pg (1.6.12) pg (>= 0.8.0) diff --git a/Rakefile b/Rakefile index 7dce881..23632e1 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,2 @@ -require 'rollbar/rake' - Dir.glob('lib/tasks/*.rake').each { |r| import r } task default: %w(db:migrate rates:load test) diff --git a/config/initializers/rollbar.rb b/config/initializers/rollbar.rb deleted file mode 100644 index 40369db..0000000 --- a/config/initializers/rollbar.rb +++ /dev/null @@ -1,6 +0,0 @@ -require 'rollbar' - -Rollbar.configure do |config| - config.access_token = ENV['ROLLBAR_ACCESS_TOKEN'] - config.environment = App.env -end diff --git a/lib/api.rb b/lib/api.rb index c9483fa..f630137 100644 --- a/lib/api.rb +++ b/lib/api.rb @@ -1,4 +1,3 @@ -require 'rollbar/rack' require 'sinatra' require 'sinatra/cross_origin' require 'sinatra/jsonp'