{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/2433","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2433/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2433/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2433/events","html_url":"https://github.com/crystal-lang/crystal/pull/2433","id":146909567,"number":2433,"title":"Add :except and :only option to Array#delete","user":{"login":"dsounded","id":3995852,"avatar_url":"https://avatars.githubusercontent.com/u/3995852?v=3","gravatar_id":"","url":"https://api.github.com/users/dsounded","html_url":"https://github.com/dsounded","followers_url":"https://api.github.com/users/dsounded/followers","following_url":"https://api.github.com/users/dsounded/following{/other_user}","gists_url":"https://api.github.com/users/dsounded/gists{/gist_id}","starred_url":"https://api.github.com/users/dsounded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsounded/subscriptions","organizations_url":"https://api.github.com/users/dsounded/orgs","repos_url":"https://api.github.com/users/dsounded/repos","events_url":"https://api.github.com/users/dsounded/events{/privacy}","received_events_url":"https://api.github.com/users/dsounded/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-08T12:01:30Z","updated_at":"2016-04-22T19:50:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crystal-lang/crystal/pulls/2433","html_url":"https://github.com/crystal-lang/crystal/pull/2433","diff_url":"https://github.com/crystal-lang/crystal/pull/2433.diff","patch_url":"https://github.com/crystal-lang/crystal/pull/2433.patch"},"body":"`a = [1, 1, 1, 2, 2]`\r\n`a.delete(1, only: 1)` => `[1, 1, 2, 2] `\r\n\r\n`a = [1, 1, 1, 2, 2]`\r\n`a.delete(1, except: 1)` => `[1, 2, 2] `\r\n\r\nWithout options deletes all the matches as it was before"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/213567189","html_url":"https://github.com/crystal-lang/crystal/pull/2433#issuecomment-213567189","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2433","id":213567189,"user":{"login":"dsounded","id":3995852,"avatar_url":"https://avatars.githubusercontent.com/u/3995852?v=3","gravatar_id":"","url":"https://api.github.com/users/dsounded","html_url":"https://github.com/dsounded","followers_url":"https://api.github.com/users/dsounded/followers","following_url":"https://api.github.com/users/dsounded/following{/other_user}","gists_url":"https://api.github.com/users/dsounded/gists{/gist_id}","starred_url":"https://api.github.com/users/dsounded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsounded/subscriptions","organizations_url":"https://api.github.com/users/dsounded/orgs","repos_url":"https://api.github.com/users/dsounded/repos","events_url":"https://api.github.com/users/dsounded/events{/privacy}","received_events_url":"https://api.github.com/users/dsounded/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T19:50:54Z","updated_at":"2016-04-22T19:50:54Z","body":"@asterite can this be merged, or at least `max` option ?"}}