{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-expectations/issues/857","labels_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/857/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/857/comments","events_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/857/events","html_url":"https://github.com/rspec/rspec-expectations/pull/857","id":110156604,"number":857,"title":"Fix SystemStackError raised when diffing a recursive Enumerable object","user":{"login":"yujinakayama","id":83656,"avatar_url":"https://avatars.githubusercontent.com/u/83656?v=3","gravatar_id":"","url":"https://api.github.com/users/yujinakayama","html_url":"https://github.com/yujinakayama","followers_url":"https://api.github.com/users/yujinakayama/followers","following_url":"https://api.github.com/users/yujinakayama/following{/other_user}","gists_url":"https://api.github.com/users/yujinakayama/gists{/gist_id}","starred_url":"https://api.github.com/users/yujinakayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujinakayama/subscriptions","organizations_url":"https://api.github.com/users/yujinakayama/orgs","repos_url":"https://api.github.com/users/yujinakayama/repos","events_url":"https://api.github.com/users/yujinakayama/events{/privacy}","received_events_url":"https://api.github.com/users/yujinakayama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T05:55:23Z","updated_at":"2015-10-07T08:18:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rspec/rspec-expectations/pulls/857","html_url":"https://github.com/rspec/rspec-expectations/pull/857","diff_url":"https://github.com/rspec/rspec-expectations/pull/857.diff","patch_url":"https://github.com/rspec/rspec-expectations/pull/857.patch"},"body":"This patch fixes SystemStackError raised when diffing an Enumerable object whose `#each` includes the object itself:\r\n\r\n```ruby\r\narray = ['something']\r\narray << array\r\nexpect(array).to eq([])\r\n```\r\n\r\n```\r\n     Failure/Error:\r\n       expect(array).to eq([])\r\n     SystemStackError:\r\n       stack level too deep\r\n```"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-expectations/issues/comments/146110915","html_url":"https://github.com/rspec/rspec-expectations/pull/857#issuecomment-146110915","issue_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/857","id":146110915,"user":{"login":"yujinakayama","id":83656,"avatar_url":"https://avatars.githubusercontent.com/u/83656?v=3","gravatar_id":"","url":"https://api.github.com/users/yujinakayama","html_url":"https://github.com/yujinakayama","followers_url":"https://api.github.com/users/yujinakayama/followers","following_url":"https://api.github.com/users/yujinakayama/following{/other_user}","gists_url":"https://api.github.com/users/yujinakayama/gists{/gist_id}","starred_url":"https://api.github.com/users/yujinakayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujinakayama/subscriptions","organizations_url":"https://api.github.com/users/yujinakayama/orgs","repos_url":"https://api.github.com/users/yujinakayama/repos","events_url":"https://api.github.com/users/yujinakayama/events{/privacy}","received_events_url":"https://api.github.com/users/yujinakayama/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T08:18:23Z","updated_at":"2015-10-07T08:18:23Z","body":"#856 needs to be merged to fix the build."}}