{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments/24930539","id":24930539,"diff_hunk":"@@ -72,6 +72,21 @@ class Hiera\n           Config.load('/dev/null')\n         end\n       end\n+\n+      describe \"if deep_merge can't be loaded\" do\n+        let(:error_message) { \"Must have 'deep_merge' gem installed for the configured merge_behavior.\" }\n+        before(:each) do\n+          Config.expects(:require).with(\"deep_merge\").raises(LoadError, \"unable to load\")","path":"spec/unit/config_spec.rb","position":8,"original_position":8,"commit_id":"6a8580665e8a766d5fa01e526b2c3f2a90ad6d09","original_commit_id":"6a8580665e8a766d5fa01e526b2c3f2a90ad6d09","user":{"login":"hlindberg","id":563066,"avatar_url":"https://avatars.githubusercontent.com/u/563066?v=3","gravatar_id":"","url":"https://api.github.com/users/hlindberg","html_url":"https://github.com/hlindberg","followers_url":"https://api.github.com/users/hlindberg/followers","following_url":"https://api.github.com/users/hlindberg/following{/other_user}","gists_url":"https://api.github.com/users/hlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindberg/subscriptions","organizations_url":"https://api.github.com/users/hlindberg/orgs","repos_url":"https://api.github.com/users/hlindberg/repos","events_url":"https://api.github.com/users/hlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindberg/received_events","type":"User","site_admin":false},"body":"see above","created_at":"2015-02-18T19:10:41Z","updated_at":"2015-02-18T19:10:41Z","html_url":"https://github.com/puppetlabs/hiera/pull/247#discussion_r24930539","pull_request_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/247","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments/24930539"},"html":{"href":"https://github.com/puppetlabs/hiera/pull/247#discussion_r24930539"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/247"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/hiera/pulls/247","id":29551189,"html_url":"https://github.com/puppetlabs/hiera/pull/247","diff_url":"https://github.com/puppetlabs/hiera/pull/247.diff","patch_url":"https://github.com/puppetlabs/hiera/pull/247.patch","issue_url":"https://api.github.com/repos/puppetlabs/hiera/issues/247","number":247,"state":"open","locked":false,"title":"(HI-274) Fix using non-existent Hiera#error","user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"body":"Previous commit tried to use Hiera#error, which doesn't exist. Pattern\r\nfor errors is to raise an exception, so changed to raising an exception\r\nif deep_merge is requested but unavailable. Added spec tests.","created_at":"2015-02-18T18:43:53Z","updated_at":"2015-02-18T19:10:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6f0d80232a1ef167740ea7d24a0caf03d2c5037","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/247/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/247/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments/{number}","comments_url":"https://api.github.com/repos/puppetlabs/hiera/issues/247/comments","statuses_url":"https://api.github.com/repos/puppetlabs/hiera/statuses/6a8580665e8a766d5fa01e526b2c3f2a90ad6d09","head":{"label":"MikaelSmith:bug/master/HI-274-fix","ref":"bug/master/HI-274-fix","sha":"6a8580665e8a766d5fa01e526b2c3f2a90ad6d09","user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"repo":{"id":25481034,"name":"hiera","full_name":"MikaelSmith/hiera","owner":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikaelSmith/hiera","description":"Lightweight Pluggable Hierarchical Database","fork":true,"url":"https://api.github.com/repos/MikaelSmith/hiera","forks_url":"https://api.github.com/repos/MikaelSmith/hiera/forks","keys_url":"https://api.github.com/repos/MikaelSmith/hiera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikaelSmith/hiera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikaelSmith/hiera/teams","hooks_url":"https://api.github.com/repos/MikaelSmith/hiera/hooks","issue_events_url":"https://api.github.com/repos/MikaelSmith/hiera/issues/events{/number}","events_url":"https://api.github.com/repos/MikaelSmith/hiera/events","assignees_url":"https://api.github.com/repos/MikaelSmith/hiera/assignees{/user}","branches_url":"https://api.github.com/repos/MikaelSmith/hiera/branches{/branch}","tags_url":"https://api.github.com/repos/MikaelSmith/hiera/tags","blobs_url":"https://api.github.com/repos/MikaelSmith/hiera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikaelSmith/hiera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikaelSmith/hiera/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikaelSmith/hiera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikaelSmith/hiera/statuses/{sha}","languages_url":"https://api.github.com/repos/MikaelSmith/hiera/languages","stargazers_url":"https://api.github.com/repos/MikaelSmith/hiera/stargazers","contributors_url":"https://api.github.com/repos/MikaelSmith/hiera/contributors","subscribers_url":"https://api.github.com/repos/MikaelSmith/hiera/subscribers","subscription_url":"https://api.github.com/repos/MikaelSmith/hiera/subscription","commits_url":"https://api.github.com/repos/MikaelSmith/hiera/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikaelSmith/hiera/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikaelSmith/hiera/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikaelSmith/hiera/issues/comments/{number}","contents_url":"https://api.github.com/repos/MikaelSmith/hiera/contents/{+path}","compare_url":"https://api.github.com/repos/MikaelSmith/hiera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikaelSmith/hiera/merges","archive_url":"https://api.github.com/repos/MikaelSmith/hiera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikaelSmith/hiera/downloads","issues_url":"https://api.github.com/repos/MikaelSmith/hiera/issues{/number}","pulls_url":"https://api.github.com/repos/MikaelSmith/hiera/pulls{/number}","milestones_url":"https://api.github.com/repos/MikaelSmith/hiera/milestones{/number}","notifications_url":"https://api.github.com/repos/MikaelSmith/hiera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikaelSmith/hiera/labels{/name}","releases_url":"https://api.github.com/repos/MikaelSmith/hiera/releases{/id}","created_at":"2014-10-20T18:45:39Z","updated_at":"2015-02-18T18:50:32Z","pushed_at":"2015-02-18T18:50:40Z","git_url":"git://github.com/MikaelSmith/hiera.git","ssh_url":"git@github.com:MikaelSmith/hiera.git","clone_url":"https://github.com/MikaelSmith/hiera.git","svn_url":"https://github.com/MikaelSmith/hiera","homepage":"http://projects.puppetlabs.com/projects/hiera/","size":769,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"puppetlabs:master","ref":"master","sha":"17afe9761a2c97feacccccb58d1d7e88201dbb3d","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1845241,"name":"hiera","full_name":"puppetlabs/hiera","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/hiera","description":"Lightweight Pluggable Hierarchical Database","fork":false,"url":"https://api.github.com/repos/puppetlabs/hiera","forks_url":"https://api.github.com/repos/puppetlabs/hiera/forks","keys_url":"https://api.github.com/repos/puppetlabs/hiera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/hiera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/hiera/teams","hooks_url":"https://api.github.com/repos/puppetlabs/hiera/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/hiera/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/hiera/events","assignees_url":"https://api.github.com/repos/puppetlabs/hiera/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/hiera/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/hiera/tags","blobs_url":"https://api.github.com/repos/puppetlabs/hiera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/hiera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/hiera/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/hiera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/hiera/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/hiera/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/hiera/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/hiera/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/hiera/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/hiera/subscription","commits_url":"https://api.github.com/repos/puppetlabs/hiera/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/hiera/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/hiera/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/hiera/issues/comments/{number}","contents_url":"https://api.github.com/repos/puppetlabs/hiera/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/hiera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/hiera/merges","archive_url":"https://api.github.com/repos/puppetlabs/hiera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/hiera/downloads","issues_url":"https://api.github.com/repos/puppetlabs/hiera/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/hiera/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/hiera/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/hiera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/hiera/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/hiera/releases{/id}","created_at":"2011-06-04T00:48:22Z","updated_at":"2015-02-18T00:03:57Z","pushed_at":"2015-02-18T00:03:57Z","git_url":"git://github.com/puppetlabs/hiera.git","ssh_url":"git@github.com:puppetlabs/hiera.git","clone_url":"https://github.com/puppetlabs/hiera.git","svn_url":"https://github.com/puppetlabs/hiera","homepage":"http://projects.puppetlabs.com/projects/hiera/","size":2010,"stargazers_count":234,"watchers_count":234,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":3,"forks":155,"open_issues":3,"watchers":234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/247"},"html":{"href":"https://github.com/puppetlabs/hiera/pull/247"},"issue":{"href":"https://api.github.com/repos/puppetlabs/hiera/issues/247"},"comments":{"href":"https://api.github.com/repos/puppetlabs/hiera/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/hiera/statuses/6a8580665e8a766d5fa01e526b2c3f2a90ad6d09"}}}}