fog / fog-azure-rm

Fog for Azure Resource Manager
MIT License
35 stars 84 forks source link

Explicitly pass block to Proc.new #445

Open ttilberg opened 1 year ago

ttilberg commented 1 year ago

Allows streaming of blob in chunks by explicitly passing blocks to Proc.new. In older versions of Ruby, Proc.new would implicitly capture a block.

Fixes compatibility with Ruby 3+

Fixes #444