segmentio/integrations — pull request #75 by nextmat (2014-04-10 22:53:05+00:00)
Title: Replace spaces in properties with underscores for HubSpot

HubSpot doesn't support properties with spaces in them, this will translate `My Property` to `my_property` instead of `my property`.

Happy to add a test for this but it seemed like existing tests were high-level and I wasn't sure how to verify the properties actually sent via an `.identify()` callback or if such a thing was possible.