{"action":"created","comment":{"url":"https://api.github.com/repos/rspec/rspec-core/pulls/comments/114675513","pull_request_review_id":36162281,"id":114675513,"diff_hunk":"@@ -128,11 +128,18 @@ def reporter\n       end\n \n       # @private\n-      def source_cache\n-        @source_cache ||= begin\n-          RSpec::Support.require_rspec_core \"source\"\n-          Source::Cache.new(@configuration)\n+      def source_from_file(path)\n+        unless instance_variable_defined?(:@sources_by_path)\n+          RSpec::Support.require_rspec_support 'source'\n+          @sources_by_path = {}","path":"lib/rspec/core/world.rb","position":null,"original_position":11,"commit_id":"c0d85fe482ff5d3a29d065be12f2f7ca2848d658","original_commit_id":"d0a26f24b2b8fbed74acc762d79fcca44dc9a6cd","user":{"login":"yujinakayama","id":83656,"avatar_url":"https://avatars3.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},"body":"Done","created_at":"2017-05-03T23:22:33Z","updated_at":"2017-05-03T23:22:33Z","html_url":"https://github.com/rspec/rspec-core/pull/2420#discussion_r114675513","pull_request_url":"https://api.github.com/repos/rspec/rspec-core/pulls/2420","_links":{"self":{"href":"https://api.github.com/repos/rspec/rspec-core/pulls/comments/114675513"},"html":{"href":"https://github.com/rspec/rspec-core/pull/2420#discussion_r114675513"},"pull_request":{"href":"https://api.github.com/repos/rspec/rspec-core/pulls/2420"}}},"pull_request":{"url":"https://api.github.com/repos/rspec/rspec-core/pulls/2420","id":118790354,"html_url":"https://github.com/rspec/rspec-core/pull/2420","diff_url":"https://github.com/rspec/rspec-core/pull/2420.diff","patch_url":"https://github.com/rspec/rspec-core/pull/2420.patch","issue_url":"https://api.github.com/repos/rspec/rspec-core/issues/2420","number":2420,"state":"open","locked":false,"title":"Export source classes to rspec-support","user":{"login":"yujinakayama","id":83656,"avatar_url":"https://avatars3.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},"body":"For https://github.com/rspec/rspec-expectations/pull/987.\r\n\r\nThis corresponds to https://github.com/rspec/rspec-support/pull/315.","created_at":"2017-05-03T15:32:37Z","updated_at":"2017-05-03T23:22:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"538c182d040238d564fdd83daa60970f9570927f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rspec/rspec-core/pulls/2420/commits","review_comments_url":"https://api.github.com/repos/rspec/rspec-core/pulls/2420/comments","review_comment_url":"https://api.github.com/repos/rspec/rspec-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rspec/rspec-core/issues/2420/comments","statuses_url":"https://api.github.com/repos/rspec/rspec-core/statuses/c0d85fe482ff5d3a29d065be12f2f7ca2848d658","head":{"label":"rspec:export-source-classes-to-rspec-support","ref":"export-source-classes-to-rspec-support","sha":"c0d85fe482ff5d3a29d065be12f2f7ca2848d658","user":{"login":"rspec","id":22388,"avatar_url":"https://avatars3.githubusercontent.com/u/22388?v=3","gravatar_id":"","url":"https://api.github.com/users/rspec","html_url":"https://github.com/rspec","followers_url":"https://api.github.com/users/rspec/followers","following_url":"https://api.github.com/users/rspec/following{/other_user}","gists_url":"https://api.github.com/users/rspec/gists{/gist_id}","starred_url":"https://api.github.com/users/rspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspec/subscriptions","organizations_url":"https://api.github.com/users/rspec/orgs","repos_url":"https://api.github.com/users/rspec/repos","events_url":"https://api.github.com/users/rspec/events{/privacy}","received_events_url":"https://api.github.com/users/rspec/received_events","type":"Organization","site_admin":false},"repo":{"id":238972,"name":"rspec-core","full_name":"rspec/rspec-core","owner":{"login":"rspec","id":22388,"avatar_url":"https://avatars3.githubusercontent.com/u/22388?v=3","gravatar_id":"","url":"https://api.github.com/users/rspec","html_url":"https://github.com/rspec","followers_url":"https://api.github.com/users/rspec/followers","following_url":"https://api.github.com/users/rspec/following{/other_user}","gists_url":"https://api.github.com/users/rspec/gists{/gist_id}","starred_url":"https://api.github.com/users/rspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspec/subscriptions","organizations_url":"https://api.github.com/users/rspec/orgs","repos_url":"https://api.github.com/users/rspec/repos","events_url":"https://api.github.com/users/rspec/events{/privacy}","received_events_url":"https://api.github.com/users/rspec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rspec/rspec-core","description":"RSpec runner and formatters","fork":false,"url":"https://api.github.com/repos/rspec/rspec-core","forks_url":"https://api.github.com/repos/rspec/rspec-core/forks","keys_url":"https://api.github.com/repos/rspec/rspec-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspec/rspec-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspec/rspec-core/teams","hooks_url":"https://api.github.com/repos/rspec/rspec-core/hooks","issue_events_url":"https://api.github.com/repos/rspec/rspec-core/issues/events{/number}","events_url":"https://api.github.com/repos/rspec/rspec-core/events","assignees_url":"https://api.github.com/repos/rspec/rspec-core/assignees{/user}","branches_url":"https://api.github.com/repos/rspec/rspec-core/branches{/branch}","tags_url":"https://api.github.com/repos/rspec/rspec-core/tags","blobs_url":"https://api.github.com/repos/rspec/rspec-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspec/rspec-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspec/rspec-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspec/rspec-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspec/rspec-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rspec/rspec-core/languages","stargazers_url":"https://api.github.com/repos/rspec/rspec-core/stargazers","contributors_url":"https://api.github.com/repos/rspec/rspec-core/contributors","subscribers_url":"https://api.github.com/repos/rspec/rspec-core/subscribers","subscription_url":"https://api.github.com/repos/rspec/rspec-core/subscription","commits_url":"https://api.github.com/repos/rspec/rspec-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspec/rspec-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspec/rspec-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspec/rspec-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspec/rspec-core/contents/{+path}","compare_url":"https://api.github.com/repos/rspec/rspec-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspec/rspec-core/merges","archive_url":"https://api.github.com/repos/rspec/rspec-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspec/rspec-core/downloads","issues_url":"https://api.github.com/repos/rspec/rspec-core/issues{/number}","pulls_url":"https://api.github.com/repos/rspec/rspec-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rspec/rspec-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rspec/rspec-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspec/rspec-core/labels{/name}","releases_url":"https://api.github.com/repos/rspec/rspec-core/releases{/id}","deployments_url":"https://api.github.com/repos/rspec/rspec-core/deployments","created_at":"2009-06-29T15:41:05Z","updated_at":"2017-05-03T05:57:32Z","pushed_at":"2017-05-03T23:22:30Z","git_url":"git://github.com/rspec/rspec-core.git","ssh_url":"git@github.com:rspec/rspec-core.git","clone_url":"https://github.com/rspec/rspec-core.git","svn_url":"https://github.com/rspec/rspec-core","homepage":"http://relishapp.com/rspec/rspec-core","size":10345,"stargazers_count":811,"watchers_count":811,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":584,"mirror_url":null,"open_issues_count":27,"forks":584,"open_issues":27,"watchers":811,"default_branch":"master"}},"base":{"label":"rspec:master","ref":"master","sha":"41caa12a7aaffdc2395cda142c549ed241542608","user":{"login":"rspec","id":22388,"avatar_url":"https://avatars3.githubusercontent.com/u/22388?v=3","gravatar_id":"","url":"https://api.github.com/users/rspec","html_url":"https://github.com/rspec","followers_url":"https://api.github.com/users/rspec/followers","following_url":"https://api.github.com/users/rspec/following{/other_user}","gists_url":"https://api.github.com/users/rspec/gists{/gist_id}","starred_url":"https://api.github.com/users/rspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspec/subscriptions","organizations_url":"https://api.github.com/users/rspec/orgs","repos_url":"https://api.github.com/users/rspec/repos","events_url":"https://api.github.com/users/rspec/events{/privacy}","received_events_url":"https://api.github.com/users/rspec/received_events","type":"Organization","site_admin":false},"repo":{"id":238972,"name":"rspec-core","full_name":"rspec/rspec-core","owner":{"login":"rspec","id":22388,"avatar_url":"https://avatars3.githubusercontent.com/u/22388?v=3","gravatar_id":"","url":"https://api.github.com/users/rspec","html_url":"https://github.com/rspec","followers_url":"https://api.github.com/users/rspec/followers","following_url":"https://api.github.com/users/rspec/following{/other_user}","gists_url":"https://api.github.com/users/rspec/gists{/gist_id}","starred_url":"https://api.github.com/users/rspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspec/subscriptions","organizations_url":"https://api.github.com/users/rspec/orgs","repos_url":"https://api.github.com/users/rspec/repos","events_url":"https://api.github.com/users/rspec/events{/privacy}","received_events_url":"https://api.github.com/users/rspec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rspec/rspec-core","description":"RSpec runner and formatters","fork":false,"url":"https://api.github.com/repos/rspec/rspec-core","forks_url":"https://api.github.com/repos/rspec/rspec-core/forks","keys_url":"https://api.github.com/repos/rspec/rspec-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspec/rspec-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspec/rspec-core/teams","hooks_url":"https://api.github.com/repos/rspec/rspec-core/hooks","issue_events_url":"https://api.github.com/repos/rspec/rspec-core/issues/events{/number}","events_url":"https://api.github.com/repos/rspec/rspec-core/events","assignees_url":"https://api.github.com/repos/rspec/rspec-core/assignees{/user}","branches_url":"https://api.github.com/repos/rspec/rspec-core/branches{/branch}","tags_url":"https://api.github.com/repos/rspec/rspec-core/tags","blobs_url":"https://api.github.com/repos/rspec/rspec-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspec/rspec-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspec/rspec-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspec/rspec-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspec/rspec-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rspec/rspec-core/languages","stargazers_url":"https://api.github.com/repos/rspec/rspec-core/stargazers","contributors_url":"https://api.github.com/repos/rspec/rspec-core/contributors","subscribers_url":"https://api.github.com/repos/rspec/rspec-core/subscribers","subscription_url":"https://api.github.com/repos/rspec/rspec-core/subscription","commits_url":"https://api.github.com/repos/rspec/rspec-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspec/rspec-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspec/rspec-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspec/rspec-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspec/rspec-core/contents/{+path}","compare_url":"https://api.github.com/repos/rspec/rspec-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspec/rspec-core/merges","archive_url":"https://api.github.com/repos/rspec/rspec-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspec/rspec-core/downloads","issues_url":"https://api.github.com/repos/rspec/rspec-core/issues{/number}","pulls_url":"https://api.github.com/repos/rspec/rspec-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rspec/rspec-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rspec/rspec-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspec/rspec-core/labels{/name}","releases_url":"https://api.github.com/repos/rspec/rspec-core/releases{/id}","deployments_url":"https://api.github.com/repos/rspec/rspec-core/deployments","created_at":"2009-06-29T15:41:05Z","updated_at":"2017-05-03T05:57:32Z","pushed_at":"2017-05-03T23:22:30Z","git_url":"git://github.com/rspec/rspec-core.git","ssh_url":"git@github.com:rspec/rspec-core.git","clone_url":"https://github.com/rspec/rspec-core.git","svn_url":"https://github.com/rspec/rspec-core","homepage":"http://relishapp.com/rspec/rspec-core","size":10345,"stargazers_count":811,"watchers_count":811,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":584,"mirror_url":null,"open_issues_count":27,"forks":584,"open_issues":27,"watchers":811,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rspec/rspec-core/pulls/2420"},"html":{"href":"https://github.com/rspec/rspec-core/pull/2420"},"issue":{"href":"https://api.github.com/repos/rspec/rspec-core/issues/2420"},"comments":{"href":"https://api.github.com/repos/rspec/rspec-core/issues/2420/comments"},"review_comments":{"href":"https://api.github.com/repos/rspec/rspec-core/pulls/2420/comments"},"review_comment":{"href":"https://api.github.com/repos/rspec/rspec-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rspec/rspec-core/pulls/2420/commits"},"statuses":{"href":"https://api.github.com/repos/rspec/rspec-core/statuses/c0d85fe482ff5d3a29d065be12f2f7ca2848d658"}}}}
{"actor":{"display_login":"yujinakayama"}}