infrablocks / ruby_terraform

A simple Ruby wrapper for invoking terraform commands.
MIT License
109 stars 33 forks source link

Pre factoring #50

Closed sa73917 closed 3 years ago

sa73917 commented 3 years ago

A bunch of code cleanup in preparation for the command class refactoring.

Worth noting that the simplecov minimum coverage limits in spec_helper.rb will throw exceptions in your CI build after rspec runs if new code goes in without tests but then I guess that's the point :-)

tobyclemson commented 3 years ago

All looks good to me.

It would be good to add rubocop to the precommit build. I'll add that shortly and update documentation for expected development workflow.

Thanks for this!

sa73917 commented 3 years ago

All looks good to me.

It would be good to add rubocop to the precommit build. I'll add that shortly and update documentation for expected development workflow.

Thanks for this!

@tobyclemson I wouldn't add rubocop quite yet.. There are a lot that fail in the command classes. I didn't bother with those as yet - given I want to supply a PR with them completely re-written! :-)

tobyclemson commented 3 years ago

@sa73917 Ok I'll add the Rake machinery but hold off including in the precommit / CI until you've incorporated your other changes.

It would also be great if you could update the Development section of the README with your Guard workflow at some point.