{"action":"created","comment":{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/comments/22774886","id":22774886,"diff_hunk":"@@ -112,7 +113,10 @@ - (id)initWithLanguage:(NSString *)language\n \n             _absoluteDataPath = [cachesPath stringByAppendingPathComponent:_absoluteDataPath].copy;\n \n-            [self moveTessdataToCachesDirectoryIfNecessary];\n+            BOOL succes = [self moveTessdataToCachesDirectoryIfNecessary];\n+            if (succes == NO) {","path":"TesseractOCR/G8Tesseract.mm","position":23,"original_position":23,"commit_id":"96bb45827cfac5af65ae75fa1d9b86c38022dc79","original_commit_id":"96bb45827cfac5af65ae75fa1d9b86c38022dc79","user":{"login":"kevincon","id":817753,"avatar_url":"https://avatars.githubusercontent.com/u/817753?v=3","gravatar_id":"","url":"https://api.github.com/users/kevincon","html_url":"https://github.com/kevincon","followers_url":"https://api.github.com/users/kevincon/followers","following_url":"https://api.github.com/users/kevincon/following{/other_user}","gists_url":"https://api.github.com/users/kevincon/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincon/subscriptions","organizations_url":"https://api.github.com/users/kevincon/orgs","repos_url":"https://api.github.com/users/kevincon/repos","events_url":"https://api.github.com/users/kevincon/events{/privacy}","received_events_url":"https://api.github.com/users/kevincon/received_events","type":"User","site_admin":false},"body":"Can you fix the typo here? It should be \"success\". After that I'll merge, everything else looks good!","created_at":"2015-01-12T04:26:56Z","updated_at":"2015-01-12T04:26:56Z","html_url":"https://github.com/gali8/Tesseract-OCR-iOS/pull/133#discussion_r22774886","pull_request_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133","_links":{"self":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/comments/22774886"},"html":{"href":"https://github.com/gali8/Tesseract-OCR-iOS/pull/133#discussion_r22774886"},"pull_request":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133","id":27154817,"html_url":"https://github.com/gali8/Tesseract-OCR-iOS/pull/133","diff_url":"https://github.com/gali8/Tesseract-OCR-iOS/pull/133.diff","patch_url":"https://github.com/gali8/Tesseract-OCR-iOS/pull/133.patch","issue_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/133","number":133,"state":"open","locked":false,"title":"More unit tests","user":{"login":"ws233","id":462439,"avatar_url":"https://avatars.githubusercontent.com/u/462439?v=3","gravatar_id":"","url":"https://api.github.com/users/ws233","html_url":"https://github.com/ws233","followers_url":"https://api.github.com/users/ws233/followers","following_url":"https://api.github.com/users/ws233/following{/other_user}","gists_url":"https://api.github.com/users/ws233/gists{/gist_id}","starred_url":"https://api.github.com/users/ws233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ws233/subscriptions","organizations_url":"https://api.github.com/users/ws233/orgs","repos_url":"https://api.github.com/users/ws233/repos","events_url":"https://api.github.com/users/ws233/events{/privacy}","received_events_url":"https://api.github.com/users/ws233/received_events","type":"User","site_admin":false},"body":"1. no more readwrite absoluteDataPath property.\r\n2. Test for version\r\n3. Test for initWithLanguage:engineMode\r\n4. Tests for configEngine\r\n5. Tests for resetEngine","created_at":"2015-01-10T21:28:43Z","updated_at":"2015-01-12T04:26:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7ed40bf1e9cd2ed6240852c8aa03ef34485c3f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133/commits","review_comments_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133/comments","review_comment_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/133/comments","statuses_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/statuses/96bb45827cfac5af65ae75fa1d9b86c38022dc79","head":{"label":"ws233:master","ref":"master","sha":"96bb45827cfac5af65ae75fa1d9b86c38022dc79","user":{"login":"ws233","id":462439,"avatar_url":"https://avatars.githubusercontent.com/u/462439?v=3","gravatar_id":"","url":"https://api.github.com/users/ws233","html_url":"https://github.com/ws233","followers_url":"https://api.github.com/users/ws233/followers","following_url":"https://api.github.com/users/ws233/following{/other_user}","gists_url":"https://api.github.com/users/ws233/gists{/gist_id}","starred_url":"https://api.github.com/users/ws233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ws233/subscriptions","organizations_url":"https://api.github.com/users/ws233/orgs","repos_url":"https://api.github.com/users/ws233/repos","events_url":"https://api.github.com/users/ws233/events{/privacy}","received_events_url":"https://api.github.com/users/ws233/received_events","type":"User","site_admin":false},"repo":{"id":15681046,"name":"Tesseract-OCR-iOS","full_name":"ws233/Tesseract-OCR-iOS","owner":{"login":"ws233","id":462439,"avatar_url":"https://avatars.githubusercontent.com/u/462439?v=3","gravatar_id":"","url":"https://api.github.com/users/ws233","html_url":"https://github.com/ws233","followers_url":"https://api.github.com/users/ws233/followers","following_url":"https://api.github.com/users/ws233/following{/other_user}","gists_url":"https://api.github.com/users/ws233/gists{/gist_id}","starred_url":"https://api.github.com/users/ws233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ws233/subscriptions","organizations_url":"https://api.github.com/users/ws233/orgs","repos_url":"https://api.github.com/users/ws233/repos","events_url":"https://api.github.com/users/ws233/events{/privacy}","received_events_url":"https://api.github.com/users/ws233/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ws233/Tesseract-OCR-iOS","description":"Tesseract OCR iOS is a Framework for iOS5+, compiled also for armv7s.","fork":true,"url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS","forks_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/forks","keys_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/teams","hooks_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/hooks","issue_events_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/events","assignees_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/tags","blobs_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/languages","stargazers_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/stargazers","contributors_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/contributors","subscribers_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/subscribers","subscription_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/subscription","commits_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/issues/comments/{number}","contents_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/merges","archive_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/downloads","issues_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/labels{/name}","releases_url":"https://api.github.com/repos/ws233/Tesseract-OCR-iOS/releases{/id}","created_at":"2014-01-06T18:04:57Z","updated_at":"2015-01-11T13:11:59Z","pushed_at":"2015-01-11T13:11:58Z","git_url":"git://github.com/ws233/Tesseract-OCR-iOS.git","ssh_url":"git@github.com:ws233/Tesseract-OCR-iOS.git","clone_url":"https://github.com/ws233/Tesseract-OCR-iOS.git","svn_url":"https://github.com/ws233/Tesseract-OCR-iOS","homepage":"www.g8production.com","size":296119,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gali8:master","ref":"master","sha":"551238a6cdb258a9b70db23f240debf1c9951f08","user":{"login":"gali8","id":851499,"avatar_url":"https://avatars.githubusercontent.com/u/851499?v=3","gravatar_id":"","url":"https://api.github.com/users/gali8","html_url":"https://github.com/gali8","followers_url":"https://api.github.com/users/gali8/followers","following_url":"https://api.github.com/users/gali8/following{/other_user}","gists_url":"https://api.github.com/users/gali8/gists{/gist_id}","starred_url":"https://api.github.com/users/gali8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gali8/subscriptions","organizations_url":"https://api.github.com/users/gali8/orgs","repos_url":"https://api.github.com/users/gali8/repos","events_url":"https://api.github.com/users/gali8/events{/privacy}","received_events_url":"https://api.github.com/users/gali8/received_events","type":"User","site_admin":false},"repo":{"id":9769041,"name":"Tesseract-OCR-iOS","full_name":"gali8/Tesseract-OCR-iOS","owner":{"login":"gali8","id":851499,"avatar_url":"https://avatars.githubusercontent.com/u/851499?v=3","gravatar_id":"","url":"https://api.github.com/users/gali8","html_url":"https://github.com/gali8","followers_url":"https://api.github.com/users/gali8/followers","following_url":"https://api.github.com/users/gali8/following{/other_user}","gists_url":"https://api.github.com/users/gali8/gists{/gist_id}","starred_url":"https://api.github.com/users/gali8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gali8/subscriptions","organizations_url":"https://api.github.com/users/gali8/orgs","repos_url":"https://api.github.com/users/gali8/repos","events_url":"https://api.github.com/users/gali8/events{/privacy}","received_events_url":"https://api.github.com/users/gali8/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gali8/Tesseract-OCR-iOS","description":"Tesseract OCR iOS is a Framework for iOS5+, compiled also for armv7s and arm64.","fork":false,"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS","forks_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/forks","keys_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/teams","hooks_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/hooks","issue_events_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/events","assignees_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/tags","blobs_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/languages","stargazers_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/stargazers","contributors_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/contributors","subscribers_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/subscribers","subscription_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/subscription","commits_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/comments/{number}","contents_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/merges","archive_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/downloads","issues_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/labels{/name}","releases_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/releases{/id}","created_at":"2013-04-30T10:38:14Z","updated_at":"2015-01-10T20:14:35Z","pushed_at":"2015-01-10T20:14:33Z","git_url":"git://github.com/gali8/Tesseract-OCR-iOS.git","ssh_url":"git@github.com:gali8/Tesseract-OCR-iOS.git","clone_url":"https://github.com/gali8/Tesseract-OCR-iOS.git","svn_url":"https://github.com/gali8/Tesseract-OCR-iOS","homepage":"www.g8production.com","size":302615,"stargazers_count":843,"watchers_count":843,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":13,"forks":207,"open_issues":13,"watchers":843,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133"},"html":{"href":"https://github.com/gali8/Tesseract-OCR-iOS/pull/133"},"issue":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/133"},"comments":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/statuses/96bb45827cfac5af65ae75fa1d9b86c38022dc79"}}}}