{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/2748","repository_url":"https://api.github.com/repos/bbatsov/rubocop","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2748/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2748/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2748/events","html_url":"https://github.com/bbatsov/rubocop/pull/2748","id":130093417,"number":2748,"title":"[Fix #2674] Include check for Hash#update in Performance/RedundantMerge cop","user":{"login":"Drenmi","id":5259935,"avatar_url":"https://avatars.githubusercontent.com/u/5259935?v=3","gravatar_id":"","url":"https://api.github.com/users/Drenmi","html_url":"https://github.com/Drenmi","followers_url":"https://api.github.com/users/Drenmi/followers","following_url":"https://api.github.com/users/Drenmi/following{/other_user}","gists_url":"https://api.github.com/users/Drenmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Drenmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drenmi/subscriptions","organizations_url":"https://api.github.com/users/Drenmi/orgs","repos_url":"https://api.github.com/users/Drenmi/repos","events_url":"https://api.github.com/users/Drenmi/events{/privacy}","received_events_url":"https://api.github.com/users/Drenmi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-31T06:54:09Z","updated_at":"2016-02-04T19:13:16Z","closed_at":"2016-01-31T07:13:26Z","pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2748","html_url":"https://github.com/bbatsov/rubocop/pull/2748","diff_url":"https://github.com/bbatsov/rubocop/pull/2748.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/2748.patch"},"body":"The `Performance/RedundantMerge` cop used to check only for uses of [`Hash#merge!`](http://ruby-doc.org/core-2.3.0/Hash.html#method-i-merge-21), but not for the the alias [`Hash#update`](http://ruby-doc.org/core-2.3.0/Hash.html#method-i-update).\r\n\r\nFrom [the documentation](http://ruby-doc.org/core-2.2.0/Hash.html#method-i-update):\r\n\r\n> `merge!` and `update` are two names for the same method.\r\n\r\nThis PR applies the same treatment to `Hash#update` as well."},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/180007467","html_url":"https://github.com/bbatsov/rubocop/pull/2748#issuecomment-180007467","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2748","id":180007467,"user":{"login":"alexdowad","id":1067359,"avatar_url":"https://avatars.githubusercontent.com/u/1067359?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdowad","html_url":"https://github.com/alexdowad","followers_url":"https://api.github.com/users/alexdowad/followers","following_url":"https://api.github.com/users/alexdowad/following{/other_user}","gists_url":"https://api.github.com/users/alexdowad/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdowad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdowad/subscriptions","organizations_url":"https://api.github.com/users/alexdowad/orgs","repos_url":"https://api.github.com/users/alexdowad/repos","events_url":"https://api.github.com/users/alexdowad/events{/privacy}","received_events_url":"https://api.github.com/users/alexdowad/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T19:13:16Z","updated_at":"2016-02-04T19:13:16Z","body":"@bbatsov Looks like a quick revert + minor release might be best."}}