Hey guys, I have a question about the workflow of a gem author.
Suppose I have a project "MainProject" and while working in it, I realize that a bit of code would be useful for others to distribute as a gem.
So I extract that code, minimize my dependencies, commit it to its own github repository, and package it as a my-awesome-gem gem. Great.
Now I have two choices as far as I can tell.
1) I can remove the code entirely from MainProject and re-include the gem. Then, if in the course of development on MainProject I fix a bug in my-awesome-gem I would fix it in the my-awesome-gem repository, recreate the gem, and update it in MainProject.
2) I can leave the code in MainProject and fix it as I work, after making changes I would copy/paste the changed files into the my-awesome-gem repository and push that out.
Neither one of these is appealing. Is there a third option? What do you guys do?