{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3029","labels_url":"https://api.github.com/repos/chef/chef/issues/3029/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3029/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3029/events","html_url":"https://github.com/chef/chef/pull/3029","id":59909373,"number":3029,"title":"chef_gem_compile_time's nil is the same as true","user":{"login":"cl-lab-k","id":2100862,"avatar_url":"https://avatars.githubusercontent.com/u/2100862?v=3","gravatar_id":"","url":"https://api.github.com/users/cl-lab-k","html_url":"https://github.com/cl-lab-k","followers_url":"https://api.github.com/users/cl-lab-k/followers","following_url":"https://api.github.com/users/cl-lab-k/following{/other_user}","gists_url":"https://api.github.com/users/cl-lab-k/gists{/gist_id}","starred_url":"https://api.github.com/users/cl-lab-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cl-lab-k/subscriptions","organizations_url":"https://api.github.com/users/cl-lab-k/orgs","repos_url":"https://api.github.com/users/cl-lab-k/repos","events_url":"https://api.github.com/users/cl-lab-k/events{/privacy}","received_events_url":"https://api.github.com/users/cl-lab-k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef/labels/Chef%20Core","name":"Chef Core","color":"c7def8"},{"url":"https://api.github.com/repos/chef/chef/labels/Pending%20Maintainer%20Review","name":"Pending Maintainer Review","color":"0052cc"},{"url":"https://api.github.com/repos/chef/chef/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-05T06:01:29Z","updated_at":"2015-03-10T20:28:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/3029","html_url":"https://github.com/chef/chef/pull/3029","diff_url":"https://github.com/chef/chef/pull/3029.diff","patch_url":"https://github.com/chef/chef/pull/3029.patch"},"body":"according to lib/chef/resource/chef_gem.rb#after_created, `true` and `nil` are the same.\r\n\r\n```ruby\r\nif compile_time || compile_time.nil?\r\n  Array(action).each do |action|\r\n    self.run_action(action)\r\n  end\r\n  Gem.clear_paths\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/78140974","html_url":"https://github.com/chef/chef/pull/3029#issuecomment-78140974","issue_url":"https://api.github.com/repos/chef/chef/issues/3029","id":78140974,"user":{"login":"btm","id":4381,"avatar_url":"https://avatars.githubusercontent.com/u/4381?v=3","gravatar_id":"","url":"https://api.github.com/users/btm","html_url":"https://github.com/btm","followers_url":"https://api.github.com/users/btm/followers","following_url":"https://api.github.com/users/btm/following{/other_user}","gists_url":"https://api.github.com/users/btm/gists{/gist_id}","starred_url":"https://api.github.com/users/btm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btm/subscriptions","organizations_url":"https://api.github.com/users/btm/orgs","repos_url":"https://api.github.com/users/btm/repos","events_url":"https://api.github.com/users/btm/events{/privacy}","received_events_url":"https://api.github.com/users/btm/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T20:28:14Z","updated_at":"2015-03-10T20:28:14Z","body":":+1: this is just a typo in a comment\r\n\r\nAccording to https://www.chef.io/blog/2015/02/17/chef-12-1-0-chef_gem-resource-warnings/\r\n\r\n* nil: this is the current default and results in all the spammy warnings\r\n* false: this will be the future default, it removes ALL warnings, but will flip the behavior of chef_gem and some recipes may fail\r\n* true: this maintains the current default behavior, suppresses the individual warnings, but WARNs once per chef run that this is set to true\r\n"}}