{"action":"created","comment":{"url":"https://api.github.com/repos/PRX/cms.prx.org/pulls/comments/31722759","id":31722759,"diff_hunk":"@@ -52,4 +43,15 @@\n     representer.href_url_helper({foo: 1, bar: 2, camp: 3}).must_equal \"this is a test\"\n   end\n \n+  describe 'test with routing' do\n+\n+    before { define_routes }\n+    after { Rails.application.reload_routes! }\n+\n+    it 'gets a route url helper method with parent' do\n+      representer.represented.options[:parent] = TestParent.new(1, true)\n+      representer.represented.options[:item_class] = TestObject\n+      representer.href_url_helper({page: 1}).must_equal \"/api/test_parent/1/test_objects?page=1\"","path":"test/representers/api/paged_collection_representer_test.rb","position":28,"original_position":28,"commit_id":"fac10bad08aec1426044617f84c003fd669a32fb","original_commit_id":"fac10bad08aec1426044617f84c003fd669a32fb","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [96/80]<br>Redundant curly braces around a hash parameter.<br>Space inside { missing.<br>Space inside } missing.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2015-06-04T14:05:04Z","updated_at":"2015-06-04T14:05:04Z","html_url":"https://github.com/PRX/cms.prx.org/pull/109#discussion_r31722759","pull_request_url":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/PRX/cms.prx.org/pulls/comments/31722759"},"html":{"href":"https://github.com/PRX/cms.prx.org/pull/109#discussion_r31722759"},"pull_request":{"href":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109","id":35266243,"html_url":"https://github.com/PRX/cms.prx.org/pull/109","diff_url":"https://github.com/PRX/cms.prx.org/pull/109.diff","patch_url":"https://github.com/PRX/cms.prx.org/pull/109.patch","issue_url":"https://api.github.com/repos/PRX/cms.prx.org/issues/109","number":109,"state":"open","locked":false,"title":"Event messages","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"body":"For communicating between services, for example, on publishing a new story.\r\nRelies on the new `announce` gem for setting up SNS topics, SQS queues, and subscriptions, and for sending messages.  Integrates with ActiveJob and `shoryuken` for processing messages.","created_at":"2015-05-12T20:19:47Z","updated_at":"2015-06-04T14:05:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"797c088ba3049d58fb930676f5dd2d24a72c4921","assignee":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109/commits","review_comments_url":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109/comments","review_comment_url":"https://api.github.com/repos/PRX/cms.prx.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PRX/cms.prx.org/issues/109/comments","statuses_url":"https://api.github.com/repos/PRX/cms.prx.org/statuses/fac10bad08aec1426044617f84c003fd669a32fb","head":{"label":"PRX:feat/event_messages","ref":"feat/event_messages","sha":"fac10bad08aec1426044617f84c003fd669a32fb","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":14878369,"name":"cms.prx.org","full_name":"PRX/cms.prx.org","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/cms.prx.org","description":"Rails App for PRX (under development)","fork":false,"url":"https://api.github.com/repos/PRX/cms.prx.org","forks_url":"https://api.github.com/repos/PRX/cms.prx.org/forks","keys_url":"https://api.github.com/repos/PRX/cms.prx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/cms.prx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/cms.prx.org/teams","hooks_url":"https://api.github.com/repos/PRX/cms.prx.org/hooks","issue_events_url":"https://api.github.com/repos/PRX/cms.prx.org/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/cms.prx.org/events","assignees_url":"https://api.github.com/repos/PRX/cms.prx.org/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/cms.prx.org/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/cms.prx.org/tags","blobs_url":"https://api.github.com/repos/PRX/cms.prx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/cms.prx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/cms.prx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/cms.prx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/cms.prx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/cms.prx.org/languages","stargazers_url":"https://api.github.com/repos/PRX/cms.prx.org/stargazers","contributors_url":"https://api.github.com/repos/PRX/cms.prx.org/contributors","subscribers_url":"https://api.github.com/repos/PRX/cms.prx.org/subscribers","subscription_url":"https://api.github.com/repos/PRX/cms.prx.org/subscription","commits_url":"https://api.github.com/repos/PRX/cms.prx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/cms.prx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/cms.prx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/cms.prx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/cms.prx.org/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/cms.prx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/cms.prx.org/merges","archive_url":"https://api.github.com/repos/PRX/cms.prx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/cms.prx.org/downloads","issues_url":"https://api.github.com/repos/PRX/cms.prx.org/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/cms.prx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/cms.prx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/cms.prx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/cms.prx.org/labels{/name}","releases_url":"https://api.github.com/repos/PRX/cms.prx.org/releases{/id}","created_at":"2013-12-02T23:48:10Z","updated_at":"2015-05-07T15:07:11Z","pushed_at":"2015-06-04T14:04:56Z","git_url":"git://github.com/PRX/cms.prx.org.git","ssh_url":"git@github.com:PRX/cms.prx.org.git","clone_url":"https://github.com/PRX/cms.prx.org.git","svn_url":"https://github.com/PRX/cms.prx.org","homepage":"http://www.prx.org","size":3054,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":1,"default_branch":"master"}},"base":{"label":"PRX:master","ref":"master","sha":"d35bed360c420b95d5ceb771a4fb5c08b311b464","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":14878369,"name":"cms.prx.org","full_name":"PRX/cms.prx.org","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/cms.prx.org","description":"Rails App for PRX (under development)","fork":false,"url":"https://api.github.com/repos/PRX/cms.prx.org","forks_url":"https://api.github.com/repos/PRX/cms.prx.org/forks","keys_url":"https://api.github.com/repos/PRX/cms.prx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/cms.prx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/cms.prx.org/teams","hooks_url":"https://api.github.com/repos/PRX/cms.prx.org/hooks","issue_events_url":"https://api.github.com/repos/PRX/cms.prx.org/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/cms.prx.org/events","assignees_url":"https://api.github.com/repos/PRX/cms.prx.org/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/cms.prx.org/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/cms.prx.org/tags","blobs_url":"https://api.github.com/repos/PRX/cms.prx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/cms.prx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/cms.prx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/cms.prx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/cms.prx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/cms.prx.org/languages","stargazers_url":"https://api.github.com/repos/PRX/cms.prx.org/stargazers","contributors_url":"https://api.github.com/repos/PRX/cms.prx.org/contributors","subscribers_url":"https://api.github.com/repos/PRX/cms.prx.org/subscribers","subscription_url":"https://api.github.com/repos/PRX/cms.prx.org/subscription","commits_url":"https://api.github.com/repos/PRX/cms.prx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/cms.prx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/cms.prx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/cms.prx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/cms.prx.org/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/cms.prx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/cms.prx.org/merges","archive_url":"https://api.github.com/repos/PRX/cms.prx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/cms.prx.org/downloads","issues_url":"https://api.github.com/repos/PRX/cms.prx.org/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/cms.prx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/cms.prx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/cms.prx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/cms.prx.org/labels{/name}","releases_url":"https://api.github.com/repos/PRX/cms.prx.org/releases{/id}","created_at":"2013-12-02T23:48:10Z","updated_at":"2015-05-07T15:07:11Z","pushed_at":"2015-06-04T14:04:56Z","git_url":"git://github.com/PRX/cms.prx.org.git","ssh_url":"git@github.com:PRX/cms.prx.org.git","clone_url":"https://github.com/PRX/cms.prx.org.git","svn_url":"https://github.com/PRX/cms.prx.org","homepage":"http://www.prx.org","size":3054,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109"},"html":{"href":"https://github.com/PRX/cms.prx.org/pull/109"},"issue":{"href":"https://api.github.com/repos/PRX/cms.prx.org/issues/109"},"comments":{"href":"https://api.github.com/repos/PRX/cms.prx.org/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/PRX/cms.prx.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PRX/cms.prx.org/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/PRX/cms.prx.org/statuses/fac10bad08aec1426044617f84c003fd669a32fb"}}}}