diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c38129..eaa51b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: gemfile: - gemfiles/rails_6_1.gemfile - gemfiles/rails_7_0.gemfile + - gemfiles/rails_7_1.gemfile steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 diff --git a/Appraisals b/Appraisals index 9964d7d..5b4d9e6 100644 --- a/Appraisals +++ b/Appraisals @@ -9,3 +9,8 @@ appraise 'rails-7-0' do gem 'railties', '~> 7.0.0' gem 'activemodel', '~>7.0.0' end + +appraise 'rails-7-1' do + gem 'railties', '~> 7.1.0' + gem 'activemodel', '~>7.1.0' +end diff --git a/Gemfile.lock b/Gemfile.lock index 9dd39fd..a62e872 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - authorized_persona (0.10.0) - railties (>= 6.1, < 7.1) + authorized_persona (0.11.0) + railties (>= 6.1, < 7.2) GEM remote: https://rubygems.org/ @@ -52,6 +52,8 @@ GEM nokogiri (>= 1.12.0) method_source (1.0.0) minitest (5.25.1) + nokogiri (1.16.7-arm64-darwin) + racc (~> 1.4) nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) @@ -136,11 +138,12 @@ GEM zeitwerk (2.6.12) PLATFORMS + arm64-darwin-22 x86_64-darwin-22 x86_64-linux DEPENDENCIES - activemodel (>= 6.1, < 7.1) + activemodel (>= 6.1, < 7.2) appraisal authorized_persona! betterlint diff --git a/authorized_persona.gemspec b/authorized_persona.gemspec index 879b501..b952f7d 100644 --- a/authorized_persona.gemspec +++ b/authorized_persona.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - rails_version_range = [">= 6.1", "< 7.1"] + rails_version_range = [">= 6.1", "< 7.2"] spec.add_dependency "railties", *rails_version_range diff --git a/gemfiles/rails_6_1.gemfile.lock b/gemfiles/rails_6_1.gemfile.lock index dc35c5e..8bae4f5 100644 --- a/gemfiles/rails_6_1.gemfile.lock +++ b/gemfiles/rails_6_1.gemfile.lock @@ -1,8 +1,8 @@ PATH remote: .. specs: - authorized_persona (0.10.0) - railties (>= 6.1, < 7.1) + authorized_persona (0.11.0) + railties (>= 6.1, < 7.2) GEM remote: https://rubygems.org/ @@ -53,6 +53,8 @@ GEM nokogiri (>= 1.12.0) method_source (1.0.0) minitest (5.20.0) + nokogiri (1.15.5-arm64-darwin) + racc (~> 1.4) nokogiri (1.15.5-x86_64-darwin) racc (~> 1.4) parallel (1.24.0) @@ -132,6 +134,7 @@ GEM zeitwerk (2.6.12) PLATFORMS + arm64-darwin-22 x86_64-darwin-22 x86_64-linux diff --git a/gemfiles/rails_7_0.gemfile.lock b/gemfiles/rails_7_0.gemfile.lock index 2baaaa1..116d864 100644 --- a/gemfiles/rails_7_0.gemfile.lock +++ b/gemfiles/rails_7_0.gemfile.lock @@ -1,8 +1,8 @@ PATH remote: .. specs: - authorized_persona (0.10.0) - railties (>= 6.1, < 7.1) + authorized_persona (0.11.0) + railties (>= 6.1, < 7.2) GEM remote: https://rubygems.org/ @@ -52,6 +52,8 @@ GEM nokogiri (>= 1.12.0) method_source (1.0.0) minitest (5.20.0) + nokogiri (1.15.5-arm64-darwin) + racc (~> 1.4) nokogiri (1.15.5-x86_64-darwin) racc (~> 1.4) parallel (1.24.0) @@ -132,6 +134,7 @@ GEM zeitwerk (2.6.12) PLATFORMS + arm64-darwin-22 x86_64-darwin-22 x86_64-linux diff --git a/gemfiles/rails_7_1.gemfile b/gemfiles/rails_7_1.gemfile new file mode 100644 index 0000000..020d458 --- /dev/null +++ b/gemfiles/rails_7_1.gemfile @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activemodel", "~>7.1.0" +gem "railties", "~> 7.1.0" + +gemspec path: "../" diff --git a/gemfiles/rails_7_1.gemfile.lock b/gemfiles/rails_7_1.gemfile.lock new file mode 100644 index 0000000..ef21feb --- /dev/null +++ b/gemfiles/rails_7_1.gemfile.lock @@ -0,0 +1,184 @@ +PATH + remote: .. + specs: + authorized_persona (0.11.0) + railties (>= 6.1, < 7.2) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activemodel (7.1.3.2) + activesupport (= 7.1.3.2) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + base64 (0.2.0) + betterlint (1.10.1) + rubocop (~> 1.62.0) + rubocop-performance (~> 1.21.0) + rubocop-rails (~> 2.24.0) + rubocop-rake (~> 0.6.0) + rubocop-rspec (~> 2.28.0) + bigdecimal (3.1.7) + builder (3.2.4) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + i18n (1.14.4) + concurrent-ruby (~> 1.0) + io-console (0.7.2) + irb (1.12.0) + rdoc + reline (>= 0.4.2) + json (2.7.2) + language_server-protocol (3.17.0.3) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + minitest (5.22.3) + mutex_m (0.2.0) + nokogiri (1.16.4-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.4-x86_64-linux) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.0.5) + ast (~> 2.4.1) + racc + psych (5.1.2) + stringio + racc (1.7.3) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rackup (2.1.0) + rack (>= 3) + webrick (~> 1.8) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.1.3.2) + actionpack (= 7.1.3.2) + activesupport (= 7.1.3.2) + irb + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) + rainbow (3.1.1) + rake (13.2.1) + rdoc (6.6.3.1) + psych (>= 4.0.0) + regexp_parser (2.9.0) + reline (0.5.3) + io-console (~> 0.5) + rexml (3.2.6) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + rubocop (1.62.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) + 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.2) + parser (>= 3.3.0.4) + rubocop-capybara (2.20.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.25.1) + rubocop (~> 1.41) + rubocop-performance (1.21.0) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rails (2.24.1) + activesupport (>= 4.2.0) + rack (>= 1.1) + rubocop (>= 1.33.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rake (0.6.0) + rubocop (~> 1.0) + rubocop-rspec (2.28.0) + rubocop (~> 1.40) + rubocop-capybara (~> 2.17) + rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.28.3) + rubocop (~> 1.40) + ruby-progressbar (1.13.0) + stringio (3.1.0) + thor (1.3.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + webrick (1.8.1) + zeitwerk (2.6.13) + +PLATFORMS + arm64-darwin-22 + x86_64-linux + +DEPENDENCIES + activemodel (~> 7.1.0) + appraisal + authorized_persona! + betterlint + bundler + railties (~> 7.1.0) + rake + rspec (~> 3.0) + +BUNDLED WITH + 2.4.21 diff --git a/lib/authorized_persona/version.rb b/lib/authorized_persona/version.rb index f24a9c7..fea5f70 100644 --- a/lib/authorized_persona/version.rb +++ b/lib/authorized_persona/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module AuthorizedPersona - VERSION = "0.10.0" + VERSION = "0.11.0" end