{"action":"created","comment":{"url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/comments/37161505","id":37161505,"diff_hunk":"@@ -21,13 +21,18 @@ - (instancetype)init {\n     self = [super init];\n     if (self) {\n         NSString *path =\n-            [[NSBundle bundleForClass:[self class]] pathForResource:@\"fhconfig\" ofType:@\"plist\"];\n+            [[NSBundle mainBundle] pathForResource:@\"fhconfig\" ofType:@\"plist\"];\n         if (path) {\n             self.properties = [NSMutableDictionary dictionaryWithContentsOfFile:path];\n         } else {\n-            @throw([NSException exceptionWithName:@\"fhconfigException\"\n-                                           reason:@\"fhconfig.plist was not located\"\n-                                         userInfo:nil]);\n+            path = [[NSBundle bundleForClass:[self class]] pathForResource:@\"fhconfig\" ofType:@\"plist\"];\n+            if (path) {\n+                self.properties = [NSMutableDictionary dictionaryWithContentsOfFile:path];\n+            } else {\n+                @throw([NSException exceptionWithName:@\"fhconfigException\"\n+                                               reason:@\"fhconfig.plist was not located\"","path":"fh-ios-sdk/FHConfig.m","position":17,"original_position":17,"commit_id":"c95aa7f7da10fe802193bde30fb732bdd44c333f","original_commit_id":"c95aa7f7da10fe802193bde30fb732bdd44c333f","user":{"login":"sheldongill","id":7930973,"avatar_url":"https://avatars.githubusercontent.com/u/7930973?v=3","gravatar_id":"","url":"https://api.github.com/users/sheldongill","html_url":"https://github.com/sheldongill","followers_url":"https://api.github.com/users/sheldongill/followers","following_url":"https://api.github.com/users/sheldongill/following{/other_user}","gists_url":"https://api.github.com/users/sheldongill/gists{/gist_id}","starred_url":"https://api.github.com/users/sheldongill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheldongill/subscriptions","organizations_url":"https://api.github.com/users/sheldongill/orgs","repos_url":"https://api.github.com/users/sheldongill/repos","events_url":"https://api.github.com/users/sheldongill/events{/privacy}","received_events_url":"https://api.github.com/users/sheldongill/received_events","type":"User","site_admin":false},"body":"\"Couldn't find required configuration file fhconfig.plist in the main application bundle.\" ","created_at":"2015-08-17T06:37:25Z","updated_at":"2015-08-17T06:37:25Z","html_url":"https://github.com/thefrontiergroup/fh-ios-sdk/pull/1#discussion_r37161505","pull_request_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/comments/37161505"},"html":{"href":"https://github.com/thefrontiergroup/fh-ios-sdk/pull/1#discussion_r37161505"},"pull_request":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1","id":42551675,"html_url":"https://github.com/thefrontiergroup/fh-ios-sdk/pull/1","diff_url":"https://github.com/thefrontiergroup/fh-ios-sdk/pull/1.diff","patch_url":"https://github.com/thefrontiergroup/fh-ios-sdk/pull/1.patch","issue_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues/1","number":1,"state":"open","locked":false,"title":"Sync with upstream","user":{"login":"sheldongill","id":7930973,"avatar_url":"https://avatars.githubusercontent.com/u/7930973?v=3","gravatar_id":"","url":"https://api.github.com/users/sheldongill","html_url":"https://github.com/sheldongill","followers_url":"https://api.github.com/users/sheldongill/followers","following_url":"https://api.github.com/users/sheldongill/following{/other_user}","gists_url":"https://api.github.com/users/sheldongill/gists{/gist_id}","starred_url":"https://api.github.com/users/sheldongill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheldongill/subscriptions","organizations_url":"https://api.github.com/users/sheldongill/orgs","repos_url":"https://api.github.com/users/sheldongill/repos","events_url":"https://api.github.com/users/sheldongill/events{/privacy}","received_events_url":"https://api.github.com/users/sheldongill/received_events","type":"User","site_admin":false},"body":"Pull in changes from upstream, including our feature/ios-swift branch modification","created_at":"2015-08-17T03:29:52Z","updated_at":"2015-08-17T06:37:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f62e81c49cd26841c29c00dc1cdbd1d3c150fd9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1/commits","review_comments_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1/comments","review_comment_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues/1/comments","statuses_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/statuses/c95aa7f7da10fe802193bde30fb732bdd44c333f","head":{"label":"feedhenry:master","ref":"master","sha":"c95aa7f7da10fe802193bde30fb732bdd44c333f","user":{"login":"feedhenry","id":772226,"avatar_url":"https://avatars.githubusercontent.com/u/772226?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry","html_url":"https://github.com/feedhenry","followers_url":"https://api.github.com/users/feedhenry/followers","following_url":"https://api.github.com/users/feedhenry/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry/subscriptions","organizations_url":"https://api.github.com/users/feedhenry/orgs","repos_url":"https://api.github.com/users/feedhenry/repos","events_url":"https://api.github.com/users/feedhenry/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry/received_events","type":"Organization","site_admin":false},"repo":{"id":3370307,"name":"fh-ios-sdk","full_name":"feedhenry/fh-ios-sdk","owner":{"login":"feedhenry","id":772226,"avatar_url":"https://avatars.githubusercontent.com/u/772226?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry","html_url":"https://github.com/feedhenry","followers_url":"https://api.github.com/users/feedhenry/followers","following_url":"https://api.github.com/users/feedhenry/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry/subscriptions","organizations_url":"https://api.github.com/users/feedhenry/orgs","repos_url":"https://api.github.com/users/feedhenry/repos","events_url":"https://api.github.com/users/feedhenry/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feedhenry/fh-ios-sdk","description":"FeedHenry iOS SDK","fork":false,"url":"https://api.github.com/repos/feedhenry/fh-ios-sdk","forks_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/forks","keys_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/teams","hooks_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/events","assignees_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/tags","blobs_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/subscription","commits_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/merges","archive_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/downloads","issues_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/feedhenry/fh-ios-sdk/releases{/id}","created_at":"2012-02-06T19:52:10Z","updated_at":"2015-06-21T03:31:09Z","pushed_at":"2015-08-14T11:13:42Z","git_url":"git://github.com/feedhenry/fh-ios-sdk.git","ssh_url":"git@github.com:feedhenry/fh-ios-sdk.git","clone_url":"https://github.com/feedhenry/fh-ios-sdk.git","svn_url":"https://github.com/feedhenry/fh-ios-sdk","homepage":"http://www.feedhenry.com","size":136255,"stargazers_count":5,"watchers_count":5,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"thefrontiergroup:master","ref":"master","sha":"fa171e2d05b30dad20f76889607eb9c756a7a01b","user":{"login":"thefrontiergroup","id":90945,"avatar_url":"https://avatars.githubusercontent.com/u/90945?v=3","gravatar_id":"","url":"https://api.github.com/users/thefrontiergroup","html_url":"https://github.com/thefrontiergroup","followers_url":"https://api.github.com/users/thefrontiergroup/followers","following_url":"https://api.github.com/users/thefrontiergroup/following{/other_user}","gists_url":"https://api.github.com/users/thefrontiergroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thefrontiergroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefrontiergroup/subscriptions","organizations_url":"https://api.github.com/users/thefrontiergroup/orgs","repos_url":"https://api.github.com/users/thefrontiergroup/repos","events_url":"https://api.github.com/users/thefrontiergroup/events{/privacy}","received_events_url":"https://api.github.com/users/thefrontiergroup/received_events","type":"Organization","site_admin":false},"repo":{"id":40695063,"name":"fh-ios-sdk","full_name":"thefrontiergroup/fh-ios-sdk","owner":{"login":"thefrontiergroup","id":90945,"avatar_url":"https://avatars.githubusercontent.com/u/90945?v=3","gravatar_id":"","url":"https://api.github.com/users/thefrontiergroup","html_url":"https://github.com/thefrontiergroup","followers_url":"https://api.github.com/users/thefrontiergroup/followers","following_url":"https://api.github.com/users/thefrontiergroup/following{/other_user}","gists_url":"https://api.github.com/users/thefrontiergroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thefrontiergroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefrontiergroup/subscriptions","organizations_url":"https://api.github.com/users/thefrontiergroup/orgs","repos_url":"https://api.github.com/users/thefrontiergroup/repos","events_url":"https://api.github.com/users/thefrontiergroup/events{/privacy}","received_events_url":"https://api.github.com/users/thefrontiergroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thefrontiergroup/fh-ios-sdk","description":"FeedHenry iOS SDK","fork":true,"url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk","forks_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/forks","keys_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/teams","hooks_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/events","assignees_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/tags","blobs_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/subscription","commits_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/merges","archive_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/downloads","issues_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/releases{/id}","created_at":"2015-08-14T04:02:57Z","updated_at":"2015-08-14T04:02:58Z","pushed_at":"2015-08-17T03:29:53Z","git_url":"git://github.com/thefrontiergroup/fh-ios-sdk.git","ssh_url":"git@github.com:thefrontiergroup/fh-ios-sdk.git","clone_url":"https://github.com/thefrontiergroup/fh-ios-sdk.git","svn_url":"https://github.com/thefrontiergroup/fh-ios-sdk","homepage":"http://www.feedhenry.com","size":136255,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1"},"html":{"href":"https://github.com/thefrontiergroup/fh-ios-sdk/pull/1"},"issue":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues/1"},"comments":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/thefrontiergroup/fh-ios-sdk/statuses/c95aa7f7da10fe802193bde30fb732bdd44c333f"}}}}