{"action":"created","comment":{"url":"https://api.github.com/repos/mizzy/specinfra/pulls/comments/90753765","pull_request_review_id":11274119,"id":90753765,"diff_hunk":"@@ -1,7 +1,24 @@\n class Specinfra::Command::Gentoo::Base::Package < Specinfra::Command::Linux::Base::Package\n   class << self\n     def check_is_installed(package, version=nil)\n-      \"eix #{escape(package)} --installed | grep -v \\\"No matches found.\\\"\"\n+      \"eix #{escape(package)} --installed | grep -v \\\"No matches found\\\"\"","path":"lib/specinfra/command/gentoo/base/package.rb","position":5,"original_position":5,"commit_id":"d68c3c59616ba43fb4b9798666b98c6ec92f8bcc","original_commit_id":"d68c3c59616ba43fb4b9798666b98c6ec92f8bcc","user":{"login":"mazgi","id":194222,"avatar_url":"https://avatars.githubusercontent.com/u/194222?v=3","gravatar_id":"","url":"https://api.github.com/users/mazgi","html_url":"https://github.com/mazgi","followers_url":"https://api.github.com/users/mazgi/followers","following_url":"https://api.github.com/users/mazgi/following{/other_user}","gists_url":"https://api.github.com/users/mazgi/gists{/gist_id}","starred_url":"https://api.github.com/users/mazgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazgi/subscriptions","organizations_url":"https://api.github.com/users/mazgi/orgs","repos_url":"https://api.github.com/users/mazgi/repos","events_url":"https://api.github.com/users/mazgi/events{/privacy}","received_events_url":"https://api.github.com/users/mazgi/received_events","type":"User","site_admin":false},"body":"My gentoo box returned like this:\r\n\r\n```shellsession\r\n[root@work-01] # eix --version\r\n0.31.7\r\n[root@work-01] # eix bash installed\r\nNo matches found\r\n```","created_at":"2016-12-03T09:02:56Z","updated_at":"2016-12-03T09:02:56Z","html_url":"https://github.com/mizzy/specinfra/pull/596#discussion_r90753765","pull_request_url":"https://api.github.com/repos/mizzy/specinfra/pulls/596","_links":{"self":{"href":"https://api.github.com/repos/mizzy/specinfra/pulls/comments/90753765"},"html":{"href":"https://github.com/mizzy/specinfra/pull/596#discussion_r90753765"},"pull_request":{"href":"https://api.github.com/repos/mizzy/specinfra/pulls/596"}}},"pull_request":{"url":"https://api.github.com/repos/mizzy/specinfra/pulls/596","id":96391971,"html_url":"https://github.com/mizzy/specinfra/pull/596","diff_url":"https://github.com/mizzy/specinfra/pull/596.diff","patch_url":"https://github.com/mizzy/specinfra/pull/596.patch","issue_url":"https://api.github.com/repos/mizzy/specinfra/issues/596","number":596,"state":"open","locked":false,"title":"Implement some methods for Gentoo::Base::Package","user":{"login":"mazgi","id":194222,"avatar_url":"https://avatars.githubusercontent.com/u/194222?v=3","gravatar_id":"","url":"https://api.github.com/users/mazgi","html_url":"https://github.com/mazgi","followers_url":"https://api.github.com/users/mazgi/followers","following_url":"https://api.github.com/users/mazgi/following{/other_user}","gists_url":"https://api.github.com/users/mazgi/gists{/gist_id}","starred_url":"https://api.github.com/users/mazgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazgi/subscriptions","organizations_url":"https://api.github.com/users/mazgi/orgs","repos_url":"https://api.github.com/users/mazgi/repos","events_url":"https://api.github.com/users/mazgi/events{/privacy}","received_events_url":"https://api.github.com/users/mazgi/received_events","type":"User","site_admin":false},"body":"Implement some methods for `Gentoo::Base::Package` follows:\r\n\r\n* `get_version`\r\n* `install`\r\n* `remove`","created_at":"2016-12-03T08:59:37Z","updated_at":"2016-12-03T09:02:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fbb0c6066ebf4fb137346a3b0dfd8624ecb2498","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mizzy/specinfra/pulls/596/commits","review_comments_url":"https://api.github.com/repos/mizzy/specinfra/pulls/596/comments","review_comment_url":"https://api.github.com/repos/mizzy/specinfra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mizzy/specinfra/issues/596/comments","statuses_url":"https://api.github.com/repos/mizzy/specinfra/statuses/d68c3c59616ba43fb4b9798666b98c6ec92f8bcc","head":{"label":"mazgi:feature/get_version-on-gentoo","ref":"feature/get_version-on-gentoo","sha":"d68c3c59616ba43fb4b9798666b98c6ec92f8bcc","user":{"login":"mazgi","id":194222,"avatar_url":"https://avatars.githubusercontent.com/u/194222?v=3","gravatar_id":"","url":"https://api.github.com/users/mazgi","html_url":"https://github.com/mazgi","followers_url":"https://api.github.com/users/mazgi/followers","following_url":"https://api.github.com/users/mazgi/following{/other_user}","gists_url":"https://api.github.com/users/mazgi/gists{/gist_id}","starred_url":"https://api.github.com/users/mazgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazgi/subscriptions","organizations_url":"https://api.github.com/users/mazgi/orgs","repos_url":"https://api.github.com/users/mazgi/repos","events_url":"https://api.github.com/users/mazgi/events{/privacy}","received_events_url":"https://api.github.com/users/mazgi/received_events","type":"User","site_admin":false},"repo":{"id":75284277,"name":"specinfra","full_name":"mazgi/specinfra","owner":{"login":"mazgi","id":194222,"avatar_url":"https://avatars.githubusercontent.com/u/194222?v=3","gravatar_id":"","url":"https://api.github.com/users/mazgi","html_url":"https://github.com/mazgi","followers_url":"https://api.github.com/users/mazgi/followers","following_url":"https://api.github.com/users/mazgi/following{/other_user}","gists_url":"https://api.github.com/users/mazgi/gists{/gist_id}","starred_url":"https://api.github.com/users/mazgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazgi/subscriptions","organizations_url":"https://api.github.com/users/mazgi/orgs","repos_url":"https://api.github.com/users/mazgi/repos","events_url":"https://api.github.com/users/mazgi/events{/privacy}","received_events_url":"https://api.github.com/users/mazgi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mazgi/specinfra","description":"Command Execution Framework for serverspec, itamae and so on","fork":true,"url":"https://api.github.com/repos/mazgi/specinfra","forks_url":"https://api.github.com/repos/mazgi/specinfra/forks","keys_url":"https://api.github.com/repos/mazgi/specinfra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mazgi/specinfra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mazgi/specinfra/teams","hooks_url":"https://api.github.com/repos/mazgi/specinfra/hooks","issue_events_url":"https://api.github.com/repos/mazgi/specinfra/issues/events{/number}","events_url":"https://api.github.com/repos/mazgi/specinfra/events","assignees_url":"https://api.github.com/repos/mazgi/specinfra/assignees{/user}","branches_url":"https://api.github.com/repos/mazgi/specinfra/branches{/branch}","tags_url":"https://api.github.com/repos/mazgi/specinfra/tags","blobs_url":"https://api.github.com/repos/mazgi/specinfra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mazgi/specinfra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mazgi/specinfra/git/refs{/sha}","trees_url":"https://api.github.com/repos/mazgi/specinfra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mazgi/specinfra/statuses/{sha}","languages_url":"https://api.github.com/repos/mazgi/specinfra/languages","stargazers_url":"https://api.github.com/repos/mazgi/specinfra/stargazers","contributors_url":"https://api.github.com/repos/mazgi/specinfra/contributors","subscribers_url":"https://api.github.com/repos/mazgi/specinfra/subscribers","subscription_url":"https://api.github.com/repos/mazgi/specinfra/subscription","commits_url":"https://api.github.com/repos/mazgi/specinfra/commits{/sha}","git_commits_url":"https://api.github.com/repos/mazgi/specinfra/git/commits{/sha}","comments_url":"https://api.github.com/repos/mazgi/specinfra/comments{/number}","issue_comment_url":"https://api.github.com/repos/mazgi/specinfra/issues/comments{/number}","contents_url":"https://api.github.com/repos/mazgi/specinfra/contents/{+path}","compare_url":"https://api.github.com/repos/mazgi/specinfra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mazgi/specinfra/merges","archive_url":"https://api.github.com/repos/mazgi/specinfra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mazgi/specinfra/downloads","issues_url":"https://api.github.com/repos/mazgi/specinfra/issues{/number}","pulls_url":"https://api.github.com/repos/mazgi/specinfra/pulls{/number}","milestones_url":"https://api.github.com/repos/mazgi/specinfra/milestones{/number}","notifications_url":"https://api.github.com/repos/mazgi/specinfra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mazgi/specinfra/labels{/name}","releases_url":"https://api.github.com/repos/mazgi/specinfra/releases{/id}","deployments_url":"https://api.github.com/repos/mazgi/specinfra/deployments","created_at":"2016-12-01T11:01:17Z","updated_at":"2016-12-01T11:01:19Z","pushed_at":"2016-12-03T08:58:43Z","git_url":"git://github.com/mazgi/specinfra.git","ssh_url":"git@github.com:mazgi/specinfra.git","clone_url":"https://github.com/mazgi/specinfra.git","svn_url":"https://github.com/mazgi/specinfra","homepage":"http://serverspec.org/","size":1430,"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":"mizzy:master","ref":"master","sha":"2b43ad3bc8cba014e1567d958552c96fb3eb0081","user":{"login":"mizzy","id":3620,"avatar_url":"https://avatars.githubusercontent.com/u/3620?v=3","gravatar_id":"","url":"https://api.github.com/users/mizzy","html_url":"https://github.com/mizzy","followers_url":"https://api.github.com/users/mizzy/followers","following_url":"https://api.github.com/users/mizzy/following{/other_user}","gists_url":"https://api.github.com/users/mizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizzy/subscriptions","organizations_url":"https://api.github.com/users/mizzy/orgs","repos_url":"https://api.github.com/users/mizzy/repos","events_url":"https://api.github.com/users/mizzy/events{/privacy}","received_events_url":"https://api.github.com/users/mizzy/received_events","type":"User","site_admin":false},"repo":{"id":14747279,"name":"specinfra","full_name":"mizzy/specinfra","owner":{"login":"mizzy","id":3620,"avatar_url":"https://avatars.githubusercontent.com/u/3620?v=3","gravatar_id":"","url":"https://api.github.com/users/mizzy","html_url":"https://github.com/mizzy","followers_url":"https://api.github.com/users/mizzy/followers","following_url":"https://api.github.com/users/mizzy/following{/other_user}","gists_url":"https://api.github.com/users/mizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizzy/subscriptions","organizations_url":"https://api.github.com/users/mizzy/orgs","repos_url":"https://api.github.com/users/mizzy/repos","events_url":"https://api.github.com/users/mizzy/events{/privacy}","received_events_url":"https://api.github.com/users/mizzy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mizzy/specinfra","description":"Command Execution Framework for serverspec, itamae and so on","fork":false,"url":"https://api.github.com/repos/mizzy/specinfra","forks_url":"https://api.github.com/repos/mizzy/specinfra/forks","keys_url":"https://api.github.com/repos/mizzy/specinfra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mizzy/specinfra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mizzy/specinfra/teams","hooks_url":"https://api.github.com/repos/mizzy/specinfra/hooks","issue_events_url":"https://api.github.com/repos/mizzy/specinfra/issues/events{/number}","events_url":"https://api.github.com/repos/mizzy/specinfra/events","assignees_url":"https://api.github.com/repos/mizzy/specinfra/assignees{/user}","branches_url":"https://api.github.com/repos/mizzy/specinfra/branches{/branch}","tags_url":"https://api.github.com/repos/mizzy/specinfra/tags","blobs_url":"https://api.github.com/repos/mizzy/specinfra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mizzy/specinfra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mizzy/specinfra/git/refs{/sha}","trees_url":"https://api.github.com/repos/mizzy/specinfra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mizzy/specinfra/statuses/{sha}","languages_url":"https://api.github.com/repos/mizzy/specinfra/languages","stargazers_url":"https://api.github.com/repos/mizzy/specinfra/stargazers","contributors_url":"https://api.github.com/repos/mizzy/specinfra/contributors","subscribers_url":"https://api.github.com/repos/mizzy/specinfra/subscribers","subscription_url":"https://api.github.com/repos/mizzy/specinfra/subscription","commits_url":"https://api.github.com/repos/mizzy/specinfra/commits{/sha}","git_commits_url":"https://api.github.com/repos/mizzy/specinfra/git/commits{/sha}","comments_url":"https://api.github.com/repos/mizzy/specinfra/comments{/number}","issue_comment_url":"https://api.github.com/repos/mizzy/specinfra/issues/comments{/number}","contents_url":"https://api.github.com/repos/mizzy/specinfra/contents/{+path}","compare_url":"https://api.github.com/repos/mizzy/specinfra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mizzy/specinfra/merges","archive_url":"https://api.github.com/repos/mizzy/specinfra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mizzy/specinfra/downloads","issues_url":"https://api.github.com/repos/mizzy/specinfra/issues{/number}","pulls_url":"https://api.github.com/repos/mizzy/specinfra/pulls{/number}","milestones_url":"https://api.github.com/repos/mizzy/specinfra/milestones{/number}","notifications_url":"https://api.github.com/repos/mizzy/specinfra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mizzy/specinfra/labels{/name}","releases_url":"https://api.github.com/repos/mizzy/specinfra/releases{/id}","deployments_url":"https://api.github.com/repos/mizzy/specinfra/deployments","created_at":"2013-11-27T13:08:43Z","updated_at":"2016-11-23T09:48:57Z","pushed_at":"2016-12-03T08:59:38Z","git_url":"git://github.com/mizzy/specinfra.git","ssh_url":"git@github.com:mizzy/specinfra.git","clone_url":"https://github.com/mizzy/specinfra.git","svn_url":"https://github.com/mizzy/specinfra","homepage":"http://serverspec.org/","size":1569,"stargazers_count":227,"watchers_count":227,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":287,"mirror_url":null,"open_issues_count":8,"forks":287,"open_issues":8,"watchers":227,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mizzy/specinfra/pulls/596"},"html":{"href":"https://github.com/mizzy/specinfra/pull/596"},"issue":{"href":"https://api.github.com/repos/mizzy/specinfra/issues/596"},"comments":{"href":"https://api.github.com/repos/mizzy/specinfra/issues/596/comments"},"review_comments":{"href":"https://api.github.com/repos/mizzy/specinfra/pulls/596/comments"},"review_comment":{"href":"https://api.github.com/repos/mizzy/specinfra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mizzy/specinfra/pulls/596/commits"},"statuses":{"href":"https://api.github.com/repos/mizzy/specinfra/statuses/d68c3c59616ba43fb4b9798666b98c6ec92f8bcc"}}}}
{"actor":{"display_login":"mazgi"}}