From c4056cc6a15d9413c7cce4afc6fc771b7715d382 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Mon, 28 Aug 2023 19:38:27 +1000 Subject: [PATCH] Cleanups --- Gemfile.lock | 43 ++++++++++++++++-------------- app/templates/trips/show.html.slim | 2 +- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a61a685..5415dec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -48,17 +48,18 @@ GIT GEM remote: https://rubygems.org/ specs: - activesupport (7.0.6) + activesupport (7.0.7.2) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.4) + addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) - airbrussh (1.4.1) + airbrussh (1.4.2) sshkit (>= 1.6.1, != 1.7.0) ast (2.4.2) babosa (2.0.0) + base64 (0.1.1) builder (3.2.4) capistrano (3.17.3) airbrussh (>= 1.0.0) @@ -94,7 +95,7 @@ GEM dry-configurable (1.1.0) dry-core (~> 1.0, < 2) zeitwerk (~> 2.6) - dry-core (1.0.0) + dry-core (1.0.1) concurrent-ruby (~> 1.0) zeitwerk (~> 2.6) dry-events (1.0.1) @@ -118,7 +119,7 @@ GEM dry-configurable (~> 1.0, < 2) dry-core (~> 1.0, < 2) dry-events (~> 1.0, < 2) - dry-schema (1.13.2) + dry-schema (1.13.3) concurrent-ruby (~> 1.0) dry-configurable (~> 1.0, >= 1.0.1) dry-core (~> 1.0, < 2) @@ -265,11 +266,11 @@ GEM net-smtp matrix (0.4.2) method_source (1.0.0) - mime-types (3.4.1) + mime-types (3.5.1) mime-types-data (~> 3.2015) - mime-types-data (3.2023.0218.1) + mime-types-data (3.2023.0808) mini_magick (4.12.0) - mini_mime (1.1.2) + mini_mime (1.1.5) minitest (5.19.0) multi_xml (0.6.0) mustermann (3.0.0) @@ -292,9 +293,9 @@ GEM net-ssh (7.2.0) netrc (0.11.0) nio4r (2.5.9) - nokogiri (1.15.3-x86_64-darwin) + nokogiri (1.15.4-x86_64-darwin) racc (~> 1.4) - nokogiri (1.15.3-x86_64-linux) + nokogiri (1.15.4-x86_64-linux) racc (~> 1.4) notiffany (0.1.3) nenv (~> 0.1) @@ -314,7 +315,7 @@ GEM coderay (~> 1.1) method_source (~> 1.0) public_suffix (5.0.3) - puma (6.3.0) + puma (6.3.1) nio4r (~> 2.0) que (2.2.1) racc (1.7.1) @@ -381,19 +382,21 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) rspec-support (3.12.1) - rubocop (1.52.1) + rubocop (1.56.1) + base64 (~> 0.1.1) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) 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.28.0, < 2.0) + rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.29.0) parser (>= 3.2.1.0) - rubocop-performance (1.18.0) + rubocop-performance (1.19.0) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) ruby-progressbar (1.13.0) @@ -417,25 +420,25 @@ GEM sshkit (1.21.5) net-scp (>= 1.1.2) net-ssh (>= 2.8.0) - standard (1.30.1) + standard (1.31.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.52.0) + rubocop (~> 1.56.0) standard-custom (~> 1.0.0) - standard-performance (~> 1.1.0) + standard-performance (~> 1.2) standard-custom (1.0.2) lint_roller (~> 1.0) rubocop (~> 1.50) - standard-performance (1.1.2) + standard-performance (1.2.0) lint_roller (~> 1.1) - rubocop-performance (~> 1.18.0) + rubocop-performance (~> 1.19.0) standardrb (1.0.1) standard temple (0.10.2) thor (1.2.2) tilt (2.2.0) time_math2 (0.1.1) - timecop (0.9.6) + timecop (0.9.8) timeout (0.4.0) transproc (1.1.1) tzinfo (2.0.6) diff --git a/app/templates/trips/show.html.slim b/app/templates/trips/show.html.slim index c657f21..f26b325 100644 --- a/app/templates/trips/show.html.slim +++ b/app/templates/trips/show.html.slim @@ -9,7 +9,7 @@ div class="mb-4 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:t / p class="mt-2" class="text-gray-600 dark:text-gray-200 text-sm" (#{trip.start_date} - #{trip.end_date}) - if trip.summary - div class="mb-4 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 bg-gray-100 p-2 rounded prose-p:mb-0 prose-ul:mt-0" + div class="mb-4 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 bg-gray-100 dark:bg-gray-900 p-2 rounded prose-p:mb-0 prose-ul:mt-0" == trip.summary div class="mb-4 max-w-prose mx-auto"