-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gem is missing its README and tests. #25
Comments
Trying to ship as little files as necessary |
That makes no sense at all. Is this because you enjoy being incompatible with all existing ruby gems, or are you being personally billed for the extra 1kb that including these standard files would cost? -tim
|
I makes sense to me to ship as little "code" as necessary and have all On Fri, Jul 18, 2014 at 10:15 PM, Tim Robertson notifications@github.com
|
and also no tests shipped with rails :) On Fri, Jul 18, 2014 at 10:26 PM, Michael Grosser <grosser.michael@gmail.com
|
I honestly don't care as much if you include tests...but most gems do, because developers do sometimes need to run them. rubygems.org has a whole section on what should be in a gem: http://guides.rubygems.org/what-is-a-gem/ -tim (sent from my iPad Shuffle)
|
Have you (or anyone you know) ever ran tests inside a gem ? On Fri, Jul 18, 2014 at 10:39 PM, Tim Robertson notifications@github.com
|
Yes. Many times. There are obviously valid reasons for choosing not to include test suites Again, though, I don't personally care that much if you choose not to On Fri, Jul 18, 2014 at 10:43 PM, Michael Grosser notifications@github.com
|
Included Readme.md in 0.2.5 This whole test thing still sounds weird to me, I'd imagine most gems tests fail ... most don't even run after a clean On Fri, Jul 18, 2014 at 11:25 PM, Tim Robertson notifications@github.com
|
I've definitely used tests that way on questionable code -- if I'm not sure But more often, I'll run a test suite because I'm chasing down a bug, or Anyway, thanks for including the Readme. We'll pull it in on our next On Fri, Jul 18, 2014 at 11:45 PM, Michael Grosser notifications@github.com
|
we've indexed every version of every gem, and yours are among the <.1% of gems that don't include any documentation or tests. so yes, your gems don't follow community guidelines. you're in the tiny, tiny minority. even if you believe in tying yourself to a single proprietary host (why?), there are dozens of community tools that depend on the existence or readme files, not to mention he fact that programmers everywhere expect to be able to read your code without going to github.
|
We noticed today that your gem doesn't have a README or tests, except on github (https://www.omniref.com/ruby/gems/test_after_commit/0.2.4). Using git ls-file is causing your packaged gem to omit it -- the code is only looking under lib for files to include in the gem.
Bundler now evaluates the source files for your gem when you run
bundle package --all
(rubygems/bundler#2287), so it's better to do something like this in your gemspec:The text was updated successfully, but these errors were encountered: