sportngin / brew-gem

Install gems as homebrew formulas
MIT License
195 stars 21 forks source link

Fix broken tap syntax, def needed kwarg #68

Closed JuPlutonic closed 3 years ago

JuPlutonic commented 3 years ago

Fixes invalid syntax exception in tap ("def fetch")

Error: gem-XXXXX: Calling def fetch in a subclass of Formulary:: FormulaNamespaceYYYYYYYYYY:: RubyGemsDownloadStrategy is disabled! Use def fetch(timeout: nil, **options) and output a warning when options contains new unhandled options instead

JuPlutonic commented 3 years ago

All homebrew taps with RubyGemsDownloadStrategy#fetch are affected. With this fix all commands of brew gem * are working.