From a8c61023ee5aa5bb1204119b7e709a342bc3b375 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 31 Oct 2022 22:31:33 +0100 Subject: [PATCH] Remove Guard and Brakeman --- Gemfile | 2 -- Gemfile.lock | 32 -------------------------------- Guardfile | 23 ----------------------- Rakefile | 4 ---- 4 files changed, 61 deletions(-) delete mode 100644 Guardfile diff --git a/Gemfile b/Gemfile index 5cf0584a..c3557d39 100644 --- a/Gemfile +++ b/Gemfile @@ -81,13 +81,11 @@ gem "puma" group :development, :test do gem "better_errors" - gem "brakeman" gem "bullet" gem "capybara" gem "database_cleaner" gem "factory_bot_rails", require: false gem "faker" - gem "guard-brakeman" gem "haml_lint", require: false gem "letter_opener" # Use this just in local test environments gem "poltergeist" diff --git a/Gemfile.lock b/Gemfile.lock index 3fd618bb..2c7fcce1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -91,7 +91,6 @@ GEM bootstrap_form (4.5.0) actionpack (>= 5.2) activemodel (>= 5.2) - brakeman (5.3.1) buftok (0.2.0) builder (3.2.4) bullet (7.0.3) @@ -199,20 +198,6 @@ GEM glob (0.3.1) globalid (1.0.0) activesupport (>= 5.0) - guard (2.18.0) - formatador (>= 0.2.4) - listen (>= 2.7, < 4.0) - lumberjack (>= 1.0.12, < 2.0) - nenv (~> 0.1) - notiffany (~> 0.0) - pry (>= 0.13.0) - shellany (~> 0.0) - thor (>= 0.18.1) - guard-brakeman (0.8.6) - brakeman (>= 2.1.1) - guard (>= 2.0.0) - guard-compat (~> 1.0) - guard-compat (1.2.1) haml (6.0.8) temple (>= 0.8.2) thor @@ -270,9 +255,6 @@ GEM addressable (~> 2.7) letter_opener (1.8.1) launchy (>= 2.2, < 3) - listen (3.7.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) lograge (0.12.0) actionpack (>= 4) activesupport (>= 4) @@ -281,7 +263,6 @@ GEM loofah (2.19.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) - lumberjack (1.2.8) mail (2.7.1) mini_mime (>= 0.1.1) marcel (1.0.2) @@ -304,7 +285,6 @@ GEM multi_xml (0.6.0) multipart-post (2.1.1) naught (1.1.0) - nenv (0.3.0) nested_form (0.3.2) net-imap (0.3.1) net-protocol @@ -318,9 +298,6 @@ GEM nokogiri (1.13.9) mini_portile2 (~> 2.8.0) racc (~> 1.4) - notiffany (0.1.3) - nenv (~> 0.1) - shellany (~> 0.0) oauth (0.5.8) oj (3.13.21) omniauth (2.1.0) @@ -347,9 +324,6 @@ GEM capybara (>= 2.1, < 4) cliver (~> 0.3.1) websocket-driver (>= 0.2.0) - pry (0.14.1) - coderay (~> 1.1) - method_source (~> 1.0) public_suffix (4.0.7) puma (6.0.0) nio4r (~> 2.0) @@ -403,9 +377,6 @@ GEM thor (~> 1.0) rainbow (3.1.1) rake (13.0.6) - rb-fsevent (0.11.0) - rb-inotify (0.10.1) - ffi (~> 1.0) redcarpet (3.5.1) redis (4.5.1) regexp_parser (2.6.0) @@ -483,7 +454,6 @@ GEM sentry-sidekiq (5.5.0) sentry-ruby (~> 5.5.0) sidekiq (>= 3.0) - shellany (0.0.1) shoulda-matchers (5.2.0) activesupport (>= 5.2.0) sidekiq (5.2.10) @@ -575,7 +545,6 @@ DEPENDENCIES binding_of_caller bootsnap bootstrap_form (~> 4.5) - brakeman bullet byebug capybara @@ -594,7 +563,6 @@ DEPENDENCIES fog-aws fog-core fog-local - guard-brakeman haml (~> 6.0) haml_lint hcaptcha (~> 7.0) diff --git a/Guardfile b/Guardfile deleted file mode 100644 index 84ce27ce..00000000 --- a/Guardfile +++ /dev/null @@ -1,23 +0,0 @@ -# A sample Guardfile -# More info at https://github.com/guard/guard#readme - -## Uncomment and set this to only include directories you want to watch -# directories %w(app lib config test spec features) \ -# .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")} - -## Note: if you are using the `directories` clause above and you are not -## watching the project directory ('.'), then you will want to move -## the Guardfile to a watched dir and symlink it back, e.g. -# -# $ mkdir config -# $ mv Guardfile config/ -# $ ln -s config/Guardfile . -# -# and, you'll have to watch "config/Guardfile" instead of "Guardfile" - -guard 'brakeman', :run_on_start => true do - watch(%r{^app/.+\.(erb|haml|rhtml|rb)$}) - watch(%r{^config/.+\.rb$}) - watch(%r{^lib/.+\.rb$}) - watch('Gemfile') -end diff --git a/Rakefile b/Rakefile index fe861b87..e951d294 100644 --- a/Rakefile +++ b/Rakefile @@ -5,10 +5,6 @@ require File.expand_path('../config/application', __FILE__) Rails.application.load_tasks -task :default do - Brakeman.run :app_path => ".", :print_report => true -end - namespace :justask do desc "Upload to AWS" task paperclaws: :environment do