{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/asb/lua-imlib2/pulls/4","id":47380442,"html_url":"https://github.com/asb/lua-imlib2/pull/4","diff_url":"https://github.com/asb/lua-imlib2/pull/4.diff","patch_url":"https://github.com/asb/lua-imlib2/pull/4.patch","issue_url":"https://api.github.com/repos/asb/lua-imlib2/issues/4","number":4,"state":"open","locked":false,"title":"Fixed img:fill_polygon checking wrong argument for color","user":{"login":"blackawps","id":3247233,"avatar_url":"https://avatars.githubusercontent.com/u/3247233?v=3","gravatar_id":"","url":"https://api.github.com/users/blackawps","html_url":"https://github.com/blackawps","followers_url":"https://api.github.com/users/blackawps/followers","following_url":"https://api.github.com/users/blackawps/following{/other_user}","gists_url":"https://api.github.com/users/blackawps/gists{/gist_id}","starred_url":"https://api.github.com/users/blackawps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackawps/subscriptions","organizations_url":"https://api.github.com/users/blackawps/orgs","repos_url":"https://api.github.com/users/blackawps/repos","events_url":"https://api.github.com/users/blackawps/events{/privacy}","received_events_url":"https://api.github.com/users/blackawps/received_events","type":"User","site_admin":false},"body":"There's a small issue with img:fill_poly where it checks color thinking it should be the fourth argument, but it really should be checking the third.\r\n\r\nThis causes something like this\r\n\r\n```\r\nimg:fill_polygon(poly, color)\r\n```\r\nTo error with `bad argument #3 to 'fill_polygon' (imlib2.color expected, got no value)`\r\n\r\nTo work around this issue you need to to\r\n\r\n```\r\nimg:fill_polygon(poly, nil, color)\r\n```\r\n\r\nBut I figured it would be best to make a pull request.","created_at":"2015-10-12T01:26:55Z","updated_at":"2015-10-12T01:26:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asb/lua-imlib2/pulls/4/commits","review_comments_url":"https://api.github.com/repos/asb/lua-imlib2/pulls/4/comments","review_comment_url":"https://api.github.com/repos/asb/lua-imlib2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asb/lua-imlib2/issues/4/comments","statuses_url":"https://api.github.com/repos/asb/lua-imlib2/statuses/2eab1eda9445126aaaf1d05c080e711b848024f6","head":{"label":"blackawps:master","ref":"master","sha":"2eab1eda9445126aaaf1d05c080e711b848024f6","user":{"login":"blackawps","id":3247233,"avatar_url":"https://avatars.githubusercontent.com/u/3247233?v=3","gravatar_id":"","url":"https://api.github.com/users/blackawps","html_url":"https://github.com/blackawps","followers_url":"https://api.github.com/users/blackawps/followers","following_url":"https://api.github.com/users/blackawps/following{/other_user}","gists_url":"https://api.github.com/users/blackawps/gists{/gist_id}","starred_url":"https://api.github.com/users/blackawps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackawps/subscriptions","organizations_url":"https://api.github.com/users/blackawps/orgs","repos_url":"https://api.github.com/users/blackawps/repos","events_url":"https://api.github.com/users/blackawps/events{/privacy}","received_events_url":"https://api.github.com/users/blackawps/received_events","type":"User","site_admin":false},"repo":{"id":44076759,"name":"lua-imlib2","full_name":"blackawps/lua-imlib2","owner":{"login":"blackawps","id":3247233,"avatar_url":"https://avatars.githubusercontent.com/u/3247233?v=3","gravatar_id":"","url":"https://api.github.com/users/blackawps","html_url":"https://github.com/blackawps","followers_url":"https://api.github.com/users/blackawps/followers","following_url":"https://api.github.com/users/blackawps/following{/other_user}","gists_url":"https://api.github.com/users/blackawps/gists{/gist_id}","starred_url":"https://api.github.com/users/blackawps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackawps/subscriptions","organizations_url":"https://api.github.com/users/blackawps/orgs","repos_url":"https://api.github.com/users/blackawps/repos","events_url":"https://api.github.com/users/blackawps/events{/privacy}","received_events_url":"https://api.github.com/users/blackawps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blackawps/lua-imlib2","description":"A complete binding to the Imlib2 image manipulation library","fork":true,"url":"https://api.github.com/repos/blackawps/lua-imlib2","forks_url":"https://api.github.com/repos/blackawps/lua-imlib2/forks","keys_url":"https://api.github.com/repos/blackawps/lua-imlib2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blackawps/lua-imlib2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blackawps/lua-imlib2/teams","hooks_url":"https://api.github.com/repos/blackawps/lua-imlib2/hooks","issue_events_url":"https://api.github.com/repos/blackawps/lua-imlib2/issues/events{/number}","events_url":"https://api.github.com/repos/blackawps/lua-imlib2/events","assignees_url":"https://api.github.com/repos/blackawps/lua-imlib2/assignees{/user}","branches_url":"https://api.github.com/repos/blackawps/lua-imlib2/branches{/branch}","tags_url":"https://api.github.com/repos/blackawps/lua-imlib2/tags","blobs_url":"https://api.github.com/repos/blackawps/lua-imlib2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blackawps/lua-imlib2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blackawps/lua-imlib2/git/refs{/sha}","trees_url":"https://api.github.com/repos/blackawps/lua-imlib2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blackawps/lua-imlib2/statuses/{sha}","languages_url":"https://api.github.com/repos/blackawps/lua-imlib2/languages","stargazers_url":"https://api.github.com/repos/blackawps/lua-imlib2/stargazers","contributors_url":"https://api.github.com/repos/blackawps/lua-imlib2/contributors","subscribers_url":"https://api.github.com/repos/blackawps/lua-imlib2/subscribers","subscription_url":"https://api.github.com/repos/blackawps/lua-imlib2/subscription","commits_url":"https://api.github.com/repos/blackawps/lua-imlib2/commits{/sha}","git_commits_url":"https://api.github.com/repos/blackawps/lua-imlib2/git/commits{/sha}","comments_url":"https://api.github.com/repos/blackawps/lua-imlib2/comments{/number}","issue_comment_url":"https://api.github.com/repos/blackawps/lua-imlib2/issues/comments{/number}","contents_url":"https://api.github.com/repos/blackawps/lua-imlib2/contents/{+path}","compare_url":"https://api.github.com/repos/blackawps/lua-imlib2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blackawps/lua-imlib2/merges","archive_url":"https://api.github.com/repos/blackawps/lua-imlib2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blackawps/lua-imlib2/downloads","issues_url":"https://api.github.com/repos/blackawps/lua-imlib2/issues{/number}","pulls_url":"https://api.github.com/repos/blackawps/lua-imlib2/pulls{/number}","milestones_url":"https://api.github.com/repos/blackawps/lua-imlib2/milestones{/number}","notifications_url":"https://api.github.com/repos/blackawps/lua-imlib2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blackawps/lua-imlib2/labels{/name}","releases_url":"https://api.github.com/repos/blackawps/lua-imlib2/releases{/id}","created_at":"2015-10-12T01:13:30Z","updated_at":"2015-10-12T01:13:32Z","pushed_at":"2015-10-12T01:22:42Z","git_url":"git://github.com/blackawps/lua-imlib2.git","ssh_url":"git@github.com:blackawps/lua-imlib2.git","clone_url":"https://github.com/blackawps/lua-imlib2.git","svn_url":"https://github.com/blackawps/lua-imlib2","homepage":"http://asbradbury.org/projects/lua-imlib2/","size":111,"stargazers_count":0,"watchers_count":0,"language":"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":"asb:master","ref":"master","sha":"9422266672ab69bd9dc562ccf329b2917015f9ce","user":{"login":"asb","id":1900,"avatar_url":"https://avatars.githubusercontent.com/u/1900?v=3","gravatar_id":"","url":"https://api.github.com/users/asb","html_url":"https://github.com/asb","followers_url":"https://api.github.com/users/asb/followers","following_url":"https://api.github.com/users/asb/following{/other_user}","gists_url":"https://api.github.com/users/asb/gists{/gist_id}","starred_url":"https://api.github.com/users/asb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asb/subscriptions","organizations_url":"https://api.github.com/users/asb/orgs","repos_url":"https://api.github.com/users/asb/repos","events_url":"https://api.github.com/users/asb/events{/privacy}","received_events_url":"https://api.github.com/users/asb/received_events","type":"User","site_admin":false},"repo":{"id":35893,"name":"lua-imlib2","full_name":"asb/lua-imlib2","owner":{"login":"asb","id":1900,"avatar_url":"https://avatars.githubusercontent.com/u/1900?v=3","gravatar_id":"","url":"https://api.github.com/users/asb","html_url":"https://github.com/asb","followers_url":"https://api.github.com/users/asb/followers","following_url":"https://api.github.com/users/asb/following{/other_user}","gists_url":"https://api.github.com/users/asb/gists{/gist_id}","starred_url":"https://api.github.com/users/asb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asb/subscriptions","organizations_url":"https://api.github.com/users/asb/orgs","repos_url":"https://api.github.com/users/asb/repos","events_url":"https://api.github.com/users/asb/events{/privacy}","received_events_url":"https://api.github.com/users/asb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asb/lua-imlib2","description":"A complete binding to the Imlib2 image manipulation library","fork":false,"url":"https://api.github.com/repos/asb/lua-imlib2","forks_url":"https://api.github.com/repos/asb/lua-imlib2/forks","keys_url":"https://api.github.com/repos/asb/lua-imlib2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asb/lua-imlib2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asb/lua-imlib2/teams","hooks_url":"https://api.github.com/repos/asb/lua-imlib2/hooks","issue_events_url":"https://api.github.com/repos/asb/lua-imlib2/issues/events{/number}","events_url":"https://api.github.com/repos/asb/lua-imlib2/events","assignees_url":"https://api.github.com/repos/asb/lua-imlib2/assignees{/user}","branches_url":"https://api.github.com/repos/asb/lua-imlib2/branches{/branch}","tags_url":"https://api.github.com/repos/asb/lua-imlib2/tags","blobs_url":"https://api.github.com/repos/asb/lua-imlib2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asb/lua-imlib2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asb/lua-imlib2/git/refs{/sha}","trees_url":"https://api.github.com/repos/asb/lua-imlib2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asb/lua-imlib2/statuses/{sha}","languages_url":"https://api.github.com/repos/asb/lua-imlib2/languages","stargazers_url":"https://api.github.com/repos/asb/lua-imlib2/stargazers","contributors_url":"https://api.github.com/repos/asb/lua-imlib2/contributors","subscribers_url":"https://api.github.com/repos/asb/lua-imlib2/subscribers","subscription_url":"https://api.github.com/repos/asb/lua-imlib2/subscription","commits_url":"https://api.github.com/repos/asb/lua-imlib2/commits{/sha}","git_commits_url":"https://api.github.com/repos/asb/lua-imlib2/git/commits{/sha}","comments_url":"https://api.github.com/repos/asb/lua-imlib2/comments{/number}","issue_comment_url":"https://api.github.com/repos/asb/lua-imlib2/issues/comments{/number}","contents_url":"https://api.github.com/repos/asb/lua-imlib2/contents/{+path}","compare_url":"https://api.github.com/repos/asb/lua-imlib2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asb/lua-imlib2/merges","archive_url":"https://api.github.com/repos/asb/lua-imlib2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asb/lua-imlib2/downloads","issues_url":"https://api.github.com/repos/asb/lua-imlib2/issues{/number}","pulls_url":"https://api.github.com/repos/asb/lua-imlib2/pulls{/number}","milestones_url":"https://api.github.com/repos/asb/lua-imlib2/milestones{/number}","notifications_url":"https://api.github.com/repos/asb/lua-imlib2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asb/lua-imlib2/labels{/name}","releases_url":"https://api.github.com/repos/asb/lua-imlib2/releases{/id}","created_at":"2008-07-21T19:55:05Z","updated_at":"2015-03-12T06:01:50Z","pushed_at":"2008-08-02T15:04:28Z","git_url":"git://github.com/asb/lua-imlib2.git","ssh_url":"git@github.com:asb/lua-imlib2.git","clone_url":"https://github.com/asb/lua-imlib2.git","svn_url":"https://github.com/asb/lua-imlib2","homepage":"http://asbradbury.org/projects/lua-imlib2/","size":113,"stargazers_count":9,"watchers_count":9,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asb/lua-imlib2/pulls/4"},"html":{"href":"https://github.com/asb/lua-imlib2/pull/4"},"issue":{"href":"https://api.github.com/repos/asb/lua-imlib2/issues/4"},"comments":{"href":"https://api.github.com/repos/asb/lua-imlib2/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/asb/lua-imlib2/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/asb/lua-imlib2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asb/lua-imlib2/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/asb/lua-imlib2/statuses/2eab1eda9445126aaaf1d05c080e711b848024f6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}