{"action":"created","comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/pulls/comments/77996881","id":77996881,"diff_hunk":"@@ -0,0 +1,70 @@\n+require \"spec\"\n+\n+class State","path":"spec/std/weak_ref_spec.cr","position":3,"original_position":3,"commit_id":"7a0c7009c1ee8973c22392ffe9f0b4b6c6910137","original_commit_id":"7a0c7009c1ee8973c22392ffe9f0b4b6c6910137","user":{"login":"asterite","id":209371,"avatar_url":"https://avatars.githubusercontent.com/u/209371?v=3","gravatar_id":"","url":"https://api.github.com/users/asterite","html_url":"https://github.com/asterite","followers_url":"https://api.github.com/users/asterite/followers","following_url":"https://api.github.com/users/asterite/following{/other_user}","gists_url":"https://api.github.com/users/asterite/gists{/gist_id}","starred_url":"https://api.github.com/users/asterite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asterite/subscriptions","organizations_url":"https://api.github.com/users/asterite/orgs","repos_url":"https://api.github.com/users/asterite/repos","events_url":"https://api.github.com/users/asterite/events{/privacy}","received_events_url":"https://api.github.com/users/asterite/received_events","type":"User","site_admin":false},"body":"`State` and `Foo` might eventually conflict with other specs. Maybe use names like `WeakRefState` and `WeakRefFoo`?\r\n\r\nThis is one of the reasons I want to implement file-private types.","created_at":"2016-09-08T12:38:06Z","updated_at":"2016-09-08T12:38:06Z","html_url":"https://github.com/crystal-lang/crystal/pull/3276#discussion_r77996881","pull_request_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276","_links":{"self":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/comments/77996881"},"html":{"href":"https://github.com/crystal-lang/crystal/pull/3276#discussion_r77996881"},"pull_request":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276"}}},"pull_request":{"url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276","id":84356420,"html_url":"https://github.com/crystal-lang/crystal/pull/3276","diff_url":"https://github.com/crystal-lang/crystal/pull/3276.diff","patch_url":"https://github.com/crystal-lang/crystal/pull/3276.patch","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3276","number":3276,"state":"open","locked":false,"title":"Add WeakRef class","user":{"login":"bcardiff","id":459923,"avatar_url":"https://avatars.githubusercontent.com/u/459923?v=3","gravatar_id":"","url":"https://api.github.com/users/bcardiff","html_url":"https://github.com/bcardiff","followers_url":"https://api.github.com/users/bcardiff/followers","following_url":"https://api.github.com/users/bcardiff/following{/other_user}","gists_url":"https://api.github.com/users/bcardiff/gists{/gist_id}","starred_url":"https://api.github.com/users/bcardiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcardiff/subscriptions","organizations_url":"https://api.github.com/users/bcardiff/orgs","repos_url":"https://api.github.com/users/bcardiff/repos","events_url":"https://api.github.com/users/bcardiff/events{/privacy}","received_events_url":"https://api.github.com/users/bcardiff/received_events","type":"User","site_admin":false},"body":"Weak references are implemented by boehm's register_disappearing_link","created_at":"2016-09-07T19:10:54Z","updated_at":"2016-09-08T12:38:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"839077a7a0abf8255e6e90a2d9de9403d1236eb5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276/commits","review_comments_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276/comments","review_comment_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3276/comments","statuses_url":"https://api.github.com/repos/crystal-lang/crystal/statuses/7a0c7009c1ee8973c22392ffe9f0b4b6c6910137","head":{"label":"bcardiff:feature/weakref","ref":"feature/weakref","sha":"7a0c7009c1ee8973c22392ffe9f0b4b6c6910137","user":{"login":"bcardiff","id":459923,"avatar_url":"https://avatars.githubusercontent.com/u/459923?v=3","gravatar_id":"","url":"https://api.github.com/users/bcardiff","html_url":"https://github.com/bcardiff","followers_url":"https://api.github.com/users/bcardiff/followers","following_url":"https://api.github.com/users/bcardiff/following{/other_user}","gists_url":"https://api.github.com/users/bcardiff/gists{/gist_id}","starred_url":"https://api.github.com/users/bcardiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcardiff/subscriptions","organizations_url":"https://api.github.com/users/bcardiff/orgs","repos_url":"https://api.github.com/users/bcardiff/repos","events_url":"https://api.github.com/users/bcardiff/events{/privacy}","received_events_url":"https://api.github.com/users/bcardiff/received_events","type":"User","site_admin":false},"repo":{"id":39784153,"name":"crystal","full_name":"bcardiff/crystal","owner":{"login":"bcardiff","id":459923,"avatar_url":"https://avatars.githubusercontent.com/u/459923?v=3","gravatar_id":"","url":"https://api.github.com/users/bcardiff","html_url":"https://github.com/bcardiff","followers_url":"https://api.github.com/users/bcardiff/followers","following_url":"https://api.github.com/users/bcardiff/following{/other_user}","gists_url":"https://api.github.com/users/bcardiff/gists{/gist_id}","starred_url":"https://api.github.com/users/bcardiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcardiff/subscriptions","organizations_url":"https://api.github.com/users/bcardiff/orgs","repos_url":"https://api.github.com/users/bcardiff/repos","events_url":"https://api.github.com/users/bcardiff/events{/privacy}","received_events_url":"https://api.github.com/users/bcardiff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcardiff/crystal","description":"The Crystal Programming Language","fork":true,"url":"https://api.github.com/repos/bcardiff/crystal","forks_url":"https://api.github.com/repos/bcardiff/crystal/forks","keys_url":"https://api.github.com/repos/bcardiff/crystal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcardiff/crystal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcardiff/crystal/teams","hooks_url":"https://api.github.com/repos/bcardiff/crystal/hooks","issue_events_url":"https://api.github.com/repos/bcardiff/crystal/issues/events{/number}","events_url":"https://api.github.com/repos/bcardiff/crystal/events","assignees_url":"https://api.github.com/repos/bcardiff/crystal/assignees{/user}","branches_url":"https://api.github.com/repos/bcardiff/crystal/branches{/branch}","tags_url":"https://api.github.com/repos/bcardiff/crystal/tags","blobs_url":"https://api.github.com/repos/bcardiff/crystal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcardiff/crystal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcardiff/crystal/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcardiff/crystal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcardiff/crystal/statuses/{sha}","languages_url":"https://api.github.com/repos/bcardiff/crystal/languages","stargazers_url":"https://api.github.com/repos/bcardiff/crystal/stargazers","contributors_url":"https://api.github.com/repos/bcardiff/crystal/contributors","subscribers_url":"https://api.github.com/repos/bcardiff/crystal/subscribers","subscription_url":"https://api.github.com/repos/bcardiff/crystal/subscription","commits_url":"https://api.github.com/repos/bcardiff/crystal/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcardiff/crystal/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcardiff/crystal/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcardiff/crystal/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcardiff/crystal/contents/{+path}","compare_url":"https://api.github.com/repos/bcardiff/crystal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcardiff/crystal/merges","archive_url":"https://api.github.com/repos/bcardiff/crystal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcardiff/crystal/downloads","issues_url":"https://api.github.com/repos/bcardiff/crystal/issues{/number}","pulls_url":"https://api.github.com/repos/bcardiff/crystal/pulls{/number}","milestones_url":"https://api.github.com/repos/bcardiff/crystal/milestones{/number}","notifications_url":"https://api.github.com/repos/bcardiff/crystal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcardiff/crystal/labels{/name}","releases_url":"https://api.github.com/repos/bcardiff/crystal/releases{/id}","deployments_url":"https://api.github.com/repos/bcardiff/crystal/deployments","created_at":"2015-07-27T16:05:38Z","updated_at":"2016-01-28T19:54:21Z","pushed_at":"2016-09-07T19:30:49Z","git_url":"git://github.com/bcardiff/crystal.git","ssh_url":"git@github.com:bcardiff/crystal.git","clone_url":"https://github.com/bcardiff/crystal.git","svn_url":"https://github.com/bcardiff/crystal","homepage":"http://crystal-lang.org","size":39532,"stargazers_count":0,"watchers_count":0,"language":"Crystal","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":"master"}},"base":{"label":"crystal-lang:master","ref":"master","sha":"8e723f58c5eef81da397288253f5f7eaac4b2739","user":{"login":"crystal-lang","id":6539796,"avatar_url":"https://avatars.githubusercontent.com/u/6539796?v=3","gravatar_id":"","url":"https://api.github.com/users/crystal-lang","html_url":"https://github.com/crystal-lang","followers_url":"https://api.github.com/users/crystal-lang/followers","following_url":"https://api.github.com/users/crystal-lang/following{/other_user}","gists_url":"https://api.github.com/users/crystal-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/crystal-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystal-lang/subscriptions","organizations_url":"https://api.github.com/users/crystal-lang/orgs","repos_url":"https://api.github.com/users/crystal-lang/repos","events_url":"https://api.github.com/users/crystal-lang/events{/privacy}","received_events_url":"https://api.github.com/users/crystal-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":6887813,"name":"crystal","full_name":"crystal-lang/crystal","owner":{"login":"crystal-lang","id":6539796,"avatar_url":"https://avatars.githubusercontent.com/u/6539796?v=3","gravatar_id":"","url":"https://api.github.com/users/crystal-lang","html_url":"https://github.com/crystal-lang","followers_url":"https://api.github.com/users/crystal-lang/followers","following_url":"https://api.github.com/users/crystal-lang/following{/other_user}","gists_url":"https://api.github.com/users/crystal-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/crystal-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystal-lang/subscriptions","organizations_url":"https://api.github.com/users/crystal-lang/orgs","repos_url":"https://api.github.com/users/crystal-lang/repos","events_url":"https://api.github.com/users/crystal-lang/events{/privacy}","received_events_url":"https://api.github.com/users/crystal-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crystal-lang/crystal","description":"The Crystal Programming Language","fork":false,"url":"https://api.github.com/repos/crystal-lang/crystal","forks_url":"https://api.github.com/repos/crystal-lang/crystal/forks","keys_url":"https://api.github.com/repos/crystal-lang/crystal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crystal-lang/crystal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crystal-lang/crystal/teams","hooks_url":"https://api.github.com/repos/crystal-lang/crystal/hooks","issue_events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/events{/number}","events_url":"https://api.github.com/repos/crystal-lang/crystal/events","assignees_url":"https://api.github.com/repos/crystal-lang/crystal/assignees{/user}","branches_url":"https://api.github.com/repos/crystal-lang/crystal/branches{/branch}","tags_url":"https://api.github.com/repos/crystal-lang/crystal/tags","blobs_url":"https://api.github.com/repos/crystal-lang/crystal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crystal-lang/crystal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crystal-lang/crystal/git/refs{/sha}","trees_url":"https://api.github.com/repos/crystal-lang/crystal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crystal-lang/crystal/statuses/{sha}","languages_url":"https://api.github.com/repos/crystal-lang/crystal/languages","stargazers_url":"https://api.github.com/repos/crystal-lang/crystal/stargazers","contributors_url":"https://api.github.com/repos/crystal-lang/crystal/contributors","subscribers_url":"https://api.github.com/repos/crystal-lang/crystal/subscribers","subscription_url":"https://api.github.com/repos/crystal-lang/crystal/subscription","commits_url":"https://api.github.com/repos/crystal-lang/crystal/commits{/sha}","git_commits_url":"https://api.github.com/repos/crystal-lang/crystal/git/commits{/sha}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/comments{/number}","issue_comment_url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments{/number}","contents_url":"https://api.github.com/repos/crystal-lang/crystal/contents/{+path}","compare_url":"https://api.github.com/repos/crystal-lang/crystal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crystal-lang/crystal/merges","archive_url":"https://api.github.com/repos/crystal-lang/crystal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crystal-lang/crystal/downloads","issues_url":"https://api.github.com/repos/crystal-lang/crystal/issues{/number}","pulls_url":"https://api.github.com/repos/crystal-lang/crystal/pulls{/number}","milestones_url":"https://api.github.com/repos/crystal-lang/crystal/milestones{/number}","notifications_url":"https://api.github.com/repos/crystal-lang/crystal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crystal-lang/crystal/labels{/name}","releases_url":"https://api.github.com/repos/crystal-lang/crystal/releases{/id}","deployments_url":"https://api.github.com/repos/crystal-lang/crystal/deployments","created_at":"2012-11-27T17:32:32Z","updated_at":"2016-09-08T11:47:26Z","pushed_at":"2016-09-08T00:20:57Z","git_url":"git://github.com/crystal-lang/crystal.git","ssh_url":"git@github.com:crystal-lang/crystal.git","clone_url":"https://github.com/crystal-lang/crystal.git","svn_url":"https://github.com/crystal-lang/crystal","homepage":"http://crystal-lang.org","size":66704,"stargazers_count":6076,"watchers_count":6076,"language":"Crystal","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":490,"mirror_url":null,"open_issues_count":320,"forks":490,"open_issues":320,"watchers":6076,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276"},"html":{"href":"https://github.com/crystal-lang/crystal/pull/3276"},"issue":{"href":"https://api.github.com/repos/crystal-lang/crystal/issues/3276"},"comments":{"href":"https://api.github.com/repos/crystal-lang/crystal/issues/3276/comments"},"review_comments":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276/comments"},"review_comment":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3276/commits"},"statuses":{"href":"https://api.github.com/repos/crystal-lang/crystal/statuses/7a0c7009c1ee8973c22392ffe9f0b4b6c6910137"}}}}
{"actor":{"display_login":"asterite"}}