{"action":"created","comment":{"url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/comments/22786085","id":22786085,"diff_hunk":"@@ -91,10 +94,13 @@\n   end\n \n   context \"configuration\" do\n-    before{ allow(token).to receive(:jwt_config).and_return({ 'secret_key' => '123456', 'hmac_sha_algo' => 'SECURE', 'issuer' => 'ME' }) }\n-    it{ expect( token.send(:secret_key) ).to eql( '123456' ) }\n-    it{ expect( token.send(:hmac_sha_algo) ).to eql( 'SECURE' ) }\n-    it{ expect( token.send(:issuer) ).to eql( 'ME' ) }\n+    before do\n+      allow(token).to receive(:jwt_config).\n+      and_return( { \"secret_key\" => \"123456\", \"hmac_sha_algo\" => \"SECURE\", \"issuer\" => \"ME\" } )\n+    end\n+    it{ expect(token.send(:secret_key)).to eql(\"123456\") }","path":"spec/models/token_spec.rb","position":104,"original_position":104,"commit_id":"4bbb73a43e97b4b383c1cd8b3db9ac51d1435528","original_commit_id":"4bbb73a43e97b4b383c1cd8b3db9ac51d1435528","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":"Space missing to the left of {.","created_at":"2015-01-12T12:02:16Z","updated_at":"2015-01-12T12:02:16Z","html_url":"https://github.com/crossroads/api.goodcity/pull/40#discussion_r22786085","pull_request_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/comments/22786085"},"html":{"href":"https://github.com/crossroads/api.goodcity/pull/40#discussion_r22786085"},"pull_request":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40","id":27147460,"html_url":"https://github.com/crossroads/api.goodcity/pull/40","diff_url":"https://github.com/crossroads/api.goodcity/pull/40.diff","patch_url":"https://github.com/crossroads/api.goodcity/pull/40.patch","issue_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/40","number":40,"state":"open","locked":false,"title":"Rails 4 2","user":{"login":"shivanibhanwal","id":1167588,"avatar_url":"https://avatars.githubusercontent.com/u/1167588?v=3","gravatar_id":"","url":"https://api.github.com/users/shivanibhanwal","html_url":"https://github.com/shivanibhanwal","followers_url":"https://api.github.com/users/shivanibhanwal/followers","following_url":"https://api.github.com/users/shivanibhanwal/following{/other_user}","gists_url":"https://api.github.com/users/shivanibhanwal/gists{/gist_id}","starred_url":"https://api.github.com/users/shivanibhanwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivanibhanwal/subscriptions","organizations_url":"https://api.github.com/users/shivanibhanwal/orgs","repos_url":"https://api.github.com/users/shivanibhanwal/repos","events_url":"https://api.github.com/users/shivanibhanwal/events{/privacy}","received_events_url":"https://api.github.com/users/shivanibhanwal/received_events","type":"User","site_admin":false},"body":"Migrated app from Rails 4.1 to 4.2 and Ruby 2.1.5 to Ruby 2.2.\r\n- Used ActiveJobs of rails 4.2 for the flowdock notifications.\r\n- Fixed issue with the notification between Donor/Reviewer/Supervisor\r\n-  Changes made in the token and auth code\r\n- Postgres_ext_serializer gem changes to support the latest changes\r\n\r\n","created_at":"2015-01-10T10:39:50Z","updated_at":"2015-01-12T12:02:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aebd4209e781c12b255547d4fd88d81896aa7970","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40/commits","review_comments_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40/comments","review_comment_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/comments/{number}","comments_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/40/comments","statuses_url":"https://api.github.com/repos/crossroads/api.goodcity/statuses/4bbb73a43e97b4b383c1cd8b3db9ac51d1435528","head":{"label":"crossroads:rails-4-2","ref":"rails-4-2","sha":"4bbb73a43e97b4b383c1cd8b3db9ac51d1435528","user":{"login":"crossroads","id":141971,"avatar_url":"https://avatars.githubusercontent.com/u/141971?v=3","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"repo":{"id":21196107,"name":"api.goodcity","full_name":"crossroads/api.goodcity","owner":{"login":"crossroads","id":141971,"avatar_url":"https://avatars.githubusercontent.com/u/141971?v=3","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crossroads/api.goodcity","description":"Good City API server","fork":false,"url":"https://api.github.com/repos/crossroads/api.goodcity","forks_url":"https://api.github.com/repos/crossroads/api.goodcity/forks","keys_url":"https://api.github.com/repos/crossroads/api.goodcity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crossroads/api.goodcity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crossroads/api.goodcity/teams","hooks_url":"https://api.github.com/repos/crossroads/api.goodcity/hooks","issue_events_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/events{/number}","events_url":"https://api.github.com/repos/crossroads/api.goodcity/events","assignees_url":"https://api.github.com/repos/crossroads/api.goodcity/assignees{/user}","branches_url":"https://api.github.com/repos/crossroads/api.goodcity/branches{/branch}","tags_url":"https://api.github.com/repos/crossroads/api.goodcity/tags","blobs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crossroads/api.goodcity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/refs{/sha}","trees_url":"https://api.github.com/repos/crossroads/api.goodcity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crossroads/api.goodcity/statuses/{sha}","languages_url":"https://api.github.com/repos/crossroads/api.goodcity/languages","stargazers_url":"https://api.github.com/repos/crossroads/api.goodcity/stargazers","contributors_url":"https://api.github.com/repos/crossroads/api.goodcity/contributors","subscribers_url":"https://api.github.com/repos/crossroads/api.goodcity/subscribers","subscription_url":"https://api.github.com/repos/crossroads/api.goodcity/subscription","commits_url":"https://api.github.com/repos/crossroads/api.goodcity/commits{/sha}","git_commits_url":"https://api.github.com/repos/crossroads/api.goodcity/git/commits{/sha}","comments_url":"https://api.github.com/repos/crossroads/api.goodcity/comments{/number}","issue_comment_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/comments/{number}","contents_url":"https://api.github.com/repos/crossroads/api.goodcity/contents/{+path}","compare_url":"https://api.github.com/repos/crossroads/api.goodcity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crossroads/api.goodcity/merges","archive_url":"https://api.github.com/repos/crossroads/api.goodcity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crossroads/api.goodcity/downloads","issues_url":"https://api.github.com/repos/crossroads/api.goodcity/issues{/number}","pulls_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls{/number}","milestones_url":"https://api.github.com/repos/crossroads/api.goodcity/milestones{/number}","notifications_url":"https://api.github.com/repos/crossroads/api.goodcity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crossroads/api.goodcity/labels{/name}","releases_url":"https://api.github.com/repos/crossroads/api.goodcity/releases{/id}","created_at":"2014-06-25T08:40:40Z","updated_at":"2015-01-09T12:56:10Z","pushed_at":"2015-01-12T12:02:08Z","git_url":"git://github.com/crossroads/api.goodcity.git","ssh_url":"git@github.com:crossroads/api.goodcity.git","clone_url":"https://github.com/crossroads/api.goodcity.git","svn_url":"https://github.com/crossroads/api.goodcity","homepage":"http://api.goodcity.hk","size":3335,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"crossroads:master","ref":"master","sha":"5e41e41eb9d94024d1c317f2a42678c5ae0ea507","user":{"login":"crossroads","id":141971,"avatar_url":"https://avatars.githubusercontent.com/u/141971?v=3","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"repo":{"id":21196107,"name":"api.goodcity","full_name":"crossroads/api.goodcity","owner":{"login":"crossroads","id":141971,"avatar_url":"https://avatars.githubusercontent.com/u/141971?v=3","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crossroads/api.goodcity","description":"Good City API server","fork":false,"url":"https://api.github.com/repos/crossroads/api.goodcity","forks_url":"https://api.github.com/repos/crossroads/api.goodcity/forks","keys_url":"https://api.github.com/repos/crossroads/api.goodcity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crossroads/api.goodcity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crossroads/api.goodcity/teams","hooks_url":"https://api.github.com/repos/crossroads/api.goodcity/hooks","issue_events_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/events{/number}","events_url":"https://api.github.com/repos/crossroads/api.goodcity/events","assignees_url":"https://api.github.com/repos/crossroads/api.goodcity/assignees{/user}","branches_url":"https://api.github.com/repos/crossroads/api.goodcity/branches{/branch}","tags_url":"https://api.github.com/repos/crossroads/api.goodcity/tags","blobs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crossroads/api.goodcity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/refs{/sha}","trees_url":"https://api.github.com/repos/crossroads/api.goodcity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crossroads/api.goodcity/statuses/{sha}","languages_url":"https://api.github.com/repos/crossroads/api.goodcity/languages","stargazers_url":"https://api.github.com/repos/crossroads/api.goodcity/stargazers","contributors_url":"https://api.github.com/repos/crossroads/api.goodcity/contributors","subscribers_url":"https://api.github.com/repos/crossroads/api.goodcity/subscribers","subscription_url":"https://api.github.com/repos/crossroads/api.goodcity/subscription","commits_url":"https://api.github.com/repos/crossroads/api.goodcity/commits{/sha}","git_commits_url":"https://api.github.com/repos/crossroads/api.goodcity/git/commits{/sha}","comments_url":"https://api.github.com/repos/crossroads/api.goodcity/comments{/number}","issue_comment_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/comments/{number}","contents_url":"https://api.github.com/repos/crossroads/api.goodcity/contents/{+path}","compare_url":"https://api.github.com/repos/crossroads/api.goodcity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crossroads/api.goodcity/merges","archive_url":"https://api.github.com/repos/crossroads/api.goodcity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crossroads/api.goodcity/downloads","issues_url":"https://api.github.com/repos/crossroads/api.goodcity/issues{/number}","pulls_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls{/number}","milestones_url":"https://api.github.com/repos/crossroads/api.goodcity/milestones{/number}","notifications_url":"https://api.github.com/repos/crossroads/api.goodcity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crossroads/api.goodcity/labels{/name}","releases_url":"https://api.github.com/repos/crossroads/api.goodcity/releases{/id}","created_at":"2014-06-25T08:40:40Z","updated_at":"2015-01-09T12:56:10Z","pushed_at":"2015-01-12T12:02:08Z","git_url":"git://github.com/crossroads/api.goodcity.git","ssh_url":"git@github.com:crossroads/api.goodcity.git","clone_url":"https://github.com/crossroads/api.goodcity.git","svn_url":"https://github.com/crossroads/api.goodcity","homepage":"http://api.goodcity.hk","size":3335,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40"},"html":{"href":"https://github.com/crossroads/api.goodcity/pull/40"},"issue":{"href":"https://api.github.com/repos/crossroads/api.goodcity/issues/40"},"comments":{"href":"https://api.github.com/repos/crossroads/api.goodcity/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/crossroads/api.goodcity/statuses/4bbb73a43e97b4b383c1cd8b3db9ac51d1435528"}}}}