Just a quick note. There’s a new Reve gem out as of June 7th. This one’s release notes are:
- Typo fix in Reve::Classes::MapKill - shipJills -> shipKills
- Resolve trac ticket 3 (lowercase field names in postfields method)
- Update documentation to make ‘charid’ more consistantly ‘characterid’
- Resolve trac ticket 2 (Reve does not use @charid, but takes it as an argument in initialize)
- Be strict about currentTime’s casing.
The code changes can be seen At the Reve Trac.
Had my first bug report today about the to_i method I made on the String class breaking Rails migrations because leading zeroes weren’t being treated nicely in my method: "001".to_i # => 1 and fails the test 1.to_s == "001" and so a String was being returned fromto_i. Crap.
I don’t think that I need the method anyways (I’m going to spend part of today to make sure with more tests!) so I’ve removed it and tagged Release 80 and uploaded the gem to RubyForge. It should be available to gem update or gem install shortly.
This release also has a larger test coverage and some other unnecessary methods were pruned. Check it out!
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.