{"action":"created","comment":{"url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/comments/72100965","id":72100965,"diff_hunk":"@@ -38,8 +38,8 @@\n \n     before {\n       allow(subject.class).to receive(:external_entity_name).and_return(external_name)\n-      allow(RestClient).to receive(:get) { {\"items\" => [{\"data\" => {\"id\" => 123456}}, {\"data\" => {\"id\" => 7891011}}]}.to_json}\n-      allow(RestClient::Request).to receive(:execute) { {\"items\" => [{\"data\" => {\"id\" => 123456}}, {\"data\" => {\"id\" => 7891011}}]}.to_json}\n+      allow(RestClient).to receive(:get) { OpenStruct.new body: {\"items\" => [{\"data\" => {\"id\" => 123456}}, {\"data\" => {\"id\" => 7891011}}]}}","path":"spec/models/entity_spec.rb","position":6,"original_position":6,"commit_id":"5ee8a9b4adbdcb856aa257de33322c4bb828c295","original_commit_id":"5ee8a9b4adbdcb856aa257de33322c4bb828c295","user":{"login":"Berardpi","id":9036578,"avatar_url":"https://avatars.githubusercontent.com/u/9036578?v=3","gravatar_id":"","url":"https://api.github.com/users/Berardpi","html_url":"https://github.com/Berardpi","followers_url":"https://api.github.com/users/Berardpi/followers","following_url":"https://api.github.com/users/Berardpi/following{/other_user}","gists_url":"https://api.github.com/users/Berardpi/gists{/gist_id}","starred_url":"https://api.github.com/users/Berardpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berardpi/subscriptions","organizations_url":"https://api.github.com/users/Berardpi/orgs","repos_url":"https://api.github.com/users/Berardpi/repos","events_url":"https://api.github.com/users/Berardpi/events{/privacy}","received_events_url":"https://api.github.com/users/Berardpi/received_events","type":"User","site_admin":false},"body":"Why the OpenStruct?","created_at":"2016-07-25T16:51:54Z","updated_at":"2016-07-25T16:51:54Z","html_url":"https://github.com/maestrano/connector-basecrm/pull/2#discussion_r72100965","pull_request_url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/comments/72100965"},"html":{"href":"https://github.com/maestrano/connector-basecrm/pull/2#discussion_r72100965"},"pull_request":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2","id":78709688,"html_url":"https://github.com/maestrano/connector-basecrm/pull/2","diff_url":"https://github.com/maestrano/connector-basecrm/pull/2.diff","patch_url":"https://github.com/maestrano/connector-basecrm/pull/2.patch","issue_url":"https://api.github.com/repos/maestrano/connector-basecrm/issues/2","number":2,"state":"open","locked":false,"title":"Added filter to #get_external_entities to fetch only after last_synchronization_date","user":{"login":"MarcoCode","id":15351248,"avatar_url":"https://avatars.githubusercontent.com/u/15351248?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoCode","html_url":"https://github.com/MarcoCode","followers_url":"https://api.github.com/users/MarcoCode/followers","following_url":"https://api.github.com/users/MarcoCode/following{/other_user}","gists_url":"https://api.github.com/users/MarcoCode/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoCode/subscriptions","organizations_url":"https://api.github.com/users/MarcoCode/orgs","repos_url":"https://api.github.com/users/MarcoCode/repos","events_url":"https://api.github.com/users/MarcoCode/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoCode/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-25T16:15:01Z","updated_at":"2016-07-25T16:51:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"735addcfe7ab6d3dceb923174091339215a36e6f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2/commits","review_comments_url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2/comments","review_comment_url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maestrano/connector-basecrm/issues/2/comments","statuses_url":"https://api.github.com/repos/maestrano/connector-basecrm/statuses/5ee8a9b4adbdcb856aa257de33322c4bb828c295","head":{"label":"MarcoCode:filter-last-sync","ref":"filter-last-sync","sha":"5ee8a9b4adbdcb856aa257de33322c4bb828c295","user":{"login":"MarcoCode","id":15351248,"avatar_url":"https://avatars.githubusercontent.com/u/15351248?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoCode","html_url":"https://github.com/MarcoCode","followers_url":"https://api.github.com/users/MarcoCode/followers","following_url":"https://api.github.com/users/MarcoCode/following{/other_user}","gists_url":"https://api.github.com/users/MarcoCode/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoCode/subscriptions","organizations_url":"https://api.github.com/users/MarcoCode/orgs","repos_url":"https://api.github.com/users/MarcoCode/repos","events_url":"https://api.github.com/users/MarcoCode/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoCode/received_events","type":"User","site_admin":false},"repo":{"id":63797599,"name":"connector-basecrm","full_name":"MarcoCode/connector-basecrm","owner":{"login":"MarcoCode","id":15351248,"avatar_url":"https://avatars.githubusercontent.com/u/15351248?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoCode","html_url":"https://github.com/MarcoCode","followers_url":"https://api.github.com/users/MarcoCode/followers","following_url":"https://api.github.com/users/MarcoCode/following{/other_user}","gists_url":"https://api.github.com/users/MarcoCode/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoCode/subscriptions","organizations_url":"https://api.github.com/users/MarcoCode/orgs","repos_url":"https://api.github.com/users/MarcoCode/repos","events_url":"https://api.github.com/users/MarcoCode/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoCode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarcoCode/connector-basecrm","description":null,"fork":true,"url":"https://api.github.com/repos/MarcoCode/connector-basecrm","forks_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/forks","keys_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/teams","hooks_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/hooks","issue_events_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/issues/events{/number}","events_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/events","assignees_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/assignees{/user}","branches_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/branches{/branch}","tags_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/tags","blobs_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/statuses/{sha}","languages_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/languages","stargazers_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/stargazers","contributors_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/contributors","subscribers_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/subscribers","subscription_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/subscription","commits_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/contents/{+path}","compare_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/merges","archive_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/downloads","issues_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/issues{/number}","pulls_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/pulls{/number}","milestones_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/milestones{/number}","notifications_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/labels{/name}","releases_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/releases{/id}","deployments_url":"https://api.github.com/repos/MarcoCode/connector-basecrm/deployments","created_at":"2016-07-20T16:38:01Z","updated_at":"2016-07-19T08:32:23Z","pushed_at":"2016-07-25T16:02:00Z","git_url":"git://github.com/MarcoCode/connector-basecrm.git","ssh_url":"git@github.com:MarcoCode/connector-basecrm.git","clone_url":"https://github.com/MarcoCode/connector-basecrm.git","svn_url":"https://github.com/MarcoCode/connector-basecrm","homepage":null,"size":860,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"maestrano:develop","ref":"develop","sha":"aa91178dfc04f75f38a4a1cdd7122629963b0297","user":{"login":"maestrano","id":6322021,"avatar_url":"https://avatars.githubusercontent.com/u/6322021?v=3","gravatar_id":"","url":"https://api.github.com/users/maestrano","html_url":"https://github.com/maestrano","followers_url":"https://api.github.com/users/maestrano/followers","following_url":"https://api.github.com/users/maestrano/following{/other_user}","gists_url":"https://api.github.com/users/maestrano/gists{/gist_id}","starred_url":"https://api.github.com/users/maestrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestrano/subscriptions","organizations_url":"https://api.github.com/users/maestrano/orgs","repos_url":"https://api.github.com/users/maestrano/repos","events_url":"https://api.github.com/users/maestrano/events{/privacy}","received_events_url":"https://api.github.com/users/maestrano/received_events","type":"Organization","site_admin":false},"repo":{"id":63676095,"name":"connector-basecrm","full_name":"maestrano/connector-basecrm","owner":{"login":"maestrano","id":6322021,"avatar_url":"https://avatars.githubusercontent.com/u/6322021?v=3","gravatar_id":"","url":"https://api.github.com/users/maestrano","html_url":"https://github.com/maestrano","followers_url":"https://api.github.com/users/maestrano/followers","following_url":"https://api.github.com/users/maestrano/following{/other_user}","gists_url":"https://api.github.com/users/maestrano/gists{/gist_id}","starred_url":"https://api.github.com/users/maestrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestrano/subscriptions","organizations_url":"https://api.github.com/users/maestrano/orgs","repos_url":"https://api.github.com/users/maestrano/repos","events_url":"https://api.github.com/users/maestrano/events{/privacy}","received_events_url":"https://api.github.com/users/maestrano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maestrano/connector-basecrm","description":null,"fork":false,"url":"https://api.github.com/repos/maestrano/connector-basecrm","forks_url":"https://api.github.com/repos/maestrano/connector-basecrm/forks","keys_url":"https://api.github.com/repos/maestrano/connector-basecrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maestrano/connector-basecrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maestrano/connector-basecrm/teams","hooks_url":"https://api.github.com/repos/maestrano/connector-basecrm/hooks","issue_events_url":"https://api.github.com/repos/maestrano/connector-basecrm/issues/events{/number}","events_url":"https://api.github.com/repos/maestrano/connector-basecrm/events","assignees_url":"https://api.github.com/repos/maestrano/connector-basecrm/assignees{/user}","branches_url":"https://api.github.com/repos/maestrano/connector-basecrm/branches{/branch}","tags_url":"https://api.github.com/repos/maestrano/connector-basecrm/tags","blobs_url":"https://api.github.com/repos/maestrano/connector-basecrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maestrano/connector-basecrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maestrano/connector-basecrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/maestrano/connector-basecrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maestrano/connector-basecrm/statuses/{sha}","languages_url":"https://api.github.com/repos/maestrano/connector-basecrm/languages","stargazers_url":"https://api.github.com/repos/maestrano/connector-basecrm/stargazers","contributors_url":"https://api.github.com/repos/maestrano/connector-basecrm/contributors","subscribers_url":"https://api.github.com/repos/maestrano/connector-basecrm/subscribers","subscription_url":"https://api.github.com/repos/maestrano/connector-basecrm/subscription","commits_url":"https://api.github.com/repos/maestrano/connector-basecrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/maestrano/connector-basecrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/maestrano/connector-basecrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/maestrano/connector-basecrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/maestrano/connector-basecrm/contents/{+path}","compare_url":"https://api.github.com/repos/maestrano/connector-basecrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maestrano/connector-basecrm/merges","archive_url":"https://api.github.com/repos/maestrano/connector-basecrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maestrano/connector-basecrm/downloads","issues_url":"https://api.github.com/repos/maestrano/connector-basecrm/issues{/number}","pulls_url":"https://api.github.com/repos/maestrano/connector-basecrm/pulls{/number}","milestones_url":"https://api.github.com/repos/maestrano/connector-basecrm/milestones{/number}","notifications_url":"https://api.github.com/repos/maestrano/connector-basecrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maestrano/connector-basecrm/labels{/name}","releases_url":"https://api.github.com/repos/maestrano/connector-basecrm/releases{/id}","deployments_url":"https://api.github.com/repos/maestrano/connector-basecrm/deployments","created_at":"2016-07-19T08:32:23Z","updated_at":"2016-07-22T17:03:30Z","pushed_at":"2016-07-25T16:15:01Z","git_url":"git://github.com/maestrano/connector-basecrm.git","ssh_url":"git@github.com:maestrano/connector-basecrm.git","clone_url":"https://github.com/maestrano/connector-basecrm.git","svn_url":"https://github.com/maestrano/connector-basecrm","homepage":null,"size":852,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2"},"html":{"href":"https://github.com/maestrano/connector-basecrm/pull/2"},"issue":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/issues/2"},"comments":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/maestrano/connector-basecrm/statuses/5ee8a9b4adbdcb856aa257de33322c4bb828c295"}}}}
{"actor":{"display_login":"Berardpi"}}