{"action":"created","issue":{"url":"https://api.github.com/repos/troessner/reek/issues/996","repository_url":"https://api.github.com/repos/troessner/reek","labels_url":"https://api.github.com/repos/troessner/reek/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/troessner/reek/issues/996/comments","events_url":"https://api.github.com/repos/troessner/reek/issues/996/events","html_url":"https://github.com/troessner/reek/pull/996","id":168470413,"number":996,"title":"Make Reek more resilient on incomprehensible source.","user":{"login":"troessner","id":271109,"avatar_url":"https://avatars.githubusercontent.com/u/271109?v=3","gravatar_id":"","url":"https://api.github.com/users/troessner","html_url":"https://github.com/troessner","followers_url":"https://api.github.com/users/troessner/followers","following_url":"https://api.github.com/users/troessner/following{/other_user}","gists_url":"https://api.github.com/users/troessner/gists{/gist_id}","starred_url":"https://api.github.com/users/troessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troessner/subscriptions","organizations_url":"https://api.github.com/users/troessner/orgs","repos_url":"https://api.github.com/users/troessner/repos","events_url":"https://api.github.com/users/troessner/events{/privacy}","received_events_url":"https://api.github.com/users/troessner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/troessner/reek/labels/ready-for-review","name":"ready-for-review","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-30T14:38:28Z","updated_at":"2016-08-15T06:46:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/troessner/reek/pulls/996","html_url":"https://github.com/troessner/reek/pull/996","diff_url":"https://github.com/troessner/reek/pull/996.diff","patch_url":"https://github.com/troessner/reek/pull/996.patch"},"body":"Fixes #995, heavily wip."},"comment":{"url":"https://api.github.com/repos/troessner/reek/issues/comments/239739048","html_url":"https://github.com/troessner/reek/pull/996#issuecomment-239739048","issue_url":"https://api.github.com/repos/troessner/reek/issues/996","id":239739048,"user":{"login":"troessner","id":271109,"avatar_url":"https://avatars.githubusercontent.com/u/271109?v=3","gravatar_id":"","url":"https://api.github.com/users/troessner","html_url":"https://github.com/troessner","followers_url":"https://api.github.com/users/troessner/followers","following_url":"https://api.github.com/users/troessner/following{/other_user}","gists_url":"https://api.github.com/users/troessner/gists{/gist_id}","starred_url":"https://api.github.com/users/troessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troessner/subscriptions","organizations_url":"https://api.github.com/users/troessner/orgs","repos_url":"https://api.github.com/users/troessner/repos","events_url":"https://api.github.com/users/troessner/events{/privacy}","received_events_url":"https://api.github.com/users/troessner/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T06:46:27Z","updated_at":"2016-08-15T06:46:27Z","body":">> It looks like you're not using the new dependency injection possibility in the specs?\r\n\r\nExactly! I started out with adding it but when it came to the spec itself I realized that RSpec's awesome \r\n\r\n```Ruby\r\nclass_double('Reek::Smells::SmellRepository').as_stubbed_const\r\n```\r\n\r\nworks as well for this very spec. I still left the DI in there because a) I think we should start using DI way more in our codebase and b) starting to DI SmellRepository might be useful for subsequent specs. That's why it's 2 separate commits.\r\n\r\nI can also remove the DI for SmellRepository but I think it makes sense to keep it for above reasons.\r\n\r\nWDYT?\r\n\r\n"}}
{"actor":{"display_login":"troessner"}}