-
Notifications
You must be signed in to change notification settings - Fork 19
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 for Rails 7.0 #33
Conversation
Warning happened on ruby 2.7.5, did not test 3.0+
Rails 5.2 does not work for ruby 3+ so we skip it in appraisals
pg_ltree.gemspec
Outdated
@@ -18,7 +18,7 @@ Gem::Specification.new do |s| | |||
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.rdoc'] | |||
s.test_files = Dir['test/**/*'] | |||
|
|||
s.add_dependency 'activerecord', '>= 4.0.0', '<= 7.0.0.rc1' | |||
s.add_dependency 'activerecord', '>= 5.2', '<= 7.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be < 8
, otherwise you can't do, say, Rails 7.0.1, only 7.0.0 exactly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure if you would want to allow support for 7.1 without testing first? But this probably wouldn't allow 7.0.1, so should change regardless. I'll change it to < 8
Hello, sorry for not reaching out before making changes, but I was upgrading some of my stuff to Rails 7 and ran into issues with this gem. I made more changes than strictly necessary because I was getting errors trying to use the rake task as they were, so that is why I added the appraisal gem.