I can probably do that on a bifferboard[1]. I own one that it's out of use now, but still I'd so so much more potential on a RPi.
Anyway it's good to have choices! I'd probably grab a 'spark' since I can write code in ruby, comes very handy! :-)
A similar product that has been around for a little longer is electricimp (http://www.electricimp.com). I've done a couple of little projects with it at home, but is has also been used in several consumer products already.
I can give you several good reasons why it is more useful to do this with a Spark core (or an Arduino), but the most important to me is that learning how to program very constrained hardware platforms is useful.