{"action":"created","comment":{"url":"https://api.github.com/repos/heroku/configerator/pulls/comments/74540092","id":74540092,"diff_hunk":"@@ -64,8 +76,13 @@ def cast(value, method)\n   end\n \n   def create(name, value, error_on_load=true)\n-    instance_variable_set(:\"@#{name}\", value)\n+    name = \"#{@prefix}#{name}\"\n+    var_name = :\"@#{name}\"\n+    instance_variable_set(var_name, value)\n     instance_eval \"def #{name}; @#{name} || (raise \\\"key not set '#{name}'\\\" unless #{error_on_load}) end\"\n     instance_eval \"def #{name}?; !!@#{name} end\", __FILE__, __LINE__\n+\n+    @processed ||= []\n+    @processed << var_name","path":"lib/configerator/configerator.rb","position":null,"original_position":38,"commit_id":"2f6a2637ddb8cb52ce72fdc189f72fb5c33c81be","original_commit_id":"c45d8c89fbe7bfece7c59be16bdcf60e0364fcef","user":{"login":"jmervine","id":837893,"avatar_url":"https://avatars.githubusercontent.com/u/837893?v=3","gravatar_id":"","url":"https://api.github.com/users/jmervine","html_url":"https://github.com/jmervine","followers_url":"https://api.github.com/users/jmervine/followers","following_url":"https://api.github.com/users/jmervine/following{/other_user}","gists_url":"https://api.github.com/users/jmervine/gists{/gist_id}","starred_url":"https://api.github.com/users/jmervine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmervine/subscriptions","organizations_url":"https://api.github.com/users/jmervine/orgs","repos_url":"https://api.github.com/users/jmervine/repos","events_url":"https://api.github.com/users/jmervine/events{/privacy}","received_events_url":"https://api.github.com/users/jmervine/received_events","type":"User","site_admin":false},"body":"@reidmix I think I've addressed everything now. Give me a 👍 and I'll merge and release.","created_at":"2016-08-12T04:23:40Z","updated_at":"2016-08-12T04:23:40Z","html_url":"https://github.com/heroku/configerator/pull/5#discussion_r74540092","pull_request_url":"https://api.github.com/repos/heroku/configerator/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/heroku/configerator/pulls/comments/74540092"},"html":{"href":"https://github.com/heroku/configerator/pull/5#discussion_r74540092"},"pull_request":{"href":"https://api.github.com/repos/heroku/configerator/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/heroku/configerator/pulls/5","id":80855862,"html_url":"https://github.com/heroku/configerator/pull/5","diff_url":"https://github.com/heroku/configerator/pull/5.diff","patch_url":"https://github.com/heroku/configerator/pull/5.patch","issue_url":"https://api.github.com/repos/heroku/configerator/issues/5","number":5,"state":"open","locked":false,"title":"grouping","user":{"login":"jmervine","id":837893,"avatar_url":"https://avatars.githubusercontent.com/u/837893?v=3","gravatar_id":"","url":"https://api.github.com/users/jmervine","html_url":"https://github.com/jmervine","followers_url":"https://api.github.com/users/jmervine/followers","following_url":"https://api.github.com/users/jmervine/following{/other_user}","gists_url":"https://api.github.com/users/jmervine/gists{/gist_id}","starred_url":"https://api.github.com/users/jmervine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmervine/subscriptions","organizations_url":"https://api.github.com/users/jmervine/orgs","repos_url":"https://api.github.com/users/jmervine/repos","events_url":"https://api.github.com/users/jmervine/events{/privacy}","received_events_url":"https://api.github.com/users/jmervine/received_events","type":"User","site_admin":false},"body":"Addressing issue #4 \r\n\r\nMaking `group` a casting proved to be unnecessary and far more difficult. Here we're simply checking to see if it's a hash and grouping if it is...\r\n\r\n```\r\noptional group_name: [ :grouped_key1, :grouped_key2 ]\r\n```\r\n\r\ncc @reidmix @joshuatobin ","created_at":"2016-08-10T19:49:22Z","updated_at":"2016-08-12T04:23:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee6bcc6c9740d2d429367d8250f782fc1b98f4ee","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/heroku/configerator/pulls/5/commits","review_comments_url":"https://api.github.com/repos/heroku/configerator/pulls/5/comments","review_comment_url":"https://api.github.com/repos/heroku/configerator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heroku/configerator/issues/5/comments","statuses_url":"https://api.github.com/repos/heroku/configerator/statuses/2f6a2637ddb8cb52ce72fdc189f72fb5c33c81be","head":{"label":"heroku:jmervine-grouping","ref":"jmervine-grouping","sha":"2f6a2637ddb8cb52ce72fdc189f72fb5c33c81be","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":64961127,"name":"configerator","full_name":"heroku/configerator","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/configerator","description":"Simple Ruby module for implementing environment based configuration, following the 12factor pattern.","fork":false,"url":"https://api.github.com/repos/heroku/configerator","forks_url":"https://api.github.com/repos/heroku/configerator/forks","keys_url":"https://api.github.com/repos/heroku/configerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/configerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/configerator/teams","hooks_url":"https://api.github.com/repos/heroku/configerator/hooks","issue_events_url":"https://api.github.com/repos/heroku/configerator/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/configerator/events","assignees_url":"https://api.github.com/repos/heroku/configerator/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/configerator/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/configerator/tags","blobs_url":"https://api.github.com/repos/heroku/configerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/configerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/configerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/configerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/configerator/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/configerator/languages","stargazers_url":"https://api.github.com/repos/heroku/configerator/stargazers","contributors_url":"https://api.github.com/repos/heroku/configerator/contributors","subscribers_url":"https://api.github.com/repos/heroku/configerator/subscribers","subscription_url":"https://api.github.com/repos/heroku/configerator/subscription","commits_url":"https://api.github.com/repos/heroku/configerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/configerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/configerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/configerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/configerator/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/configerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/configerator/merges","archive_url":"https://api.github.com/repos/heroku/configerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/configerator/downloads","issues_url":"https://api.github.com/repos/heroku/configerator/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/configerator/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/configerator/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/configerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/configerator/labels{/name}","releases_url":"https://api.github.com/repos/heroku/configerator/releases{/id}","deployments_url":"https://api.github.com/repos/heroku/configerator/deployments","created_at":"2016-08-04T19:20:36Z","updated_at":"2016-08-08T23:25:52Z","pushed_at":"2016-08-12T04:22:26Z","git_url":"git://github.com/heroku/configerator.git","ssh_url":"git@github.com:heroku/configerator.git","clone_url":"https://github.com/heroku/configerator.git","svn_url":"https://github.com/heroku/configerator","homepage":"https://rubygems.org/gems/configerator","size":28,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"heroku:master","ref":"master","sha":"7b7c8af7044e4c069f5460fe544c8fa8e54f534f","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":64961127,"name":"configerator","full_name":"heroku/configerator","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/configerator","description":"Simple Ruby module for implementing environment based configuration, following the 12factor pattern.","fork":false,"url":"https://api.github.com/repos/heroku/configerator","forks_url":"https://api.github.com/repos/heroku/configerator/forks","keys_url":"https://api.github.com/repos/heroku/configerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/configerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/configerator/teams","hooks_url":"https://api.github.com/repos/heroku/configerator/hooks","issue_events_url":"https://api.github.com/repos/heroku/configerator/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/configerator/events","assignees_url":"https://api.github.com/repos/heroku/configerator/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/configerator/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/configerator/tags","blobs_url":"https://api.github.com/repos/heroku/configerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/configerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/configerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/configerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/configerator/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/configerator/languages","stargazers_url":"https://api.github.com/repos/heroku/configerator/stargazers","contributors_url":"https://api.github.com/repos/heroku/configerator/contributors","subscribers_url":"https://api.github.com/repos/heroku/configerator/subscribers","subscription_url":"https://api.github.com/repos/heroku/configerator/subscription","commits_url":"https://api.github.com/repos/heroku/configerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/configerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/configerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/configerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/configerator/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/configerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/configerator/merges","archive_url":"https://api.github.com/repos/heroku/configerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/configerator/downloads","issues_url":"https://api.github.com/repos/heroku/configerator/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/configerator/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/configerator/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/configerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/configerator/labels{/name}","releases_url":"https://api.github.com/repos/heroku/configerator/releases{/id}","deployments_url":"https://api.github.com/repos/heroku/configerator/deployments","created_at":"2016-08-04T19:20:36Z","updated_at":"2016-08-08T23:25:52Z","pushed_at":"2016-08-12T04:22:26Z","git_url":"git://github.com/heroku/configerator.git","ssh_url":"git@github.com:heroku/configerator.git","clone_url":"https://github.com/heroku/configerator.git","svn_url":"https://github.com/heroku/configerator","homepage":"https://rubygems.org/gems/configerator","size":28,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heroku/configerator/pulls/5"},"html":{"href":"https://github.com/heroku/configerator/pull/5"},"issue":{"href":"https://api.github.com/repos/heroku/configerator/issues/5"},"comments":{"href":"https://api.github.com/repos/heroku/configerator/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/heroku/configerator/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/heroku/configerator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heroku/configerator/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/heroku/configerator/statuses/2f6a2637ddb8cb52ce72fdc189f72fb5c33c81be"}}}}
{"actor":{"display_login":"jmervine"}}