diff --git a/Appraisals b/Appraisals index 430a3fb1..ad2baaeb 100644 --- a/Appraisals +++ b/Appraisals @@ -9,3 +9,7 @@ end appraise "rails-6.1" do gem "rails", "~> 6.1" end + +appraise "rails-7" do + gem "rails", "~> 7.0" +end diff --git a/Gemfile b/Gemfile index 17a65279..d3d4c2e6 100644 --- a/Gemfile +++ b/Gemfile @@ -10,5 +10,5 @@ gemspec # Git. Remember to move these dependencies to your gemspec before releasing # your gem to rubygems.org. -gem "rails", "~> 6.1", ">= 6.0" +gem "rails", ">= 6.1" gem 'pry', group: [:development, :test] diff --git a/gemfiles/rails_7.gemfile b/gemfiles/rails_7.gemfile new file mode 100644 index 00000000..f8d6e8cd --- /dev/null +++ b/gemfiles/rails_7.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.0" +gem "pry", group: [:development, :test] + +gemspec path: "../" diff --git a/scim_rails.gemspec b/scim_rails.gemspec index c5006d11..8b053a9f 100644 --- a/scim_rails.gemspec +++ b/scim_rails.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] s.required_ruby_version = ">= 2.4" - s.add_dependency "rails", ">= 5.0", "< 6.2" + s.add_dependency "rails", ">= 6.0", "<= 7.1" s.add_runtime_dependency "jwt", ">= 1.5" s.test_files = Dir["spec/**/*"] @@ -25,6 +25,6 @@ Gem::Specification.new do |s| s.add_development_dependency "bundler", "~> 2.0" s.add_development_dependency "factory_bot_rails" s.add_development_dependency "rake", "~> 13.0" - s.add_development_dependency "rspec-rails", "~> 5.0" + s.add_development_dependency "rspec-rails", "~> 6.0" s.add_development_dependency "sqlite3", "~> 1.3", "< 1.5" end