Skip to content

Enable Frozen String Literal #780

@tagliala

Description

@tagliala
~/teststrap.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
$ RUBYOPT='--enable=frozen-string-literal --debug=frozen-string-literal' bundle exec rake
~/.rvm/rubies/ruby-4.0.0/bin/ruby -w -I"lib:lib:test" ~/.rvm/rubies/ruby-4.0.0/lib/ruby/gems/4.0.0/gems/rake-13.3.1/lib/rake/rake_test_loader.rb "test/bson_engine_test.rb" "test/builder_test.rb" "test/configuration_test.rb" "test/engine_test.rb" "test/helpers_test.rb" "test/msgpack_engine_test.rb" "test/multi_builder_test.rb" "test/partials_test.rb" "test/plist_engine_test.rb" "test/renderer_test.rb" "test/template_test.rb" "test/xml_test.rb" 
.................................................................................................................................................................................................................EEEEEE.EEEEEE.....~/.rvm/gems/ruby-4.0.0/gems/activesupport-8.1.1/lib/active_support/core_ext/array/extract_options.rb:24: warning: method redefined; discarding old extract_options!
~/.rvm/gems/ruby-4.0.0/gems/riot-0.12.7/lib/riot.rb:148: warning: previous definition of extract_options! was here
.........................................................E...................................
ERROR
 Rabl::Engine with msgpack defaults #object context preparation => can't modify fr

[OMISSIS]

307 passes, 0 failures, 13 errors in 0.061527 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions