WinRb / winrm-elevated

Runs PowerShell commands as elevated over Windows Remote Management (WinRM) via a scheduled task
Apache License 2.0
27 stars 17 forks source link

Port the hash case for the erubis->erubi change from WinRM #29

Closed jrafanie closed 4 years ago

jrafanie commented 4 years ago

Adapted the change from: https://github.com/WinRb/WinRM/pull/300

This grabs prior context or local variables, builds a string which set these variables, and evalulates them in the context of the binding.

Note, this repo wasn't explicitly depending on erubis before but was trying to require it. I've also added erubi as a dependency so this gem can run standalone.

Fixes #28

jrafanie commented 4 years ago

@mwrock Sorry for mentioning you directly but I want to make sure you saw this... I missed that this gem also needed this change... it's currently breaking on travis on master since winrm no longer pulls in erubis for this gem.

mwrock commented 4 years ago

This is great. Thanks!