I’ve finally managed to put together version 0.3.0 of Ruby/AWS. The crux of this release is the addition of support for remote shopping-carts. Check out the new Amazon::AWS::ShoppingCart module and the Amazon::AWS::ShoppingCart::Cart class.
The amount of free time I have in any 24 hour period is drastically reduced these days. If this were still 2004, this release would have appeared a lot more quickly. Nowadays, however, the amount of time I can spend on coding and related activities (writing documentation, testing, etc.) is quite limited.
We’ve also had Sarah’s folks over here for the last couple of weeks and been treated to no fewer than thirteen consecutive days of uninterrupted sunshine. Neither fact has been conducive to productive coding.
Anyway, in spite of all of this, the new release is finally a fact. It does feel great to be knocking out useful code again.
With the implementation of remote shopping-carts, the AWS v4 API is now more or less fully supported, save for a few tiny gaps in the functionality of a couple of operations. If I’m not mistaken, Ruby/AWS now supports all of the functionality of its predecessor, the now obsolete Ruby/Amazon, plus a lot more that simply wasn’t available via the old AWS v3 API. This is a significant milestone.
This release of Ruby/AWS interfaces with the latest revision of AWS v4, namely the 2008-04-07 revision. I’ve finally written a few unit tests, too, to prevent regressions from one release to the next.
Another useful addition in this release is the new AWSObject#each iterator method, which yields each |property, value| of the AWSObject. This makes it trivial to iterate over an item’s properties.
In addition to the new functionality, a few bugs have been fixed and minor improvements made. In particular, error-checking when performing MultipleOperations and batched operations has been improved.
Having part implemented the AWS api already I’m on the fence about switching over to this, I have one question though, any reason this couldn’t be a gem?
It absolutely could be a gem. I’ve never put one together before, or I’d do it myself.
When I find a spare moment, I’ll look into finally learning how to package gems.
As of version 0.3.3, Ruby/AWS is available as a gem.