GitHub PullRequestEvent at 2014-08-08 19:13:09
Repository: lookup_by
Actor: companygardener
Payload: {"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/companygardener/lookup_by/pulls/23","id":19545996,"html_url":"https://github.com/companygardener/lookup_by/pull/23","diff_url":"https://github.com/companygardener/lookup_by/pull/23.diff","patch_url":"https://github.com/companygardener/lookup_by/pull/23.patch","issue_url":"https://api.github.com/repos/companygardener/lookup_by/issues/23","number":23,"state":"open","title":"Fix logic to select SafeLRU when using Rails 4","user":{"login":"companygardener","id":791,"avatar_url":"https://avatars.githubusercontent.com/u/791?v=2","gravatar_id":"7df5ac47870ef795900b28f40c01795d","url":"https://api.github.com/users/companygardener","html_url":"https://github.com/companygardener","followers_url":"https://api.github.com/users/companygardener/followers","following_url":"https://api.github.com/users/companygardener/following{/other_user}","gists_url":"https://api.github.com/users/companygardener/gists{/gist_id}","starred_url":"https://api.github.com/users/companygardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companygardener/subscriptions","organizations_url":"https://api.github.com/users/companygardener/orgs","repos_url":"https://api.github.com/users/companygardener/repos","events_url":"https://api.github.com/users/companygardener/events{/privacy}","received_events_url":"https://api.github.com/users/companygardener/received_events","type":"User","site_admin":false},"body":"Modified commit below from @mlarraz.\r\n\r\n> Currently, whether to use thread safe caching or not is determined by\r\n> calling Rails.configuration.allow_concurrency.\r\n>\r\n> This is set inside config.threadsafe!, which is deprecated in Rails 4.\r\n>\r\n> Thread safety is turned on by default in Rails 4, as long as\r\n> config.cache_classes and config.eager_load are both true.\r\n>\r\n> This pull requests allow Rails 4 apps to use SafeLRU without setting\r\n> deprecated config options.\r\n>\r\n> References:\r\n> http://tenderlovemaking.com/2012/06/18/removing-config-threadsafe.html\r\n> rails/rails@5d416b9","created_at":"2014-08-08T19:13:09Z","updated_at":"2014-08-08T19:13:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/companygardener/lookup_by/pulls/23/commits","review_comments_url":"https://api.github.com/repos/companygardener/lookup_by/pulls/23/comments","review_comment_url":"https://api.github.com/repos/companygardener/lookup_by/pulls/comments/{number}","comments_url":"https://api.github.com/repos/companygardener/lookup_by/issues/23/comments","statuses_url":"https://api.github.com/repos/companygardener/lookup_by/statuses/a16d431333fb344e7698d500ac45376df3cbdf5d","head":{"label":"companygardener:rails4","ref":"rails4","sha":"a16d431333fb344e7698d500ac45376df3cbdf5d","user":{"login":"companygardener","id":791,"avatar_url":"https://avatars.githubusercontent.com/u/791?v=2","gravatar_id":"7df5ac47870ef795900b28f40c01795d","url":"https://api.github.com/users/companygardener","html_url":"https://github.com/companygardener","followers_url":"https://api.github.com/users/companygardener/followers","following_url":"https://api.github.com/users/companygardener/following{/other_user}","gists_url":"https://api.github.com/users/companygardener/gists{/gist_id}","starred_url":"https://api.github.com/users/companygardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companygardener/subscriptions","organizations_url":"https://api.github.com/users/companygardener/orgs","repos_url":"https://api.github.com/users/companygardener/repos","events_url":"https://api.github.com/users/companygardener/events{/privacy}","received_events_url":"https://api.github.com/users/companygardener/received_events","type":"User","site_admin":false},"repo":{"id":6514189,"name":"lookup_by","full_name":"companygardener/lookup_by","owner":{"login":"companygardener","id":791,"avatar_url":"https://avatars.githubusercontent.com/u/791?v=2","gravatar_id":"7df5ac47870ef795900b28f40c01795d","url":"https://api.github.com/users/companygardener","html_url":"https://github.com/companygardener","followers_url":"https://api.github.com/users/companygardener/followers","following_url":"https://api.github.com/users/companygardener/following{/other_user}","gists_url":"https://api.github.com/users/companygardener/gists{/gist_id}","starred_url":"https://api.github.com/users/companygardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companygardener/subscriptions","organizations_url":"https://api.github.com/users/companygardener/orgs","repos_url":"https://api.github.com/users/companygardener/repos","events_url":"https://api.github.com/users/companygardener/events{/privacy}","received_events_url":"https://api.github.com/users/companygardener/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/companygardener/lookup_by","description":"A thread-safe lookup table cache for ActiveRecord","fork":false,"url":"https://api.github.com/repos/companygardener/lookup_by","forks_url":"https://api.github.com/repos/companygardener/lookup_by/forks","keys_url":"https://api.github.com/repos/companygardener/lookup_by/keys{/key_id}","collaborators_url":"https://api.github.com/repos/companygardener/lookup_by/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/companygardener/lookup_by/teams","hooks_url":"https://api.github.com/repos/companygardener/lookup_by/hooks","issue_events_url":"https://api.github.com/repos/companygardener/lookup_by/issues/events{/number}","events_url":"https://api.github.com/repos/companygardener/lookup_by/events","assignees_url":"https://api.github.com/repos/companygardener/lookup_by/assignees{/user}","branches_url":"https://api.github.com/repos/companygardener/lookup_by/branches{/branch}","tags_url":"https://api.github.com/repos/companygardener/lookup_by/tags","blobs_url":"https://api.github.com/repos/companygardener/lookup_by/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/companygardener/lookup_by/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/companygardener/lookup_by/git/refs{/sha}","trees_url":"https://api.github.com/repos/companygardener/lookup_by/git/trees{/sha}","statuses_url":"https://api.github.com/repos/companygardener/lookup_by/statuses/{sha}","languages_url":"https://api.github.com/repos/companygardener/lookup_by/languages","stargazers_url":"https://api.github.com/repos/companygardener/lookup_by/stargazers","contributors_url":"https://api.github.com/repos/companygardener/lookup_by/contributors","subscribers_url":"https://api.github.com/repos/companygardener/lookup_by/subscribers","subscription_url":"https://api.github.com/repos/companygardener/lookup_by/subscription","commits_url":"https://api.github.com/repos/companygardener/lookup_by/commits{/sha}","git_commits_url":"https://api.github.com/repos/companygardener/lookup_by/git/commits{/sha}","comments_url":"https://api.github.com/repos/companygardener/lookup_by/comments{/number}","issue_comment_url":"https://api.github.com/repos/companygardener/lookup_by/issues/comments/{number}","contents_url":"https://api.github.com/repos/companygardener/lookup_by/contents/{+path}","compare_url":"https://api.github.com/repos/companygardener/lookup_by/compare/{base}...{head}","merges_url":"https://api.github.com/repos/companygardener/lookup_by/merges","archive_url":"https://api.github.com/repos/companygardener/lookup_by/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/companygardener/lookup_by/downloads","issues_url":"https://api.github.com/repos/companygardener/lookup_by/issues{/number}","pulls_url":"https://api.github.com/repos/companygardener/lookup_by/pulls{/number}","milestones_url":"https://api.github.com/repos/companygardener/lookup_by/milestones{/number}","notifications_url":"https://api.github.com/repos/companygardener/lookup_by/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/companygardener/lookup_by/labels{/name}","releases_url":"https://api.github.com/repos/companygardener/lookup_by/releases{/id}","created_at":"2012-11-02T23:27:59Z","updated_at":"2014-07-16T15:27:15Z","pushed_at":"2014-08-08T19:12:03Z","git_url":"git://github.com/companygardener/lookup_by.git","ssh_url":"git@github.com:companygardener/lookup_by.git","clone_url":"https://github.com/companygardener/lookup_by.git","svn_url":"https://github.com/companygardener/lookup_by","homepage":null,"size":935,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":10,"default_branch":"master"}},"base":{"label":"companygardener:master","ref":"master","sha":"0b65c895fb1090b7a973ad5b42f04454cd46fd27","user":{"login":"companygardener","id":791,"avatar_url":"https://avatars.githubusercontent.com/u/791?v=2","gravatar_id":"7df5ac47870ef795900b28f40c01795d","url":"https://api.github.com/users/companygardener","html_url":"https://github.com/companygardener","followers_url":"https://api.github.com/users/companygardener/followers","following_url":"https://api.github.com/users/companygardener/following{/other_user}","gists_url":"https://api.github.com/users/companygardener/gists{/gist_id}","starred_url":"https://api.github.com/users/companygardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companygardener/subscriptions","organizations_url":"https://api.github.com/users/companygardener/orgs","repos_url":"https://api.github.com/users/companygardener/repos","events_url":"https://api.github.com/users/companygardener/events{/privacy}","received_events_url":"https://api.github.com/users/companygardener/received_events","type":"User","site_admin":false},"repo":{"id":6514189,"name":"lookup_by","full_name":"companygardener/lookup_by","owner":{"login":"companygardener","id":791,"avatar_url":"https://avatars.githubusercontent.com/u/791?v=2","gravatar_id":"7df5ac47870ef795900b28f40c01795d","url":"https://api.github.com/users/companygardener","html_url":"https://github.com/companygardener","followers_url":"https://api.github.com/users/companygardener/followers","following_url":"https://api.github.com/users/companygardener/following{/other_user}","gists_url":"https://api.github.com/users/companygardener/gists{/gist_id}","starred_url":"https://api.github.com/users/companygardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companygardener/subscriptions","organizations_url":"https://api.github.com/users/companygardener/orgs","repos_url":"https://api.github.com/users/companygardener/repos","events_url":"https://api.github.com/users/companygardener/events{/privacy}","received_events_url":"https://api.github.com/users/companygardener/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/companygardener/lookup_by","description":"A thread-safe lookup table cache for ActiveRecord","fork":false,"url":"https://api.github.com/repos/companygardener/lookup_by","forks_url":"https://api.github.com/repos/companygardener/lookup_by/forks","keys_url":"https://api.github.com/repos/companygardener/lookup_by/keys{/key_id}","collaborators_url":"https://api.github.com/repos/companygardener/lookup_by/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/companygardener/lookup_by/teams","hooks_url":"https://api.github.com/repos/companygardener/lookup_by/hooks","issue_events_url":"https://api.github.com/repos/companygardener/lookup_by/issues/events{/number}","events_url":"https://api.github.com/repos/companygardener/lookup_by/events","assignees_url":"https://api.github.com/repos/companygardener/lookup_by/assignees{/user}","branches_url":"https://api.github.com/repos/companygardener/lookup_by/branches{/branch}","tags_url":"https://api.github.com/repos/companygardener/lookup_by/tags","blobs_url":"https://api.github.com/repos/companygardener/lookup_by/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/companygardener/lookup_by/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/companygardener/lookup_by/git/refs{/sha}","trees_url":"https://api.github.com/repos/companygardener/lookup_by/git/trees{/sha}","statuses_url":"https://api.github.com/repos/companygardener/lookup_by/statuses/{sha}","languages_url":"https://api.github.com/repos/companygardener/lookup_by/languages","stargazers_url":"https://api.github.com/repos/companygardener/lookup_by/stargazers","contributors_url":"https://api.github.com/repos/companygardener/lookup_by/contributors","subscribers_url":"https://api.github.com/repos/companygardener/lookup_by/subscribers","subscription_url":"https://api.github.com/repos/companygardener/lookup_by/subscription","commits_url":"https://api.github.com/repos/companygardener/lookup_by/commits{/sha}","git_commits_url":"https://api.github.com/repos/companygardener/lookup_by/git/commits{/sha}","comments_url":"https://api.github.com/repos/companygardener/lookup_by/comments{/number}","issue_comment_url":"https://api.github.com/repos/companygardener/lookup_by/issues/comments/{number}","contents_url":"https://api.github.com/repos/companygardener/lookup_by/contents/{+path}","compare_url":"https://api.github.com/repos/companygardener/lookup_by/compare/{base}...{head}","merges_url":"https://api.github.com/repos/companygardener/lookup_by/merges","archive_url":"https://api.github.com/repos/companygardener/lookup_by/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/companygardener/lookup_by/downloads","issues_url":"https://api.github.com/repos/companygardener/lookup_by/issues{/number}","pulls_url":"https://api.github.com/repos/companygardener/lookup_by/pulls{/number}","milestones_url":"https://api.github.com/repos/companygardener/lookup_by/milestones{/number}","notifications_url":"https://api.github.com/repos/companygardener/lookup_by/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/companygardener/lookup_by/labels{/name}","releases_url":"https://api.github.com/repos/companygardener/lookup_by/releases{/id}","created_at":"2012-11-02T23:27:59Z","updated_at":"2014-07-16T15:27:15Z","pushed_at":"2014-08-08T19:12:03Z","git_url":"git://github.com/companygardener/lookup_by.git","ssh_url":"git@github.com:companygardener/lookup_by.git","clone_url":"https://github.com/companygardener/lookup_by.git","svn_url":"https://github.com/companygardener/lookup_by","homepage":null,"size":935,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/companygardener/lookup_by/pulls/23"},"html":{"href":"https://github.com/companygardener/lookup_by/pull/23"},"issue":{"href":"https://api.github.com/repos/companygardener/lookup_by/issues/23"},"comments":{"href":"https://api.github.com/repos/companygardener/lookup_by/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/companygardener/lookup_by/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/companygardener/lookup_by/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/companygardener/lookup_by/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/companygardener/lookup_by/statuses/a16d431333fb344e7698d500ac45376df3cbdf5d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":1,"changed_files":1}}