{"action":"created","issue":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1060","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1060/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1060/comments","events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1060/events","html_url":"https://github.com/rubygems/rubygems.org/pull/1060","id":106514601,"number":1060,"title":"Use remove instead of gsub","user":{"login":"farukaydin","id":2501931,"avatar_url":"https://avatars.githubusercontent.com/u/2501931?v=3","gravatar_id":"","url":"https://api.github.com/users/farukaydin","html_url":"https://github.com/farukaydin","followers_url":"https://api.github.com/users/farukaydin/followers","following_url":"https://api.github.com/users/farukaydin/following{/other_user}","gists_url":"https://api.github.com/users/farukaydin/gists{/gist_id}","starred_url":"https://api.github.com/users/farukaydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farukaydin/subscriptions","organizations_url":"https://api.github.com/users/farukaydin/orgs","repos_url":"https://api.github.com/users/farukaydin/repos","events_url":"https://api.github.com/users/farukaydin/events{/privacy}","received_events_url":"https://api.github.com/users/farukaydin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T09:08:37Z","updated_at":"2015-09-15T09:39:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1060","html_url":"https://github.com/rubygems/rubygems.org/pull/1060","diff_url":"https://github.com/rubygems/rubygems.org/pull/1060.diff","patch_url":"https://github.com/rubygems/rubygems.org/pull/1060.patch"},"body":"Activesupport has ```String.remove(pattern)``` as short-hand for ```String#gsub(pattern, '')```\r\nIt's not a big deal but I think it's better to use remove to keep codebase more readable.\r\n\r\nVersion model has related test, so I added the test for only rubygem."},"comment":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments/140338608","html_url":"https://github.com/rubygems/rubygems.org/pull/1060#issuecomment-140338608","issue_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1060","id":140338608,"user":{"login":"sferik","id":10308,"avatar_url":"https://avatars.githubusercontent.com/u/10308?v=3","gravatar_id":"","url":"https://api.github.com/users/sferik","html_url":"https://github.com/sferik","followers_url":"https://api.github.com/users/sferik/followers","following_url":"https://api.github.com/users/sferik/following{/other_user}","gists_url":"https://api.github.com/users/sferik/gists{/gist_id}","starred_url":"https://api.github.com/users/sferik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sferik/subscriptions","organizations_url":"https://api.github.com/users/sferik/orgs","repos_url":"https://api.github.com/users/sferik/repos","events_url":"https://api.github.com/users/sferik/events{/privacy}","received_events_url":"https://api.github.com/users/sferik/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T09:39:06Z","updated_at":"2015-09-15T09:39:06Z","body":":+1: "}}