{"pull_request":{"state":"open","merged_by":null,"deletions":1,"user":{"avatar_url":"https://secure.gravatar.com/avatar/6094658f2aaf855ab9f330a08e12cf93?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6094658f2aaf855ab9f330a08e12cf93","url":"https://api.github.com/users/masterzen","login":"masterzen","id":20242},"updated_at":"2011-11-12T15:11:53Z","commits":1,"base":{"ref":"2.7.x","user":{"avatar_url":"https://secure.gravatar.com/avatar/eb454c2139c156db7c8266a875519a1f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"eb454c2139c156db7c8266a875519a1f","url":"https://api.github.com/users/puppetlabs","login":"puppetlabs","id":234268},"repo":{"name":"puppet","pushed_at":"2011-11-11T23:04:25Z","fork":false,"master_branch":null,"updated_at":"2011-11-12T00:57:19Z","open_issues":67,"homepage":"http://www.puppetlabs.com/puppet/introduction/","clone_url":"https://github.com/puppetlabs/puppet.git","private":false,"language":"Ruby","svn_url":"https://svn.github.com/puppetlabs/puppet","forks":211,"url":"https://api.github.com/repos/puppetlabs/puppet","owner":{"avatar_url":"https://secure.gravatar.com/avatar/eb454c2139c156db7c8266a875519a1f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"eb454c2139c156db7c8266a875519a1f","url":"https://api.github.com/users/puppetlabs","login":"puppetlabs","id":234268},"html_url":"https://github.com/puppetlabs/puppet","description":"Server automation framework and application","size":3976,"id":910744,"git_url":"git://github.com/puppetlabs/puppet.git","watchers":466,"created_at":"2010-09-14T19:26:44Z","ssh_url":"git@github.com:puppetlabs/puppet.git"},"label":"puppetlabs:2.7.x","sha":"ad16096f97a546b8a12ed1f5230d2f78de6a0064"},"comments":0,"diff_url":"https://github.com/puppetlabs/puppet/pull/211.diff","closed_at":null,"head":{"ref":"tickets/2.7.x/6412","user":{"avatar_url":"https://secure.gravatar.com/avatar/6094658f2aaf855ab9f330a08e12cf93?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6094658f2aaf855ab9f330a08e12cf93","url":"https://api.github.com/users/masterzen","login":"masterzen","id":20242},"repo":{"name":"puppet","pushed_at":"2011-11-12T15:09:02Z","fork":true,"master_branch":null,"updated_at":"2011-11-12T15:09:06Z","open_issues":0,"homepage":"http://www.puppetlabs.com/puppet/introduction/","clone_url":"https://github.com/masterzen/puppet.git","private":false,"language":"Ruby","svn_url":"https://svn.github.com/masterzen/puppet","forks":0,"url":"https://api.github.com/repos/masterzen/puppet","owner":{"avatar_url":"https://secure.gravatar.com/avatar/6094658f2aaf855ab9f330a08e12cf93?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6094658f2aaf855ab9f330a08e12cf93","url":"https://api.github.com/users/masterzen","login":"masterzen","id":20242},"html_url":"https://github.com/masterzen/puppet","description":"Server automation framework and application","size":188,"id":2387436,"git_url":"git://github.com/masterzen/puppet.git","watchers":1,"created_at":"2011-09-14T18:40:35Z","ssh_url":"git@github.com:masterzen/puppet.git"},"label":"masterzen:tickets/2.7.x/6412","sha":"ff8f0eaedfee10092d6d07d884f8b7e398caa60f"},"additions":17,"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/211","merged":false,"body":"The truethiness test done in P::P::Scope.true? doesn't handle nil\r\nvalues, because it is not valid as result of a puppet expression.\r\n\r\nUnfortunately ruby hash['invalid'] or array[inexistant_index] returns\r\nnil which then was considered as true in an if expression.\r\nThis patch makes sure :undef is returned in those cases.\r\n","merged_at":null,"html_url":"https://github.com/puppetlabs/puppet/pull/211","_links":{"comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/211/comments"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/211"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/211/comments"},"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/211"}},"issue_url":"https://github.com/puppetlabs/puppet/issues/211","review_comments":0,"title":"(#6412) - hash/array access of inexistant value should be false","number":211,"mergeable":null,"id":488793,"changed_files":2,"patch_url":"https://github.com/puppetlabs/puppet/pull/211.patch","created_at":"2011-11-12T15:11:53Z"},"action":"opened","number":211}