I'm planing to create a simple Ruby gem. The functionality is depending on some .js files. My plan is to install the gem via Github.
My questions are:
- should I write a generator to copy the js files?
- what is the best place to keep the js files (is it vendor/assets/javascripts?)
- how to write test cases for this (rspec2) ?
I'm using Rails > 3, Ruby 1.9.x and Ruby 2.x.