{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":6529205,"defaultBranch":"main","name":"pundit","ownerLogin":"varvet","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-11-04T09:20:19.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3612746?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1711666541.0","currentOid":""},"activityList":{"items":[{"before":"dfceb9145c2db549c71c7e93eba1ca2043fc9f9f","after":null,"ref":"refs/heads/kbs/fix-sponsor-logo-in-readme","pushedAt":"2024-03-28T23:44:03.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"}},{"before":"55f64cbe09a9da2f21988021c6a1d5848d312059","after":"aabb3441817c23f3ae41ed1efd468411680d0f53","ref":"refs/heads/main","pushedAt":"2024-03-28T23:44:03.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Merge pull request #802 from varvet/kbs/fix-sponsor-logo-in-readme\n\nFix broken sponsor logo in README","shortMessageHtmlLink":"Merge pull request #802 from varvet/kbs/fix-sponsor-logo-in-readme"}},{"before":null,"after":"dfceb9145c2db549c71c7e93eba1ca2043fc9f9f","ref":"refs/heads/kbs/fix-sponsor-logo-in-readme","pushedAt":"2024-03-28T22:55:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Fix broken sponsor logo in README","shortMessageHtmlLink":"Fix broken sponsor logo in README"}},{"before":"d26960bc006a49d3ddd7859a6969d391d9ad3425","after":"d7251544dc552b7fe9f95933882279ae37e566ab","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-28T16:09:11.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Open cache strategy API up for including user in cache key\n\n... and possibly by extension also the `policy_class`.","shortMessageHtmlLink":"Open cache strategy API up for including user in cache key"}},{"before":"399fe6e5e2d316ed9be4f0d7cd787c5656a25170","after":"d26960bc006a49d3ddd7859a6969d391d9ad3425","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-28T12:03:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Open cache strategy API up for including user in cache key\n\n... and possibly by extension also the `policy_class`.","shortMessageHtmlLink":"Open cache strategy API up for including user in cache key"}},{"before":"a2f28ee892e85457f795528e47bc67fc5be08196","after":"399fe6e5e2d316ed9be4f0d7cd787c5656a25170","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-27T15:29:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Apply the cache strategy for all policy lookups\n\nThis should be backwards-compatible because:\n\n* `Pundit.policy` and `Pundit.policy!` are unaffected by this, since they use a non-cache cache.\n* `Pundit::Context` is new, so nobody is relying on these methods yet.\n* `Pundit::Authorization#policy` already cached the policy anyway.\n* `policies` is explicitly discouraged, but even if it is relied upon it works as it always has, by default.\n\nThis is an improvement because we can change the cache strategy to introduce new features without breaking backwards-compatibility.","shortMessageHtmlLink":"Apply the cache strategy for all policy lookups"}},{"before":"d7e97c311339c8dfe628b966d198caee96a04696","after":"a2f28ee892e85457f795528e47bc67fc5be08196","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-27T12:16:19.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Apply the cache strategy for all policy lookups\n\nThis should be backwards-compatible because:\n\n* `Pundit.policy` and `Pundit.policy!` are unaffected by this, since they use a non-cache cache.\n* `Pundit::Context` is new, so nobody is relying on these methods yet.\n* `Pundit::Authorization#policy` already cached the policy anyway.\n* `policies` is explicitly discouraged, but even if it is relied upon it works as it always has, by default.\n\nThis is an improvement because we can change the cache strategy to introduce new features without breaking backwards-compatibility.","shortMessageHtmlLink":"Apply the cache strategy for all policy lookups"}},{"before":"5d9e70a42e1e306cf296f19b57531470864331be","after":"d7e97c311339c8dfe628b966d198caee96a04696","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T21:17:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Apply the cache strategy for all policy lookups\n\nThis should be backwards-compatible because:\n\n* `Pundit.policy` and `Pundit.policy!` are unaffected by this, since they use a non-cache cache.\n* `Pundit::Context` is new, so nobody is relying on these methods yet.\n* `Pundit::Authorization#policy` already cached the policy anyway.\n* `policies` is explicitly discouraged, but even if it is relied upon it works as it always has, by default.\n\nThis is an improvement because we can change the cache strategy to introduce new features without breaking backwards-compatibility.","shortMessageHtmlLink":"Apply the cache strategy for all policy lookups"}},{"before":"4e323ed686d452a82ed80f02f8682d6a737429de","after":"5d9e70a42e1e306cf296f19b57531470864331be","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T21:16:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Apply the cache strategy for all policy lookups\n\nThis should be backwards-compatible because:\n\n* `Pundit.policy` and `Pundit.policy!` are unaffected by this, since they use a non-cache cache.\n* `Pundit::Context` is new, so nobody is relying on these methods yet.\n* `Pundit::Authorization#policy` already cached the policy anyway.\n* `policies` is explicitly discouraged, but even if it is relied upon it works as it always has, by default.\n\nThis is an improvement because we can change the cache strategy to introduce new features without breaking backwards-compatibility.","shortMessageHtmlLink":"Apply the cache strategy for all policy lookups"}},{"before":"c7ff386ccae5dfd144de5e59daab50faabbd4f93","after":"4e323ed686d452a82ed80f02f8682d6a737429de","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T21:11:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Refactor: API contract for policy cache\n\nSee https://github.com/varvet/pundit/pull/801#issuecomment-2018996706\n\nWe'd like to support caching a few more lookups, but that's backwards-incompatible. By swapping out the cache, we could have a legacy cache (that only caches \"the old way\"), and a new cache that will cache _more_ things. This allows backwards-compatibility with the same API interface.","shortMessageHtmlLink":"Refactor: API contract for policy cache"}},{"before":"e0fdaf1ef880f137217579bd366d0f22c3601b49","after":"c7ff386ccae5dfd144de5e59daab50faabbd4f93","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T16:32:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Refactor: API contract for policy cache\n\nSee https://github.com/varvet/pundit/pull/801#issuecomment-2018996706\n\nWe'd like to support caching a few more lookups, but that's backwards-incompatible. By swapping out the cache, we could have a legacy cache (that only caches \"the old way\"), and a new cache that will cache _more_ things. This allows backwards-compatibility with the same API interface.","shortMessageHtmlLink":"Refactor: API contract for policy cache"}},{"before":"c41098563671686a1b492965c7d515f5aa9786f5","after":"e0fdaf1ef880f137217579bd366d0f22c3601b49","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T12:45:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Refactor: API contract for policy cache\n\nSee https://github.com/varvet/pundit/pull/801#issuecomment-2018996706\n\nWe'd like to support caching a few more lookups, but that's backwards-incompatible. By swapping out the cache, we could have a legacy cache (that only caches \"the old way\"), and a new cache that will cache _more_ things. This allows backwards-compatibility with the same API interface.","shortMessageHtmlLink":"Refactor: API contract for policy cache"}},{"before":"41f31e0eb140bf70adec5fc85deaaeaca1c27795","after":"c41098563671686a1b492965c7d515f5aa9786f5","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T00:51:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Refactor: do not use Struct in our test suite\n\nIt has unwanted behaviour, such as being lenient in initialisation parameters and being loose in equality check.","shortMessageHtmlLink":"Refactor: do not use Struct in our test suite"}},{"before":"4f8ae36f6a80728b321d558ff16eb640e35ab2a3","after":"41f31e0eb140bf70adec5fc85deaaeaca1c27795","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-26T00:36:12.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Refactor: API contract for policy cache\n\nSee https://github.com/varvet/pundit/pull/801#issuecomment-2018996706\n\nWe'd like to support caching a few more lookups, but that's backwards-incompatible. By swapping out the cache, we could have a legacy cache (that only caches \"the old way\"), and a new cache that will cache _more_ things. This allows backwards-compatibility with the same API interface.","shortMessageHtmlLink":"Refactor: API contract for policy cache"}},{"before":"1e24282da7c1f13b8b43f44d6984ff36c51ecb0b","after":"4f8ae36f6a80728b321d558ff16eb640e35ab2a3","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-25T22:13:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Make it clearer why these methods have a bang\r\n\r\nAn `!` means caution, but not much more. These comments help highlight what to be cautious about.\n\nCo-authored-by: mattzollinhofer ","shortMessageHtmlLink":"Make it clearer why these methods have a bang"}},{"before":"5e8c0d2507ff508ec51da40f181f3dbea11630ac","after":"1e24282da7c1f13b8b43f44d6984ff36c51ecb0b","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-07T09:25:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Typo in documentation. It was called Core intially.","shortMessageHtmlLink":"Typo in documentation. It was called Core intially."}},{"before":"eaf37659902b184c41e6fa6aad505f17a487890d","after":"5e8c0d2507ff508ec51da40f181f3dbea11630ac","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-07T09:22:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Support JRuby 9.3","shortMessageHtmlLink":"Support JRuby 9.3"}},{"before":"db9b928f1d1b0e545c3dd0afe4d05a50c87210f1","after":"eaf37659902b184c41e6fa6aad505f17a487890d","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-07T09:21:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Support JRuby 9.3","shortMessageHtmlLink":"Support JRuby 9.3"}},{"before":"44443a52f6668b75d7c3a2e8f4d86c5e68f3ad7e","after":"db9b928f1d1b0e545c3dd0afe4d05a50c87210f1","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-07T09:20:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Support JRuby 9.3","shortMessageHtmlLink":"Support JRuby 9.3"}},{"before":"120fa7ec7210efe95c4f36562ace35f3cd00fd17","after":"44443a52f6668b75d7c3a2e8f4d86c5e68f3ad7e","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-07T09:16:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"First pass of Pundit::Context\n\nSee https://github.com/varvet/pundit/discussions/774\n\nAn API-change in this commit is that we're introducing a new method named `pundit` in `Pundit::Authorization`. We should not take this change lightly, because this is a namespace that is technically not ours as we're being included in controllers.\n\nThe hope is that the context method will help _reduce_ the overall API surface.\n\nAdditionally this will hopefully help us introduce an API for a namespaced Pundit.","shortMessageHtmlLink":"First pass of Pundit::Context"}},{"before":"431e4cfbbf20a3004b07c31077a7f821ddfd5da9","after":"120fa7ec7210efe95c4f36562ace35f3cd00fd17","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-07T09:15:04.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"First pass of Pundit::Context\n\nSee https://github.com/varvet/pundit/discussions/774\n\nAn API-change in this commit is that we're introducing a new method named `pundit` in `Pundit::Authorization`. We should not take this change lightly, because this is a namespace that is technically not ours as we're being included in controllers.\n\nThe hope is that the context method will help _reduce_ the overall API surface.\n\nAdditionally this will hopefully help us introduce an API for a namespaced Pundit.","shortMessageHtmlLink":"First pass of Pundit::Context"}},{"before":"f13018776aa3f6e39223f8deb07a43df28c736a6","after":"55f64cbe09a9da2f21988021c6a1d5848d312059","ref":"refs/heads/main","pushedAt":"2024-03-07T09:14:37.000Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Merge pull request #796 from varvet/kbs/rubocop-syntax-upgrade\n\nRemove support for Ruby 3.0","shortMessageHtmlLink":"Merge pull request #796 from varvet/kbs/rubocop-syntax-upgrade"}},{"before":"f276b6a4f1180310e88b3e7c4ceda8ccf905876b","after":null,"ref":"refs/heads/kbs/rubocop-syntax-upgrade","pushedAt":"2024-03-07T09:14:37.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"}},{"before":"72bc2d1dfaf1bd5cd4f4c9e8f515182509bf9c1c","after":"f276b6a4f1180310e88b3e7c4ceda8ccf905876b","ref":"refs/heads/kbs/rubocop-syntax-upgrade","pushedAt":"2024-03-07T09:08:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Remove unused rubocops","shortMessageHtmlLink":"Remove unused rubocops"}},{"before":"da0a10357a237ef81dbbce6cb8eaba32eca1b287","after":"72bc2d1dfaf1bd5cd4f4c9e8f515182509bf9c1c","ref":"refs/heads/kbs/rubocop-syntax-upgrade","pushedAt":"2024-03-07T09:06:22.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Remove unused rubocops","shortMessageHtmlLink":"Remove unused rubocops"}},{"before":"cadf4c38f63c7b710b5db9107bd0b928f4f1fb1d","after":"da0a10357a237ef81dbbce6cb8eaba32eca1b287","ref":"refs/heads/kbs/rubocop-syntax-upgrade","pushedAt":"2024-03-01T09:56:50.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Do not test on 3.0","shortMessageHtmlLink":"Do not test on 3.0"}},{"before":null,"after":"cadf4c38f63c7b710b5db9107bd0b928f4f1fb1d","ref":"refs/heads/kbs/rubocop-syntax-upgrade","pushedAt":"2024-03-01T09:51:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Update rubocop target ruby to 3.1\n\nWe can't make a new release with this just yet, because we still support Ruby 3.0 for another 30 days.","shortMessageHtmlLink":"Update rubocop target ruby to 3.1"}},{"before":null,"after":"431e4cfbbf20a3004b07c31077a7f821ddfd5da9","ref":"refs/heads/kbs/pundit-context","pushedAt":"2024-03-01T09:50:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"First pass of Pundit::Context\n\nSee https://github.com/varvet/pundit/discussions/774\n\nAn API-change in this commit is that we're introducing a new method named `pundit` in `Pundit::Authorization`. We should not take this change lightly, because this is a namespace that is technically not ours as we're being included in controllers.\n\nThe hope is that the context method will help _reduce_ the overall API surface.\n\nAdditionally this will hopefully help us introduce an API for a namespaced Pundit.","shortMessageHtmlLink":"First pass of Pundit::Context"}},{"before":"14cf7697e6aa16aefab3d9a77ebd081e0c00ea0a","after":null,"ref":"refs/heads/kbs/update-ruby-matrix","pushedAt":"2024-03-01T08:09:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"}},{"before":"9dd051102bbce8899a2f5b059cd9692052c3bf8b","after":"f13018776aa3f6e39223f8deb07a43df28c736a6","ref":"refs/heads/main","pushedAt":"2024-03-01T08:09:02.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"Burgestrand","name":"Kim Burgestrand","path":"/Burgestrand","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99166?s=80&v=4"},"commit":{"message":"Merge pull request #795 from varvet/kbs/update-ruby-matrix\n\nRun for 3.2 and 3.3 too. 3.0 is soon EOL","shortMessageHtmlLink":"Merge pull request #795 from varvet/kbs/update-ruby-matrix"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEIkBp-wA","startCursor":null,"endCursor":null}},"title":"Activity ยท varvet/pundit"}