From 3ea7ffe3d42dc9d7b1a74f242670db06cf7782c3 Mon Sep 17 00:00:00 2001 From: Brenton Leanhardt Date: Fri, 11 Jul 2008 14:27:05 -0400 Subject: Minor bug fix for genome-bootstrap discovered by the django-example The django-example only has one class. A String was getting returned where an Array was assumed. Yay for no unit tests for this. On a side note, the django-example was useful for uncovering a few corner cases with how we use Restr. The problem with Restr happens whenever 1 of something was returned. While it's nice enough wrap things in an Array if multiple items are returned, since Restr's XmlSimple instance is not setting 'forcearray => true' we have to wrap the call. It would probably be a good idea to ask the Restr maintainer about the 'forcearray' parameter. --- genome-bootstrap/extra/genome-bootstrap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'genome-bootstrap/extra') diff --git a/genome-bootstrap/extra/genome-bootstrap.spec b/genome-bootstrap/extra/genome-bootstrap.spec index cf00c5b..86c6ae6 100644 --- a/genome-bootstrap/extra/genome-bootstrap.spec +++ b/genome-bootstrap/extra/genome-bootstrap.spec @@ -7,7 +7,7 @@ Summary: Tool for provisioning virtual machines Name: rubygem-%{gemname} Version: 1.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Group: Development/Languages License: Ruby License/GPL Source0: %{gemname}-%{version}.gem -- cgit