Skip to content

Ruby 3.4: String literals in files without a frozen_string_literal are deprecated #81

@nodeg

Description

@nodeg

Description

I get a lot of the following deprecation warnings in our test suite with Ruby 3.4 that spams our log files, which makes debugging harder.

/usr/lib64/ruby/gems/3.4.0/gems/net-scp-4.1.0/lib/net/scp.rb:333: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

It would be good if you could fix this and add the necessary frozen_string_literal comment. This should be fixed with #75, but there are no updates from the author.

Links

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