{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/djberg96/sys-proctable/pulls/43","id":31678004,"html_url":"https://github.com/djberg96/sys-proctable/pull/43","diff_url":"https://github.com/djberg96/sys-proctable/pull/43.diff","patch_url":"https://github.com/djberg96/sys-proctable/pull/43.patch","issue_url":"https://api.github.com/repos/djberg96/sys-proctable/issues/43","number":43,"state":"open","locked":false,"title":"Fixed bug on FreeBSD resulting in the following unresolved types: vm_size_t and  lwpid_t.","user":{"login":"mikeowens","id":911760,"avatar_url":"https://avatars.githubusercontent.com/u/911760?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeowens","html_url":"https://github.com/mikeowens","followers_url":"https://api.github.com/users/mikeowens/followers","following_url":"https://api.github.com/users/mikeowens/following{/other_user}","gists_url":"https://api.github.com/users/mikeowens/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeowens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeowens/subscriptions","organizations_url":"https://api.github.com/users/mikeowens/orgs","repos_url":"https://api.github.com/users/mikeowens/repos","events_url":"https://api.github.com/users/mikeowens/events{/privacy}","received_events_url":"https://api.github.com/users/mikeowens/received_events","type":"User","site_admin":false},"body":"Not sure if these are the right substitutions but exception is not longer thrown.\r\n\r\nStack trace that was being thrown:\r\n\r\n/usr/local/lib/ruby/gems/2.2/gems/ffi-1.9.8/lib/ffi/types.rb:70:in `find_type': unable to resolve type 'vm_size_t' (TypeError)\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/ffi-1.9.8/lib/ffi/library.rb:516:in `find_type'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/ffi-1.9.8/lib/ffi/struct.rb:332:in `find_type'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/ffi-1.9.8/lib/ffi/struct.rb:326:in `find_field_type'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/ffi-1.9.8/lib/ffi/struct.rb:368:in `array_layout'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/ffi-1.9.8/lib/ffi/struct.rb:278:in `layout'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/sys-proctable-0.9.6-universal-freebsd/lib/freebsd/sys/proctable.rb:87:in `<class:KInfoProc>'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/sys-proctable-0.9.6-universal-freebsd/lib/freebsd/sys/proctable.rb:86:in `<class:ProcTable>'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/sys-proctable-0.9.6-universal-freebsd/lib/freebsd/sys/proctable.rb:4:in `<module:Sys>'\r\nfrom /usr/local/lib/ruby/gems/2.2/gems/sys-proctable-0.9.6-universal-freebsd/lib/freebsd/sys/proctable.rb:3:in `<top (required)>'\r\nfrom /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require'\r\nfrom /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require'","created_at":"2015-03-21T20:58:53Z","updated_at":"2015-03-21T20:58:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/djberg96/sys-proctable/pulls/43/commits","review_comments_url":"https://api.github.com/repos/djberg96/sys-proctable/pulls/43/comments","review_comment_url":"https://api.github.com/repos/djberg96/sys-proctable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/djberg96/sys-proctable/issues/43/comments","statuses_url":"https://api.github.com/repos/djberg96/sys-proctable/statuses/4f56084cc972b4603ce847b3af5c22b125e31886","head":{"label":"mikeowens:master","ref":"master","sha":"4f56084cc972b4603ce847b3af5c22b125e31886","user":{"login":"mikeowens","id":911760,"avatar_url":"https://avatars.githubusercontent.com/u/911760?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeowens","html_url":"https://github.com/mikeowens","followers_url":"https://api.github.com/users/mikeowens/followers","following_url":"https://api.github.com/users/mikeowens/following{/other_user}","gists_url":"https://api.github.com/users/mikeowens/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeowens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeowens/subscriptions","organizations_url":"https://api.github.com/users/mikeowens/orgs","repos_url":"https://api.github.com/users/mikeowens/repos","events_url":"https://api.github.com/users/mikeowens/events{/privacy}","received_events_url":"https://api.github.com/users/mikeowens/received_events","type":"User","site_admin":false},"repo":{"id":32649327,"name":"sys-proctable","full_name":"mikeowens/sys-proctable","owner":{"login":"mikeowens","id":911760,"avatar_url":"https://avatars.githubusercontent.com/u/911760?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeowens","html_url":"https://github.com/mikeowens","followers_url":"https://api.github.com/users/mikeowens/followers","following_url":"https://api.github.com/users/mikeowens/following{/other_user}","gists_url":"https://api.github.com/users/mikeowens/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeowens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeowens/subscriptions","organizations_url":"https://api.github.com/users/mikeowens/orgs","repos_url":"https://api.github.com/users/mikeowens/repos","events_url":"https://api.github.com/users/mikeowens/events{/privacy}","received_events_url":"https://api.github.com/users/mikeowens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikeowens/sys-proctable","description":"A Ruby interface for gathering process information on your operating system","fork":true,"url":"https://api.github.com/repos/mikeowens/sys-proctable","forks_url":"https://api.github.com/repos/mikeowens/sys-proctable/forks","keys_url":"https://api.github.com/repos/mikeowens/sys-proctable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikeowens/sys-proctable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikeowens/sys-proctable/teams","hooks_url":"https://api.github.com/repos/mikeowens/sys-proctable/hooks","issue_events_url":"https://api.github.com/repos/mikeowens/sys-proctable/issues/events{/number}","events_url":"https://api.github.com/repos/mikeowens/sys-proctable/events","assignees_url":"https://api.github.com/repos/mikeowens/sys-proctable/assignees{/user}","branches_url":"https://api.github.com/repos/mikeowens/sys-proctable/branches{/branch}","tags_url":"https://api.github.com/repos/mikeowens/sys-proctable/tags","blobs_url":"https://api.github.com/repos/mikeowens/sys-proctable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikeowens/sys-proctable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikeowens/sys-proctable/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikeowens/sys-proctable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikeowens/sys-proctable/statuses/{sha}","languages_url":"https://api.github.com/repos/mikeowens/sys-proctable/languages","stargazers_url":"https://api.github.com/repos/mikeowens/sys-proctable/stargazers","contributors_url":"https://api.github.com/repos/mikeowens/sys-proctable/contributors","subscribers_url":"https://api.github.com/repos/mikeowens/sys-proctable/subscribers","subscription_url":"https://api.github.com/repos/mikeowens/sys-proctable/subscription","commits_url":"https://api.github.com/repos/mikeowens/sys-proctable/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikeowens/sys-proctable/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikeowens/sys-proctable/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikeowens/sys-proctable/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikeowens/sys-proctable/contents/{+path}","compare_url":"https://api.github.com/repos/mikeowens/sys-proctable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikeowens/sys-proctable/merges","archive_url":"https://api.github.com/repos/mikeowens/sys-proctable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikeowens/sys-proctable/downloads","issues_url":"https://api.github.com/repos/mikeowens/sys-proctable/issues{/number}","pulls_url":"https://api.github.com/repos/mikeowens/sys-proctable/pulls{/number}","milestones_url":"https://api.github.com/repos/mikeowens/sys-proctable/milestones{/number}","notifications_url":"https://api.github.com/repos/mikeowens/sys-proctable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikeowens/sys-proctable/labels{/name}","releases_url":"https://api.github.com/repos/mikeowens/sys-proctable/releases{/id}","created_at":"2015-03-21T20:44:46Z","updated_at":"2015-03-21T20:52:04Z","pushed_at":"2015-03-21T20:52:04Z","git_url":"git://github.com/mikeowens/sys-proctable.git","ssh_url":"git@github.com:mikeowens/sys-proctable.git","clone_url":"https://github.com/mikeowens/sys-proctable.git","svn_url":"https://github.com/mikeowens/sys-proctable","homepage":"","size":270,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"djberg96:master","ref":"master","sha":"a78acc7ca7ae05a06f2454d1c079bbe962abef1c","user":{"login":"djberg96","id":78529,"avatar_url":"https://avatars.githubusercontent.com/u/78529?v=3","gravatar_id":"","url":"https://api.github.com/users/djberg96","html_url":"https://github.com/djberg96","followers_url":"https://api.github.com/users/djberg96/followers","following_url":"https://api.github.com/users/djberg96/following{/other_user}","gists_url":"https://api.github.com/users/djberg96/gists{/gist_id}","starred_url":"https://api.github.com/users/djberg96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djberg96/subscriptions","organizations_url":"https://api.github.com/users/djberg96/orgs","repos_url":"https://api.github.com/users/djberg96/repos","events_url":"https://api.github.com/users/djberg96/events{/privacy}","received_events_url":"https://api.github.com/users/djberg96/received_events","type":"User","site_admin":false},"repo":{"id":342931,"name":"sys-proctable","full_name":"djberg96/sys-proctable","owner":{"login":"djberg96","id":78529,"avatar_url":"https://avatars.githubusercontent.com/u/78529?v=3","gravatar_id":"","url":"https://api.github.com/users/djberg96","html_url":"https://github.com/djberg96","followers_url":"https://api.github.com/users/djberg96/followers","following_url":"https://api.github.com/users/djberg96/following{/other_user}","gists_url":"https://api.github.com/users/djberg96/gists{/gist_id}","starred_url":"https://api.github.com/users/djberg96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djberg96/subscriptions","organizations_url":"https://api.github.com/users/djberg96/orgs","repos_url":"https://api.github.com/users/djberg96/repos","events_url":"https://api.github.com/users/djberg96/events{/privacy}","received_events_url":"https://api.github.com/users/djberg96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djberg96/sys-proctable","description":"A Ruby interface for gathering process information on your operating system","fork":false,"url":"https://api.github.com/repos/djberg96/sys-proctable","forks_url":"https://api.github.com/repos/djberg96/sys-proctable/forks","keys_url":"https://api.github.com/repos/djberg96/sys-proctable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djberg96/sys-proctable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djberg96/sys-proctable/teams","hooks_url":"https://api.github.com/repos/djberg96/sys-proctable/hooks","issue_events_url":"https://api.github.com/repos/djberg96/sys-proctable/issues/events{/number}","events_url":"https://api.github.com/repos/djberg96/sys-proctable/events","assignees_url":"https://api.github.com/repos/djberg96/sys-proctable/assignees{/user}","branches_url":"https://api.github.com/repos/djberg96/sys-proctable/branches{/branch}","tags_url":"https://api.github.com/repos/djberg96/sys-proctable/tags","blobs_url":"https://api.github.com/repos/djberg96/sys-proctable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djberg96/sys-proctable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djberg96/sys-proctable/git/refs{/sha}","trees_url":"https://api.github.com/repos/djberg96/sys-proctable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djberg96/sys-proctable/statuses/{sha}","languages_url":"https://api.github.com/repos/djberg96/sys-proctable/languages","stargazers_url":"https://api.github.com/repos/djberg96/sys-proctable/stargazers","contributors_url":"https://api.github.com/repos/djberg96/sys-proctable/contributors","subscribers_url":"https://api.github.com/repos/djberg96/sys-proctable/subscribers","subscription_url":"https://api.github.com/repos/djberg96/sys-proctable/subscription","commits_url":"https://api.github.com/repos/djberg96/sys-proctable/commits{/sha}","git_commits_url":"https://api.github.com/repos/djberg96/sys-proctable/git/commits{/sha}","comments_url":"https://api.github.com/repos/djberg96/sys-proctable/comments{/number}","issue_comment_url":"https://api.github.com/repos/djberg96/sys-proctable/issues/comments{/number}","contents_url":"https://api.github.com/repos/djberg96/sys-proctable/contents/{+path}","compare_url":"https://api.github.com/repos/djberg96/sys-proctable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djberg96/sys-proctable/merges","archive_url":"https://api.github.com/repos/djberg96/sys-proctable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djberg96/sys-proctable/downloads","issues_url":"https://api.github.com/repos/djberg96/sys-proctable/issues{/number}","pulls_url":"https://api.github.com/repos/djberg96/sys-proctable/pulls{/number}","milestones_url":"https://api.github.com/repos/djberg96/sys-proctable/milestones{/number}","notifications_url":"https://api.github.com/repos/djberg96/sys-proctable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djberg96/sys-proctable/labels{/name}","releases_url":"https://api.github.com/repos/djberg96/sys-proctable/releases{/id}","created_at":"2009-10-20T00:58:07Z","updated_at":"2015-03-04T04:38:46Z","pushed_at":"2015-03-21T20:58:53Z","git_url":"git://github.com/djberg96/sys-proctable.git","ssh_url":"git@github.com:djberg96/sys-proctable.git","clone_url":"https://github.com/djberg96/sys-proctable.git","svn_url":"https://github.com/djberg96/sys-proctable","homepage":"","size":702,"stargazers_count":56,"watchers_count":56,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":3,"forks":21,"open_issues":3,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/djberg96/sys-proctable/pulls/43"},"html":{"href":"https://github.com/djberg96/sys-proctable/pull/43"},"issue":{"href":"https://api.github.com/repos/djberg96/sys-proctable/issues/43"},"comments":{"href":"https://api.github.com/repos/djberg96/sys-proctable/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/djberg96/sys-proctable/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/djberg96/sys-proctable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/djberg96/sys-proctable/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/djberg96/sys-proctable/statuses/4f56084cc972b4603ce847b3af5c22b125e31886"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}