{"action":"created","comment":{"url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/comments/214489519","pull_request_review_id":151565865,"id":214489519,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDQ4OTUxOQ==","diff_hunk":"@@ -947,6 +947,22 @@ extern {\n     ///     [variable.c](https://github.com/ruby/ruby/blob/v2_5_1/variable.c#L459-L463)\n     /// * **2.6:** [ruby.h](https://github.com/ruby/ruby/blob/v2_6_0_preview2/include/ruby/ruby.h#L1808)\n     pub fn rb_obj_classname(obj: VALUE) -> *const c_char;\n+\n+    /// Equivalent of `Kernel#block_given?`.\n+    /// Returns 1 (true) if yield would execute a block in the current context, or 0 (false)\n+    /// otherwise.","path":"src/ruby.rs","position":7,"original_position":7,"commit_id":"c7735117e3d22624e6534739a7b3e72a54f5e8a6","original_commit_id":"c7735117e3d22624e6534739a7b3e72a54f5e8a6","user":{"login":"chancancode","id":55829,"node_id":"MDQ6VXNlcjU1ODI5","avatar_url":"https://avatars0.githubusercontent.com/u/55829?v=4","gravatar_id":"","url":"https://api.github.com/users/chancancode","html_url":"https://github.com/chancancode","followers_url":"https://api.github.com/users/chancancode/followers","following_url":"https://api.github.com/users/chancancode/following{/other_user}","gists_url":"https://api.github.com/users/chancancode/gists{/gist_id}","starred_url":"https://api.github.com/users/chancancode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chancancode/subscriptions","organizations_url":"https://api.github.com/users/chancancode/orgs","repos_url":"https://api.github.com/users/chancancode/repos","events_url":"https://api.github.com/users/chancancode/events{/privacy}","received_events_url":"https://api.github.com/users/chancancode/received_events","type":"User","site_admin":false},"body":"\"Returns a C boolean (zero if false, non-zero if true)...\"","created_at":"2018-08-31T22:36:45Z","updated_at":"2018-08-31T22:36:45Z","html_url":"https://github.com/tildeio/libcruby-sys/pull/29#discussion_r214489519","pull_request_url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/comments/214489519"},"html":{"href":"https://github.com/tildeio/libcruby-sys/pull/29#discussion_r214489519"},"pull_request":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29"}},"in_reply_to_id":214458236},"pull_request":{"url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29","id":212230694,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMjMwNjk0","html_url":"https://github.com/tildeio/libcruby-sys/pull/29","diff_url":"https://github.com/tildeio/libcruby-sys/pull/29.diff","patch_url":"https://github.com/tildeio/libcruby-sys/pull/29.patch","issue_url":"https://api.github.com/repos/tildeio/libcruby-sys/issues/29","number":29,"state":"open","locked":false,"title":"Add `rb_block_given_p`","user":{"login":"zvkemp","id":2286046,"node_id":"MDQ6VXNlcjIyODYwNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2286046?v=4","gravatar_id":"","url":"https://api.github.com/users/zvkemp","html_url":"https://github.com/zvkemp","followers_url":"https://api.github.com/users/zvkemp/followers","following_url":"https://api.github.com/users/zvkemp/following{/other_user}","gists_url":"https://api.github.com/users/zvkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/zvkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvkemp/subscriptions","organizations_url":"https://api.github.com/users/zvkemp/orgs","repos_url":"https://api.github.com/users/zvkemp/repos","events_url":"https://api.github.com/users/zvkemp/events{/privacy}","received_events_url":"https://api.github.com/users/zvkemp/received_events","type":"User","site_admin":false},"body":"Is it a macro? NO\r\n\r\nIs there a macro version? NO\r\n\r\nDefined in:\r\n\r\nhttps://github.com/ruby/ruby/blob/v2_3_7/include/ruby/ruby.h#L1830\r\nhttps://github.com/ruby/ruby/blob/v2_4_4/include/ruby/ruby.h#L1850\r\nhttps://github.com/ruby/ruby/blob/v2_5_1/include/ruby/ruby.h#L1877\r\nhttps://github.com/ruby/ruby/blob/v2_6_0_preview2/include/ruby/ruby.h#L1894","created_at":"2018-08-30T22:41:26Z","updated_at":"2018-08-31T22:36:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df3772e3ec8fcc92fc95f1b8d893e59c9a2ab74f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29/commits","review_comments_url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29/comments","review_comment_url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tildeio/libcruby-sys/issues/29/comments","statuses_url":"https://api.github.com/repos/tildeio/libcruby-sys/statuses/c7735117e3d22624e6534739a7b3e72a54f5e8a6","head":{"label":"zvkemp:rb_block_given_p","ref":"rb_block_given_p","sha":"c7735117e3d22624e6534739a7b3e72a54f5e8a6","user":{"login":"zvkemp","id":2286046,"node_id":"MDQ6VXNlcjIyODYwNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2286046?v=4","gravatar_id":"","url":"https://api.github.com/users/zvkemp","html_url":"https://github.com/zvkemp","followers_url":"https://api.github.com/users/zvkemp/followers","following_url":"https://api.github.com/users/zvkemp/following{/other_user}","gists_url":"https://api.github.com/users/zvkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/zvkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvkemp/subscriptions","organizations_url":"https://api.github.com/users/zvkemp/orgs","repos_url":"https://api.github.com/users/zvkemp/repos","events_url":"https://api.github.com/users/zvkemp/events{/privacy}","received_events_url":"https://api.github.com/users/zvkemp/received_events","type":"User","site_admin":false},"repo":{"id":146813904,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY4MTM5MDQ=","name":"libcruby-sys","full_name":"zvkemp/libcruby-sys","owner":{"login":"zvkemp","id":2286046,"node_id":"MDQ6VXNlcjIyODYwNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2286046?v=4","gravatar_id":"","url":"https://api.github.com/users/zvkemp","html_url":"https://github.com/zvkemp","followers_url":"https://api.github.com/users/zvkemp/followers","following_url":"https://api.github.com/users/zvkemp/following{/other_user}","gists_url":"https://api.github.com/users/zvkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/zvkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvkemp/subscriptions","organizations_url":"https://api.github.com/users/zvkemp/orgs","repos_url":"https://api.github.com/users/zvkemp/repos","events_url":"https://api.github.com/users/zvkemp/events{/privacy}","received_events_url":"https://api.github.com/users/zvkemp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zvkemp/libcruby-sys","description":null,"fork":true,"url":"https://api.github.com/repos/zvkemp/libcruby-sys","forks_url":"https://api.github.com/repos/zvkemp/libcruby-sys/forks","keys_url":"https://api.github.com/repos/zvkemp/libcruby-sys/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zvkemp/libcruby-sys/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zvkemp/libcruby-sys/teams","hooks_url":"https://api.github.com/repos/zvkemp/libcruby-sys/hooks","issue_events_url":"https://api.github.com/repos/zvkemp/libcruby-sys/issues/events{/number}","events_url":"https://api.github.com/repos/zvkemp/libcruby-sys/events","assignees_url":"https://api.github.com/repos/zvkemp/libcruby-sys/assignees{/user}","branches_url":"https://api.github.com/repos/zvkemp/libcruby-sys/branches{/branch}","tags_url":"https://api.github.com/repos/zvkemp/libcruby-sys/tags","blobs_url":"https://api.github.com/repos/zvkemp/libcruby-sys/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zvkemp/libcruby-sys/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zvkemp/libcruby-sys/git/refs{/sha}","trees_url":"https://api.github.com/repos/zvkemp/libcruby-sys/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zvkemp/libcruby-sys/statuses/{sha}","languages_url":"https://api.github.com/repos/zvkemp/libcruby-sys/languages","stargazers_url":"https://api.github.com/repos/zvkemp/libcruby-sys/stargazers","contributors_url":"https://api.github.com/repos/zvkemp/libcruby-sys/contributors","subscribers_url":"https://api.github.com/repos/zvkemp/libcruby-sys/subscribers","subscription_url":"https://api.github.com/repos/zvkemp/libcruby-sys/subscription","commits_url":"https://api.github.com/repos/zvkemp/libcruby-sys/commits{/sha}","git_commits_url":"https://api.github.com/repos/zvkemp/libcruby-sys/git/commits{/sha}","comments_url":"https://api.github.com/repos/zvkemp/libcruby-sys/comments{/number}","issue_comment_url":"https://api.github.com/repos/zvkemp/libcruby-sys/issues/comments{/number}","contents_url":"https://api.github.com/repos/zvkemp/libcruby-sys/contents/{+path}","compare_url":"https://api.github.com/repos/zvkemp/libcruby-sys/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zvkemp/libcruby-sys/merges","archive_url":"https://api.github.com/repos/zvkemp/libcruby-sys/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zvkemp/libcruby-sys/downloads","issues_url":"https://api.github.com/repos/zvkemp/libcruby-sys/issues{/number}","pulls_url":"https://api.github.com/repos/zvkemp/libcruby-sys/pulls{/number}","milestones_url":"https://api.github.com/repos/zvkemp/libcruby-sys/milestones{/number}","notifications_url":"https://api.github.com/repos/zvkemp/libcruby-sys/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zvkemp/libcruby-sys/labels{/name}","releases_url":"https://api.github.com/repos/zvkemp/libcruby-sys/releases{/id}","deployments_url":"https://api.github.com/repos/zvkemp/libcruby-sys/deployments","created_at":"2018-08-30T22:40:03Z","updated_at":"2018-08-31T17:41:25Z","pushed_at":"2018-08-31T17:52:23Z","git_url":"git://github.com/zvkemp/libcruby-sys.git","ssh_url":"git@github.com:zvkemp/libcruby-sys.git","clone_url":"https://github.com/zvkemp/libcruby-sys.git","svn_url":"https://github.com/zvkemp/libcruby-sys","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tildeio:master","ref":"master","sha":"5dd21322398aee43eb9ce8b0bebae47de07cc2ef","user":{"login":"tildeio","id":1355851,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTU4NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1355851?v=4","gravatar_id":"","url":"https://api.github.com/users/tildeio","html_url":"https://github.com/tildeio","followers_url":"https://api.github.com/users/tildeio/followers","following_url":"https://api.github.com/users/tildeio/following{/other_user}","gists_url":"https://api.github.com/users/tildeio/gists{/gist_id}","starred_url":"https://api.github.com/users/tildeio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tildeio/subscriptions","organizations_url":"https://api.github.com/users/tildeio/orgs","repos_url":"https://api.github.com/users/tildeio/repos","events_url":"https://api.github.com/users/tildeio/events{/privacy}","received_events_url":"https://api.github.com/users/tildeio/received_events","type":"Organization","site_admin":false},"repo":{"id":145167967,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUxNjc5Njc=","name":"libcruby-sys","full_name":"tildeio/libcruby-sys","owner":{"login":"tildeio","id":1355851,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTU4NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1355851?v=4","gravatar_id":"","url":"https://api.github.com/users/tildeio","html_url":"https://github.com/tildeio","followers_url":"https://api.github.com/users/tildeio/followers","following_url":"https://api.github.com/users/tildeio/following{/other_user}","gists_url":"https://api.github.com/users/tildeio/gists{/gist_id}","starred_url":"https://api.github.com/users/tildeio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tildeio/subscriptions","organizations_url":"https://api.github.com/users/tildeio/orgs","repos_url":"https://api.github.com/users/tildeio/repos","events_url":"https://api.github.com/users/tildeio/events{/privacy}","received_events_url":"https://api.github.com/users/tildeio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tildeio/libcruby-sys","description":null,"fork":false,"url":"https://api.github.com/repos/tildeio/libcruby-sys","forks_url":"https://api.github.com/repos/tildeio/libcruby-sys/forks","keys_url":"https://api.github.com/repos/tildeio/libcruby-sys/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tildeio/libcruby-sys/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tildeio/libcruby-sys/teams","hooks_url":"https://api.github.com/repos/tildeio/libcruby-sys/hooks","issue_events_url":"https://api.github.com/repos/tildeio/libcruby-sys/issues/events{/number}","events_url":"https://api.github.com/repos/tildeio/libcruby-sys/events","assignees_url":"https://api.github.com/repos/tildeio/libcruby-sys/assignees{/user}","branches_url":"https://api.github.com/repos/tildeio/libcruby-sys/branches{/branch}","tags_url":"https://api.github.com/repos/tildeio/libcruby-sys/tags","blobs_url":"https://api.github.com/repos/tildeio/libcruby-sys/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tildeio/libcruby-sys/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tildeio/libcruby-sys/git/refs{/sha}","trees_url":"https://api.github.com/repos/tildeio/libcruby-sys/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tildeio/libcruby-sys/statuses/{sha}","languages_url":"https://api.github.com/repos/tildeio/libcruby-sys/languages","stargazers_url":"https://api.github.com/repos/tildeio/libcruby-sys/stargazers","contributors_url":"https://api.github.com/repos/tildeio/libcruby-sys/contributors","subscribers_url":"https://api.github.com/repos/tildeio/libcruby-sys/subscribers","subscription_url":"https://api.github.com/repos/tildeio/libcruby-sys/subscription","commits_url":"https://api.github.com/repos/tildeio/libcruby-sys/commits{/sha}","git_commits_url":"https://api.github.com/repos/tildeio/libcruby-sys/git/commits{/sha}","comments_url":"https://api.github.com/repos/tildeio/libcruby-sys/comments{/number}","issue_comment_url":"https://api.github.com/repos/tildeio/libcruby-sys/issues/comments{/number}","contents_url":"https://api.github.com/repos/tildeio/libcruby-sys/contents/{+path}","compare_url":"https://api.github.com/repos/tildeio/libcruby-sys/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tildeio/libcruby-sys/merges","archive_url":"https://api.github.com/repos/tildeio/libcruby-sys/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tildeio/libcruby-sys/downloads","issues_url":"https://api.github.com/repos/tildeio/libcruby-sys/issues{/number}","pulls_url":"https://api.github.com/repos/tildeio/libcruby-sys/pulls{/number}","milestones_url":"https://api.github.com/repos/tildeio/libcruby-sys/milestones{/number}","notifications_url":"https://api.github.com/repos/tildeio/libcruby-sys/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tildeio/libcruby-sys/labels{/name}","releases_url":"https://api.github.com/repos/tildeio/libcruby-sys/releases{/id}","deployments_url":"https://api.github.com/repos/tildeio/libcruby-sys/deployments","created_at":"2018-08-17T21:26:47Z","updated_at":"2018-08-31T17:59:01Z","pushed_at":"2018-08-31T21:50:32Z","git_url":"git://github.com/tildeio/libcruby-sys.git","ssh_url":"git@github.com:tildeio/libcruby-sys.git","clone_url":"https://github.com/tildeio/libcruby-sys.git","svn_url":"https://github.com/tildeio/libcruby-sys","homepage":null,"size":58,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":1,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29"},"html":{"href":"https://github.com/tildeio/libcruby-sys/pull/29"},"issue":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/issues/29"},"comments":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/tildeio/libcruby-sys/statuses/c7735117e3d22624e6534739a7b3e72a54f5e8a6"}},"author_association":"NONE"}}
{"actor":{"display_login":"chancancode"}}