{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/2204","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2204/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2204/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2204/events","html_url":"https://github.com/bbatsov/rubocop/pull/2204","id":104583880,"number":2204,"title":"Add a string methods cop","user":{"login":"imtayadeway","id":1710874,"avatar_url":"https://avatars.githubusercontent.com/u/1710874?v=3","gravatar_id":"","url":"https://api.github.com/users/imtayadeway","html_url":"https://github.com/imtayadeway","followers_url":"https://api.github.com/users/imtayadeway/followers","following_url":"https://api.github.com/users/imtayadeway/following{/other_user}","gists_url":"https://api.github.com/users/imtayadeway/gists{/gist_id}","starred_url":"https://api.github.com/users/imtayadeway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imtayadeway/subscriptions","organizations_url":"https://api.github.com/users/imtayadeway/orgs","repos_url":"https://api.github.com/users/imtayadeway/repos","events_url":"https://api.github.com/users/imtayadeway/events{/privacy}","received_events_url":"https://api.github.com/users/imtayadeway/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-02T22:22:11Z","updated_at":"2015-09-03T20:52:36Z","closed_at":"2015-09-03T20:52:32Z","pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2204","html_url":"https://github.com/bbatsov/rubocop/pull/2204","diff_url":"https://github.com/bbatsov/rubocop/pull/2204.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/2204.patch"},"body":"This change adds a cop that can be configured to add an offense when a\r\nstring method is used when another equivalent method is preferred. It\r\nadds a default to prefer `to_sym` over `intern`. It is modeled after the \r\n`CollectionMethods` cop which checks for preferred methods on `Enumerable`.\r\n\r\n/cc @jrafanie @Fryguy"},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/137570974","html_url":"https://github.com/bbatsov/rubocop/pull/2204#issuecomment-137570974","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2204","id":137570974,"user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T20:52:36Z","updated_at":"2015-09-03T20:52:36Z","body":":+1: "}}