smdahlen/vagrant-hostmanager — pull request #98 by pbitty (2014-06-01 22:17:39+00:00)
Title: Migrate HostsFile code into its own class

The HostsFile module was being included in 4 different places and with a few instance variable dependencies in each instance. This moves all the logic into its own class, where the dependencies have to be explicitly passed into the initializer.

This should make it easier to further refactor the HostsFile logic (now in the Updater class), decoupling it slightly from the outside world.