diff --git a/Gemfile b/Gemfile index 70c1ec14..eb1e4840 100644 --- a/Gemfile +++ b/Gemfile @@ -6,9 +6,9 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '3.2.2' gem 'bootsnap', require: false gem 'devise', '4.9.2' -gem 'pg', '~> 1.1' -gem 'puma', '~> 6.4' -gem 'pundit', '~> 2.2' +gem 'pg' +gem 'puma' +gem 'pundit' gem 'rails', '7.1.1' gem 'sprockets-rails' gem 'strong_migrations' @@ -16,18 +16,18 @@ gem 'stimulus-rails' gem 'tailwindcss-rails' gem 'turbo-rails' gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] -gem "importmap-rails", "~> 1.2" +gem "importmap-rails" group :development, :test do gem 'debug', platforms: %i[mri mingw x64_mingw] gem 'factory_bot_rails' - gem 'ffaker', '2.20.0' - gem 'rspec-rails', '~> 5.1.0' + gem 'ffaker' + gem 'rspec-rails' end group :test do - gem 'shoulda-matchers', '~> 5.1' - gem 'simplecov', '~> 0.21' + gem 'shoulda-matchers' + gem 'simplecov' end group :development do @@ -36,4 +36,4 @@ group :development do end # Use Redis for Action Cable -gem "redis", "~> 4.0" +gem "redis" diff --git a/Gemfile.lock b/Gemfile.lock index 723d0b8b..60d6fa9a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -75,19 +75,19 @@ GEM mutex_m tzinfo (~> 2.0) ast (2.4.2) - base64 (0.1.1) - bcrypt (3.1.19) - bigdecimal (3.1.4) - bootsnap (1.16.0) + base64 (0.2.0) + bcrypt (3.1.20) + bigdecimal (3.1.5) + bootsnap (1.17.0) msgpack (~> 1.2) builder (3.2.4) concurrent-ruby (1.2.2) connection_pool (2.4.1) crass (1.0.6) - date (3.3.3) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + date (3.3.4) + debug (1.9.1) + irb (~> 1.10) + reline (>= 0.3.8) devise (4.9.2) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -96,30 +96,31 @@ GEM warden (~> 1.2.3) diff-lcs (1.5.0) docile (1.4.0) - drb (2.1.1) + drb (2.2.0) ruby2_keywords erubi (1.12.0) - factory_bot (6.2.1) + factory_bot (6.4.5) activesupport (>= 5.0.0) - factory_bot_rails (6.2.0) - factory_bot (~> 6.2.0) + factory_bot_rails (6.4.3) + factory_bot (~> 6.4) railties (>= 5.0.0) - ffaker (2.20.0) + ffaker (2.23.0) foreman (0.87.2) globalid (1.2.1) activesupport (>= 6.1) i18n (1.14.1) concurrent-ruby (~> 1.0) - importmap-rails (1.2.1) + importmap-rails (1.2.3) actionpack (>= 6.0.0) + activesupport (>= 6.0.0) railties (>= 6.0.0) - io-console (0.6.0) - irb (1.8.3) + io-console (0.7.1) + irb (1.11.0) rdoc reline (>= 0.3.8) - json (2.6.3) + json (2.7.1) language_server-protocol (3.17.0.3) - loofah (2.21.4) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -131,36 +132,36 @@ GEM mini_mime (1.1.5) minitest (5.20.0) msgpack (1.7.2) - mutex_m (0.1.2) - net-imap (0.4.2) + mutex_m (0.2.0) + net-imap (0.4.9) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout net-smtp (0.4.0) net-protocol - nio4r (2.5.9) - nokogiri (1.15.4-aarch64-linux) + nio4r (2.7.0) + nokogiri (1.16.0-aarch64-linux) racc (~> 1.4) - nokogiri (1.15.4-arm64-darwin) + nokogiri (1.16.0-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.4-x86_64-linux) + nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) orm_adapter (0.5.0) - parallel (1.23.0) + parallel (1.24.0) parser (3.2.2.4) ast (~> 2.4.1) racc pg (1.5.4) - psych (5.1.1.1) + psych (5.1.2) stringio puma (6.4.0) nio4r (~> 2.0) pundit (2.3.1) activesupport (>= 3.0.0) - racc (1.7.1) + racc (1.7.3) rack (3.0.8) rack-session (2.0.0) rack (>= 3.0.0) @@ -199,12 +200,15 @@ GEM thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.0.6) - rdoc (6.5.0) + rake (13.1.0) + rdoc (6.6.2) psych (>= 4.0.0) - redis (4.8.1) - regexp_parser (2.8.2) - reline (0.3.9) + redis (5.0.8) + redis-client (>= 0.17.0) + redis-client (0.19.1) + connection_pool + regexp_parser (2.8.3) + reline (0.4.1) io-console (~> 0.5) responders (3.1.1) actionpack (>= 5.2) @@ -218,17 +222,16 @@ GEM rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) - rspec-rails (5.1.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - railties (>= 5.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) + rspec-rails (6.1.0) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.12) + rspec-expectations (~> 3.12) + rspec-mocks (~> 3.12) + rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.57.1) - base64 (~> 0.1.1) + rubocop (1.59.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -236,18 +239,19 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) - rubocop-rails (2.21.2) + rubocop-rails (2.23.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) - shoulda-matchers (5.3.0) + shoulda-matchers (6.0.0) activesupport (>= 5.2.0) simplecov (0.22.0) docile (~> 1.1) @@ -264,17 +268,17 @@ GEM sprockets (>= 3.0.0) stimulus-rails (1.3.0) railties (>= 6.0.0) - stringio (3.0.8) + stringio (3.1.0) strong_migrations (1.6.4) activerecord (>= 5.2) - tailwindcss-rails (2.0.31-aarch64-linux) + tailwindcss-rails (2.1.0-aarch64-linux) railties (>= 6.0.0) - tailwindcss-rails (2.0.31-arm64-darwin) + tailwindcss-rails (2.1.0-arm64-darwin) railties (>= 6.0.0) - tailwindcss-rails (2.0.31-x86_64-linux) + tailwindcss-rails (2.1.0-x86_64-linux) railties (>= 6.0.0) thor (1.3.0) - timeout (0.4.0) + timeout (0.4.1) turbo-rails (1.5.0) actionpack (>= 6.0.0) activejob (>= 6.0.0) @@ -302,18 +306,18 @@ DEPENDENCIES debug devise (= 4.9.2) factory_bot_rails - ffaker (= 2.20.0) + ffaker foreman - importmap-rails (~> 1.2) - pg (~> 1.1) - puma (~> 6.4) - pundit (~> 2.2) + importmap-rails + pg + puma + pundit rails (= 7.1.1) - redis (~> 4.0) - rspec-rails (~> 5.1.0) + redis + rspec-rails rubocop-rails - shoulda-matchers (~> 5.1) - simplecov (~> 0.21) + shoulda-matchers + simplecov sprockets-rails stimulus-rails strong_migrations diff --git a/spec/requests/home_spec.rb b/spec/requests/home_spec.rb index fdbd6423..21901b89 100644 --- a/spec/requests/home_spec.rb +++ b/spec/requests/home_spec.rb @@ -1,11 +1,10 @@ require 'rails_helper' RSpec.describe "Homes", type: :request do - describe "GET /index" do + describe "GET /" do it "returns http success" do - get "/home/index" + get "/" expect(response).to have_http_status(:success) end end - end