HomePhorge

Fix Ruby 1.8.5-incompatible code in Transaction#eval_generate
737c2f66476bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix Ruby 1.8.5-incompatible code in Transaction#eval_generate

This was previously creating a Hash from an array of pairs.
Unfortunately, Ruby 1.8.5 only supports an argument list of pairs rather
than an array, so this code didn't work with that version.

Reviewed-By: Josh Cooper <josh@puppetlabs.com>