{"action":"created","issue":{"url":"https://api.github.com/repos/paulspringett/csv_shaper/issues/27","repository_url":"https://api.github.com/repos/paulspringett/csv_shaper","labels_url":"https://api.github.com/repos/paulspringett/csv_shaper/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/paulspringett/csv_shaper/issues/27/comments","events_url":"https://api.github.com/repos/paulspringett/csv_shaper/issues/27/events","html_url":"https://github.com/paulspringett/csv_shaper/pull/27","id":156368300,"number":27,"title":"Expose Config object to Rails templates for template-specific configuration","user":{"login":"jimryan","id":796235,"avatar_url":"https://avatars.githubusercontent.com/u/796235?v=3","gravatar_id":"","url":"https://api.github.com/users/jimryan","html_url":"https://github.com/jimryan","followers_url":"https://api.github.com/users/jimryan/followers","following_url":"https://api.github.com/users/jimryan/following{/other_user}","gists_url":"https://api.github.com/users/jimryan/gists{/gist_id}","starred_url":"https://api.github.com/users/jimryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimryan/subscriptions","organizations_url":"https://api.github.com/users/jimryan/orgs","repos_url":"https://api.github.com/users/jimryan/repos","events_url":"https://api.github.com/users/jimryan/events{/privacy}","received_events_url":"https://api.github.com/users/jimryan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-23T21:14:00Z","updated_at":"2016-05-23T23:29:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paulspringett/csv_shaper/pulls/27","html_url":"https://github.com/paulspringett/csv_shaper/pull/27","diff_url":"https://github.com/paulspringett/csv_shaper/pull/27.diff","patch_url":"https://github.com/paulspringett/csv_shaper/pull/27.patch"},"body":"Previously, there was no easy way to configuring CSV output on a template-specific level when rendering through Rails.  This PR exposes the local config object to Rails templates via a new `config` method.  I've updated the README, and added spec coverage for scenarios with and without existing global configuration.  \r\n\r\nTo add test coverage for the `CsvShaperTemplate` class, I broke it out into a separate file from `CsvShaperHandler`, to avoid depending on Action Pack for `Mime::CSV`"},"comment":{"url":"https://api.github.com/repos/paulspringett/csv_shaper/issues/comments/221125618","html_url":"https://github.com/paulspringett/csv_shaper/pull/27#issuecomment-221125618","issue_url":"https://api.github.com/repos/paulspringett/csv_shaper/issues/27","id":221125618,"user":{"login":"jimryan","id":796235,"avatar_url":"https://avatars.githubusercontent.com/u/796235?v=3","gravatar_id":"","url":"https://api.github.com/users/jimryan","html_url":"https://github.com/jimryan","followers_url":"https://api.github.com/users/jimryan/followers","following_url":"https://api.github.com/users/jimryan/following{/other_user}","gists_url":"https://api.github.com/users/jimryan/gists{/gist_id}","starred_url":"https://api.github.com/users/jimryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimryan/subscriptions","organizations_url":"https://api.github.com/users/jimryan/orgs","repos_url":"https://api.github.com/users/jimryan/repos","events_url":"https://api.github.com/users/jimryan/events{/privacy}","received_events_url":"https://api.github.com/users/jimryan/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T23:29:05Z","updated_at":"2016-05-23T23:29:05Z","body":"Thanks for the swift reply, @paulspringett!  Should be good to merge now.  "}}
{"actor":{"display_login":"jimryan"}}