{"action":"opened","number":127,"pull_request":{"url":"https://api.github.com/repos/SnapKit/SnapKit/pulls/127","id":39769578,"html_url":"https://github.com/SnapKit/SnapKit/pull/127","diff_url":"https://github.com/SnapKit/SnapKit/pull/127.diff","patch_url":"https://github.com/SnapKit/SnapKit/pull/127.patch","issue_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/127","number":127,"state":"open","locked":false,"title":"Add source file location to debug description","user":{"login":"aleffert","id":114396,"avatar_url":"https://avatars.githubusercontent.com/u/114396?v=3","gravatar_id":"","url":"https://api.github.com/users/aleffert","html_url":"https://github.com/aleffert","followers_url":"https://api.github.com/users/aleffert/followers","following_url":"https://api.github.com/users/aleffert/following{/other_user}","gists_url":"https://api.github.com/users/aleffert/gists{/gist_id}","starred_url":"https://api.github.com/users/aleffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleffert/subscriptions","organizations_url":"https://api.github.com/users/aleffert/orgs","repos_url":"https://api.github.com/users/aleffert/repos","events_url":"https://api.github.com/users/aleffert/events{/privacy}","received_events_url":"https://api.github.com/users/aleffert/received_events","type":"User","site_admin":false},"body":"Before:\r\n```\r\n<<SnapKit.LayoutConstraint:0x7f943483ea00> <UIView:0x7f9432ff2110>.width == 120.0>\"\r\n```\r\n\r\nAfter:\r\n```\r\n<<SnapKit.LayoutConstraint:0x7f943483ea00@Tests.swift:30> <UIView:0x7f9432ff2110>.width == 120.0>\"\r\n```\r\n\r\nThe main code changes are:\r\n- Rejiggering the ``ConstraintDescription`` hierarchy to be based on\r\n  classes instead of protocols. This was necessary since protocols can't\r\n  expose methods with default arguments which are used for picking up\r\n  the location via ``__FILE__`` and ``__LINE__``.\r\n- Propagating SourceLocation information from the\r\n  ``ConstraintDescription`` to the ``ConcreteConstraint`` to the\r\n  ``description`` method.\r\n- Adding support for NSLayoutConstraint's ``identifier`` property","created_at":"2015-07-12T22:01:13Z","updated_at":"2015-07-12T22:01:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SnapKit/SnapKit/pulls/127/commits","review_comments_url":"https://api.github.com/repos/SnapKit/SnapKit/pulls/127/comments","review_comment_url":"https://api.github.com/repos/SnapKit/SnapKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/127/comments","statuses_url":"https://api.github.com/repos/SnapKit/SnapKit/statuses/e9c216426d38db4c95f2542cfe56246fb0076c5a","head":{"label":"aleffert:develop","ref":"develop","sha":"e9c216426d38db4c95f2542cfe56246fb0076c5a","user":{"login":"aleffert","id":114396,"avatar_url":"https://avatars.githubusercontent.com/u/114396?v=3","gravatar_id":"","url":"https://api.github.com/users/aleffert","html_url":"https://github.com/aleffert","followers_url":"https://api.github.com/users/aleffert/followers","following_url":"https://api.github.com/users/aleffert/following{/other_user}","gists_url":"https://api.github.com/users/aleffert/gists{/gist_id}","starred_url":"https://api.github.com/users/aleffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleffert/subscriptions","organizations_url":"https://api.github.com/users/aleffert/orgs","repos_url":"https://api.github.com/users/aleffert/repos","events_url":"https://api.github.com/users/aleffert/events{/privacy}","received_events_url":"https://api.github.com/users/aleffert/received_events","type":"User","site_admin":false},"repo":{"id":38976967,"name":"SnapKit","full_name":"aleffert/SnapKit","owner":{"login":"aleffert","id":114396,"avatar_url":"https://avatars.githubusercontent.com/u/114396?v=3","gravatar_id":"","url":"https://api.github.com/users/aleffert","html_url":"https://github.com/aleffert","followers_url":"https://api.github.com/users/aleffert/followers","following_url":"https://api.github.com/users/aleffert/following{/other_user}","gists_url":"https://api.github.com/users/aleffert/gists{/gist_id}","starred_url":"https://api.github.com/users/aleffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleffert/subscriptions","organizations_url":"https://api.github.com/users/aleffert/orgs","repos_url":"https://api.github.com/users/aleffert/repos","events_url":"https://api.github.com/users/aleffert/events{/privacy}","received_events_url":"https://api.github.com/users/aleffert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aleffert/SnapKit","description":"A Swift Autolayout DSL for iOS & OS X","fork":true,"url":"https://api.github.com/repos/aleffert/SnapKit","forks_url":"https://api.github.com/repos/aleffert/SnapKit/forks","keys_url":"https://api.github.com/repos/aleffert/SnapKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleffert/SnapKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleffert/SnapKit/teams","hooks_url":"https://api.github.com/repos/aleffert/SnapKit/hooks","issue_events_url":"https://api.github.com/repos/aleffert/SnapKit/issues/events{/number}","events_url":"https://api.github.com/repos/aleffert/SnapKit/events","assignees_url":"https://api.github.com/repos/aleffert/SnapKit/assignees{/user}","branches_url":"https://api.github.com/repos/aleffert/SnapKit/branches{/branch}","tags_url":"https://api.github.com/repos/aleffert/SnapKit/tags","blobs_url":"https://api.github.com/repos/aleffert/SnapKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleffert/SnapKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleffert/SnapKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleffert/SnapKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleffert/SnapKit/statuses/{sha}","languages_url":"https://api.github.com/repos/aleffert/SnapKit/languages","stargazers_url":"https://api.github.com/repos/aleffert/SnapKit/stargazers","contributors_url":"https://api.github.com/repos/aleffert/SnapKit/contributors","subscribers_url":"https://api.github.com/repos/aleffert/SnapKit/subscribers","subscription_url":"https://api.github.com/repos/aleffert/SnapKit/subscription","commits_url":"https://api.github.com/repos/aleffert/SnapKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleffert/SnapKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleffert/SnapKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleffert/SnapKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/aleffert/SnapKit/contents/{+path}","compare_url":"https://api.github.com/repos/aleffert/SnapKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleffert/SnapKit/merges","archive_url":"https://api.github.com/repos/aleffert/SnapKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleffert/SnapKit/downloads","issues_url":"https://api.github.com/repos/aleffert/SnapKit/issues{/number}","pulls_url":"https://api.github.com/repos/aleffert/SnapKit/pulls{/number}","milestones_url":"https://api.github.com/repos/aleffert/SnapKit/milestones{/number}","notifications_url":"https://api.github.com/repos/aleffert/SnapKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleffert/SnapKit/labels{/name}","releases_url":"https://api.github.com/repos/aleffert/SnapKit/releases{/id}","created_at":"2015-07-12T20:33:03Z","updated_at":"2015-07-12T20:33:04Z","pushed_at":"2015-07-12T22:00:47Z","git_url":"git://github.com/aleffert/SnapKit.git","ssh_url":"git@github.com:aleffert/SnapKit.git","clone_url":"https://github.com/aleffert/SnapKit.git","svn_url":"https://github.com/aleffert/SnapKit","homepage":"http://snapkit.io","size":5141,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"SnapKit:develop","ref":"develop","sha":"3d9a449e37e6ce7962467a0c5def8443a6f7f475","user":{"login":"SnapKit","id":7809696,"avatar_url":"https://avatars.githubusercontent.com/u/7809696?v=3","gravatar_id":"","url":"https://api.github.com/users/SnapKit","html_url":"https://github.com/SnapKit","followers_url":"https://api.github.com/users/SnapKit/followers","following_url":"https://api.github.com/users/SnapKit/following{/other_user}","gists_url":"https://api.github.com/users/SnapKit/gists{/gist_id}","starred_url":"https://api.github.com/users/SnapKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnapKit/subscriptions","organizations_url":"https://api.github.com/users/SnapKit/orgs","repos_url":"https://api.github.com/users/SnapKit/repos","events_url":"https://api.github.com/users/SnapKit/events{/privacy}","received_events_url":"https://api.github.com/users/SnapKit/received_events","type":"Organization","site_admin":false},"repo":{"id":20541795,"name":"SnapKit","full_name":"SnapKit/SnapKit","owner":{"login":"SnapKit","id":7809696,"avatar_url":"https://avatars.githubusercontent.com/u/7809696?v=3","gravatar_id":"","url":"https://api.github.com/users/SnapKit","html_url":"https://github.com/SnapKit","followers_url":"https://api.github.com/users/SnapKit/followers","following_url":"https://api.github.com/users/SnapKit/following{/other_user}","gists_url":"https://api.github.com/users/SnapKit/gists{/gist_id}","starred_url":"https://api.github.com/users/SnapKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnapKit/subscriptions","organizations_url":"https://api.github.com/users/SnapKit/orgs","repos_url":"https://api.github.com/users/SnapKit/repos","events_url":"https://api.github.com/users/SnapKit/events{/privacy}","received_events_url":"https://api.github.com/users/SnapKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SnapKit/SnapKit","description":"A Swift Autolayout DSL for iOS & OS X","fork":false,"url":"https://api.github.com/repos/SnapKit/SnapKit","forks_url":"https://api.github.com/repos/SnapKit/SnapKit/forks","keys_url":"https://api.github.com/repos/SnapKit/SnapKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SnapKit/SnapKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SnapKit/SnapKit/teams","hooks_url":"https://api.github.com/repos/SnapKit/SnapKit/hooks","issue_events_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/events{/number}","events_url":"https://api.github.com/repos/SnapKit/SnapKit/events","assignees_url":"https://api.github.com/repos/SnapKit/SnapKit/assignees{/user}","branches_url":"https://api.github.com/repos/SnapKit/SnapKit/branches{/branch}","tags_url":"https://api.github.com/repos/SnapKit/SnapKit/tags","blobs_url":"https://api.github.com/repos/SnapKit/SnapKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SnapKit/SnapKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SnapKit/SnapKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/SnapKit/SnapKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SnapKit/SnapKit/statuses/{sha}","languages_url":"https://api.github.com/repos/SnapKit/SnapKit/languages","stargazers_url":"https://api.github.com/repos/SnapKit/SnapKit/stargazers","contributors_url":"https://api.github.com/repos/SnapKit/SnapKit/contributors","subscribers_url":"https://api.github.com/repos/SnapKit/SnapKit/subscribers","subscription_url":"https://api.github.com/repos/SnapKit/SnapKit/subscription","commits_url":"https://api.github.com/repos/SnapKit/SnapKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/SnapKit/SnapKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/SnapKit/SnapKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/SnapKit/SnapKit/contents/{+path}","compare_url":"https://api.github.com/repos/SnapKit/SnapKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SnapKit/SnapKit/merges","archive_url":"https://api.github.com/repos/SnapKit/SnapKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SnapKit/SnapKit/downloads","issues_url":"https://api.github.com/repos/SnapKit/SnapKit/issues{/number}","pulls_url":"https://api.github.com/repos/SnapKit/SnapKit/pulls{/number}","milestones_url":"https://api.github.com/repos/SnapKit/SnapKit/milestones{/number}","notifications_url":"https://api.github.com/repos/SnapKit/SnapKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SnapKit/SnapKit/labels{/name}","releases_url":"https://api.github.com/repos/SnapKit/SnapKit/releases{/id}","created_at":"2014-06-05T21:13:40Z","updated_at":"2015-07-12T17:53:13Z","pushed_at":"2015-07-03T22:41:36Z","git_url":"git://github.com/SnapKit/SnapKit.git","ssh_url":"git@github.com:SnapKit/SnapKit.git","clone_url":"https://github.com/SnapKit/SnapKit.git","svn_url":"https://github.com/SnapKit/SnapKit","homepage":"http://snapkit.io","size":5141,"stargazers_count":2045,"watchers_count":2045,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":146,"mirror_url":null,"open_issues_count":9,"forks":146,"open_issues":9,"watchers":2045,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/SnapKit/SnapKit/pulls/127"},"html":{"href":"https://github.com/SnapKit/SnapKit/pull/127"},"issue":{"href":"https://api.github.com/repos/SnapKit/SnapKit/issues/127"},"comments":{"href":"https://api.github.com/repos/SnapKit/SnapKit/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/SnapKit/SnapKit/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/SnapKit/SnapKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SnapKit/SnapKit/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/SnapKit/SnapKit/statuses/e9c216426d38db4c95f2542cfe56246fb0076c5a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":407,"deletions":307,"changed_files":6}}