From the conversations and presentations at the MIQ Summit 2016 it seems like the community is moving towards using custom gems to help develop and manage Automate code.
Below is one of our public gems that we use to eliminate code duplication around logging, troubleshooting, and to also make some common tasks easier.
If anyone wants to use this gem in their code, feel free. If you have feedback on the concept, code quality, or have ideas for code that would be useful
The released version on rubygems is 0.2.0 https://github.com/ewannema/miq_dev_util/tree/v0.2.0.
There are a few enhancements that we are working on in the master branch if you want examine those changes and potentially build the gem yourself. https://github.com/ewannema/miq_dev_util
This gem is targeted specifically at general use Automate development, but here is an example of an extension to rbvmomi for VIX calls that a co-worker wrote for a different domain of code reuse. https://github.com/dericcrago/rbvmomi_helper