Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Rails 7.0 #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ gemfile:
- gemfiles/rails_5.2.1.gemfile
- gemfiles/rails_6.0.0.gemfile
- gemfiles/rails_6.1.0.gemfile
- gemfiles/rails_7.0.0.gemfile
before_script:
- cp spec/dummy/config/database.yml{.sample,}
- bundle exec rake db:create db:schema:load db:test:prepare --Rakefile spec/dummy/Rakefile
Expand Down
7 changes: 6 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ end
appraise "rails_6.1.0" do
gem "rails", "6.1.0"
gem "pg", "~> 1.0"
end
end

appraise "rails_7.0.0" do
gem "rails", "7.0.0"
gem "pg", "~> 1.0"
end
10 changes: 10 additions & 0 deletions gemfiles/rails_7.0.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "pry"
gem "appraisal"
gem "rails", "7.0.0"
gem "pg", "~> 1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion storext.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.test_files = Dir["test/**/*"]

s.add_dependency "virtus"
s.add_dependency "activerecord", [">= 4.0", "< 6.2"]
s.add_dependency "activerecord", [">= 4.0", "< 8"]

s.add_development_dependency "pg"
s.add_development_dependency "rspec"
Expand Down