Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

warning: method redefined #51

Open
@lloeki

Description

@lloeki

When running tests on a project depending on json_builder some warnings are raised:

This is because with a recent rake (>=11.0), ruby warnings are now on by default.

/Users/lloeki/.gem/ruby/2.3.4/gems/json_builder-3.1.7/lib/json_builder/compiler.rb:70: warning: method redefined; discarding old array
/Users/lloeki/.gem/ruby/2.3.4/gems/json_builder-3.1.7/lib/json_builder/compiler.rb:147: warning: method redefined; discarding old pretty_print

What do you think about fixing this warning as well as running the spec suite with ruby -w / $VERBOSE = true / t.warning = true (or bumping rake) ?

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