{"action":"created","issue":{"url":"https://api.github.com/repos/stympy/faker/issues/1198","repository_url":"https://api.github.com/repos/stympy/faker","labels_url":"https://api.github.com/repos/stympy/faker/issues/1198/labels{/name}","comments_url":"https://api.github.com/repos/stympy/faker/issues/1198/comments","events_url":"https://api.github.com/repos/stympy/faker/issues/1198/events","html_url":"https://github.com/stympy/faker/pull/1198","id":319154935,"number":1198,"title":"Rename methods on Faker::Types to avoid shadowing ruby standard methods","user":{"login":"MarcPer","id":4718658,"avatar_url":"https://avatars2.githubusercontent.com/u/4718658?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcPer","html_url":"https://github.com/MarcPer","followers_url":"https://api.github.com/users/MarcPer/followers","following_url":"https://api.github.com/users/MarcPer/following{/other_user}","gists_url":"https://api.github.com/users/MarcPer/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcPer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcPer/subscriptions","organizations_url":"https://api.github.com/users/MarcPer/orgs","repos_url":"https://api.github.com/users/MarcPer/repos","events_url":"https://api.github.com/users/MarcPer/events{/privacy}","received_events_url":"https://api.github.com/users/MarcPer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-01T09:27:36Z","updated_at":"2018-05-01T09:30:43Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/stympy/faker/pulls/1198","html_url":"https://github.com/stympy/faker/pull/1198","diff_url":"https://github.com/stympy/faker/pull/1198.diff","patch_url":"https://github.com/stympy/faker/pull/1198.patch"},"body":"In particular, the class method `hash`, when shadowed, causes an error when `Faker::Types` is used as a hash key.\r\n\r\nThe issue is detailed in #1116."},"comment":{"url":"https://api.github.com/repos/stympy/faker/issues/comments/385633910","html_url":"https://github.com/stympy/faker/pull/1198#issuecomment-385633910","issue_url":"https://api.github.com/repos/stympy/faker/issues/1198","id":385633910,"user":{"login":"MarcPer","id":4718658,"avatar_url":"https://avatars2.githubusercontent.com/u/4718658?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcPer","html_url":"https://github.com/MarcPer","followers_url":"https://api.github.com/users/MarcPer/followers","following_url":"https://api.github.com/users/MarcPer/following{/other_user}","gists_url":"https://api.github.com/users/MarcPer/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcPer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcPer/subscriptions","organizations_url":"https://api.github.com/users/MarcPer/orgs","repos_url":"https://api.github.com/users/MarcPer/repos","events_url":"https://api.github.com/users/MarcPer/events{/privacy}","received_events_url":"https://api.github.com/users/MarcPer/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T09:30:43Z","updated_at":"2018-05-01T09:30:43Z","author_association":"NONE","body":"The method name changes were as follows:\r\n- `Faker::Types.hash` => `Faker::Types.rb_hash`\r\n- `Faker::Types.complex_hash` => `Faker::Types.complex_rb_hash`\r\n- `Faker::Types.integer` => `Faker::Types.rb_integer`\r\n- `Faker::Types.array` => `Faker::Types.rb_array`\r\n- `Faker::Types.string` => `Faker::Types.rb_string`"}}
{"actor":{"display_login":"MarcPer"}}