{"action":"created","comment":{"url":"https://api.github.com/repos/apiaryio/redsnow/pulls/comments/26931834","id":26931834,"diff_hunk":"@@ -17,51 +19,36 @@ class ParseResult\n     # Supported version of Api Blueprint\n     SUPPORTED_VERSIONS = ['2.1']\n \n-    # @param report_handle [FFI::Pointer]\n-    def initialize(report_handle, blueprint_handle, sourcemap_handle)\n-      @ast = Blueprint.new(blueprint_handle)\n-      @sourcemap = RedSnow::Sourcemap::Blueprint.new(sourcemap_handle)\n+    # @param report [ string or nil ]\n+    def initialize(report)","path":"lib/redsnow/parseresult.rb","position":21,"original_position":21,"commit_id":"2af643358b5296eb10c23fb11db9eacbace27dc5","original_commit_id":"2af643358b5296eb10c23fb11db9eacbace27dc5","user":{"login":"pksunkara","id":174703,"avatar_url":"https://avatars.githubusercontent.com/u/174703?v=3","gravatar_id":"","url":"https://api.github.com/users/pksunkara","html_url":"https://github.com/pksunkara","followers_url":"https://api.github.com/users/pksunkara/followers","following_url":"https://api.github.com/users/pksunkara/following{/other_user}","gists_url":"https://api.github.com/users/pksunkara/gists{/gist_id}","starred_url":"https://api.github.com/users/pksunkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksunkara/subscriptions","organizations_url":"https://api.github.com/users/pksunkara/orgs","repos_url":"https://api.github.com/users/pksunkara/repos","events_url":"https://api.github.com/users/pksunkara/events{/privacy}","received_events_url":"https://api.github.com/users/pksunkara/received_events","type":"User","site_admin":false},"body":"Similarly, the variable `report` here should be `parse_result`.","created_at":"2015-03-23T12:24:19Z","updated_at":"2015-03-23T12:24:19Z","html_url":"https://github.com/apiaryio/redsnow/pull/53#discussion_r26931834","pull_request_url":"https://api.github.com/repos/apiaryio/redsnow/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/apiaryio/redsnow/pulls/comments/26931834"},"html":{"href":"https://github.com/apiaryio/redsnow/pull/53#discussion_r26931834"},"pull_request":{"href":"https://api.github.com/repos/apiaryio/redsnow/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/apiaryio/redsnow/pulls/53","id":31605992,"html_url":"https://github.com/apiaryio/redsnow/pull/53","diff_url":"https://github.com/apiaryio/redsnow/pull/53.diff","patch_url":"https://github.com/apiaryio/redsnow/pull/53.patch","issue_url":"https://api.github.com/repos/apiaryio/redsnow/issues/53","number":53,"state":"open","locked":false,"title":"Drafter integration","user":{"login":"klokane","id":489973,"avatar_url":"https://avatars.githubusercontent.com/u/489973?v=3","gravatar_id":"","url":"https://api.github.com/users/klokane","html_url":"https://github.com/klokane","followers_url":"https://api.github.com/users/klokane/followers","following_url":"https://api.github.com/users/klokane/following{/other_user}","gists_url":"https://api.github.com/users/klokane/gists{/gist_id}","starred_url":"https://api.github.com/users/klokane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klokane/subscriptions","organizations_url":"https://api.github.com/users/klokane/orgs","repos_url":"https://api.github.com/users/klokane/repos","events_url":"https://api.github.com/users/klokane/events{/privacy}","received_events_url":"https://api.github.com/users/klokane/received_events","type":"User","site_admin":false},"body":"Replace snowcrash by drafter\r\nUse simplified C interface","created_at":"2015-03-20T11:27:59Z","updated_at":"2015-03-23T12:24:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f1fa8cd66893250f5254dc0cd60b3b66151d994","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/redsnow/pulls/53/commits","review_comments_url":"https://api.github.com/repos/apiaryio/redsnow/pulls/53/comments","review_comment_url":"https://api.github.com/repos/apiaryio/redsnow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apiaryio/redsnow/issues/53/comments","statuses_url":"https://api.github.com/repos/apiaryio/redsnow/statuses/2af643358b5296eb10c23fb11db9eacbace27dc5","head":{"label":"apiaryio:klokane/drafter-integration","ref":"klokane/drafter-integration","sha":"2af643358b5296eb10c23fb11db9eacbace27dc5","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":21420736,"name":"redsnow","full_name":"apiaryio/redsnow","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/redsnow","description":"Ruby binding for the Snow Crash library, also a thermonuclear weapon.","fork":false,"url":"https://api.github.com/repos/apiaryio/redsnow","forks_url":"https://api.github.com/repos/apiaryio/redsnow/forks","keys_url":"https://api.github.com/repos/apiaryio/redsnow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/redsnow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/redsnow/teams","hooks_url":"https://api.github.com/repos/apiaryio/redsnow/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/redsnow/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/redsnow/events","assignees_url":"https://api.github.com/repos/apiaryio/redsnow/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/redsnow/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/redsnow/tags","blobs_url":"https://api.github.com/repos/apiaryio/redsnow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/redsnow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/redsnow/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/redsnow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/redsnow/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/redsnow/languages","stargazers_url":"https://api.github.com/repos/apiaryio/redsnow/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/redsnow/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/redsnow/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/redsnow/subscription","commits_url":"https://api.github.com/repos/apiaryio/redsnow/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/redsnow/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/redsnow/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/redsnow/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/redsnow/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/redsnow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/redsnow/merges","archive_url":"https://api.github.com/repos/apiaryio/redsnow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/redsnow/downloads","issues_url":"https://api.github.com/repos/apiaryio/redsnow/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/redsnow/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/redsnow/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/redsnow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/redsnow/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/redsnow/releases{/id}","created_at":"2014-07-02T10:47:33Z","updated_at":"2015-03-16T09:39:35Z","pushed_at":"2015-03-20T13:12:17Z","git_url":"git://github.com/apiaryio/redsnow.git","ssh_url":"git@github.com:apiaryio/redsnow.git","clone_url":"https://github.com/apiaryio/redsnow.git","svn_url":"https://github.com/apiaryio/redsnow","homepage":"","size":1661,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":29,"default_branch":"master"}},"base":{"label":"apiaryio:master","ref":"master","sha":"8493039fc2085642ced8be1aa3724bd9e876eccb","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":21420736,"name":"redsnow","full_name":"apiaryio/redsnow","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/redsnow","description":"Ruby binding for the Snow Crash library, also a thermonuclear weapon.","fork":false,"url":"https://api.github.com/repos/apiaryio/redsnow","forks_url":"https://api.github.com/repos/apiaryio/redsnow/forks","keys_url":"https://api.github.com/repos/apiaryio/redsnow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/redsnow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/redsnow/teams","hooks_url":"https://api.github.com/repos/apiaryio/redsnow/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/redsnow/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/redsnow/events","assignees_url":"https://api.github.com/repos/apiaryio/redsnow/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/redsnow/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/redsnow/tags","blobs_url":"https://api.github.com/repos/apiaryio/redsnow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/redsnow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/redsnow/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/redsnow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/redsnow/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/redsnow/languages","stargazers_url":"https://api.github.com/repos/apiaryio/redsnow/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/redsnow/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/redsnow/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/redsnow/subscription","commits_url":"https://api.github.com/repos/apiaryio/redsnow/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/redsnow/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/redsnow/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/redsnow/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/redsnow/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/redsnow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/redsnow/merges","archive_url":"https://api.github.com/repos/apiaryio/redsnow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/redsnow/downloads","issues_url":"https://api.github.com/repos/apiaryio/redsnow/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/redsnow/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/redsnow/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/redsnow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/redsnow/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/redsnow/releases{/id}","created_at":"2014-07-02T10:47:33Z","updated_at":"2015-03-16T09:39:35Z","pushed_at":"2015-03-20T13:12:17Z","git_url":"git://github.com/apiaryio/redsnow.git","ssh_url":"git@github.com:apiaryio/redsnow.git","clone_url":"https://github.com/apiaryio/redsnow.git","svn_url":"https://github.com/apiaryio/redsnow","homepage":"","size":1661,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apiaryio/redsnow/pulls/53"},"html":{"href":"https://github.com/apiaryio/redsnow/pull/53"},"issue":{"href":"https://api.github.com/repos/apiaryio/redsnow/issues/53"},"comments":{"href":"https://api.github.com/repos/apiaryio/redsnow/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/redsnow/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/redsnow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/redsnow/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/redsnow/statuses/2af643358b5296eb10c23fb11db9eacbace27dc5"}}}}