{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-rfc/issues/146","labels_url":"https://api.github.com/repos/chef/chef-rfc/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-rfc/issues/146/comments","events_url":"https://api.github.com/repos/chef/chef-rfc/issues/146/events","html_url":"https://github.com/chef/chef-rfc/pull/146","id":100414083,"number":146,"title":"Plugin configuration getter DSL.","user":{"login":"mcquin","id":4721755,"avatar_url":"https://avatars.githubusercontent.com/u/4721755?v=3","gravatar_id":"","url":"https://api.github.com/users/mcquin","html_url":"https://github.com/mcquin","followers_url":"https://api.github.com/users/mcquin/followers","following_url":"https://api.github.com/users/mcquin/following{/other_user}","gists_url":"https://api.github.com/users/mcquin/gists{/gist_id}","starred_url":"https://api.github.com/users/mcquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcquin/subscriptions","organizations_url":"https://api.github.com/users/mcquin/orgs","repos_url":"https://api.github.com/users/mcquin/repos","events_url":"https://api.github.com/users/mcquin/events{/privacy}","received_events_url":"https://api.github.com/users/mcquin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-08-11T21:14:57Z","updated_at":"2015-08-13T16:24:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef-rfc/pulls/146","html_url":"https://github.com/chef/chef-rfc/pull/146","diff_url":"https://github.com/chef/chef-rfc/pull/146.diff","patch_url":"https://github.com/chef/chef-rfc/pull/146.patch"},"body":"Add a new DSL method for accessing plugin configuration settings. Since plugins can be configured in two different ways (as an explicit Hash or an underscore-deliminated Symbol), having one DSL method for accessing plugin configuration will simplify how plugin authors author plugins.\r\n\r\n\\cc @coderanger @lamont-granquist @danielsdeleo @jkeiser @btm "},"comment":{"url":"https://api.github.com/repos/chef/chef-rfc/issues/comments/130750088","html_url":"https://github.com/chef/chef-rfc/pull/146#issuecomment-130750088","issue_url":"https://api.github.com/repos/chef/chef-rfc/issues/146","id":130750088,"user":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T16:24:01Z","updated_at":"2015-08-13T16:24:01Z","body":"I don't think the original text intended for the two methods to be equivalent.  It was simply steering plugin authors away from using hashes with a style guide recommendation, and then recommended that if plugin authors did use hashes that users should assign the hash -- all due to there being no autoviv.\r\n\r\nSimpler solution to this would be to just add a method that took a single arg:  `configuration(:id_cpu)` which steered plugin authors toward using a single setting.  "}}