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

Version 4.1.1 has unsupported required_ruby_version in gemspec #460

Open
mechos3d opened this issue Jan 14, 2025 · 1 comment · May be fixed by #461
Open

Version 4.1.1 has unsupported required_ruby_version in gemspec #460

mechos3d opened this issue Jan 14, 2025 · 1 comment · May be fixed by #461

Comments

@mechos3d
Copy link

mechos3d commented Jan 14, 2025

After version 4.1.1 lib/attr_encrypted/adapters/active_record.rb uses new ruby 2.7 syntax (def reload(...)) , but gemspec defines required_ruby_version as
s.required_ruby_version = '>= 2.6.0'

Trying to start project using 2.7 > ruby > 2.6 results in an error:

`require': /usr/local/bundle/gems/attr_encrypted-4.1.1/lib/attr_encrypted/adapters/active_record.rb:10: 
syntax error, unexpected ..., expecting ')' (SyntaxError)
@joshbranham
Copy link
Member

Thanks @mechos3d, happy to review a PR if you have a chance otherwise I will try and get this resolved soon 👍

@joshbranham joshbranham linked a pull request Jan 16, 2025 that will close this issue
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 a pull request may close this issue.

2 participants