laserlemon/figaro — pull request #65 by dannyvanhoof (2013-07-31 07:10:21+00:00)
Title: Variables with spaces, or arrays, are now supported in "rake Figaro:Heroku"

By escaping environment variables containing spaces with single quotes, and by escaping environment variables containing arrays with single quotes, and removing the additional double quotes around each array element, rake Figaro:Heroku can now also be used to push these environment variables to Heroku

e.g.

ADMIN_NAME: Danny Van Hoof
ROLES: [admin, user, VIP]

will be sent as

config:set ADMIN_NAME='Danny Van Hoof" ROLES='[admin, user, VIP]'