Last night in the Eve-Dev IRC channel a non-Ruby coder was asking for help deciphering some of the API call XML and I pointed him to my Reve implementation methods for the call he was having trouble with.
After a short time he said he said he could almost learn Ruby from the comments in my code. Made my head swell lots!
I hope I’m able to convert him to Ruby because the world needs more Ruby coders and it is a very good language.
Reve release 61 is full of changes and new features. Highlighting them is Reve now has a Trac and its home page here on my blog will eventually be migrated over to the Trac including code samples and more comprehensive documentation.
A brief list of what’s changed is:
- Corporations now nest under the Reve::API#alliances call and their ID can be passed to Reve::API#corporation_sheet to get more info from about the Corporation.
- Added an init.rb so people can install Reve as a plugin to a Rails application (Saves having to put it in lib and constantly update it. See RailsPlugin on the trac for details. Thanks to James Harrison for the idea.
- Reading of XML from an arbitrary source for all API calls. Including a file on disk or any other website. Useful for integrating with a caching proxy.
- Saving of XML to disk after a successfully completed API call. Useful to report bugs and to cache things locally. See the previous point!
The RDOC for Reve has been updated as well.
Download:
A quick note to announce that the Reve Trac is online. Tickets can be submitted and source browsed.
A new revision is coming shortly with vast improvements in documentation.
In reference to the post about My First Patch to the Rails trac I mentioned in the edit of the post that I emailed the maintainer. There’s been no response, unfortunately.
So I’ll post the patch here so it’ll get a bit more visibility and hopefully Oracle users can find it helpful in speeding up rake db:migrate on Oracle systems with a lot of indicies.
Patch to speed up Rails’s OracleAdapter#indexes method