From 87adbb90083f14eafe78c97e1ce43605158148b3 Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Tue, 3 Sep 2024 10:06:40 -0400 Subject: [PATCH 1/4] Deleting unused file. --- postcss.config.js | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 postcss.config.js diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 07fb50b..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: [ - require('cssnano'), - require('postcss-import') - ] -}; From 35951ffc4c149760ae87eb2d1b16b5ea4f999e49 Mon Sep 17 00:00:00 2001 From: niquerio <4235919+niquerio@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:03:40 +0000 Subject: [PATCH 2/4] Update dependencies --- Gemfile.lock | 55 ++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6602674..39ad221 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,10 +13,11 @@ GIT GEM remote: https://rubygems.org/ specs: - activemodel (7.2.1) - activesupport (= 7.2.1) - activesupport (7.2.1) + activemodel (7.2.2) + activesupport (= 7.2.2) + activesupport (7.2.2) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) @@ -34,6 +35,7 @@ GEM ast (2.4.2) attr_required (1.0.2) base64 (0.2.0) + benchmark (0.3.0) bigdecimal (3.1.8) bindata (2.5.0) byebug (11.1.3) @@ -44,7 +46,7 @@ GEM crack (1.0.0) bigdecimal rexml - date (3.3.4) + date (3.4.0) diff-lcs (1.5.1) docile (1.4.1) drb (2.2.1) @@ -65,12 +67,12 @@ GEM hashdiff (1.1.1) hashie (5.0.0) http-2 (1.0.1) - httpx (1.3.1) + httpx (1.3.3) http-2 (>= 1.0.0) i18n (1.14.6) concurrent-ruby (~> 1.0) - json (2.7.2) - json-jwt (1.16.6) + json (2.7.5) + json-jwt (1.16.7) activesupport (>= 4.2) aes_key_wrap base64 @@ -96,7 +98,7 @@ GEM ruby2_keywords (~> 0.0.1) net-http (0.4.1) uri - net-imap (0.4.16) + net-imap (0.5.0) date net-protocol net-pop (0.1.2) @@ -105,7 +107,7 @@ GEM timeout net-smtp (0.5.0) net-protocol - nio4r (2.7.3) + nio4r (2.7.4) omniauth (2.1.2) hashie (>= 3.4.6) rack (>= 2.2.3) @@ -113,7 +115,7 @@ GEM omniauth_openid_connect (0.8.0) omniauth (>= 1.9, < 3) openid_connect (~> 2.2) - openid_connect (2.3.0) + openid_connect (2.3.1) activemodel attr_required (>= 1.0.0) email_validator @@ -127,7 +129,7 @@ GEM validate_url webfinger (~> 2.0) parallel (1.26.3) - parser (3.3.5.0) + parser (3.3.5.1) ast (~> 2.4.1) racc prometheus-client (4.2.3) @@ -142,7 +144,7 @@ GEM puma (6.4.3) nio4r (~> 2.0) racc (1.8.1) - rack (3.1.7) + rack (3.1.8) rack-oauth2 (2.2.1) activesupport attr_required @@ -165,34 +167,33 @@ GEM rb-inotify (0.11.1) ffi (~> 1.0) regexp_parser (2.9.2) - rexml (3.3.8) + rexml (3.3.9) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.65.1) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.3) + rubocop-ast (1.33.0) parser (>= 3.3.1.0) - rubocop-performance (1.21.1) + rubocop-performance (1.22.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-next-core (1.0.3) @@ -219,18 +220,18 @@ GEM tilt (~> 2.0) sinatra-flash (0.3.0) sinatra (>= 1.0.0) - standard (1.40.0) + standard (1.41.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.65.0) + rubocop (~> 1.66.0) standard-custom (~> 1.0.0) - standard-performance (~> 1.4) + standard-performance (~> 1.5) standard-custom (1.0.2) lint_roller (~> 1.0) rubocop (~> 1.50) - standard-performance (1.4.0) + standard-performance (1.5.0) lint_roller (~> 1.1) - rubocop-performance (~> 1.21.0) + rubocop-performance (~> 1.22.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) @@ -254,7 +255,7 @@ GEM crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) webrick (1.8.2) - yabeda (0.12.0) + yabeda (0.13.1) anyway_config (>= 1.0, < 3) concurrent-ruby dry-initializer @@ -295,4 +296,4 @@ DEPENDENCIES yabeda-puma-plugin BUNDLED WITH - 2.5.20 + 2.5.22 From a6b738d6c3421ecf44e56d903ffa950e1f398423 Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Tue, 5 Nov 2024 12:25:17 -0500 Subject: [PATCH 3/4] Fixing `standardrb` linting error. `docker compose run web bundle exec standardrb --fix` --- lib/closed_days.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/closed_days.rb b/lib/closed_days.rb index 626d5a3..e955068 100644 --- a/lib/closed_days.rb +++ b/lib/closed_days.rb @@ -21,9 +21,7 @@ def all_days end def closed_days_between(end_date:, start_date: Time.zone.today) - all_days.filter_map do |date| - date if date >= start_date && date <= end_date - end + all_days.select { |date| date >= start_date && date <= end_date } end def closed?(date) From 30ebe740ff27501c6781e9866d80bc27b0046ae7 Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Wed, 6 Nov 2024 09:02:14 -0500 Subject: [PATCH 4/4] Changing `assignees` to `reviewers` and updating `dotenv` version. --- .github/workflows/tests.yml | 2 +- .github/workflows/update-dependencies.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3236a0c..29d8151 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: - name: Create .env file run: cat env.* > .env - name: Load .env file - uses: xom9ikk/dotenv@v2 + uses: xom9ikk/dotenv@v2.3.0 - name: Set up Ruby 3.3 uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/update-dependencies.yaml b/.github/workflows/update-dependencies.yaml index 7302da7..cd2d4ed 100644 --- a/.github/workflows/update-dependencies.yaml +++ b/.github/workflows/update-dependencies.yaml @@ -16,7 +16,7 @@ jobs: - name: Create .env file run: cat env.* > .env - name: Load .env file - uses: xom9ikk/dotenv@v2 + uses: xom9ikk/dotenv@v2.3.0 - name: Set up Ruby 3.3 uses: ruby/setup-ruby@v1 with: @@ -65,7 +65,7 @@ jobs: commit-message: "Update dependencies" title: ${{ env.PR_TITLE }} body-path: /tmp/pr_body.md - assignees: niquerio, erinesullivan + reviewers: niquerio, erinesullivan build-unstable: needs: update