From d6556de7b87728ada0a825d6c3d41356aee633e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 09:47:31 +0000 Subject: [PATCH 01/28] Bump rubocop-rails from 2.25.0 to 2.25.1 Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.25.0 to 2.25.1. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.25.0...v2.25.1) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..79c9847d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -272,7 +272,7 @@ GEM mini_magick (4.13.1) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.24.0) + minitest (5.24.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.7.1) @@ -299,8 +299,8 @@ GEM bigdecimal (>= 3.0) openssl (3.2.0) orm_adapter (0.5.0) - parallel (1.24.0) - parser (3.3.2.0) + parallel (1.25.1) + parser (3.3.3.0) ast (~> 2.4.1) racc pg (1.5.6) @@ -369,8 +369,8 @@ GEM responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) - rexml (3.2.8) - strscan (>= 3.0.9) + rexml (3.3.1) + strscan rolify (6.0.1) rotp (6.3.0) rouge (4.1.3) @@ -426,7 +426,7 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.31.3) parser (>= 3.3.1.0) - rubocop-rails (2.25.0) + rubocop-rails (2.25.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) From 63095889dbefcc4bea018bce647868439940c6d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:29:27 +0000 Subject: [PATCH 02/28] Bump reviewdog/action-stylelint from 1.26.0 to 1.28.0 Bumps [reviewdog/action-stylelint](https://github.com/reviewdog/action-stylelint) from 1.26.0 to 1.28.0. - [Release notes](https://github.com/reviewdog/action-stylelint/releases) - [Commits](https://github.com/reviewdog/action-stylelint/compare/v1.26.0...v1.28.0) --- updated-dependencies: - dependency-name: reviewdog/action-stylelint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0a57bc09..487e137f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -104,7 +104,7 @@ jobs: yarn install --frozen-lockfile if: steps.changed-files.outputs.any_changed == 'true' - name: stylelint - uses: reviewdog/action-stylelint@v1.26.0 + uses: reviewdog/action-stylelint@v1.28.0 with: github_token: ${{ secrets.github_token }} reporter: github-pr-check From c14fe15c519d6e57c051f3df7c49c7ee2634fd3b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:45:39 +0000 Subject: [PATCH 03/28] Bump sass from 1.77.6 to 1.77.8 Bumps [sass](https://github.com/sass/dart-sass) from 1.77.6 to 1.77.8. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.77.6...1.77.8) --- updated-dependencies: - dependency-name: sass dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 80cc1712..a3f25764 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "croppr": "^2.3.1", "i18n-js": "^4.0", "js-cookie": "2.2.1", - "sass": "^1.77.6", + "sass": "^1.77.8", "sweetalert": "1.1.3", "toastify-js": "^1.12.0", "typescript": "^5.5.2" diff --git a/yarn.lock b/yarn.lock index 375d71be..e557c477 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2262,10 +2262,10 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -sass@^1.77.6: - version "1.77.6" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.6.tgz#898845c1348078c2e6d1b64f9ee06b3f8bd489e4" - integrity sha512-ByXE1oLD79GVq9Ht1PeHWCPMPB8XHpBuz1r85oByKHjZY6qV6rWnQovQzXJXuQ/XyE1Oj3iPk3lo28uzaRA2/Q== +sass@^1.77.8: + version "1.77.8" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.8.tgz#9f18b449ea401759ef7ec1752a16373e296b52bd" + integrity sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0" From 10810641b051fc535e03881e3d720e08b18e90c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:46:56 +0000 Subject: [PATCH 04/28] Bump bullet from 7.1.6 to 7.2.0 Bumps [bullet](https://github.com/flyerhzm/bullet) from 7.1.6 to 7.2.0. - [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md) - [Commits](https://github.com/flyerhzm/bullet/compare/7.1.6...7.2.0) --- updated-dependencies: - dependency-name: bullet dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..3a08594e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -99,7 +99,7 @@ GEM actionpack (>= 6.1) activemodel (>= 6.1) builder (3.3.0) - bullet (7.1.6) + bullet (7.2.0) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) carrierwave (2.1.1) @@ -272,7 +272,7 @@ GEM mini_magick (4.13.1) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.24.0) + minitest (5.24.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.7.1) From 0506e83ce97cabe31f358e2d86123c99ed2b55cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:47:24 +0000 Subject: [PATCH 05/28] Bump fog-aws from 3.23.0 to 3.24.0 Bumps [fog-aws](https://github.com/fog/fog-aws) from 3.23.0 to 3.24.0. - [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md) - [Commits](https://github.com/fog/fog-aws/compare/v3.23.0...v3.24.0) --- updated-dependencies: - dependency-name: fog-aws dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..e6bbff01 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -165,7 +165,7 @@ GEM erubi (1.13.0) et-orbi (1.2.7) tzinfo - excon (0.110.0) + excon (0.111.0) factory_bot (6.4.5) activesupport (>= 5.0.0) factory_bot_rails (6.4.3) @@ -177,7 +177,7 @@ GEM faker (3.4.1) i18n (>= 1.8.11, < 2) ffi (1.16.3) - fog-aws (3.23.0) + fog-aws (3.24.0) fog-core (~> 2.1) fog-json (~> 1.1) fog-xml (~> 0.1) @@ -265,7 +265,7 @@ GEM method_source (1.1.0) mime-types (3.5.2) mime-types-data (~> 3.2015) - mime-types-data (3.2024.0604) + mime-types-data (3.2024.0702) mimemagic (0.4.3) nokogiri (~> 1) rake From b390f71ff245eab05bf1c9b329c3cf4d002447de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:10:07 +0000 Subject: [PATCH 06/28] Bump @fortawesome/fontawesome-free from 6.5.2 to 6.6.0 Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.5.2 to 6.6.0. - [Release notes](https://github.com/FortAwesome/Font-Awesome/releases) - [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md) - [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.5.2...6.6.0) --- updated-dependencies: - dependency-name: "@fortawesome/fontawesome-free" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 80cc1712..05a283fb 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@fontsource/lexend": "^4.5.15", - "@fortawesome/fontawesome-free": "^6.5.2", + "@fortawesome/fontawesome-free": "^6.6.0", "@github/hotkey": "^3.1.1", "@hotwired/stimulus": "^3.2.2", "@hotwired/turbo-rails": "^8.0.4", diff --git a/yarn.lock b/yarn.lock index 375d71be..af3b5999 100644 --- a/yarn.lock +++ b/yarn.lock @@ -195,10 +195,10 @@ resolved "https://registry.yarnpkg.com/@fontsource/lexend/-/lexend-4.5.15.tgz#ee033b850224d05b665d6661bf8d32c950f166bb" integrity sha512-6edLmDmte8pJWtQ1NIahcJq0iWlf6b0/JLwkd7WbDQ3C5tZWnxjvbP4RSklMv4MPzGjpuYuYnc+QANbjUws1oA== -"@fortawesome/fontawesome-free@^6.5.2": - version "6.5.2" - resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.2.tgz#310fe90cb5a8dee9698833171b98e7835404293d" - integrity sha512-hRILoInAx8GNT5IMkrtIt9blOdrqHOnPBH+k70aWUAqPZPgopb9G5EQJFpaBx/S8zp2fC+mPW349Bziuk1o28Q== +"@fortawesome/fontawesome-free@^6.6.0": + version "6.6.0" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.6.0.tgz#0e984f0f2344ee513c185d87d77defac4c0c8224" + integrity sha512-60G28ke/sXdtS9KZCpZSHHkCbdsOGEhIUGlwq6yhY74UpTiToIh8np7A8yphhM4BWsvNFtIvLpi4co+h9Mr9Ow== "@github/hotkey@^3.1.1": version "3.1.1" From 4458148e0686d0de5f93e41a6f68d2aa00801a72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:47:40 +0000 Subject: [PATCH 07/28] Bump view_component from 3.12.1 to 3.13.0 Bumps [view_component](https://github.com/viewcomponent/view_component) from 3.12.1 to 3.13.0. - [Release notes](https://github.com/viewcomponent/view_component/releases) - [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/viewcomponent/view_component/compare/v3.12.1...v3.13.0) --- updated-dependencies: - dependency-name: view_component dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..8da6dbd4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -272,7 +272,7 @@ GEM mini_magick (4.13.1) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.24.0) + minitest (5.24.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.7.1) @@ -510,7 +510,7 @@ GEM unf_ext (0.0.8.2) unicode-display_width (2.5.0) uniform_notifier (1.16.0) - view_component (3.12.1) + view_component (3.13.0) activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) From 92d4274600930b3287430a37cdae60233b8cae49 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:43:40 +0000 Subject: [PATCH 08/28] Bump sprockets-rails from 3.5.1 to 3.5.2 Bumps [sprockets-rails](https://github.com/rails/sprockets-rails) from 3.5.1 to 3.5.2. - [Release notes](https://github.com/rails/sprockets-rails/releases) - [Commits](https://github.com/rails/sprockets-rails/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: sprockets-rails dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..53f07fa7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -272,7 +272,7 @@ GEM mini_magick (4.13.1) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.24.0) + minitest (5.24.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.7.1) @@ -292,7 +292,7 @@ GEM net-smtp (0.5.0) net-protocol nio4r (2.7.0) - nokogiri (1.16.6) + nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) oj (3.16.4) @@ -314,7 +314,7 @@ GEM activesupport (>= 3.0.0) questiongenerator (1.1.0) raabro (1.4.0) - racc (1.8.0) + racc (1.8.1) rack (2.2.9) rack-test (2.1.0) rack (>= 1.3) @@ -482,7 +482,7 @@ GEM sprockets (4.2.1) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) - sprockets-rails (3.5.1) + sprockets-rails (3.5.2) actionpack (>= 6.1) activesupport (>= 6.1) sprockets (>= 3.0.0) From a2c09c27fee299a8f1bf6ed4045b3a6d8c19110b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:45:23 +0000 Subject: [PATCH 09/28] Bump cssbundling-rails from 1.4.0 to 1.4.1 Bumps [cssbundling-rails](https://github.com/rails/cssbundling-rails) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/rails/cssbundling-rails/releases) - [Commits](https://github.com/rails/cssbundling-rails/compare/v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: cssbundling-rails dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..dd6d0a01 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -118,7 +118,7 @@ GEM concurrent-ruby (1.3.3) connection_pool (2.4.1) crass (1.0.6) - cssbundling-rails (1.4.0) + cssbundling-rails (1.4.1) railties (>= 6.0.0) csv (3.3.0) database_cleaner (2.0.2) @@ -272,7 +272,7 @@ GEM mini_magick (4.13.1) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.24.0) + minitest (5.24.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.7.1) @@ -292,7 +292,7 @@ GEM net-smtp (0.5.0) net-protocol nio4r (2.7.0) - nokogiri (1.16.6) + nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) oj (3.16.4) @@ -314,7 +314,7 @@ GEM activesupport (>= 3.0.0) questiongenerator (1.1.0) raabro (1.4.0) - racc (1.8.0) + racc (1.8.1) rack (2.2.9) rack-test (2.1.0) rack (>= 1.3) @@ -525,7 +525,7 @@ GEM websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.6.16) + zeitwerk (2.6.17) PLATFORMS ruby From 2a6bf4a1ad3550b899e1de9f2fca9f8920b86945 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:45:54 +0000 Subject: [PATCH 10/28] Bump jsbundling-rails from 1.3.0 to 1.3.1 Bumps [jsbundling-rails](https://github.com/rails/jsbundling-rails) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/rails/jsbundling-rails/releases) - [Commits](https://github.com/rails/jsbundling-rails/compare/v1.3.0...v1.3.1) --- updated-dependencies: - dependency-name: jsbundling-rails dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..202f2c65 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -226,7 +226,7 @@ GEM image_processing (1.12.2) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) - jsbundling-rails (1.3.0) + jsbundling-rails (1.3.1) railties (>= 6.0.0) json (2.7.2) json-schema (4.3.0) @@ -272,7 +272,7 @@ GEM mini_magick (4.13.1) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.24.0) + minitest (5.24.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.7.1) @@ -292,7 +292,7 @@ GEM net-smtp (0.5.0) net-protocol nio4r (2.7.0) - nokogiri (1.16.6) + nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) oj (3.16.4) @@ -314,7 +314,7 @@ GEM activesupport (>= 3.0.0) questiongenerator (1.1.0) raabro (1.4.0) - racc (1.8.0) + racc (1.8.1) rack (2.2.9) rack-test (2.1.0) rack (>= 1.3) @@ -525,7 +525,7 @@ GEM websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.6.16) + zeitwerk (2.6.17) PLATFORMS ruby From c4d6e9f5a65240e74376b7d7546f7f36a049edce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:46:13 +0000 Subject: [PATCH 11/28] Bump sidekiq-scheduler from 5.0.3 to 5.0.6 Bumps [sidekiq-scheduler](https://github.com/moove-it/sidekiq-scheduler) from 5.0.3 to 5.0.6. - [Release notes](https://github.com/moove-it/sidekiq-scheduler/releases) - [Changelog](https://github.com/sidekiq-scheduler/sidekiq-scheduler/blob/master/CHANGELOG.md) - [Commits](https://github.com/moove-it/sidekiq-scheduler/compare/v5.0.3...v5.0.6) --- updated-dependencies: - dependency-name: sidekiq-scheduler dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f89fd5b2..2f9240c1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -163,7 +163,7 @@ GEM dry-logic (~> 1.4) zeitwerk (~> 2.6) erubi (1.13.0) - et-orbi (1.2.7) + et-orbi (1.2.11) tzinfo excon (0.110.0) factory_bot (6.4.5) @@ -195,8 +195,8 @@ GEM fog-core nokogiri (>= 1.5.11, < 2.0.0) formatador (1.1.0) - fugit (1.9.0) - et-orbi (~> 1, >= 1.2.7) + fugit (1.11.0) + et-orbi (~> 1, >= 1.2.11) raabro (~> 1.4) glob (0.4.0) globalid (1.2.1) @@ -463,10 +463,10 @@ GEM connection_pool (>= 2.2.5, < 3) rack (~> 2.0) redis (>= 4.5.0, < 5) - sidekiq-scheduler (5.0.3) + sidekiq-scheduler (5.0.6) rufus-scheduler (~> 3.2) sidekiq (>= 6, < 8) - tilt (>= 1.4.0) + tilt (>= 1.4.0, < 3) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) @@ -491,7 +491,7 @@ GEM sysexits (1.2.0) temple (0.10.3) thor (1.3.1) - tilt (2.3.0) + tilt (2.4.0) timeout (0.4.1) tldv (0.1.0) tldv-data (~> 1.0) From cf08393f820115555b7f462b58250db99afaecb3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:53:47 +0000 Subject: [PATCH 12/28] Bump json-schema from 4.3.0 to 4.3.1 Bumps [json-schema](https://github.com/voxpupuli/json-schema) from 4.3.0 to 4.3.1. - [Changelog](https://github.com/voxpupuli/json-schema/blob/master/CHANGELOG.md) - [Commits](https://github.com/voxpupuli/json-schema/compare/v4.3.0...v4.3.1) --- updated-dependencies: - dependency-name: json-schema dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 83f5e0a9..9409ac59 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -81,8 +81,8 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) ast (2.4.2) base64 (0.2.0) bcrypt (3.1.20) @@ -229,7 +229,7 @@ GEM jsbundling-rails (1.3.1) railties (>= 6.0.0) json (2.7.2) - json-schema (4.3.0) + json-schema (4.3.1) addressable (>= 2.8) jwt (2.8.2) base64 @@ -307,7 +307,7 @@ GEM pghero (3.5.0) activerecord (>= 6) prometheus-client (4.2.2) - public_suffix (5.0.4) + public_suffix (6.0.1) puma (6.4.2) nio4r (~> 2.0) pundit (2.3.2) From 51c01d4aca4c19c60483f3a28283433485d8ff36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:53:50 +0000 Subject: [PATCH 13/28] Bump rails_admin from 3.1.2 to 3.1.4 Bumps [rails_admin](https://github.com/sferik/rails_admin) from 3.1.2 to 3.1.4. - [Changelog](https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md) - [Commits](https://github.com/sferik/rails_admin/compare/v3.1.2...v3.1.4) --- updated-dependencies: - dependency-name: rails_admin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 83f5e0a9..9fa18cf8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -291,7 +291,7 @@ GEM timeout net-smtp (0.5.0) net-protocol - nio4r (2.7.0) + nio4r (2.7.3) nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) @@ -346,7 +346,7 @@ GEM rails-i18n (7.0.9) i18n (>= 0.7, < 2) railties (>= 6.0.0, < 8) - rails_admin (3.1.2) + rails_admin (3.1.4) activemodel-serializers-xml (>= 1.0) kaminari (>= 0.14, < 2.0) nested_form (~> 0.3) From 7a0a8637d301f629444f7264f4a460ef5bd1f66e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:53:57 +0000 Subject: [PATCH 14/28] Bump mini_magick from 4.13.1 to 4.13.2 Bumps [mini_magick](https://github.com/minimagick/minimagick) from 4.13.1 to 4.13.2. - [Release notes](https://github.com/minimagick/minimagick/releases) - [Commits](https://github.com/minimagick/minimagick/compare/v4.13.1...v4.13.2) --- updated-dependencies: - dependency-name: mini_magick dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 83f5e0a9..669cb961 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -269,7 +269,7 @@ GEM mimemagic (0.4.3) nokogiri (~> 1) rake - mini_magick (4.13.1) + mini_magick (4.13.2) mini_mime (1.1.5) mini_portile2 (2.8.7) minitest (5.24.1) From 5c3cd002d8d3490efb13b73e6242d1dd2dbede99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:54:03 +0000 Subject: [PATCH 15/28] Bump rubocop from 1.64.1 to 1.65.1 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.64.1 to 1.65.1. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.64.1...v1.65.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index ecc7421d..5abd3f8b 100644 --- a/Gemfile +++ b/Gemfile @@ -94,7 +94,7 @@ group :development, :test do gem "rspec-mocks" gem "rspec-rails", "~> 6.1" gem "rspec-sidekiq", "~> 5.0", require: false - gem "rubocop", "~> 1.64" + gem "rubocop", "~> 1.65" gem "rubocop-rails", "~> 2.25" gem "shoulda-matchers", "~> 6.2" gem "simplecov", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 83f5e0a9..994c8761 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -300,7 +300,7 @@ GEM openssl (3.2.0) orm_adapter (0.5.0) parallel (1.25.1) - parser (3.3.3.0) + parser (3.3.4.0) ast (~> 2.4.1) racc pg (1.5.6) @@ -369,7 +369,7 @@ GEM responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) - rexml (3.3.1) + rexml (3.3.4) strscan rolify (6.0.1) rotp (6.3.0) @@ -413,18 +413,18 @@ GEM rspec-mocks (~> 3.0) sidekiq (>= 5, < 8) rspec-support (3.13.1) - rubocop (1.64.1) + rubocop (1.65.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 (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) + rubocop-ast (1.32.0) parser (>= 3.3.1.0) rubocop-rails (2.25.1) activesupport (>= 4.2.0) @@ -593,7 +593,7 @@ DEPENDENCIES rspec-mocks rspec-rails (~> 6.1) rspec-sidekiq (~> 5.0) - rubocop (~> 1.64) + rubocop (~> 1.65) rubocop-rails (~> 2.25) rubyzip (~> 2.3) sanitize From 9b3815dbc67ca5072b45a4287951277ab179a869 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:54:06 +0000 Subject: [PATCH 16/28] Bump fog-core from 2.4.0 to 2.5.0 Bumps [fog-core](https://github.com/fog/fog-core) from 2.4.0 to 2.5.0. - [Changelog](https://github.com/fog/fog-core/blob/master/changelog.md) - [Commits](https://github.com/fog/fog-core/compare/v2.4.0...v2.5.0) --- updated-dependencies: - dependency-name: fog-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 83f5e0a9..12df0cd9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -165,7 +165,7 @@ GEM erubi (1.13.0) et-orbi (1.2.11) tzinfo - excon (0.110.0) + excon (0.111.0) factory_bot (6.4.5) activesupport (>= 5.0.0) factory_bot_rails (6.4.3) @@ -181,7 +181,7 @@ GEM fog-core (~> 2.1) fog-json (~> 1.1) fog-xml (~> 0.1) - fog-core (2.4.0) + fog-core (2.5.0) builder excon (~> 0.71) formatador (>= 0.2, < 2.0) @@ -265,7 +265,7 @@ GEM method_source (1.1.0) mime-types (3.5.2) mime-types-data (~> 3.2015) - mime-types-data (3.2024.0604) + mime-types-data (3.2024.0702) mimemagic (0.4.3) nokogiri (~> 1) rake From 2e51af9e6212f9d95c7283e2b9d9d25c81c584a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:59:00 +0000 Subject: [PATCH 17/28] Bump sanitize from 6.1.1 to 6.1.2 Bumps [sanitize](https://github.com/rgrove/sanitize) from 6.1.1 to 6.1.2. - [Release notes](https://github.com/rgrove/sanitize/releases) - [Changelog](https://github.com/rgrove/sanitize/blob/main/HISTORY.md) - [Commits](https://github.com/rgrove/sanitize/compare/v6.1.1...v6.1.2) --- updated-dependencies: - dependency-name: sanitize dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index cab36f24..5889e951 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -437,7 +437,7 @@ GEM rubyzip (2.3.2) rufus-scheduler (3.9.1) fugit (~> 1.1, >= 1.1.6) - sanitize (6.1.1) + sanitize (6.1.2) crass (~> 1.0.2) nokogiri (>= 1.12.0) sassc (2.4.0) From 6bf0240b7a0fb18e0a412e611af581bb00e8cfda Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:59:02 +0000 Subject: [PATCH 18/28] Bump sentry-rails from 5.17.3 to 5.18.2 Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 5.17.3 to 5.18.2. - [Release notes](https://github.com/getsentry/sentry-ruby/releases) - [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-ruby/compare/5.17.3...5.18.2) --- updated-dependencies: - dependency-name: sentry-rails dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index cab36f24..94c75d6d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -448,14 +448,14 @@ GEM sprockets (> 3.0) sprockets-rails tilt - sentry-rails (5.17.3) + sentry-rails (5.18.2) railties (>= 5.0) - sentry-ruby (~> 5.17.3) - sentry-ruby (5.17.3) + sentry-ruby (~> 5.18.2) + sentry-ruby (5.18.2) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) - sentry-sidekiq (5.17.3) - sentry-ruby (~> 5.17.3) + sentry-sidekiq (5.18.2) + sentry-ruby (~> 5.18.2) sidekiq (>= 3.0) shoulda-matchers (6.2.0) activesupport (>= 5.2.0) From f93d6187ebc89af15ee4279dfed47a0fa2f01fa1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:10:00 +0000 Subject: [PATCH 19/28] Bump prometheus-client from 4.2.2 to 4.2.3 Bumps [prometheus-client](https://github.com/prometheus/client_ruby) from 4.2.2 to 4.2.3. - [Release notes](https://github.com/prometheus/client_ruby/releases) - [Changelog](https://github.com/prometheus/client_ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_ruby/compare/v4.2.2...v4.2.3) --- updated-dependencies: - dependency-name: prometheus-client dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 79999217..b4cf271c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -306,7 +306,8 @@ GEM pg (1.5.6) pghero (3.5.0) activerecord (>= 6) - prometheus-client (4.2.2) + prometheus-client (4.2.3) + base64 public_suffix (6.0.1) puma (6.4.2) nio4r (~> 2.0) From 63438f214cc30c8a84431fd0e3e67c32bb4626a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:16:04 +0000 Subject: [PATCH 20/28] Bump pg from 1.5.6 to 1.5.7 Bumps [pg](https://github.com/ged/ruby-pg) from 1.5.6 to 1.5.7. - [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md) - [Commits](https://github.com/ged/ruby-pg/compare/v1.5.6...v1.5.7) --- updated-dependencies: - dependency-name: pg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index b4cf271c..b1741624 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -303,7 +303,7 @@ GEM parser (3.3.4.0) ast (~> 2.4.1) racc - pg (1.5.6) + pg (1.5.7) pghero (3.5.0) activerecord (>= 6) prometheus-client (4.2.3) From 659fda5b6de8e3ba7adfe5ae8e0b98a2c78a7daf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:20:40 +0000 Subject: [PATCH 21/28] Bump typescript from 5.5.2 to 5.5.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.5.2 to 5.5.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 92666d60..408ce91a 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "sass": "^1.77.8", "sweetalert": "1.1.3", "toastify-js": "^1.12.0", - "typescript": "^5.5.2" + "typescript": "^5.5.4" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index 475091dd..47b76f76 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2665,10 +2665,10 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -typescript@^5.5.2: - version "5.5.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507" - integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew== +typescript@^5.5.4: + version "5.5.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba" + integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q== unbox-primitive@^1.0.2: version "1.0.2" From 7978d44078cbd454f9e1c40db2c4dfae77df0d28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:21:00 +0000 Subject: [PATCH 22/28] Bump @hotwired/turbo-rails from 8.0.4 to 8.0.5 Bumps [@hotwired/turbo-rails](https://github.com/hotwired/turbo-rails) from 8.0.4 to 8.0.5. - [Release notes](https://github.com/hotwired/turbo-rails/releases) - [Commits](https://github.com/hotwired/turbo-rails/commits) --- updated-dependencies: - dependency-name: "@hotwired/turbo-rails" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 92666d60..b93c0829 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@fortawesome/fontawesome-free": "^6.6.0", "@github/hotkey": "^3.1.1", "@hotwired/stimulus": "^3.2.2", - "@hotwired/turbo-rails": "^8.0.4", + "@hotwired/turbo-rails": "^8.0.5", "@melloware/coloris": "^0.24.0", "@popperjs/core": "^2.11", "@rails/request.js": "^0.0.9", diff --git a/yarn.lock b/yarn.lock index 475091dd..b1e2b500 100644 --- a/yarn.lock +++ b/yarn.lock @@ -210,18 +210,18 @@ resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.2.tgz#071aab59c600fed95b97939e605ff261a4251608" integrity sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A== -"@hotwired/turbo-rails@^8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@hotwired/turbo-rails/-/turbo-rails-8.0.4.tgz#d224f524a9e33fe687cec5d706054eb6fe13fa5b" - integrity sha512-GHCv5+B2VzYZZvMFpg/g9JLx/8pl/8chcubSB7T+Xn1zYOMqAKB6cT80vvWUzxdwfm/2KfaRysfDz+BmvtjFaw== +"@hotwired/turbo-rails@^8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@hotwired/turbo-rails/-/turbo-rails-8.0.5.tgz#18c2f0e4f7f952307650308590edf5eb9544b0d3" + integrity sha512-1A9G9u28IRAl0C57z8Ka3AhNPyJdwfOrbjr+ABZk2ZEUw2QO7cJ0pgs77asUj2E/tzn1PgrxrSVu24W+1Q5uBA== dependencies: - "@hotwired/turbo" "^8.0.4" + "@hotwired/turbo" "^8.0.5" "@rails/actioncable" "^7.0" -"@hotwired/turbo@^8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.4.tgz#5c5361c06a37cdf10dcba4223f1afd0ca1c75091" - integrity sha512-mlZEFUZrJnpfj+g/XeCWWuokvQyN68WvM78JM+0jfSFc98wegm259vCbC1zSllcspRwbgXK31ibehCy5PA78/Q== +"@hotwired/turbo@^8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.5.tgz#abae6dad018a891e4286e87fa0959217e3866d5a" + integrity sha512-TdZDA7fxVQ2ZycygvpnzjGPmFq4sO/E2QVg+2em/sJ3YTSsIWVEis8HmWlumz+c9DjWcUkcCuB+muF08TInpAQ== "@humanwhocodes/config-array@^0.11.14": version "0.11.14" From 0449162e09a7a9de26eaf087bff7ac07ad354788 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:33:14 +0000 Subject: [PATCH 23/28] Bump faker from 3.4.1 to 3.4.2 Bumps [faker](https://github.com/faker-ruby/faker) from 3.4.1 to 3.4.2. - [Release notes](https://github.com/faker-ruby/faker/releases) - [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md) - [Commits](https://github.com/faker-ruby/faker/compare/v3.4.1...v3.4.2) --- updated-dependencies: - dependency-name: faker dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d7499b65..58078158 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -174,7 +174,7 @@ GEM fake_email_validator (1.0.11) activemodel mail - faker (3.4.1) + faker (3.4.2) i18n (>= 1.8.11, < 2) ffi (1.16.3) fog-aws (3.24.0) From 652df251869a6291ebaf425e755e9762eae09f27 Mon Sep 17 00:00:00 2001 From: Ivan Stanton Date: Sat, 25 May 2024 15:45:22 -0600 Subject: [PATCH 24/28] questions: remove redundant or ungrammatical items --- config/questions/en.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/config/questions/en.yml b/config/questions/en.yml index 29a2ba59..b3819858 100644 --- a/config/questions/en.yml +++ b/config/questions/en.yml @@ -259,12 +259,9 @@ - song you listened to on repeat - thing you: - ate + - bought - did - - have: - - bought - - done - - eaten - - looked for + - looked for - your favourite song: - as a kid - from a few weeks ago @@ -303,5 +300,4 @@ - be the best player on a horrible team or the worst player on a great team - live in: - a city or in the countryside - - a flat or in a house - lose an arm or a leg From ce69ec7ceca9c0bcd8fe7dabad0cbabeffeb7b8a Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Tue, 6 Aug 2024 10:48:12 +0200 Subject: [PATCH 25/28] data_export: add more context to answers --- lib/use_case/data_export/answers.rb | 63 +++- spec/lib/use_case/data_export/answers_spec.rb | 281 +++++++++++++++++- 2 files changed, 337 insertions(+), 7 deletions(-) diff --git a/lib/use_case/data_export/answers.rb b/lib/use_case/data_export/answers.rb index e9431e2e..d6b39329 100644 --- a/lib/use_case/data_export/answers.rb +++ b/lib/use_case/data_export/answers.rb @@ -5,17 +5,76 @@ module UseCase class Answers < UseCase::DataExport::Base def files = { "answers.json" => json_file!( - answers: user.answers.map(&method(:collect_answer)) - ) + answers: user.answers.map(&method(:collect_answer)), + ), } def collect_answer(answer) {}.tap do |h| column_names(::Answer).each do |field| h[field] = answer[field] + h[:related] = related_fields(answer) end end end + + def related_fields(answer) = { + question: question_for(answer), + comments: comments_for(answer), + } + + def question_for(answer) + return unless answer.question + + question = answer.question + {}.tap do |q| + q.merge!( + id: nil, + anonymous: false, + generated: false, + direct: false, + author: nil, + content: nil, + created_at: nil, + ) + + %i[id direct content created_at].each do |field| + q[field] = question[field] + end + + if question.generated? + q[:generated] = true + q[:anonymous] = true + elsif question.author_is_anonymous + q[:anonymous] = true + else + q[:author] = lean_user(question.user) + end + end + end + + def comments_for(answer) = [].tap do |c| + next if answer.comments.empty? + + answer.comments.order(:created_at).each do |comment| + c << { + id: comment.id, + author: lean_user(comment.user), + smile_count: comment.smile_count, + content: comment.content, + created_at: comment.created_at, + } + end + end + + def lean_user(user) + return unless user + + { + id: user.id, + screen_name: user.screen_name, + } + end end end end diff --git a/spec/lib/use_case/data_export/answers_spec.rb b/spec/lib/use_case/data_export/answers_spec.rb index 99335a91..178db881 100644 --- a/spec/lib/use_case/data_export/answers_spec.rb +++ b/spec/lib/use_case/data_export/answers_spec.rb @@ -9,15 +9,15 @@ describe UseCase::DataExport::Answers, :data_export do it "returns an empty set of answers" do expect(json_file("answers.json")).to eq( { - answers: [] - } + answers: [], + }, ) end end context "when user has made some answer" do let!(:answer) do - travel_to(Time.utc(2022, 12, 10, 13, 37, 42)) { FactoryBot.create(:answer, user:, content: "Yay, data export!") } + travel_to(Time.utc(2022, 12, 10, 13, 37, 42)) { FactoryBot.create(:answer, user:, content: "Yay, data export!", question: FactoryBot.build(:question, content: "awoo?")) } end it "returns the answers as json" do @@ -34,9 +34,280 @@ describe UseCase::DataExport::Answers, :data_export do updated_at: "2022-12-10T13:37:42.000Z", smile_count: 0, pinned_at: nil, + related: { + question: { + id: answer.question.id, + anonymous: true, + generated: false, + direct: true, + author: nil, + content: "awoo?", + created_at: "2022-12-10T13:37:42.000Z", + }, + comments: [], + }, } - ] - } + ], + }, + ) + end + end + + context "when user has made plenty of answers to many different question types" do + let(:other_user) { FactoryBot.create(:user, screen_name: "TomTurbo") } + + let!(:questions) do + [ + travel_to(Time.utc(2024, 8, 6, 13, 12, 0)) { FactoryBot.create(:question, user: other_user, content: "Sieben Zwiebeln sieden Bienen auf Trieben", author_is_anonymous: false, direct: false) }, + travel_to(Time.utc(2024, 8, 6, 13, 37, 42)) { FactoryBot.create(:question, user:, content: "Direct question from myself, to myself!", author_is_anonymous: false, direct: true) }, + travel_to(Time.utc(2024, 8, 6, 13, 37, 42)) { FactoryBot.create(:question, user:, content: "The funny lasaganga in oven question", author_is_anonymous: true, direct: true, author_identifier: "justask") }, + travel_to(Time.utc(2024, 8, 6, 13, 37, 42)) { FactoryBot.create(:question, user:, content: "Export is ready", author_is_anonymous: true, direct: true, author_identifier: "retrospring_exporter") }, + travel_to(Time.utc(2024, 8, 6, 13, 37, 50)) { FactoryBot.create(:question, user:, content: "delete your account", author_is_anonymous: true, direct: true) } + ] + end + + let!(:answers) do + questions.map.with_index do |question, i| + travel_to(Time.utc(2024, 8, 6, 13, 37, i)) do + FactoryBot.create(:answer, user:, content: "Yay, data export!", question:) + end + end + end + + let!(:answer_with_unknown_question) do + travel_to(Time.utc(2024, 8, 6, 13, 38, 0)) do + FactoryBot.create(:answer, user:, content: "aeeeugh???").tap { _1.update_column(:question_id, 666) } # rubocop:disable Rails/SkipsModelValidations + end + end + + it "returns the answers as json" do + expect(json_file("answers.json")).to eq( + { + answers: [ + { + id: answers[0].id, + content: "Yay, data export!", + question_id: questions[0].id, + comment_count: 0, + user_id: user.id, + created_at: "2024-08-06T13:37:00.000Z", + updated_at: "2024-08-06T13:37:00.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: { + id: questions[0].id, + anonymous: false, + generated: false, + direct: false, + author: { + id: other_user.id, + screen_name: "TomTurbo", + }, + content: "Sieben Zwiebeln sieden Bienen auf Trieben", + created_at: "2024-08-06T13:12:00.000Z", + }, + comments: [], + }, + }, + { + id: answers[1].id, + content: "Yay, data export!", + question_id: questions[1].id, + comment_count: 0, + user_id: user.id, + created_at: "2024-08-06T13:37:01.000Z", + updated_at: "2024-08-06T13:37:01.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: { + id: questions[1].id, + anonymous: false, + generated: false, + direct: true, + author: { + id: user.id, + screen_name: user.screen_name, + }, + content: "Direct question from myself, to myself!", + created_at: "2024-08-06T13:37:42.000Z", + }, + comments: [], + }, + }, + { + id: answers[2].id, + content: "Yay, data export!", + question_id: questions[2].id, + comment_count: 0, + user_id: user.id, + created_at: "2024-08-06T13:37:02.000Z", + updated_at: "2024-08-06T13:37:02.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: { + id: questions[2].id, + anonymous: true, + generated: true, + direct: true, + author: nil, + content: "The funny lasaganga in oven question", + created_at: "2024-08-06T13:37:42.000Z", + }, + comments: [], + }, + }, + { + id: answers[3].id, + content: "Yay, data export!", + question_id: questions[3].id, + comment_count: 0, + user_id: user.id, + created_at: "2024-08-06T13:37:03.000Z", + updated_at: "2024-08-06T13:37:03.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: { + id: questions[3].id, + anonymous: true, + generated: true, + direct: true, + author: nil, + content: "Export is ready", + created_at: "2024-08-06T13:37:42.000Z", + }, + comments: [], + }, + }, + { + id: answers[4].id, + content: "Yay, data export!", + question_id: questions[4].id, + comment_count: 0, + user_id: user.id, + created_at: "2024-08-06T13:37:04.000Z", + updated_at: "2024-08-06T13:37:04.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: { + id: questions[4].id, + anonymous: true, + generated: false, + direct: true, + author: nil, + content: "delete your account", + created_at: "2024-08-06T13:37:50.000Z", + }, + comments: [], + }, + }, + { + id: answer_with_unknown_question.id, + content: "aeeeugh???", + question_id: 666, + comment_count: 0, + user_id: user.id, + created_at: "2024-08-06T13:38:00.000Z", + updated_at: "2024-08-06T13:38:00.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: nil, + comments: [], + }, + } + ], + }, + ) + end + end + + context "when user has made an answers that received comments" do + let(:other_user) { FactoryBot.create(:user, screen_name: "TomTurbo") } + + let!(:question) do + travel_to(Time.utc(2024, 8, 6, 13, 12, 0)) { FactoryBot.create(:question, user: other_user, content: "Sieben Zwiebeln sieden Bienen auf Trieben", author_is_anonymous: false, direct: false) } + end + + let!(:answer) do + travel_to(Time.utc(2024, 8, 6, 13, 38, 0)) { FactoryBot.create(:answer, user:, content: "Interessante Frage", question:) } + end + + let!(:comments) do + [ + travel_to(Time.utc(2024, 8, 6, 13, 40, 0)) { FactoryBot.create(:comment, user:, answer:, content: "Kein Kommentar") }, + travel_to(Time.utc(2024, 8, 6, 13, 42, 0)) { FactoryBot.create(:comment, user:, answer:, content: "Sehr witzig") }, + travel_to(Time.utc(2024, 8, 6, 13, 41, 0)) { FactoryBot.create(:comment, user: other_user, answer:, content: "Jo eh.", smile_count: 1) } + ] + end + + it "returns the answers as json" do + expect(json_file("answers.json")).to eq( + { + answers: [ + { + id: answer.id, + content: "Interessante Frage", + question_id: answer.question.id, + comment_count: 3, + user_id: user.id, + created_at: "2024-08-06T13:38:00.000Z", + updated_at: "2024-08-06T13:38:00.000Z", + smile_count: 0, + pinned_at: nil, + related: { + question: { + id: answer.question.id, + anonymous: false, + generated: false, + direct: false, + author: { + id: other_user.id, + screen_name: "TomTurbo", + }, + content: "Sieben Zwiebeln sieden Bienen auf Trieben", + created_at: "2024-08-06T13:12:00.000Z", + }, + comments: [ + { + id: comments[0].id, + author: { + id: user.id, + screen_name: user.screen_name, + }, + smile_count: 0, + content: "Kein Kommentar", + created_at: "2024-08-06T13:40:00.000Z", + }, + { + id: comments[2].id, + author: { + id: other_user.id, + screen_name: other_user.screen_name, + }, + smile_count: 1, + content: "Jo eh.", + created_at: "2024-08-06T13:41:00.000Z", + }, + { + id: comments[1].id, + author: { + id: user.id, + screen_name: user.screen_name, + }, + smile_count: 0, + content: "Sehr witzig", + created_at: "2024-08-06T13:42:00.000Z", + } + ], + }, + } + ], + }, ) end end From 5d38699ba6977dd7ece79abe592c46efc61b41be Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 6 Aug 2024 22:44:07 +0200 Subject: [PATCH 26/28] Represent theme colors as hexadecimal in export --- lib/use_case/data_export/theme.rb | 12 +++-- spec/lib/use_case/data_export/theme_spec.rb | 56 ++++++++++----------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/lib/use_case/data_export/theme.rb b/lib/use_case/data_export/theme.rb index cfd2ec46..d77d1e7c 100644 --- a/lib/use_case/data_export/theme.rb +++ b/lib/use_case/data_export/theme.rb @@ -3,20 +3,24 @@ module UseCase module DataExport class Theme < UseCase::DataExport::Base + include ThemeHelper + + MODEL_FIELDS = %i[id user_id created_at updated_at].freeze + def files return {} unless user.theme { "theme.json" => json_file!( - theme: theme_data - ) + theme: theme_data, + ), } end def theme_data {}.tap do |obj| - column_names(::Theme).each do |field| - obj[field] = user.theme[field] + (column_names(::Theme) - MODEL_FIELDS).each do |field| + obj[field] = "##{get_hex_color_from_theme_value(user.theme[field])}" end end end diff --git a/spec/lib/use_case/data_export/theme_spec.rb b/spec/lib/use_case/data_export/theme_spec.rb index 11156488..1c41cbde 100644 --- a/spec/lib/use_case/data_export/theme_spec.rb +++ b/spec/lib/use_case/data_export/theme_spec.rb @@ -22,36 +22,32 @@ describe UseCase::DataExport::Theme, :data_export do expect(json_file("theme.json")).to eq( { theme: { - id: theme.id, - user_id: user.id, - primary_color: 9342168, - primary_text: 16777215, - danger_color: 14257035, - danger_text: 16777215, - success_color: 12573067, - success_text: 16777215, - warning_color: 14261899, - warning_text: 16777215, - info_color: 9165273, - info_text: 16777215, - dark_color: 6710886, - dark_text: 15658734, - raised_background: 16777215, - raised_text: 3355443, - background_color: 13026795, - body_text: 3355443, - muted_text: 3355443, - created_at: "2022-12-10T13:37:42.000Z", - updated_at: "2022-12-10T13:37:42.000Z", - input_color: 15789556, - input_text: 6710886, - raised_accent: 16250871, - raised_accent_text: 3355443, - light_color: 16316922, - light_text: 0, - input_placeholder: 7107965 - } - } + background_color: "#f0edf4", + body_text: "#000000", + danger_color: "#dc3545", + danger_text: "#ffffff", + dark_color: "#343a40", + dark_text: "#eeeeee", + info_color: "#17a2b8", + info_text: "#ffffff", + input_color: "#f0edf4", + input_placeholder: "#6c757d", + input_text: "#000000", + light_color: "#f8f9fa", + light_text: "#000000", + muted_text: "#6c757d", + primary_color: "#5e35b1", + primary_text: "#ffffff", + raised_accent: "#f7f7f7", + raised_accent_text: "#000000", + raised_background: "#ffffff", + raised_text: "#000000", + success_color: "#28a745", + success_text: "#ffffff", + warning_color: "#ffc107", + warning_text: "#292929", + }, + }, ) end end From f782e32f3047ea9fccbfdb16240fb031e1d621c6 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 6 Aug 2024 22:50:32 +0200 Subject: [PATCH 27/28] Fix theme spec --- spec/lib/use_case/data_export/theme_spec.rb | 39 ++++++++++++--------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/spec/lib/use_case/data_export/theme_spec.rb b/spec/lib/use_case/data_export/theme_spec.rb index 1c41cbde..b262d892 100644 --- a/spec/lib/use_case/data_export/theme_spec.rb +++ b/spec/lib/use_case/data_export/theme_spec.rb @@ -2,7 +2,8 @@ require "rails_helper" -describe UseCase::DataExport::Theme, :data_export do +describe UseCase::DataExport::Theme, + :data_export do include ActiveSupport::Testing::TimeHelpers context "when user doesn't have a theme" do @@ -13,8 +14,14 @@ describe UseCase::DataExport::Theme, :data_export do context "when user has a theme" do let!(:theme) do - travel_to(Time.utc(2022, 12, 10, 13, 37, 42)) do - FactoryBot.create(:theme, user:) + travel_to(Time.utc(2022, + 12, + 10, + 13, + 37, + 42,)) do + FactoryBot.create(:theme, + user:,) end end @@ -22,30 +29,30 @@ describe UseCase::DataExport::Theme, :data_export do expect(json_file("theme.json")).to eq( { theme: { - background_color: "#f0edf4", - body_text: "#000000", - danger_color: "#dc3545", + background_color: "#c6c5eb", + body_text: "#333333", + danger_color: "#d98b8b", danger_text: "#ffffff", - dark_color: "#343a40", + dark_color: "#666666", dark_text: "#eeeeee", - info_color: "#17a2b8", + info_color: "#8bd9d9", info_text: "#ffffff", input_color: "#f0edf4", input_placeholder: "#6c757d", - input_text: "#000000", + input_text: "#666666", light_color: "#f8f9fa", light_text: "#000000", - muted_text: "#6c757d", - primary_color: "#5e35b1", + muted_text: "#333333", + primary_color: "#8e8cd8", primary_text: "#ffffff", raised_accent: "#f7f7f7", - raised_accent_text: "#000000", + raised_accent_text: "#333333", raised_background: "#ffffff", - raised_text: "#000000", - success_color: "#28a745", + raised_text: "#333333", + success_color: "#bfd98b", success_text: "#ffffff", - warning_color: "#ffc107", - warning_text: "#292929", + warning_color: "#d99e8b", + warning_text: "#ffffff", }, }, ) From 2ae862f7983deebde472bf092c8ad3c72b0c7037 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 6 Aug 2024 23:17:47 +0200 Subject: [PATCH 28/28] Bump version to 2024.0806.0 --- lib/retrospring/version.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/retrospring/version.rb b/lib/retrospring/version.rb index a104f1e7..950dca6a 100644 --- a/lib/retrospring/version.rb +++ b/lib/retrospring/version.rb @@ -15,9 +15,9 @@ module Retrospring def year = 2024 - def month = 3 + def month = 8 - def day = 19 + def day = 6 def patch = 0