From 3552d29da9c96c843f1e944a892379ee5705d224 Mon Sep 17 00:00:00 2001 From: JesseLuBass <67474118+JesseLuBass@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:21:20 -0700 Subject: [PATCH 1/3] update: update dependencies and remove byebug --- Gemfile | 6 +- Gemfile.lock | 288 ++++++++++++++++++++++++++++----------------------- 2 files changed, 161 insertions(+), 133 deletions(-) diff --git a/Gemfile b/Gemfile index af67af6..48f0b0e 100644 --- a/Gemfile +++ b/Gemfile @@ -29,5 +29,7 @@ if RUBY_VERSION >= "3.1" gem "net-pop", require: false gem "net-smtp", require: false end - -gem "byebug", "~> 11.1", groups: %i[development test] +group :development, :test do + # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem + gem "debug", platforms: %i[ mri mingw x64_mingw ] +end \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 10b0263..457900e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,173 +8,188 @@ PATH GEM remote: https://rubygems.org/ specs: - actioncable (7.0.4) - actionpack (= 7.0.4) - activesupport (= 7.0.4) + actioncable (7.0.8) + actionpack (= 7.0.8) + activesupport (= 7.0.8) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.4) - actionpack (= 7.0.4) - activejob (= 7.0.4) - activerecord (= 7.0.4) - activestorage (= 7.0.4) - activesupport (= 7.0.4) + actionmailbox (7.0.8) + actionpack (= 7.0.8) + activejob (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.4) - actionpack (= 7.0.4) - actionview (= 7.0.4) - activejob (= 7.0.4) - activesupport (= 7.0.4) + actionmailer (7.0.8) + actionpack (= 7.0.8) + actionview (= 7.0.8) + activejob (= 7.0.8) + activesupport (= 7.0.8) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.4) - actionview (= 7.0.4) - activesupport (= 7.0.4) - rack (~> 2.0, >= 2.2.0) + actionpack (7.0.8) + actionview (= 7.0.8) + activesupport (= 7.0.8) + rack (~> 2.0, >= 2.2.4) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.4) - actionpack (= 7.0.4) - activerecord (= 7.0.4) - activestorage (= 7.0.4) - activesupport (= 7.0.4) + actiontext (7.0.8) + actionpack (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.4) - activesupport (= 7.0.4) + actionview (7.0.8) + activesupport (= 7.0.8) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.4) - activesupport (= 7.0.4) + activejob (7.0.8) + activesupport (= 7.0.8) globalid (>= 0.3.6) - activemodel (7.0.4) - activesupport (= 7.0.4) - activerecord (7.0.4) - activemodel (= 7.0.4) - activesupport (= 7.0.4) - activestorage (7.0.4) - actionpack (= 7.0.4) - activejob (= 7.0.4) - activerecord (= 7.0.4) - activesupport (= 7.0.4) + activemodel (7.0.8) + activesupport (= 7.0.8) + activerecord (7.0.8) + activemodel (= 7.0.8) + activesupport (= 7.0.8) + activestorage (7.0.8) + actionpack (= 7.0.8) + activejob (= 7.0.8) + activerecord (= 7.0.8) + activesupport (= 7.0.8) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.4) + activesupport (7.0.8) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) ast (2.4.2) + base64 (0.1.1) builder (3.2.4) - byebug (11.1.3) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) crass (1.0.6) - debug (1.6.2) - irb (>= 1.3.6) + date (3.3.3) + debug (1.8.0) + irb (>= 1.5.0) reline (>= 0.3.1) diff-lcs (1.5.0) - erubi (1.11.0) + erubi (1.12.0) factory_bot (6.2.1) activesupport (>= 5.0.0) factory_bot_rails (6.2.0) factory_bot (~> 6.2.0) railties (>= 5.0.0) - globalid (1.0.0) - activesupport (>= 5.0) - groupdate (6.1.0) - activesupport (>= 5.2) - i18n (1.12.0) + globalid (1.2.1) + activesupport (>= 6.1) + groupdate (6.4.0) + activesupport (>= 6.1) + i18n (1.14.1) concurrent-ruby (~> 1.0) - io-console (0.5.11) - irb (1.4.2) - reline (>= 0.3.0) - json (2.6.2) - loofah (2.19.0) + io-console (0.6.0) + irb (1.8.1) + rdoc + reline (>= 0.3.8) + json (2.6.3) + language_server-protocol (3.17.0.3) + lint_roller (1.1.0) + loofah (2.21.3) crass (~> 1.0.2) - nokogiri (>= 1.5.9) - mail (2.7.1) + nokogiri (>= 1.12.0) + mail (2.8.1) mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp marcel (1.0.2) method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.16.3) - net-imap (0.3.1) + mini_mime (1.1.5) + minitest (5.20.0) + net-imap (0.3.7) + date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.1.3) + net-protocol (0.2.1) timeout - net-smtp (0.3.2) + net-smtp (0.4.0) net-protocol - nio4r (2.5.8) - nokogiri (1.13.8-aarch64-linux) + nio4r (2.5.9) + nokogiri (1.15.4-aarch64-linux) racc (~> 1.4) - nokogiri (1.13.8-x64-mingw-ucrt) + nokogiri (1.15.4-x64-mingw-ucrt) racc (~> 1.4) - nokogiri (1.13.8-x86_64-darwin) + nokogiri (1.15.4-x86_64-darwin) racc (~> 1.4) - nokogiri (1.13.8-x86_64-linux) + nokogiri (1.15.4-x86_64-linux) racc (~> 1.4) - parallel (1.22.1) - parser (3.1.2.1) + parallel (1.23.0) + parser (3.2.2.3) ast (~> 2.4.1) - racc (1.6.0) - rack (2.2.4) - rack-test (2.0.2) + racc + psych (5.1.0) + stringio + racc (1.7.1) + rack (2.2.8) + rack-test (2.1.0) rack (>= 1.3) - rails (7.0.4) - actioncable (= 7.0.4) - actionmailbox (= 7.0.4) - actionmailer (= 7.0.4) - actionpack (= 7.0.4) - actiontext (= 7.0.4) - actionview (= 7.0.4) - activejob (= 7.0.4) - activemodel (= 7.0.4) - activerecord (= 7.0.4) - activestorage (= 7.0.4) - activesupport (= 7.0.4) + rails (7.0.8) + actioncable (= 7.0.8) + actionmailbox (= 7.0.8) + actionmailer (= 7.0.8) + actionpack (= 7.0.8) + actiontext (= 7.0.8) + actionview (= 7.0.8) + activejob (= 7.0.8) + activemodel (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) bundler (>= 1.15.0) - railties (= 7.0.4) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + railties (= 7.0.8) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.4.3) - loofah (~> 2.3) - railties (7.0.4) - actionpack (= 7.0.4) - activesupport (= 7.0.4) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.8) + actionpack (= 7.0.8) + activesupport (= 7.0.8) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.6.0) - reline (0.3.1) + rdoc (6.5.0) + psych (>= 4.0.0) + regexp_parser (2.8.1) + reline (0.3.8) io-console (~> 0.5) - rexml (3.2.5) - rspec (3.11.0) - rspec-core (~> 3.11.0) - rspec-expectations (~> 3.11.0) - rspec-mocks (~> 3.11.0) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.1) + rexml (3.2.6) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.2) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-mocks (3.11.1) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) + rspec-support (~> 3.12.0) rspec-rails (5.0.3) actionpack (>= 5.2) activesupport (>= 5.2) @@ -183,54 +198,66 @@ GEM rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) - rspec-support (3.11.1) - rubocop (1.35.1) + rspec-support (3.12.1) + rubocop (1.56.3) + base64 (~> 0.1.1) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.1.2.1) + parser (>= 3.2.2.3) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.20.1, < 2.0) + rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.21.0) - parser (>= 3.1.1.0) - rubocop-performance (1.14.3) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.16.1) + rubocop-rails (2.21.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) - ruby-progressbar (1.11.0) - sprockets (4.1.1) + ruby-progressbar (1.13.0) + sprockets (4.2.1) concurrent-ruby (~> 1.0) - rack (> 1, < 3) + rack (>= 2.2.4, < 4) sprockets-rails (3.2.2) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - sqlite3 (1.5.3-aarch64-linux) - sqlite3 (1.5.3-x64-mingw-ucrt) - sqlite3 (1.5.3-x86_64-darwin) - sqlite3 (1.5.3-x86_64-linux) - standard (1.16.1) - rubocop (= 1.35.1) - rubocop-performance (= 1.14.3) - thor (1.2.1) - timeout (0.3.0) - tzinfo (2.0.5) + sqlite3 (1.6.6-aarch64-linux) + sqlite3 (1.6.6-x64-mingw-ucrt) + sqlite3 (1.6.6-x86_64-darwin) + sqlite3 (1.6.6-x86_64-linux) + standard (1.31.1) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.56.2) + standard-custom (~> 1.0.0) + standard-performance (~> 1.2) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.2.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.19.0) + stringio (3.0.8) + thor (1.2.2) + timeout (0.4.0) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.3.0) - view_component (2.74.1) - activesupport (>= 5.0.0, < 8.0) + unicode-display_width (2.4.2) + view_component (3.6.0) + activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.6.1) + zeitwerk (2.6.12) PLATFORMS aarch64-linux @@ -239,7 +266,6 @@ PLATFORMS x86_64-linux DEPENDENCIES - byebug (~> 11.1) debug factory_bot (~> 6.0) factory_bot_rails From 94d41fd06c36a87d1ddb2ec26125fa8f09259208 Mon Sep 17 00:00:00 2001 From: JesseLuBass <67474118+JesseLuBass@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:36:46 -0700 Subject: [PATCH 2/3] rubocop --- Gemfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 48f0b0e..a1c9de0 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gemspec # rails_version = "#{ENV['RAILS_VERSION'] || 'main'}" rails_version = (ENV["RAILS_VERSION"] || "~> 7").to_s -gem "rails", rails_version == "main" ? {git: "https://github.com/rails/rails", ref: "main"} : rails_version +gem "rails", (rails_version == "main") ? {git: "https://github.com/rails/rails", ref: "main"} : rails_version gem "sqlite3", ">= 1.4" gem "rake", "~> 13.0" @@ -31,5 +31,5 @@ if RUBY_VERSION >= "3.1" end group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem - gem "debug", platforms: %i[ mri mingw x64_mingw ] -end \ No newline at end of file + gem "debug", platforms: %i[mri mingw x64_mingw] +end From 155a13b339f93fb48cb336da874bfbbd907e4325 Mon Sep 17 00:00:00 2001 From: JesseLuBass <67474118+JesseLuBass@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:38:06 -0700 Subject: [PATCH 3/3] remove debug --- Gemfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Gemfile b/Gemfile index a1c9de0..a2a280e 100644 --- a/Gemfile +++ b/Gemfile @@ -29,7 +29,3 @@ if RUBY_VERSION >= "3.1" gem "net-pop", require: false gem "net-smtp", require: false end -group :development, :test do - # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem - gem "debug", platforms: %i[mri mingw x64_mingw] -end