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 for Rails 7.0 #33

Merged
merged 8 commits into from
Apr 6, 2022
Merged

Support for Rails 7.0 #33

merged 8 commits into from
Apr 6, 2022

Conversation

chrisortman
Copy link
Contributor

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.

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'

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.

Copy link
Contributor Author

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

@sjke sjke merged commit e22647f into sjke:master Apr 6, 2022
sjke added a commit that referenced this pull request Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants