Hi Folks,
I noticed @cheezy pushed a commit updating the require statements to core/ast, and I think it is time we pushed and updated Pretty Face to be fully Cucumber 2.0 compatible.
I have found the following roadblocks thus far:
1. ensure_io now only takes a single argument
Offending Code: html.rb-46
@io = ensure_io(path_or_io, 'html')
2. Cucumber::Ast API calls are deprecated
Offending Code: html.rb & report.rb
Cucumber::Ast::Table::Cells
Cucumber::Ast::ScenarioOutline
Cucumber::Ast::Background
Cucumber::Ast::OutlineTable::ExampleRow
Cucumber::Ast::Scenario
Some of these calls can simply be updated to Cucumber::Core::Ast, but others have been removed/renamed in the Cucumber code-base and need to be rebuilt.
I am working on a set of local updates and believe I am close to solving the above roadblocks, I will report back with my results and hopefully we can get this translated to a pull request soon.
Best,
J
Hi Folks,
I noticed @cheezy pushed a commit updating the require statements to core/ast, and I think it is time we pushed and updated Pretty Face to be fully Cucumber 2.0 compatible.
I have found the following roadblocks thus far:
1. ensure_io now only takes a single argument
Offending Code: html.rb-46
@io = ensure_io(path_or_io, 'html')2. Cucumber::Ast API calls are deprecated
Offending Code: html.rb & report.rb
Cucumber::Ast::Table::Cells
Cucumber::Ast::ScenarioOutline
Cucumber::Ast::Background
Cucumber::Ast::OutlineTable::ExampleRow
Cucumber::Ast::Scenario
Some of these calls can simply be updated to Cucumber::Core::Ast, but others have been removed/renamed in the Cucumber code-base and need to be rebuilt.
I am working on a set of local updates and believe I am close to solving the above roadblocks, I will report back with my results and hopefully we can get this translated to a pull request soon.
Best,
J