Skip to content

Version 4.1.1 has unsupported required_ruby_version in gemspec #460

@mechos3d

Description

@mechos3d

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions