gradient icon indicating copy to clipboard operation
gradient copied to clipboard

fix: ensure ruby 2.7 compatibility by including scanf gem

Open hendrixfan opened this issue 5 years ago • 2 comments

fix for #7

  • scanf was excluded from the standard libary as of ruby 2.7
  • see https://rubyreferences.github.io/rubychanges/2.7.html#libraries-excluded-from-the-standard-library
  • include the official scanf gem in gemspec

hendrixfan avatar Mar 21 '20 10:03 hendrixfan

Thanks for the PR @hendrixfan, I'll take a look at this locally and see if I can do some other upgrades to keep up to par with current Ruby and make sure Travis runs properly.

zeevallin avatar Mar 24 '20 12:03 zeevallin

Thank you for taking a look!

hendrixfan avatar Mar 24 '20 13:03 hendrixfan