Repository navigation
v0.0.2
Sends snake_case property and trait keys in camelCase, so order_total: arrives as orderTotal, the spelling well-known event fields use and JavaScript code usually writes.
Only lowercase snake_case at the top level is renamed: nested Hash keys and any other key are sent as written. If two keys come out the same, such as order_total and orderTotal, the last one is sent and the other is dropped with a warning, as with Hash#merge. Pug's Node, Go and Python SDKs keep sending keys as written.
This changes what 0.0.1 sends. Data it stored keeps the snake_case keys, so saved filters need the camelCase names, and profiles will hold both spellings.
Install: gem install pug-sh -v 0.0.2