Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Gem Updater: Update gems in your Gemfile and fetch their changelogs (github.com/maximed)
25 points by m4xim3d on March 14, 2015 | hide | past | favorite | 13 comments


> Before running your test suite and checking everything is fine, the first thing you do is probably to look for the changelogs of updated gems.

Uh, no, the first thing you do is run the test suite.


Indeed. How about an analogous tool to the OP that uses binary search to deduce which updated gem(s) break the build, and then uses binary search on the intermediate versions of those gems to tell you exactly which version is the first bad one? Then spits out the changelog for that version ;)


Does such a thing like this exist for npm? Where it feels like things are updated, like daily.


Yes, it does. It's called Gemnasium.


Not really the same thing, is it? Gemnasium is a paid service. As far as I know, it relies on monitoring your source code on Github, which requires granting it access to your Github account. The OP's tool is a command line tool that generates a changelog only when you ask for it, and requires only local access to the code.


Hi, Gemnasium founder here. Let me clarify things a bit :) Gemnasium is a paid service for private projects only, and security notifications. It's free for opensource projects. If you don't want to share your github repo with us (and I completely understand that), you can push your files to our API using http requests, or directly our CLI : https//github.com/gemnasium/toolbelt Modern projects use more than one package manager (ie: bower or npm + something else). You don't need to mix tools with gemnasium, we support projects with multiple deps type.

Feel free to contact me if you have any question!


I appreciate the feedback, but you're not really contradicting anything I said.

Most companies have private projects, so you end up having to pay for Gemnasium. And you do have to somehow upload stuff to your service to make use of it.

Like the grandparent, I just want a command-line tool to document updates to NPM modules as part of Git commits.

> Modern projects use more than one package manager

Our projects are very modern indeed, and we use just one package manager per project. Node.js projects use NPM (for server and front end packages), Ruby projects use Rubygems, etc.


Ok, but there's a difference between sharing _all_ your files and just a bunch of non-critical ones (Gemfile, Gemfile.lock, etc.) :)


Agreed. But why do I need to share anything at all when a local command-line program already has all the information (or can gather it from npmjs.com or whatever)?


Would be cool if it took a command-line arg of a specified gem(s) to update...


That would be totally doable, thanks for suggesting it


We use this in our app, and it has been a real time saver. No excuse to be outdated anymore :)


Yes the whole point is to save your time from repeatedly looking for changelogs. I'm glad this could help in your project !




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: