From 6e070e1e847d9ca9c10dc8e264e371cb7a3f2ea1 Mon Sep 17 00:00:00 2001 From: Bartosz Date: Mon, 25 Nov 2024 14:11:38 +0100 Subject: [PATCH] bumps --- .github/workflows/specs.yml | 2 +- Appraisals | 12 +- Gemfile | 2 +- Gemfile.lock | 242 ++++++++++++++++++------------------ castle_devise.gemspec | 12 +- gemfiles/rails_6.0.gemfile | 2 +- gemfiles/rails_6.1.gemfile | 2 +- gemfiles/rails_7.2.gemfile | 18 +++ gemfiles/rails_8.0.gemfile | 18 +++ 9 files changed, 179 insertions(+), 131 deletions(-) create mode 100644 gemfiles/rails_7.2.gemfile create mode 100644 gemfiles/rails_8.0.gemfile diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 800e93c..4a12ea5 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: ruby: ["3.0", "3.1", "3.2", "3.3"] - rails: ["6.0", "6.1", "7.0", "7.1"] + rails: ["6.0", "6.1", "7.0", "7.1", "7.2", "8.0"] steps: - uses: actions/checkout@v4 diff --git a/Appraisals b/Appraisals index 1ba801a..1fe4f57 100644 --- a/Appraisals +++ b/Appraisals @@ -1,9 +1,9 @@ appraise "rails-6.0" do - gem "railties", "~> 6.0.4" + gem "railties", "~> 6.0" end appraise "rails-6.1" do - gem "railties", "~> 6.1.4" + gem "railties", "~> 6.1" end appraise "rails-7.0" do @@ -13,3 +13,11 @@ end appraise "rails-7.1" do gem "railties", "~> 7.1" end + +appraise "rails-7.2" do + gem "railties", "~> 7.2" +end + +appraise "rails-8.0" do + gem "railties", "~> 8.0" +end diff --git a/Gemfile b/Gemfile index 0c4367c..47ef91b 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gemspec gem "actionmailer" gem "activerecord" gem "byebug" -gem "railties", "~> 7.0", ">= 7.0.7" +gem "railties", "~> 7.2" gem "rake" gem "rspec" gem "rspec-rails" diff --git a/Gemfile.lock b/Gemfile.lock index 6b8fb4b..9ce2970 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,100 +2,103 @@ PATH remote: . specs: castle_devise (0.4.3) - activesupport (>= 5.0) - castle-rb (>= 7.2, < 8.0) + activesupport (>= 6.0) + castle-rb (>= 7.2, < 9.0) devise (>= 4.3.0, < 5.0) GEM remote: https://rubygems.org/ specs: - actionmailer (7.1.3.4) - actionpack (= 7.1.3.4) - actionview (= 7.1.3.4) - activejob (= 7.1.3.4) - activesupport (= 7.1.3.4) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp + actionmailer (7.2.2) + actionpack (= 7.2.2) + actionview (= 7.2.2) + activejob (= 7.2.2) + activesupport (= 7.2.2) + mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.1.3.4) - actionview (= 7.1.3.4) - activesupport (= 7.1.3.4) + actionpack (7.2.2) + actionview (= 7.2.2) + activesupport (= 7.2.2) nokogiri (>= 1.8.5) racc - rack (>= 2.2.4) + rack (>= 2.2.4, < 3.2) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actionview (7.1.3.4) - activesupport (= 7.1.3.4) + useragent (~> 0.16) + actionview (7.2.2) + activesupport (= 7.2.2) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (7.1.3.4) - activesupport (= 7.1.3.4) + activejob (7.2.2) + activesupport (= 7.2.2) globalid (>= 0.3.6) - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activerecord (7.1.3.4) - activemodel (= 7.1.3.4) - activesupport (= 7.1.3.4) + activemodel (7.2.2) + activesupport (= 7.2.2) + activerecord (7.2.2) + activemodel (= 7.2.2) + activesupport (= 7.2.2) timeout (>= 0.4.0) - activesupport (7.1.3.4) + activesupport (7.2.2) base64 + benchmark (>= 0.3) bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - appraisal (2.3.0) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) bundler rake thor (>= 0.14.0) ast (2.4.2) base64 (0.2.0) - bcrypt (3.1.19) + bcrypt (3.1.20) + benchmark (0.4.0) bigdecimal (3.1.8) - builder (3.2.4) + builder (3.3.0) byebug (11.1.3) - castle-rb (7.2.0) - concurrent-ruby (1.2.3) + castle-rb (8.1.0) + concurrent-ruby (1.3.4) connection_pool (2.4.1) - crack (0.4.5) + crack (1.0.0) + bigdecimal rexml crass (1.0.6) - date (3.3.4) - devise (4.9.2) + date (3.4.0) + devise (4.9.4) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) responders warden (~> 1.2.3) - diff-lcs (1.5.0) - docile (1.4.0) + diff-lcs (1.5.1) + docile (1.4.1) drb (2.2.1) - erubi (1.12.0) + erubi (1.13.0) globalid (1.2.1) activesupport (>= 6.1) - hashdiff (1.0.1) - i18n (1.14.5) + hashdiff (1.1.2) + i18n (1.14.6) concurrent-ruby (~> 1.0) - io-console (0.6.0) - irb (1.9.1) - rdoc - reline (>= 0.3.8) - json (2.6.3) + io-console (0.7.2) + irb (1.14.1) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + json (2.8.2) language_server-protocol (3.17.0.3) - lint_roller (1.0.0) - loofah (2.22.0) + lint_roller (1.1.0) + logger (1.6.1) + loofah (2.23.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -104,10 +107,9 @@ GEM net-pop net-smtp mini_mime (1.1.5) - mini_portile2 (2.8.7) - minitest (5.20.0) - mutex_m (0.2.0) - net-imap (0.4.14) + mini_portile2 (2.8.8) + minitest (5.25.2) + net-imap (0.5.1) date net-protocol net-pop (0.1.2) @@ -126,21 +128,21 @@ GEM nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) orm_adapter (0.5.0) - parallel (1.23.0) - parser (3.2.2.1) + parallel (1.26.3) + parser (3.3.6.0) ast (~> 2.4.1) - psych (5.1.2) + racc + psych (5.2.0) stringio - public_suffix (5.0.1) - racc (1.7.3) - rack (3.0.11) + public_suffix (6.0.1) + racc (1.8.1) + rack (3.1.8) rack-session (2.0.0) rack (>= 3.0.0) rack-test (2.1.0) rack (>= 1.3) - rackup (2.1.0) + rackup (2.2.1) rack (>= 3) - webrick (~> 1.8) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest @@ -148,99 +150,101 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.1.3.4) - actionpack (= 7.1.3.4) - activesupport (= 7.1.3.4) - irb + railties (7.2.2) + actionpack (= 7.2.2) + activesupport (= 7.2.2) + irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.1.0) - rdoc (6.6.3.1) + rake (13.2.1) + rdoc (6.8.1) psych (>= 4.0.0) - regexp_parser (2.8.0) - reline (0.4.0) + regexp_parser (2.9.2) + reline (0.5.11) io-console (~> 0.5) - responders (3.1.0) + responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) - rexml (3.3.7) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + 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.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (6.0.2) - 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.0) - rubocop (1.50.2) + rspec-support (~> 3.13.0) + rspec-rails (7.1.0) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) + rubocop (1.68.0) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.0.0) + parser (>= 3.3.0.2) 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) + regexp_parser (>= 2.4, < 3.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.28.1) - parser (>= 3.2.1.0) - rubocop-performance (1.16.0) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) + rubocop-ast (1.36.1) + parser (>= 3.3.1.0) + rubocop-performance (1.22.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) + securerandom (0.3.2) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) + simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) sqlite3 (1.7.3) mini_portile2 (~> 2.8.0) sqlite3 (1.7.3-aarch64-linux) sqlite3 (1.7.3-arm64-darwin) sqlite3 (1.7.3-x86_64-darwin) - standard (1.28.2) + standard (1.42.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.50.2) + rubocop (~> 1.68.0) standard-custom (~> 1.0.0) - standard-performance (~> 1.0.1) - standard-custom (1.0.0) - lint_roller (~> 1.0) - standard-performance (1.0.1) + standard-performance (~> 1.5) + standard-custom (1.0.2) lint_roller (~> 1.0) - rubocop-performance (~> 1.16.0) - stringio (3.0.9) - thor (1.3.0) - timeout (0.4.1) + rubocop (~> 1.50) + standard-performance (1.5.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.22.0) + stringio (3.1.2) + thor (1.3.2) + timeout (0.4.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.4.2) + unicode-display_width (2.6.0) + useragent (0.16.10) vcr (6.1.0) warden (1.2.9) rack (>= 2.0.9) - webmock (3.18.1) + webmock (3.24.0) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - webrick (1.8.2) - zeitwerk (2.6.12) + zeitwerk (2.7.1) PLATFORMS aarch64-linux @@ -254,10 +258,10 @@ PLATFORMS DEPENDENCIES actionmailer activerecord - appraisal (~> 2.3.0) + appraisal (~> 2.5.0) byebug castle_devise! - railties (~> 7.0, >= 7.0.7) + railties (~> 7.2) rake rspec rspec-rails @@ -268,4 +272,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.5.18 + 2.5.23 diff --git a/castle_devise.gemspec b/castle_devise.gemspec index 681fa6e..399df7c 100644 --- a/castle_devise.gemspec +++ b/castle_devise.gemspec @@ -9,10 +9,10 @@ Gem::Specification.new do |spec| spec.summary = "Integrates Castle with Devise" spec.description = "castle_devise provides out-of-the-box protection against bot registrations and account takeover attacks." spec.homepage = "https://github.com/castle/castle_devise" - spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") + spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0") - spec.authors = ["Kacper Madej", "Dawid Libiszewski", "Johan Brissmyr"] - spec.email = ["kacper@castle.io"] + spec.authors = ["Kacper Madej", "Dawid Libiszewski", "Bartosz Knapik", "Johan Brissmyr"] + spec.email = ["team@castle.io"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/castle/castle_devise" @@ -27,9 +27,9 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "activesupport", ">= 5.0" - spec.add_dependency "castle-rb", ">= 7.2", "< 8.0" + spec.add_dependency "activesupport", ">= 6.0" + spec.add_dependency "castle-rb", ">= 7.2", "< 9.0" spec.add_dependency "devise", ">= 4.3.0", "< 5.0" - spec.add_development_dependency "appraisal", "~> 2.3.0" + spec.add_development_dependency "appraisal", "~> 2.5.0" end diff --git a/gemfiles/rails_6.0.gemfile b/gemfiles/rails_6.0.gemfile index 54cf07b..b11581c 100644 --- a/gemfiles/rails_6.0.gemfile +++ b/gemfiles/rails_6.0.gemfile @@ -5,7 +5,7 @@ source "https://rubygems.org" gem "actionmailer" gem "activerecord" gem "byebug" -gem "railties", "~> 6.0.4" +gem "railties", "~> 6.0" gem "rake" gem "rspec" gem "rspec-rails" diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index 6c309c4..d5b1f86 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -5,7 +5,7 @@ source "https://rubygems.org" gem "actionmailer" gem "activerecord" gem "byebug" -gem "railties", "~> 6.1.4" +gem "railties", "~> 6.1" gem "rake" gem "rspec" gem "rspec-rails" diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..554147e --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,18 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "actionmailer" +gem "activerecord" +gem "byebug" +gem "railties", "~> 7.2" +gem "rake" +gem "rspec" +gem "rspec-rails" +gem "simplecov" +gem "standard" +gem "sqlite3", "~> 1.7" +gem "vcr" +gem "webmock" + +gemspec path: "../" diff --git a/gemfiles/rails_8.0.gemfile b/gemfiles/rails_8.0.gemfile new file mode 100644 index 0000000..555ecbe --- /dev/null +++ b/gemfiles/rails_8.0.gemfile @@ -0,0 +1,18 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "actionmailer" +gem "activerecord" +gem "byebug" +gem "railties", "~> 8.0.0" +gem "rake" +gem "rspec" +gem "rspec-rails" +gem "simplecov" +gem "standard" +gem "sqlite3", "~> 1.7" +gem "vcr" +gem "webmock" + +gemspec path: "../"