Skip to content

Compatibility with ruby-prof 0.16 #38

@januszm

Description

@januszm

See https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES , there are major changes to the print method in commit: ruby-prof/ruby-prof@24a267b

After upgrading ruby-prof to 0.16.x I get this error message:

...gems/ruby-prof-0.16.2/lib/ruby-prof/printers/call_tree_printer.rb:46
  in `print': wrong number of arguments (2 for 0..1) (ArgumentError)
...gems/rails-perftest-0.0.6/lib/rails/perftest/active_support/testing/performance/ruby.rb:54
  in `block (2 levels) in record'

ruby-prof print now takes one options = {} argument

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