{"action":"created","issue":{"url":"https://api.github.com/repos/carrot/roots-records/issues/8","labels_url":"https://api.github.com/repos/carrot/roots-records/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/carrot/roots-records/issues/8/comments","events_url":"https://api.github.com/repos/carrot/roots-records/issues/8/events","html_url":"https://github.com/carrot/roots-records/pull/8","id":64032470,"number":8,"title":"Update path to hook function","user":{"login":"joshrowley","id":1937303,"avatar_url":"https://avatars.githubusercontent.com/u/1937303?v=3","gravatar_id":"","url":"https://api.github.com/users/joshrowley","html_url":"https://github.com/joshrowley","followers_url":"https://api.github.com/users/joshrowley/followers","following_url":"https://api.github.com/users/joshrowley/following{/other_user}","gists_url":"https://api.github.com/users/joshrowley/gists{/gist_id}","starred_url":"https://api.github.com/users/joshrowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshrowley/subscriptions","organizations_url":"https://api.github.com/users/joshrowley/orgs","repos_url":"https://api.github.com/users/joshrowley/repos","events_url":"https://api.github.com/users/joshrowley/events{/privacy}","received_events_url":"https://api.github.com/users/joshrowley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-24T15:54:32Z","updated_at":"2015-03-24T20:39:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/carrot/roots-records/pulls/8","html_url":"https://github.com/carrot/roots-records/pull/8","diff_url":"https://github.com/carrot/roots-records/pull/8.diff","patch_url":"https://github.com/carrot/roots-records/pull/8.patch"},"body":"This replaces the `path` option with a `hook` option that takes a function. The function takes in your record's data and allows you to manipulate it however you please. Whatever is returned from this function is then set as your `records.<key>`. This makes the extension more flexible and removes some of the parsing logic needed for the `path` option."},"comment":{"url":"https://api.github.com/repos/carrot/roots-records/issues/comments/85684201","html_url":"https://github.com/carrot/roots-records/pull/8#issuecomment-85684201","issue_url":"https://api.github.com/repos/carrot/roots-records/issues/8","id":85684201,"user":{"login":"nporteschaikin","id":1634280,"avatar_url":"https://avatars.githubusercontent.com/u/1634280?v=3","gravatar_id":"","url":"https://api.github.com/users/nporteschaikin","html_url":"https://github.com/nporteschaikin","followers_url":"https://api.github.com/users/nporteschaikin/followers","following_url":"https://api.github.com/users/nporteschaikin/following{/other_user}","gists_url":"https://api.github.com/users/nporteschaikin/gists{/gist_id}","starred_url":"https://api.github.com/users/nporteschaikin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nporteschaikin/subscriptions","organizations_url":"https://api.github.com/users/nporteschaikin/orgs","repos_url":"https://api.github.com/users/nporteschaikin/repos","events_url":"https://api.github.com/users/nporteschaikin/events{/privacy}","received_events_url":"https://api.github.com/users/nporteschaikin/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T20:39:57Z","updated_at":"2015-03-24T20:39:57Z","body":"Actually, never mind.  I like `hook` and you explain it well in the README.  "}}