{"action":"reopened","number":1329,"pull_request":{"url":"https://api.github.com/repos/chef/inspec/pulls/1329","id":95551628,"html_url":"https://github.com/chef/inspec/pull/1329","diff_url":"https://github.com/chef/inspec/pull/1329.diff","patch_url":"https://github.com/chef/inspec/pull/1329.patch","issue_url":"https://api.github.com/repos/chef/inspec/issues/1329","number":1329,"state":"open","locked":false,"title":"Show process name during inspec output","user":{"login":"jcastillocano","id":185361,"avatar_url":"https://avatars.githubusercontent.com/u/185361?v=3","gravatar_id":"","url":"https://api.github.com/users/jcastillocano","html_url":"https://github.com/jcastillocano","followers_url":"https://api.github.com/users/jcastillocano/followers","following_url":"https://api.github.com/users/jcastillocano/following{/other_user}","gists_url":"https://api.github.com/users/jcastillocano/gists{/gist_id}","starred_url":"https://api.github.com/users/jcastillocano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcastillocano/subscriptions","organizations_url":"https://api.github.com/users/jcastillocano/orgs","repos_url":"https://api.github.com/users/jcastillocano/repos","events_url":"https://api.github.com/users/jcastillocano/events{/privacy}","received_events_url":"https://api.github.com/users/jcastillocano/received_events","type":"User","site_admin":false},"body":"Testing a _process_ resource I got this output:\r\n\r\n```\r\n  Processes list.length\r\n     ✔  should eq 1\r\n```\r\n\r\nwhen I expected something like _Processes mysqld_. Using _grep_ variable to verify the output:\r\n\r\n```\r\n  Processes mysqld\r\n     ✔  users should cmp == \"mysql\"\r\n```\r\n\r\nor, when we use RegExp:\r\n\r\n```\r\n  Processes /mysqld_safe/\r\n     ✔  users should cmp == \"root\"\r\n```\r\n\r\nI also added some unit tests to verify this behavior.","created_at":"2016-11-28T18:25:21Z","updated_at":"2016-11-29T11:01:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c14746aeb432ed888d67a1e80a00d4e4248b479a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef/inspec/pulls/1329/commits","review_comments_url":"https://api.github.com/repos/chef/inspec/pulls/1329/comments","review_comment_url":"https://api.github.com/repos/chef/inspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/inspec/issues/1329/comments","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/58ef61f1f4a498ed4d31a059899b3b2d7c70dca8","head":{"label":"jcastillocano:master","ref":"master","sha":"58ef61f1f4a498ed4d31a059899b3b2d7c70dca8","user":{"login":"jcastillocano","id":185361,"avatar_url":"https://avatars.githubusercontent.com/u/185361?v=3","gravatar_id":"","url":"https://api.github.com/users/jcastillocano","html_url":"https://github.com/jcastillocano","followers_url":"https://api.github.com/users/jcastillocano/followers","following_url":"https://api.github.com/users/jcastillocano/following{/other_user}","gists_url":"https://api.github.com/users/jcastillocano/gists{/gist_id}","starred_url":"https://api.github.com/users/jcastillocano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcastillocano/subscriptions","organizations_url":"https://api.github.com/users/jcastillocano/orgs","repos_url":"https://api.github.com/users/jcastillocano/repos","events_url":"https://api.github.com/users/jcastillocano/events{/privacy}","received_events_url":"https://api.github.com/users/jcastillocano/received_events","type":"User","site_admin":false},"repo":{"id":74994301,"name":"inspec","full_name":"jcastillocano/inspec","owner":{"login":"jcastillocano","id":185361,"avatar_url":"https://avatars.githubusercontent.com/u/185361?v=3","gravatar_id":"","url":"https://api.github.com/users/jcastillocano","html_url":"https://github.com/jcastillocano","followers_url":"https://api.github.com/users/jcastillocano/followers","following_url":"https://api.github.com/users/jcastillocano/following{/other_user}","gists_url":"https://api.github.com/users/jcastillocano/gists{/gist_id}","starred_url":"https://api.github.com/users/jcastillocano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcastillocano/subscriptions","organizations_url":"https://api.github.com/users/jcastillocano/orgs","repos_url":"https://api.github.com/users/jcastillocano/repos","events_url":"https://api.github.com/users/jcastillocano/events{/privacy}","received_events_url":"https://api.github.com/users/jcastillocano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcastillocano/inspec","description":"InSpec: Auditing and Testing Framework","fork":true,"url":"https://api.github.com/repos/jcastillocano/inspec","forks_url":"https://api.github.com/repos/jcastillocano/inspec/forks","keys_url":"https://api.github.com/repos/jcastillocano/inspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcastillocano/inspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcastillocano/inspec/teams","hooks_url":"https://api.github.com/repos/jcastillocano/inspec/hooks","issue_events_url":"https://api.github.com/repos/jcastillocano/inspec/issues/events{/number}","events_url":"https://api.github.com/repos/jcastillocano/inspec/events","assignees_url":"https://api.github.com/repos/jcastillocano/inspec/assignees{/user}","branches_url":"https://api.github.com/repos/jcastillocano/inspec/branches{/branch}","tags_url":"https://api.github.com/repos/jcastillocano/inspec/tags","blobs_url":"https://api.github.com/repos/jcastillocano/inspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcastillocano/inspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcastillocano/inspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcastillocano/inspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcastillocano/inspec/statuses/{sha}","languages_url":"https://api.github.com/repos/jcastillocano/inspec/languages","stargazers_url":"https://api.github.com/repos/jcastillocano/inspec/stargazers","contributors_url":"https://api.github.com/repos/jcastillocano/inspec/contributors","subscribers_url":"https://api.github.com/repos/jcastillocano/inspec/subscribers","subscription_url":"https://api.github.com/repos/jcastillocano/inspec/subscription","commits_url":"https://api.github.com/repos/jcastillocano/inspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcastillocano/inspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcastillocano/inspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcastillocano/inspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcastillocano/inspec/contents/{+path}","compare_url":"https://api.github.com/repos/jcastillocano/inspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcastillocano/inspec/merges","archive_url":"https://api.github.com/repos/jcastillocano/inspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcastillocano/inspec/downloads","issues_url":"https://api.github.com/repos/jcastillocano/inspec/issues{/number}","pulls_url":"https://api.github.com/repos/jcastillocano/inspec/pulls{/number}","milestones_url":"https://api.github.com/repos/jcastillocano/inspec/milestones{/number}","notifications_url":"https://api.github.com/repos/jcastillocano/inspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcastillocano/inspec/labels{/name}","releases_url":"https://api.github.com/repos/jcastillocano/inspec/releases{/id}","deployments_url":"https://api.github.com/repos/jcastillocano/inspec/deployments","created_at":"2016-11-28T16:56:07Z","updated_at":"2016-11-28T16:56:10Z","pushed_at":"2016-11-29T11:01:16Z","git_url":"git://github.com/jcastillocano/inspec.git","ssh_url":"git@github.com:jcastillocano/inspec.git","clone_url":"https://github.com/jcastillocano/inspec.git","svn_url":"https://github.com/jcastillocano/inspec","homepage":"http://inspec.io","size":7164,"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":"chef:master","ref":"master","sha":"1cd2519d909e9d5498e9ee751f2b45eda6a893a9","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":41571541,"name":"inspec","full_name":"chef/inspec","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/inspec","description":"InSpec: Auditing and Testing Framework","fork":false,"url":"https://api.github.com/repos/chef/inspec","forks_url":"https://api.github.com/repos/chef/inspec/forks","keys_url":"https://api.github.com/repos/chef/inspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/inspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/inspec/teams","hooks_url":"https://api.github.com/repos/chef/inspec/hooks","issue_events_url":"https://api.github.com/repos/chef/inspec/issues/events{/number}","events_url":"https://api.github.com/repos/chef/inspec/events","assignees_url":"https://api.github.com/repos/chef/inspec/assignees{/user}","branches_url":"https://api.github.com/repos/chef/inspec/branches{/branch}","tags_url":"https://api.github.com/repos/chef/inspec/tags","blobs_url":"https://api.github.com/repos/chef/inspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/inspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/inspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/inspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/inspec/languages","stargazers_url":"https://api.github.com/repos/chef/inspec/stargazers","contributors_url":"https://api.github.com/repos/chef/inspec/contributors","subscribers_url":"https://api.github.com/repos/chef/inspec/subscribers","subscription_url":"https://api.github.com/repos/chef/inspec/subscription","commits_url":"https://api.github.com/repos/chef/inspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/inspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/inspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/inspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/inspec/contents/{+path}","compare_url":"https://api.github.com/repos/chef/inspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/inspec/merges","archive_url":"https://api.github.com/repos/chef/inspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/inspec/downloads","issues_url":"https://api.github.com/repos/chef/inspec/issues{/number}","pulls_url":"https://api.github.com/repos/chef/inspec/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/inspec/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/inspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/inspec/labels{/name}","releases_url":"https://api.github.com/repos/chef/inspec/releases{/id}","deployments_url":"https://api.github.com/repos/chef/inspec/deployments","created_at":"2015-08-28T22:16:01Z","updated_at":"2016-11-28T20:55:06Z","pushed_at":"2016-11-29T11:01:23Z","git_url":"git://github.com/chef/inspec.git","ssh_url":"git@github.com:chef/inspec.git","clone_url":"https://github.com/chef/inspec.git","svn_url":"https://github.com/chef/inspec","homepage":"http://inspec.io","size":7385,"stargazers_count":490,"watchers_count":490,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":107,"mirror_url":null,"open_issues_count":213,"forks":107,"open_issues":213,"watchers":490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/inspec/pulls/1329"},"html":{"href":"https://github.com/chef/inspec/pull/1329"},"issue":{"href":"https://api.github.com/repos/chef/inspec/issues/1329"},"comments":{"href":"https://api.github.com/repos/chef/inspec/issues/1329/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/inspec/pulls/1329/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/inspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/inspec/pulls/1329/commits"},"statuses":{"href":"https://api.github.com/repos/chef/inspec/statuses/58ef61f1f4a498ed4d31a059899b3b2d7c70dca8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":13,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"jcastillocano"}}