Andrew Janke 258a764f67 stage: fix block signature back-compatibility under Ruby 1.8.7
The new stage() signature introduced by #66 breaks back-compatibility
under Ruby 1.8.7. This fixes it by switching back to a one-argument
block signature and using a new class to wrap both the Resource and
Mktemp info for the staging context, in a signature-back-compatible
way.

Addresses homebrew/homebrew-core#529.

Closes #135.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-22 21:49:00 -04:00
..
2016-04-21 09:36:30 -07:00
2015-08-06 22:33:46 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-12-03 13:46:58 +08:00