diff --git a/Gemfile b/Gemfile index b9dd501..1499e69 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,6 @@ gem 'jwt' gem 'mimemagic' gem 'octokit' gem 'rake' -gem 'sentry-raven' gem 'zeitwerk' group :development do diff --git a/Gemfile.lock b/Gemfile.lock index a9d3c7e..1c9e116 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -88,8 +88,6 @@ GEM sawyer (0.8.2) addressable (>= 2.3.5) faraday (> 0.8, < 2.0) - sentry-raven (3.1.1) - faraday (>= 1.0) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) @@ -123,7 +121,6 @@ DEPENDENCIES rake rspec (~> 3.10.0) rubocop - sentry-raven simplecov webmock (~> 3.8) zeitwerk diff --git a/Rakefile b/Rakefile index 7999e74..253835c 100644 --- a/Rakefile +++ b/Rakefile @@ -5,9 +5,7 @@ end namespace :typo_ci do desc 'Checks for Typos within a GitHub Action' task analyse_github_action: :environment do - Raven.capture do - TypoCi::App.run - end + TypoCi::App.run end namespace :dictionaries do diff --git a/config/initializers/raven.rb b/config/initializers/raven.rb deleted file mode 100644 index f54b378..0000000 --- a/config/initializers/raven.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'raven' - -unless ENV['RAILS_ENV'] == 'test' - Raven.configure do |config| - config.dsn = ENV['SENTRY_DSN'] || 'https://77d375e64eab417499917a0345ae8701@o432733.ingest.sentry.io/5385950' - config.logger = Logger.new(nil) - end -end - -Raven.user_context( - github_repository: ENV['GITHUB_REPOSITORY'], - input_typo_ci_license_key: ENV['INPUT_TYPO_CI_LICENSE_KEY'] -) -Raven.extra_context( - username: ENV['GITHUB_ACTOR'], - ruby_version: ENV['RUBY_VERSION'], - github_ref: ENV['GITHUB_REF'], - github_sha: ENV['GITHUB_SHA'], - github_event_name: ENV['GITHUB_EVENT_NAME'], - github_server_url: ENV['GITHUB_SERVER_URL'], - github_api_url: ENV['GITHUB_API_URL'] -)