{"action":"created","comment":{"url":"https://api.github.com/repos/Quick/Quick/pulls/comments/46245402","id":46245402,"diff_hunk":"@@ -57,12 +57,7 @@ final internal class World: NSObject {\n     // MARK: Singleton Constructor\n \n     private override init() {}\n-    private struct Shared {\n-        static let instance = World()\n-    }\n-    internal class func sharedWorld() -> World {\n-        return Shared.instance\n-    }\n+    static let sharedWorld = World()","path":"Quick/World.swift","position":19,"original_position":19,"commit_id":"39b3c9320db1e896e9ae2df48e1e2dbc9a983277","original_commit_id":"39b3c9320db1e896e9ae2df48e1e2dbc9a983277","user":{"login":"modocache","id":552921,"avatar_url":"https://avatars.githubusercontent.com/u/552921?v=3","gravatar_id":"","url":"https://api.github.com/users/modocache","html_url":"https://github.com/modocache","followers_url":"https://api.github.com/users/modocache/followers","following_url":"https://api.github.com/users/modocache/following{/other_user}","gists_url":"https://api.github.com/users/modocache/gists{/gist_id}","starred_url":"https://api.github.com/users/modocache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modocache/subscriptions","organizations_url":"https://api.github.com/users/modocache/orgs","repos_url":"https://api.github.com/users/modocache/repos","events_url":"https://api.github.com/users/modocache/events{/privacy}","received_events_url":"https://api.github.com/users/modocache/received_events","type":"User","site_admin":false},"body":"Very nice, thanks! :+1:\r\n\r\nYou could tell I wasn't super knowledgeable about globals in Swift when I wrote this... :stuck_out_tongue: ","created_at":"2015-12-01T06:56:40Z","updated_at":"2015-12-01T06:56:40Z","html_url":"https://github.com/Quick/Quick/pull/431#discussion_r46245402","pull_request_url":"https://api.github.com/repos/Quick/Quick/pulls/431","_links":{"self":{"href":"https://api.github.com/repos/Quick/Quick/pulls/comments/46245402"},"html":{"href":"https://github.com/Quick/Quick/pull/431#discussion_r46245402"},"pull_request":{"href":"https://api.github.com/repos/Quick/Quick/pulls/431"}}},"pull_request":{"url":"https://api.github.com/repos/Quick/Quick/pulls/431","id":52220680,"html_url":"https://github.com/Quick/Quick/pull/431","diff_url":"https://github.com/Quick/Quick/pull/431.diff","patch_url":"https://github.com/Quick/Quick/pull/431.patch","issue_url":"https://api.github.com/repos/Quick/Quick/issues/431","number":431,"state":"open","locked":false,"title":"add descriptive error when describe is used out of context","user":{"login":"morganchen12","id":4529021,"avatar_url":"https://avatars.githubusercontent.com/u/4529021?v=3","gravatar_id":"","url":"https://api.github.com/users/morganchen12","html_url":"https://github.com/morganchen12","followers_url":"https://api.github.com/users/morganchen12/followers","following_url":"https://api.github.com/users/morganchen12/following{/other_user}","gists_url":"https://api.github.com/users/morganchen12/gists{/gist_id}","starred_url":"https://api.github.com/users/morganchen12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganchen12/subscriptions","organizations_url":"https://api.github.com/users/morganchen12/orgs","repos_url":"https://api.github.com/users/morganchen12/repos","events_url":"https://api.github.com/users/morganchen12/events{/privacy}","received_events_url":"https://api.github.com/users/morganchen12/received_events","type":"User","site_admin":false},"body":"Add a (hopefully) more informative error message when crashing in `describe` to make [crashes like this one](https://github.com/Quick/Nimble/issues/219) more straightforward. From what I can tell the only time the current example group can be `nil` is if the root group was never instantiated.\r\n\r\nIncludes some minor code changes that don't affect behavior as well.","created_at":"2015-12-01T06:23:31Z","updated_at":"2015-12-01T06:56:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2408d11aba70003fd456a51bb5883cf9af9ba9fe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Quick/Quick/pulls/431/commits","review_comments_url":"https://api.github.com/repos/Quick/Quick/pulls/431/comments","review_comment_url":"https://api.github.com/repos/Quick/Quick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Quick/Quick/issues/431/comments","statuses_url":"https://api.github.com/repos/Quick/Quick/statuses/39b3c9320db1e896e9ae2df48e1e2dbc9a983277","head":{"label":"morganchen12:beginner-friendlyize","ref":"beginner-friendlyize","sha":"39b3c9320db1e896e9ae2df48e1e2dbc9a983277","user":{"login":"morganchen12","id":4529021,"avatar_url":"https://avatars.githubusercontent.com/u/4529021?v=3","gravatar_id":"","url":"https://api.github.com/users/morganchen12","html_url":"https://github.com/morganchen12","followers_url":"https://api.github.com/users/morganchen12/followers","following_url":"https://api.github.com/users/morganchen12/following{/other_user}","gists_url":"https://api.github.com/users/morganchen12/gists{/gist_id}","starred_url":"https://api.github.com/users/morganchen12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganchen12/subscriptions","organizations_url":"https://api.github.com/users/morganchen12/orgs","repos_url":"https://api.github.com/users/morganchen12/repos","events_url":"https://api.github.com/users/morganchen12/events{/privacy}","received_events_url":"https://api.github.com/users/morganchen12/received_events","type":"User","site_admin":false},"repo":{"id":47169623,"name":"Quick","full_name":"morganchen12/Quick","owner":{"login":"morganchen12","id":4529021,"avatar_url":"https://avatars.githubusercontent.com/u/4529021?v=3","gravatar_id":"","url":"https://api.github.com/users/morganchen12","html_url":"https://github.com/morganchen12","followers_url":"https://api.github.com/users/morganchen12/followers","following_url":"https://api.github.com/users/morganchen12/following{/other_user}","gists_url":"https://api.github.com/users/morganchen12/gists{/gist_id}","starred_url":"https://api.github.com/users/morganchen12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganchen12/subscriptions","organizations_url":"https://api.github.com/users/morganchen12/orgs","repos_url":"https://api.github.com/users/morganchen12/repos","events_url":"https://api.github.com/users/morganchen12/events{/privacy}","received_events_url":"https://api.github.com/users/morganchen12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morganchen12/Quick","description":"The Swift (and Objective-C) testing framework.","fork":true,"url":"https://api.github.com/repos/morganchen12/Quick","forks_url":"https://api.github.com/repos/morganchen12/Quick/forks","keys_url":"https://api.github.com/repos/morganchen12/Quick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morganchen12/Quick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morganchen12/Quick/teams","hooks_url":"https://api.github.com/repos/morganchen12/Quick/hooks","issue_events_url":"https://api.github.com/repos/morganchen12/Quick/issues/events{/number}","events_url":"https://api.github.com/repos/morganchen12/Quick/events","assignees_url":"https://api.github.com/repos/morganchen12/Quick/assignees{/user}","branches_url":"https://api.github.com/repos/morganchen12/Quick/branches{/branch}","tags_url":"https://api.github.com/repos/morganchen12/Quick/tags","blobs_url":"https://api.github.com/repos/morganchen12/Quick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morganchen12/Quick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morganchen12/Quick/git/refs{/sha}","trees_url":"https://api.github.com/repos/morganchen12/Quick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morganchen12/Quick/statuses/{sha}","languages_url":"https://api.github.com/repos/morganchen12/Quick/languages","stargazers_url":"https://api.github.com/repos/morganchen12/Quick/stargazers","contributors_url":"https://api.github.com/repos/morganchen12/Quick/contributors","subscribers_url":"https://api.github.com/repos/morganchen12/Quick/subscribers","subscription_url":"https://api.github.com/repos/morganchen12/Quick/subscription","commits_url":"https://api.github.com/repos/morganchen12/Quick/commits{/sha}","git_commits_url":"https://api.github.com/repos/morganchen12/Quick/git/commits{/sha}","comments_url":"https://api.github.com/repos/morganchen12/Quick/comments{/number}","issue_comment_url":"https://api.github.com/repos/morganchen12/Quick/issues/comments{/number}","contents_url":"https://api.github.com/repos/morganchen12/Quick/contents/{+path}","compare_url":"https://api.github.com/repos/morganchen12/Quick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morganchen12/Quick/merges","archive_url":"https://api.github.com/repos/morganchen12/Quick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morganchen12/Quick/downloads","issues_url":"https://api.github.com/repos/morganchen12/Quick/issues{/number}","pulls_url":"https://api.github.com/repos/morganchen12/Quick/pulls{/number}","milestones_url":"https://api.github.com/repos/morganchen12/Quick/milestones{/number}","notifications_url":"https://api.github.com/repos/morganchen12/Quick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morganchen12/Quick/labels{/name}","releases_url":"https://api.github.com/repos/morganchen12/Quick/releases{/id}","created_at":"2015-12-01T06:13:27Z","updated_at":"2015-12-01T06:13:28Z","pushed_at":"2015-12-01T06:28:25Z","git_url":"git://github.com/morganchen12/Quick.git","ssh_url":"git@github.com:morganchen12/Quick.git","clone_url":"https://github.com/morganchen12/Quick.git","svn_url":"https://github.com/morganchen12/Quick","homepage":"","size":1444,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Quick:master","ref":"master","sha":"a98f8e37867462c8f00fea1a7b255d12f5a4b611","user":{"login":"Quick","id":8083968,"avatar_url":"https://avatars.githubusercontent.com/u/8083968?v=3","gravatar_id":"","url":"https://api.github.com/users/Quick","html_url":"https://github.com/Quick","followers_url":"https://api.github.com/users/Quick/followers","following_url":"https://api.github.com/users/Quick/following{/other_user}","gists_url":"https://api.github.com/users/Quick/gists{/gist_id}","starred_url":"https://api.github.com/users/Quick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quick/subscriptions","organizations_url":"https://api.github.com/users/Quick/orgs","repos_url":"https://api.github.com/users/Quick/repos","events_url":"https://api.github.com/users/Quick/events{/privacy}","received_events_url":"https://api.github.com/users/Quick/received_events","type":"Organization","site_admin":false},"repo":{"id":20506004,"name":"Quick","full_name":"Quick/Quick","owner":{"login":"Quick","id":8083968,"avatar_url":"https://avatars.githubusercontent.com/u/8083968?v=3","gravatar_id":"","url":"https://api.github.com/users/Quick","html_url":"https://github.com/Quick","followers_url":"https://api.github.com/users/Quick/followers","following_url":"https://api.github.com/users/Quick/following{/other_user}","gists_url":"https://api.github.com/users/Quick/gists{/gist_id}","starred_url":"https://api.github.com/users/Quick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quick/subscriptions","organizations_url":"https://api.github.com/users/Quick/orgs","repos_url":"https://api.github.com/users/Quick/repos","events_url":"https://api.github.com/users/Quick/events{/privacy}","received_events_url":"https://api.github.com/users/Quick/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Quick/Quick","description":"The Swift (and Objective-C) testing framework.","fork":false,"url":"https://api.github.com/repos/Quick/Quick","forks_url":"https://api.github.com/repos/Quick/Quick/forks","keys_url":"https://api.github.com/repos/Quick/Quick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Quick/Quick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Quick/Quick/teams","hooks_url":"https://api.github.com/repos/Quick/Quick/hooks","issue_events_url":"https://api.github.com/repos/Quick/Quick/issues/events{/number}","events_url":"https://api.github.com/repos/Quick/Quick/events","assignees_url":"https://api.github.com/repos/Quick/Quick/assignees{/user}","branches_url":"https://api.github.com/repos/Quick/Quick/branches{/branch}","tags_url":"https://api.github.com/repos/Quick/Quick/tags","blobs_url":"https://api.github.com/repos/Quick/Quick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Quick/Quick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Quick/Quick/git/refs{/sha}","trees_url":"https://api.github.com/repos/Quick/Quick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Quick/Quick/statuses/{sha}","languages_url":"https://api.github.com/repos/Quick/Quick/languages","stargazers_url":"https://api.github.com/repos/Quick/Quick/stargazers","contributors_url":"https://api.github.com/repos/Quick/Quick/contributors","subscribers_url":"https://api.github.com/repos/Quick/Quick/subscribers","subscription_url":"https://api.github.com/repos/Quick/Quick/subscription","commits_url":"https://api.github.com/repos/Quick/Quick/commits{/sha}","git_commits_url":"https://api.github.com/repos/Quick/Quick/git/commits{/sha}","comments_url":"https://api.github.com/repos/Quick/Quick/comments{/number}","issue_comment_url":"https://api.github.com/repos/Quick/Quick/issues/comments{/number}","contents_url":"https://api.github.com/repos/Quick/Quick/contents/{+path}","compare_url":"https://api.github.com/repos/Quick/Quick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Quick/Quick/merges","archive_url":"https://api.github.com/repos/Quick/Quick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Quick/Quick/downloads","issues_url":"https://api.github.com/repos/Quick/Quick/issues{/number}","pulls_url":"https://api.github.com/repos/Quick/Quick/pulls{/number}","milestones_url":"https://api.github.com/repos/Quick/Quick/milestones{/number}","notifications_url":"https://api.github.com/repos/Quick/Quick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Quick/Quick/labels{/name}","releases_url":"https://api.github.com/repos/Quick/Quick/releases{/id}","created_at":"2014-06-05T00:29:53Z","updated_at":"2015-12-01T06:55:38Z","pushed_at":"2015-12-01T06:28:25Z","git_url":"git://github.com/Quick/Quick.git","ssh_url":"git@github.com:Quick/Quick.git","clone_url":"https://github.com/Quick/Quick.git","svn_url":"https://github.com/Quick/Quick","homepage":"","size":3722,"stargazers_count":3658,"watchers_count":3658,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":348,"mirror_url":null,"open_issues_count":49,"forks":348,"open_issues":49,"watchers":3658,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Quick/Quick/pulls/431"},"html":{"href":"https://github.com/Quick/Quick/pull/431"},"issue":{"href":"https://api.github.com/repos/Quick/Quick/issues/431"},"comments":{"href":"https://api.github.com/repos/Quick/Quick/issues/431/comments"},"review_comments":{"href":"https://api.github.com/repos/Quick/Quick/pulls/431/comments"},"review_comment":{"href":"https://api.github.com/repos/Quick/Quick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Quick/Quick/pulls/431/commits"},"statuses":{"href":"https://api.github.com/repos/Quick/Quick/statuses/39b3c9320db1e896e9ae2df48e1e2dbc9a983277"}}}}