segmentio/integrations — pull request #184 by calvinfo (2014-08-12 23:37:00+00:00)
Title: keen.io: fixing addons without input

It turns out the Keen.io API will complain if we pass it addons without any sort of input.

> {"name":"InvalidAddonError","description":"Your event contained an invalid add-on. IP to Geo Enricher's 'ip' points to 'ip_address' but that property does not exist in the event you sent!"}

this commit fixes that so we'll only include the addons if it's both enabled and the field is there

@yields @gjohnson