{"action":"created","issue":{"url":"https://api.github.com/repos/acrmp/foodcritic/issues/385","repository_url":"https://api.github.com/repos/acrmp/foodcritic","labels_url":"https://api.github.com/repos/acrmp/foodcritic/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/acrmp/foodcritic/issues/385/comments","events_url":"https://api.github.com/repos/acrmp/foodcritic/issues/385/events","html_url":"https://github.com/acrmp/foodcritic/pull/385","id":108721122,"number":385,"title":"Support old-style notifications with ruby 1.9 hash syntax","user":{"login":"akihiro17","id":7583548,"avatar_url":"https://avatars.githubusercontent.com/u/7583548?v=3","gravatar_id":"","url":"https://api.github.com/users/akihiro17","html_url":"https://github.com/akihiro17","followers_url":"https://api.github.com/users/akihiro17/followers","following_url":"https://api.github.com/users/akihiro17/following{/other_user}","gists_url":"https://api.github.com/users/akihiro17/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro17/subscriptions","organizations_url":"https://api.github.com/users/akihiro17/orgs","repos_url":"https://api.github.com/users/akihiro17/repos","events_url":"https://api.github.com/users/akihiro17/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-09-28T18:41:48Z","updated_at":"2016-08-11T18:25:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/acrmp/foodcritic/pulls/385","html_url":"https://github.com/acrmp/foodcritic/pull/385","diff_url":"https://github.com/acrmp/foodcritic/pull/385.diff","patch_url":"https://github.com/acrmp/foodcritic/pull/385.patch"},"body":"`foodcritic` raises `ArgumentError` if we run `foodcritic` on recipes that contains old-style notifications with ruby 1.9 Hash syntax.\r\n\r\n```ruby:default.rb\r\nservice 'ssh' do\r\n  action :nothing\r\nend\r\n\r\nfile '/var/hoge' do\r\n  action :create\r\n  notifies :restart, resources(service: 'ssh')\r\nend\r\n```\r\n\r\n```\r\n> bundle exec foodcritc default.rb\r\n=> foodcritic/chef.rb:69:in `resource_check?': Arguments cannot be nil or empty. (ArgumentError)\r\n```\r\n\r\nThis commit solves the above issue"},"comment":{"url":"https://api.github.com/repos/acrmp/foodcritic/issues/comments/239247645","html_url":"https://github.com/acrmp/foodcritic/pull/385#issuecomment-239247645","issue_url":"https://api.github.com/repos/acrmp/foodcritic/issues/385","id":239247645,"user":{"login":"tas50","id":1015200,"avatar_url":"https://avatars.githubusercontent.com/u/1015200?v=3","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T18:25:25Z","updated_at":"2016-08-11T18:25:25Z","body":"@akihiro17 I ran into this today for the first time. Any chance you can get back to lamont and also rebase this. I'd love to get Foodcritic released with a fix for this bug."}}
{"actor":{"display_login":"tas50"}}