I'm working on something in ruby and trying to figure out if it can be turned into a gem. I can find documentation on how to make a gem and gem manuals, but I can't find anything that says, "here is what a gem can and cannot do."
Let's say I created some code, which of the following can a gem do? 1) Use rails conventions like views and routes* 2) Created and/or access tables in a database 3) Have its classes available as parent classes to new code the gem user may want 4) Have partials available for the gem user code to call 5) Expect fields in the environment file (i.e. ask the gem user to add a line to the environment file)
What are some of the other things a gem can or can't do?
*It looks like rails used plugins not gems but things have shifted a bit.
Thanks in advance.