From 492066dca5a3a30bfce2d9d3f14e4ddfeead9a2a Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sun, 26 Sep 2021 14:47:42 -0700 Subject: [PATCH] Add github actions and security/linters --- Gemfile | 4 ++++ Gemfile.lock | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/Gemfile b/Gemfile index e6b05f8..b4e90fc 100644 --- a/Gemfile +++ b/Gemfile @@ -42,6 +42,10 @@ gem "bootsnap", ">= 1.4.4", require: false # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] # gem "image_processing", "~> 1.2" +gem "bundler-audit" +gem "brakeman" +gem "rubocop-rails" + group :development, :test do # Start debugger with binding.b [https://github.com/ruby/debug] gem "debug", ">= 1.0.0", platforms: %i[ mri mingw x64_mingw ] diff --git a/Gemfile.lock b/Gemfile.lock index a346eb9..5074563 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,10 +59,15 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) + ast (2.4.2) bindex (0.8.1) bootsnap (1.9.1) msgpack (~> 1.0) + brakeman (5.1.1) builder (3.2.4) + bundler-audit (0.9.0.1) + bundler (>= 1.2.0, < 3) + thor (~> 1.0) concurrent-ruby (1.1.9) crass (1.0.6) debug (1.1.0) @@ -97,6 +102,9 @@ GEM racc (~> 1.4) nokogiri (1.12.4-arm64-darwin) racc (~> 1.4) + parallel (1.21.0) + parser (3.0.2.0) + ast (~> 2.4.1) pg (1.2.3) puma (5.5.0) nio4r (~> 2.0) @@ -131,10 +139,29 @@ GEM rake (>= 0.13) thor (~> 1.0) zeitwerk (~> 2.5.0.beta3) + rainbow (3.0.0) rake (13.0.6) redis (4.4.0) + regexp_parser (2.1.1) reline (0.2.7) io-console (~> 0.5) + rexml (3.2.5) + rubocop (1.21.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.9.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.11.0) + parser (>= 3.0.1.1) + rubocop-rails (2.12.2) + activesupport (>= 4.2.0) + rack (>= 1.1) + rubocop (>= 1.7.0, < 2.0) + ruby-progressbar (1.11.0) sprockets (4.0.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) @@ -149,6 +176,7 @@ GEM rails (>= 6.0.0) tzinfo (2.0.4) concurrent-ruby (~> 1.0) + unicode-display_width (2.1.0) web-console (4.1.0) actionview (>= 6.0.0) activemodel (>= 6.0.0) @@ -165,6 +193,8 @@ PLATFORMS DEPENDENCIES bootsnap (>= 1.4.4) + brakeman + bundler-audit debug (>= 1.0.0) importmap-rails (>= 0.3.4) jbuilder (~> 2.7) @@ -172,6 +202,7 @@ DEPENDENCIES puma (~> 5.0) rails (~> 7.0.0.alpha2) redis (~> 4.0) + rubocop-rails stimulus-rails (>= 0.4.0) turbo-rails (>= 0.7.11) tzinfo-data