From bb1be0b74a0de10a97714744d1dde5fe41251f67 Mon Sep 17 00:00:00 2001 From: Bartosz Date: Tue, 17 Jun 2025 19:25:01 +0200 Subject: [PATCH 1/2] Release version 0.5.0 --- CHANGELOG.md | 5 ++++- Gemfile.lock | 2 +- lib/castle_devise/version.rb | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a53749d..ee6dbaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased][main] +## [0.5.0] - 2025-06-17 - Throw a warning instead of an error for the `$login.failed` event when an exception is raised +- Security fixes and dependency updates ## [0.4.3] - 2023-07-11 - Fix an issue where we would send a `login.failed` event on any attempt of accessing a protected resource, not only when the user failed to log in specifically @@ -31,7 +33,8 @@ - Initial release -[main]: https://github.com/castle/castle_devise/compare/v0.4.3...HEAD +[main]: https://github.com/castle/castle_devise/compare/v0.5.0...HEAD +[0.5.0]: https://github.com/castle/castle_devise/compare/v0.4.3...v0.5.0 [0.4.3]: https://github.com/castle/castle_devise/compare/v0.4.2...v0.4.3 [0.4.2]: https://github.com/castle/castle_devise/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/castle/castle_devise/compare/v0.4.0...v0.4.1 diff --git a/Gemfile.lock b/Gemfile.lock index ff927cb..d1b07a3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - castle_devise (0.4.4) + castle_devise (0.5.0) activesupport (>= 6.0) castle-rb (>= 7.2, < 9.0) devise (>= 4.3.0, < 5.0) diff --git a/lib/castle_devise/version.rb b/lib/castle_devise/version.rb index 4e5095e..adea5aa 100644 --- a/lib/castle_devise/version.rb +++ b/lib/castle_devise/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module CastleDevise - VERSION = "0.4.4" + VERSION = "0.5.0" end From be1030cf9aa3249cb171dd430e4b8001227a1651 Mon Sep 17 00:00:00 2001 From: Bartosz Date: Tue, 17 Jun 2025 19:36:39 +0200 Subject: [PATCH 2/2] fixed coverage ci --- .github/workflows/specs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index b922b31..b57cba5 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -63,5 +63,6 @@ jobs: bundle exec rake - name: Simplecov Report uses: k1LoW/octocov-action@v1 + if: matrix.ruby == '3.4' && matrix.rails == '8.0' with: github-token: ${{ secrets.GITHUB_TOKEN }}