{"action":"created","issue":{"url":"https://api.github.com/repos/chef/inspec/issues/1243","repository_url":"https://api.github.com/repos/chef/inspec","labels_url":"https://api.github.com/repos/chef/inspec/issues/1243/labels{/name}","comments_url":"https://api.github.com/repos/chef/inspec/issues/1243/comments","events_url":"https://api.github.com/repos/chef/inspec/issues/1243/events","html_url":"https://github.com/chef/inspec/pull/1243","id":185138152,"number":1243,"title":"Fix issue with registry_key example","user":{"login":"seththoenen","id":524558,"avatar_url":"https://avatars.githubusercontent.com/u/524558?v=3","gravatar_id":"","url":"https://api.github.com/users/seththoenen","html_url":"https://github.com/seththoenen","followers_url":"https://api.github.com/users/seththoenen/followers","following_url":"https://api.github.com/users/seththoenen/following{/other_user}","gists_url":"https://api.github.com/users/seththoenen/gists{/gist_id}","starred_url":"https://api.github.com/users/seththoenen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seththoenen/subscriptions","organizations_url":"https://api.github.com/users/seththoenen/orgs","repos_url":"https://api.github.com/users/seththoenen/repos","events_url":"https://api.github.com/users/seththoenen/events{/privacy}","received_events_url":"https://api.github.com/users/seththoenen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-25T14:42:17Z","updated_at":"2016-10-25T15:51:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/inspec/pulls/1243","html_url":"https://github.com/chef/inspec/pull/1243","diff_url":"https://github.com/chef/inspec/pull/1243.diff","patch_url":"https://github.com/chef/inspec/pull/1243.patch"},"body":"There are two issues with this `registry_key` resource example.\r\n\r\n1) The hive in the example isn't wrapped in single-quotes. Ruby attempts to evaluate this as an object when it needs to be string data. Surrounding `HKEY_USERS` with single-quotes resolves this issue.\r\n\r\n2) The `.each` method expects the beginning of the provided array to be on the same line. Moving `{ |key|` to directly follow `.each` allows the method to properly execute."},"comment":{"url":"https://api.github.com/repos/chef/inspec/issues/comments/256076469","html_url":"https://github.com/chef/inspec/pull/1243#issuecomment-256076469","issue_url":"https://api.github.com/repos/chef/inspec/issues/1243","id":256076469,"user":{"login":"seththoenen","id":524558,"avatar_url":"https://avatars.githubusercontent.com/u/524558?v=3","gravatar_id":"","url":"https://api.github.com/users/seththoenen","html_url":"https://github.com/seththoenen","followers_url":"https://api.github.com/users/seththoenen/followers","following_url":"https://api.github.com/users/seththoenen/following{/other_user}","gists_url":"https://api.github.com/users/seththoenen/gists{/gist_id}","starred_url":"https://api.github.com/users/seththoenen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seththoenen/subscriptions","organizations_url":"https://api.github.com/users/seththoenen/orgs","repos_url":"https://api.github.com/users/seththoenen/repos","events_url":"https://api.github.com/users/seththoenen/events{/privacy}","received_events_url":"https://api.github.com/users/seththoenen/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T15:51:34Z","updated_at":"2016-10-25T15:51:34Z","body":"@chris-rock, I've signed-off on this commit. Please let me know if you need anything else from me.\r\n\r\nI would be most honored if you would like to add the InSpec tutorials to the official tutorials page. Right now they are designed for people who don't have any experience with InSpec and are using Windows. I'm planning to expand these to more advanced InSpec topics in the future.\r\n\r\nThanks!\r\n\r\nSeth"}}
{"actor":{"display_login":"seththoenen"}}