Here are the necessary changes to get Fuubar working with the upcoming ruby-progressbar v1.0 release. I put out a gem as 1.0.0rc1 so you should be able to test it out and see if it will work for you.
I took a couple liberties with formatting to take advantage of the new features in v1.0 and you may not agree with them so adjust to taste. :)
The bar in this PR will output something like:
10/100 |====== 20 ======> | ETA: 10:10:10
Let me know if you have any questions.
I also wanted to mention that I am going to keep strictly to SemVer with this gem, so you can safely put ~> 1.0 in your gemspec when we're ready for a final release.
@jfelchner I like a new formatter! Could you rebase your branch against master? I can't merge it right now :(
Update ruby-progressbar to the 1.0 release candidate
Update usages to the new ruby-progressbar syntax
The progress mark defaults to '=' in ruby-progressbar 1.0 so no need …
…to set it in fuubar-cucumber
Use the new ruby-progressbar formatters for MOAR AWESOME!!!1!
Outputs a bar similar to: " 10/100 |=== 10 ==> | ETA: 10:10:10 "
Because we're using the formatters, we no longer have to manually upd…
…ate after each increment
@nashby I rebased the branch and so I believe this pull request has been updated properly.
Let me stress, I did not test fuubar-cucumber after making these changes. I'm doing this simply to make your life a little easier. :) I would suggest having some people test it and send ruby-progressbar bugs to me. Once I'm fairly confident we're good to go, I'll release v1.0 final.
Hope you enjoy!
@jfelchner I've just tested and it works. I think I'll release a new gem after ruby-progressbar's 1.0 release.
@jfelchner Thank you!
Just a heads up, I went ahead and released ruby-progressbar 1.0.0 final.
@jfelchner neat! I've just released 0.0.18 version with ruby-progressbar 1.0.0. Thanks.