lib/vault-tools.rb in vault-tools-1.0.1 vs lib/vault-tools.rb in vault-tools-2.0.0
- old
+ new
@@ -1,12 +1,12 @@
require "vault-tools/version"
require 'sinatra/base'
require 'scrolls'
require 'rack/ssl-enforcer'
-require 'heroku-api'
require 'rollbar'
+require 'excon'
# Yes, there's a lot of stuff on STDERR. But its on
# stderr and not stdout so you can pipe to /dev/null if
# you hate it. These methods do some pretty heavy-handed
# environment munging and could lead to some hair-pulling
@@ -70,11 +70,10 @@
self.set_timezones
self.hack_time_class
self.override_global_config
self.load_shared_config
self.init_scrolls
- Tracing.configure
end
end
require 'vault-tools/app'
require 'vault-tools/config'
@@ -88,12 +87,9 @@
require 'vault-tools/text_processor'
require 'vault-tools/time'
require 'vault-tools/s3'
require 'vault-tools/statement_store'
require 'vault-tools/rollbar_helper'
-require 'vault-tools/tracing/sidekiq_client'
-require 'vault-tools/tracing/sidekiq_server'
-require 'vault-tools/tracing'
Rollbar.configure do |config|
config.environment = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || ENV['APP_ENV'] || ENV['ROLLBAR_ENV'] || 'unassigned'
config.access_token = ENV['ROLLBAR_ACCESS_TOKEN']
config.scrub_headers = (config.scrub_headers || []) | ["Authorization", "Cookie", "Set-Cookie", "X_CSRF_TOKEN", "X-CSRF-Token", "HTTP_X_CSRF_TOKEN"]