{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/crayfishx/hiera-http/pulls/32","id":42331223,"html_url":"https://github.com/crayfishx/hiera-http/pull/32","diff_url":"https://github.com/crayfishx/hiera-http/pull/32.diff","patch_url":"https://github.com/crayfishx/hiera-http/pull/32.patch","issue_url":"https://api.github.com/repos/crayfishx/hiera-http/issues/32","number":32,"state":"closed","locked":false,"title":"Support array as value for parsing paths.","user":{"login":"ahmet2mir","id":7580541,"avatar_url":"https://avatars.githubusercontent.com/u/7580541?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmet2mir","html_url":"https://github.com/ahmet2mir","followers_url":"https://api.github.com/users/ahmet2mir/followers","following_url":"https://api.github.com/users/ahmet2mir/following{/other_user}","gists_url":"https://api.github.com/users/ahmet2mir/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmet2mir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmet2mir/subscriptions","organizations_url":"https://api.github.com/users/ahmet2mir/orgs","repos_url":"https://api.github.com/users/ahmet2mir/repos","events_url":"https://api.github.com/users/ahmet2mir/events{/privacy}","received_events_url":"https://api.github.com/users/ahmet2mir/received_events","type":"User","site_admin":false},"body":"Hiera don't support array as value for parse_string.\r\nCheck https://docs.puppetlabs.com/hiera/1/variables.html\\#interpolation-tokens\r\nThis patch add an option to make the difference between string and array paths.\r\nIf it's an array simply create a path with each value in the array.\r\nWe can't get the entire scope but we can check the key.\r\nFor avoiding rewritring regex we add a key to the path.","created_at":"2015-08-13T09:37:22Z","updated_at":"2015-08-17T11:27:26Z","closed_at":"2015-08-17T11:27:26Z","merged_at":"2015-08-17T11:27:26Z","merge_commit_sha":"c35fe6c5c3af1e83f404737299a589710d507371","assignee":null,"milestone":{"url":"https://api.github.com/repos/crayfishx/hiera-http/milestones/3","html_url":"https://github.com/crayfishx/hiera-http/milestones/1.5.0","labels_url":"https://api.github.com/repos/crayfishx/hiera-http/milestones/3/labels","id":1254859,"number":3,"title":"1.5.0","description":null,"creator":{"login":"crayfishx","id":837815,"avatar_url":"https://avatars.githubusercontent.com/u/837815?v=3","gravatar_id":"","url":"https://api.github.com/users/crayfishx","html_url":"https://github.com/crayfishx","followers_url":"https://api.github.com/users/crayfishx/followers","following_url":"https://api.github.com/users/crayfishx/following{/other_user}","gists_url":"https://api.github.com/users/crayfishx/gists{/gist_id}","starred_url":"https://api.github.com/users/crayfishx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crayfishx/subscriptions","organizations_url":"https://api.github.com/users/crayfishx/orgs","repos_url":"https://api.github.com/users/crayfishx/repos","events_url":"https://api.github.com/users/crayfishx/events{/privacy}","received_events_url":"https://api.github.com/users/crayfishx/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-08-14T08:43:37Z","updated_at":"2015-08-17T11:27:26Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/crayfishx/hiera-http/pulls/32/commits","review_comments_url":"https://api.github.com/repos/crayfishx/hiera-http/pulls/32/comments","review_comment_url":"https://api.github.com/repos/crayfishx/hiera-http/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crayfishx/hiera-http/issues/32/comments","statuses_url":"https://api.github.com/repos/crayfishx/hiera-http/statuses/75eb47146bc216ecc4a1001135c6e1b25f1e6eb2","head":{"label":"ahmet2mir:paths_array","ref":"paths_array","sha":"75eb47146bc216ecc4a1001135c6e1b25f1e6eb2","user":{"login":"ahmet2mir","id":7580541,"avatar_url":"https://avatars.githubusercontent.com/u/7580541?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmet2mir","html_url":"https://github.com/ahmet2mir","followers_url":"https://api.github.com/users/ahmet2mir/followers","following_url":"https://api.github.com/users/ahmet2mir/following{/other_user}","gists_url":"https://api.github.com/users/ahmet2mir/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmet2mir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmet2mir/subscriptions","organizations_url":"https://api.github.com/users/ahmet2mir/orgs","repos_url":"https://api.github.com/users/ahmet2mir/repos","events_url":"https://api.github.com/users/ahmet2mir/events{/privacy}","received_events_url":"https://api.github.com/users/ahmet2mir/received_events","type":"User","site_admin":false},"repo":{"id":40648522,"name":"hiera-http","full_name":"ahmet2mir/hiera-http","owner":{"login":"ahmet2mir","id":7580541,"avatar_url":"https://avatars.githubusercontent.com/u/7580541?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmet2mir","html_url":"https://github.com/ahmet2mir","followers_url":"https://api.github.com/users/ahmet2mir/followers","following_url":"https://api.github.com/users/ahmet2mir/following{/other_user}","gists_url":"https://api.github.com/users/ahmet2mir/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmet2mir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmet2mir/subscriptions","organizations_url":"https://api.github.com/users/ahmet2mir/orgs","repos_url":"https://api.github.com/users/ahmet2mir/repos","events_url":"https://api.github.com/users/ahmet2mir/events{/privacy}","received_events_url":"https://api.github.com/users/ahmet2mir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahmet2mir/hiera-http","description":"HTTP backend for Hiera","fork":true,"url":"https://api.github.com/repos/ahmet2mir/hiera-http","forks_url":"https://api.github.com/repos/ahmet2mir/hiera-http/forks","keys_url":"https://api.github.com/repos/ahmet2mir/hiera-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahmet2mir/hiera-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahmet2mir/hiera-http/teams","hooks_url":"https://api.github.com/repos/ahmet2mir/hiera-http/hooks","issue_events_url":"https://api.github.com/repos/ahmet2mir/hiera-http/issues/events{/number}","events_url":"https://api.github.com/repos/ahmet2mir/hiera-http/events","assignees_url":"https://api.github.com/repos/ahmet2mir/hiera-http/assignees{/user}","branches_url":"https://api.github.com/repos/ahmet2mir/hiera-http/branches{/branch}","tags_url":"https://api.github.com/repos/ahmet2mir/hiera-http/tags","blobs_url":"https://api.github.com/repos/ahmet2mir/hiera-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahmet2mir/hiera-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahmet2mir/hiera-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahmet2mir/hiera-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahmet2mir/hiera-http/statuses/{sha}","languages_url":"https://api.github.com/repos/ahmet2mir/hiera-http/languages","stargazers_url":"https://api.github.com/repos/ahmet2mir/hiera-http/stargazers","contributors_url":"https://api.github.com/repos/ahmet2mir/hiera-http/contributors","subscribers_url":"https://api.github.com/repos/ahmet2mir/hiera-http/subscribers","subscription_url":"https://api.github.com/repos/ahmet2mir/hiera-http/subscription","commits_url":"https://api.github.com/repos/ahmet2mir/hiera-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahmet2mir/hiera-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahmet2mir/hiera-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahmet2mir/hiera-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahmet2mir/hiera-http/contents/{+path}","compare_url":"https://api.github.com/repos/ahmet2mir/hiera-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahmet2mir/hiera-http/merges","archive_url":"https://api.github.com/repos/ahmet2mir/hiera-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahmet2mir/hiera-http/downloads","issues_url":"https://api.github.com/repos/ahmet2mir/hiera-http/issues{/number}","pulls_url":"https://api.github.com/repos/ahmet2mir/hiera-http/pulls{/number}","milestones_url":"https://api.github.com/repos/ahmet2mir/hiera-http/milestones{/number}","notifications_url":"https://api.github.com/repos/ahmet2mir/hiera-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahmet2mir/hiera-http/labels{/name}","releases_url":"https://api.github.com/repos/ahmet2mir/hiera-http/releases{/id}","created_at":"2015-08-13T08:48:56Z","updated_at":"2015-08-13T08:48:56Z","pushed_at":"2015-08-13T09:36:53Z","git_url":"git://github.com/ahmet2mir/hiera-http.git","ssh_url":"git@github.com:ahmet2mir/hiera-http.git","clone_url":"https://github.com/ahmet2mir/hiera-http.git","svn_url":"https://github.com/ahmet2mir/hiera-http","homepage":null,"size":141,"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":"crayfishx:master","ref":"master","sha":"a25ce54df8f6ef9d7b8468c051c194c8cb5a5920","user":{"login":"crayfishx","id":837815,"avatar_url":"https://avatars.githubusercontent.com/u/837815?v=3","gravatar_id":"","url":"https://api.github.com/users/crayfishx","html_url":"https://github.com/crayfishx","followers_url":"https://api.github.com/users/crayfishx/followers","following_url":"https://api.github.com/users/crayfishx/following{/other_user}","gists_url":"https://api.github.com/users/crayfishx/gists{/gist_id}","starred_url":"https://api.github.com/users/crayfishx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crayfishx/subscriptions","organizations_url":"https://api.github.com/users/crayfishx/orgs","repos_url":"https://api.github.com/users/crayfishx/repos","events_url":"https://api.github.com/users/crayfishx/events{/privacy}","received_events_url":"https://api.github.com/users/crayfishx/received_events","type":"User","site_admin":false},"repo":{"id":6796445,"name":"hiera-http","full_name":"crayfishx/hiera-http","owner":{"login":"crayfishx","id":837815,"avatar_url":"https://avatars.githubusercontent.com/u/837815?v=3","gravatar_id":"","url":"https://api.github.com/users/crayfishx","html_url":"https://github.com/crayfishx","followers_url":"https://api.github.com/users/crayfishx/followers","following_url":"https://api.github.com/users/crayfishx/following{/other_user}","gists_url":"https://api.github.com/users/crayfishx/gists{/gist_id}","starred_url":"https://api.github.com/users/crayfishx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crayfishx/subscriptions","organizations_url":"https://api.github.com/users/crayfishx/orgs","repos_url":"https://api.github.com/users/crayfishx/repos","events_url":"https://api.github.com/users/crayfishx/events{/privacy}","received_events_url":"https://api.github.com/users/crayfishx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crayfishx/hiera-http","description":"HTTP backend for Hiera","fork":false,"url":"https://api.github.com/repos/crayfishx/hiera-http","forks_url":"https://api.github.com/repos/crayfishx/hiera-http/forks","keys_url":"https://api.github.com/repos/crayfishx/hiera-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crayfishx/hiera-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crayfishx/hiera-http/teams","hooks_url":"https://api.github.com/repos/crayfishx/hiera-http/hooks","issue_events_url":"https://api.github.com/repos/crayfishx/hiera-http/issues/events{/number}","events_url":"https://api.github.com/repos/crayfishx/hiera-http/events","assignees_url":"https://api.github.com/repos/crayfishx/hiera-http/assignees{/user}","branches_url":"https://api.github.com/repos/crayfishx/hiera-http/branches{/branch}","tags_url":"https://api.github.com/repos/crayfishx/hiera-http/tags","blobs_url":"https://api.github.com/repos/crayfishx/hiera-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crayfishx/hiera-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crayfishx/hiera-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/crayfishx/hiera-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crayfishx/hiera-http/statuses/{sha}","languages_url":"https://api.github.com/repos/crayfishx/hiera-http/languages","stargazers_url":"https://api.github.com/repos/crayfishx/hiera-http/stargazers","contributors_url":"https://api.github.com/repos/crayfishx/hiera-http/contributors","subscribers_url":"https://api.github.com/repos/crayfishx/hiera-http/subscribers","subscription_url":"https://api.github.com/repos/crayfishx/hiera-http/subscription","commits_url":"https://api.github.com/repos/crayfishx/hiera-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/crayfishx/hiera-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/crayfishx/hiera-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/crayfishx/hiera-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/crayfishx/hiera-http/contents/{+path}","compare_url":"https://api.github.com/repos/crayfishx/hiera-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crayfishx/hiera-http/merges","archive_url":"https://api.github.com/repos/crayfishx/hiera-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crayfishx/hiera-http/downloads","issues_url":"https://api.github.com/repos/crayfishx/hiera-http/issues{/number}","pulls_url":"https://api.github.com/repos/crayfishx/hiera-http/pulls{/number}","milestones_url":"https://api.github.com/repos/crayfishx/hiera-http/milestones{/number}","notifications_url":"https://api.github.com/repos/crayfishx/hiera-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crayfishx/hiera-http/labels{/name}","releases_url":"https://api.github.com/repos/crayfishx/hiera-http/releases{/id}","created_at":"2012-11-21T13:54:52Z","updated_at":"2015-08-13T10:56:16Z","pushed_at":"2015-08-17T11:27:26Z","git_url":"git://github.com/crayfishx/hiera-http.git","ssh_url":"git@github.com:crayfishx/hiera-http.git","clone_url":"https://github.com/crayfishx/hiera-http.git","svn_url":"https://github.com/crayfishx/hiera-http","homepage":null,"size":408,"stargazers_count":53,"watchers_count":53,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":9,"forks":37,"open_issues":9,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crayfishx/hiera-http/pulls/32"},"html":{"href":"https://github.com/crayfishx/hiera-http/pull/32"},"issue":{"href":"https://api.github.com/repos/crayfishx/hiera-http/issues/32"},"comments":{"href":"https://api.github.com/repos/crayfishx/hiera-http/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/crayfishx/hiera-http/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/crayfishx/hiera-http/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crayfishx/hiera-http/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/crayfishx/hiera-http/statuses/75eb47146bc216ecc4a1001135c6e1b25f1e6eb2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"crayfishx","id":837815,"avatar_url":"https://avatars.githubusercontent.com/u/837815?v=3","gravatar_id":"","url":"https://api.github.com/users/crayfishx","html_url":"https://github.com/crayfishx","followers_url":"https://api.github.com/users/crayfishx/followers","following_url":"https://api.github.com/users/crayfishx/following{/other_user}","gists_url":"https://api.github.com/users/crayfishx/gists{/gist_id}","starred_url":"https://api.github.com/users/crayfishx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crayfishx/subscriptions","organizations_url":"https://api.github.com/users/crayfishx/orgs","repos_url":"https://api.github.com/users/crayfishx/repos","events_url":"https://api.github.com/users/crayfishx/events{/privacy}","received_events_url":"https://api.github.com/users/crayfishx/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":37,"deletions":4,"changed_files":2}}