Skip to content

Commit

Permalink
Merge pull request #69 from lessonly/LCC-655-upgrade-rails
Browse files Browse the repository at this point in the history
allow for Rails 7
  • Loading branch information
nathan-salazar authored Jun 3, 2024
2 parents 7af8132 + 39a46d8 commit 4c90204
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ end
appraise "rails-6.1" do
gem "rails", "~> 6.1"
end

appraise "rails-7" do
gem "rails", "~> 7.0"
end
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]
8 changes: 8 additions & 0 deletions gemfiles/rails_7.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"
4 changes: 2 additions & 2 deletions scim_rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ 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/**/*"]

s.add_development_dependency "appraisal"
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

0 comments on commit 4c90204

Please sign in to comment.