This PR removes the git switching code from tasks.rb and isolates them into a class that can be tested separately. This cleans up tasks.rb and allows does some of the work mitigating #174 as this code will now also stash and apply dirty gemspec files.
More work is still needed there, but this API seems baked enough we can merge it.
This PR removes the git switching code from tasks.rb and isolates them into a class that can be tested separately. This cleans up tasks.rb and allows does some of the work mitigating #174 as this code will now also stash and apply dirty gemspec files.
More work is still needed there, but this API seems baked enough we can merge it.