{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/12","id":65262555,"html_url":"https://github.com/mysterioustrousers/MTPDF/pull/12","diff_url":"https://github.com/mysterioustrousers/MTPDF/pull/12.diff","patch_url":"https://github.com/mysterioustrousers/MTPDF/pull/12.patch","issue_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues/12","number":12,"state":"open","locked":false,"title":"Fixed angled import in MTPDF.m","user":{"login":"OlafAndreas","id":6080289,"avatar_url":"https://avatars.githubusercontent.com/u/6080289?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafAndreas","html_url":"https://github.com/OlafAndreas","followers_url":"https://api.github.com/users/OlafAndreas/followers","following_url":"https://api.github.com/users/OlafAndreas/following{/other_user}","gists_url":"https://api.github.com/users/OlafAndreas/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafAndreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafAndreas/subscriptions","organizations_url":"https://api.github.com/users/OlafAndreas/orgs","repos_url":"https://api.github.com/users/OlafAndreas/repos","events_url":"https://api.github.com/users/OlafAndreas/events{/privacy}","received_events_url":"https://api.github.com/users/OlafAndreas/received_events","type":"User","site_admin":false},"body":"This resolves an issue when using the `MTPDF` pod in a swift-based project(Not tested with objective-c), where the `#import <NSDate+MTDates.h>` fails due to a `file not found issue`.\r\n\r\nThis is due to the angled import in `MTPDF.m` which will look for the `NSDate+MTDates.h` in the same scope as the `MTPDF.m` file.\r\n\r\nOn a comment made by orta(CocoaPods member) on an issue for [CocoaPods](https://github.com/CocoaPods/CocoaPods/issues/3913#issuecomment-128028170)\r\n\r\n> In simplified: angled bracket imports are for externals, and should be scoped according to where they come from\r\n\r\nSince the `NSDate+MTDates.h` lies within the `MTDates` pod. The import should be prepended with `MTDates/` like this: `#import <MTDates/NSDate+MTDates.h>`","created_at":"2016-04-05T07:33:32Z","updated_at":"2016-04-05T07:33:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/12/commits","review_comments_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/12/comments","review_comment_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues/12/comments","statuses_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/statuses/787d615992a6e1e69a2cc0cf0219722827b44195","head":{"label":"OlafAndreas:master","ref":"master","sha":"787d615992a6e1e69a2cc0cf0219722827b44195","user":{"login":"OlafAndreas","id":6080289,"avatar_url":"https://avatars.githubusercontent.com/u/6080289?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafAndreas","html_url":"https://github.com/OlafAndreas","followers_url":"https://api.github.com/users/OlafAndreas/followers","following_url":"https://api.github.com/users/OlafAndreas/following{/other_user}","gists_url":"https://api.github.com/users/OlafAndreas/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafAndreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafAndreas/subscriptions","organizations_url":"https://api.github.com/users/OlafAndreas/orgs","repos_url":"https://api.github.com/users/OlafAndreas/repos","events_url":"https://api.github.com/users/OlafAndreas/events{/privacy}","received_events_url":"https://api.github.com/users/OlafAndreas/received_events","type":"User","site_admin":false},"repo":{"id":55476433,"name":"MTPDF","full_name":"OlafAndreas/MTPDF","owner":{"login":"OlafAndreas","id":6080289,"avatar_url":"https://avatars.githubusercontent.com/u/6080289?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafAndreas","html_url":"https://github.com/OlafAndreas","followers_url":"https://api.github.com/users/OlafAndreas/followers","following_url":"https://api.github.com/users/OlafAndreas/following{/other_user}","gists_url":"https://api.github.com/users/OlafAndreas/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafAndreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafAndreas/subscriptions","organizations_url":"https://api.github.com/users/OlafAndreas/orgs","repos_url":"https://api.github.com/users/OlafAndreas/repos","events_url":"https://api.github.com/users/OlafAndreas/events{/privacy}","received_events_url":"https://api.github.com/users/OlafAndreas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OlafAndreas/MTPDF","description":"Objective-C PDF objects. Doing my part to help us stay out of the headache that is Core Foundation.","fork":true,"url":"https://api.github.com/repos/OlafAndreas/MTPDF","forks_url":"https://api.github.com/repos/OlafAndreas/MTPDF/forks","keys_url":"https://api.github.com/repos/OlafAndreas/MTPDF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlafAndreas/MTPDF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlafAndreas/MTPDF/teams","hooks_url":"https://api.github.com/repos/OlafAndreas/MTPDF/hooks","issue_events_url":"https://api.github.com/repos/OlafAndreas/MTPDF/issues/events{/number}","events_url":"https://api.github.com/repos/OlafAndreas/MTPDF/events","assignees_url":"https://api.github.com/repos/OlafAndreas/MTPDF/assignees{/user}","branches_url":"https://api.github.com/repos/OlafAndreas/MTPDF/branches{/branch}","tags_url":"https://api.github.com/repos/OlafAndreas/MTPDF/tags","blobs_url":"https://api.github.com/repos/OlafAndreas/MTPDF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlafAndreas/MTPDF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlafAndreas/MTPDF/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlafAndreas/MTPDF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlafAndreas/MTPDF/statuses/{sha}","languages_url":"https://api.github.com/repos/OlafAndreas/MTPDF/languages","stargazers_url":"https://api.github.com/repos/OlafAndreas/MTPDF/stargazers","contributors_url":"https://api.github.com/repos/OlafAndreas/MTPDF/contributors","subscribers_url":"https://api.github.com/repos/OlafAndreas/MTPDF/subscribers","subscription_url":"https://api.github.com/repos/OlafAndreas/MTPDF/subscription","commits_url":"https://api.github.com/repos/OlafAndreas/MTPDF/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlafAndreas/MTPDF/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlafAndreas/MTPDF/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlafAndreas/MTPDF/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlafAndreas/MTPDF/contents/{+path}","compare_url":"https://api.github.com/repos/OlafAndreas/MTPDF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlafAndreas/MTPDF/merges","archive_url":"https://api.github.com/repos/OlafAndreas/MTPDF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlafAndreas/MTPDF/downloads","issues_url":"https://api.github.com/repos/OlafAndreas/MTPDF/issues{/number}","pulls_url":"https://api.github.com/repos/OlafAndreas/MTPDF/pulls{/number}","milestones_url":"https://api.github.com/repos/OlafAndreas/MTPDF/milestones{/number}","notifications_url":"https://api.github.com/repos/OlafAndreas/MTPDF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlafAndreas/MTPDF/labels{/name}","releases_url":"https://api.github.com/repos/OlafAndreas/MTPDF/releases{/id}","deployments_url":"https://api.github.com/repos/OlafAndreas/MTPDF/deployments","created_at":"2016-04-05T07:16:40Z","updated_at":"2016-04-05T07:16:40Z","pushed_at":"2016-04-05T07:20:07Z","git_url":"git://github.com/OlafAndreas/MTPDF.git","ssh_url":"git@github.com:OlafAndreas/MTPDF.git","clone_url":"https://github.com/OlafAndreas/MTPDF.git","svn_url":"https://github.com/OlafAndreas/MTPDF","homepage":null,"size":217,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"mysterioustrousers:master","ref":"master","sha":"45ef3af887a5dd4c7c3a7e846f62fab269789970","user":{"login":"mysterioustrousers","id":517239,"avatar_url":"https://avatars.githubusercontent.com/u/517239?v=3","gravatar_id":"","url":"https://api.github.com/users/mysterioustrousers","html_url":"https://github.com/mysterioustrousers","followers_url":"https://api.github.com/users/mysterioustrousers/followers","following_url":"https://api.github.com/users/mysterioustrousers/following{/other_user}","gists_url":"https://api.github.com/users/mysterioustrousers/gists{/gist_id}","starred_url":"https://api.github.com/users/mysterioustrousers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysterioustrousers/subscriptions","organizations_url":"https://api.github.com/users/mysterioustrousers/orgs","repos_url":"https://api.github.com/users/mysterioustrousers/repos","events_url":"https://api.github.com/users/mysterioustrousers/events{/privacy}","received_events_url":"https://api.github.com/users/mysterioustrousers/received_events","type":"Organization","site_admin":false},"repo":{"id":7436392,"name":"MTPDF","full_name":"mysterioustrousers/MTPDF","owner":{"login":"mysterioustrousers","id":517239,"avatar_url":"https://avatars.githubusercontent.com/u/517239?v=3","gravatar_id":"","url":"https://api.github.com/users/mysterioustrousers","html_url":"https://github.com/mysterioustrousers","followers_url":"https://api.github.com/users/mysterioustrousers/followers","following_url":"https://api.github.com/users/mysterioustrousers/following{/other_user}","gists_url":"https://api.github.com/users/mysterioustrousers/gists{/gist_id}","starred_url":"https://api.github.com/users/mysterioustrousers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysterioustrousers/subscriptions","organizations_url":"https://api.github.com/users/mysterioustrousers/orgs","repos_url":"https://api.github.com/users/mysterioustrousers/repos","events_url":"https://api.github.com/users/mysterioustrousers/events{/privacy}","received_events_url":"https://api.github.com/users/mysterioustrousers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysterioustrousers/MTPDF","description":"Objective-C PDF objects. Doing my part to help us stay out of the headache that is Core Foundation.","fork":false,"url":"https://api.github.com/repos/mysterioustrousers/MTPDF","forks_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/forks","keys_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/teams","hooks_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/hooks","issue_events_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues/events{/number}","events_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/events","assignees_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/assignees{/user}","branches_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/branches{/branch}","tags_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/tags","blobs_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/statuses/{sha}","languages_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/languages","stargazers_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/stargazers","contributors_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/contributors","subscribers_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/subscribers","subscription_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/subscription","commits_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/contents/{+path}","compare_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/merges","archive_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/downloads","issues_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues{/number}","pulls_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls{/number}","milestones_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/milestones{/number}","notifications_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/labels{/name}","releases_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/releases{/id}","deployments_url":"https://api.github.com/repos/mysterioustrousers/MTPDF/deployments","created_at":"2013-01-04T06:45:51Z","updated_at":"2016-03-21T10:14:02Z","pushed_at":"2016-04-01T21:07:51Z","git_url":"git://github.com/mysterioustrousers/MTPDF.git","ssh_url":"git@github.com:mysterioustrousers/MTPDF.git","clone_url":"https://github.com/mysterioustrousers/MTPDF.git","svn_url":"https://github.com/mysterioustrousers/MTPDF","homepage":null,"size":228,"stargazers_count":193,"watchers_count":193,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":6,"forks":26,"open_issues":6,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/12"},"html":{"href":"https://github.com/mysterioustrousers/MTPDF/pull/12"},"issue":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues/12"},"comments":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/mysterioustrousers/MTPDF/statuses/787d615992a6e1e69a2cc0cf0219722827b44195"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}