nikushi / minipack

Minipack, a gem for minimalists, which can integrates Rails with webpack. It is an alternative to Webpacker.
MIT License
115 stars 22 forks source link

support ruby 3.x syntax by using ** descoping in `new` with hash inputs #43

Open nic-lan opened 3 years ago

nic-lan commented 3 years ago

Description

I was trying to run ruby 3 in a project, which uses minipack.

unfortunately it seems that current way as the Commands::Base call the initialize method does not respect the new syntax.

This PR should fix it and still be compliant with recent versions of ruby.

five510 commented 2 years ago

@nikushi Any Updates? I will also use this gem for Ruby 3.x. If you need some support, please notice me. I'll contribute it.

arkhamRejek commented 2 years ago

@five510 i think we should fork this, the repo has gone without update for a while