{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":212862,"defaultBranch":"main","name":"refinerycms","ownerLogin":"refinery","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2009-05-28T20:13:21.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/339098?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1684796015.28254","currentOid":""},"activityList":{"items":[{"before":"b44484cc1d6f9f2f77bed36a8cf6c900f6a91519","after":null,"ref":"refs/heads/fix-sqlite3-gsub","pushedAt":"2023-05-22T22:53:35.282Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"}},{"before":"1d3222b2b8427a61ebea1d97a7078b21cb213963","after":"04f07c1e661dae7a0501d075e104a52fce4b71b1","ref":"refs/heads/main","pushedAt":"2023-05-22T22:53:34.247Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Fix `sqlite3` gsub in `Refinery::CmsGenerator` (#3530)\n\nI noticed when running `rails new -m https://www.refinerycms.com/t/edge`\r\nthat it was mangling the `Gemfile` when the `sqlite3` line looked like:\r\n\r\n```ruby\r\n gem 'sqlite3', '~> 1.4'\r\n```\r\n\r\nInstead of the expected:\r\n\r\n```ruby\r\n gem 'sqlite3'\r\n```\r\n\r\nOur `gsub_file` instruction now captures the entire line and inserts it\r\ninside the `group :development, :test do` block.","shortMessageHtmlLink":"Fix sqlite3 gsub in Refinery::CmsGenerator (#3530)"}},{"before":null,"after":"b44484cc1d6f9f2f77bed36a8cf6c900f6a91519","ref":"refs/heads/fix-sqlite3-gsub","pushedAt":"2023-05-22T22:48:28.878Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Fix sqlite3 gsub in Refinery::CmsGenerator","shortMessageHtmlLink":"Fix sqlite3 gsub in Refinery::CmsGenerator"}},{"before":"1a78db5154eee46f59ccb525680a001536e7c681","after":null,"ref":"refs/heads/parndt-patch-1","pushedAt":"2023-05-22T22:12:12.127Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"}},{"before":"5cbbd140ba6f94f40bb77e652449351f0814e09c","after":"1d3222b2b8427a61ebea1d97a7078b21cb213963","ref":"refs/heads/main","pushedAt":"2023-05-22T22:12:11.078Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Update `File.exists?` to `File.exist?` (#3529)\n\nThe former was removed in more recent versions of Ruby.","shortMessageHtmlLink":"Update File.exists? to File.exist? (#3529)"}},{"before":"3e5c4ceb22f5d2a42fce18b3cd7c08e60471eb96","after":"1a78db5154eee46f59ccb525680a001536e7c681","ref":"refs/heads/parndt-patch-1","pushedAt":"2023-05-22T21:45:39.643Z","pushType":"push","commitsCount":1,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Update other uses of File.exists?","shortMessageHtmlLink":"Update other uses of File.exists?"}},{"before":null,"after":"3e5c4ceb22f5d2a42fce18b3cd7c08e60471eb96","ref":"refs/heads/parndt-patch-1","pushedAt":"2023-05-22T21:38:45.659Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Update `File.exists?` to `File.exist?`","shortMessageHtmlLink":"Update File.exists? to File.exist?"}},{"before":"493006282830e0a877c427e32709901ff9275932","after":"5cbbd140ba6f94f40bb77e652449351f0814e09c","ref":"refs/heads/main","pushedAt":"2023-05-12T01:40:04.639Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Fix Zeitwerk conventions for `Refinery::Pages::Finder` (#3524)\n\nResolves #3523\r\n\r\nThe issue stems from the definition of `Refinery::Pages::Finder` and its sibling classes (`Refinery::Pages::FinderByTitle` and so on). These are all defined beside each other in [`pages/lib/refinery/pages/finder.rb`](https://github.com/refinery/refinerycms/blob/aee49a603860bf7d5fdb1532b9add5f4e7f839f4/pages/lib/refinery/pages/finder.rb) which gets required in [`pages/app/models/refinery/page.rb`](https://github.com/refinery/refinerycms/blob/aee49a603860bf7d5fdb1532b9add5f4e7f839f4/pages/app/models/refinery/page.rb#L6).\r\n\r\nWhen reloading, Zeitwerk reloads the model, which in turn loads the finder again. But because the file is named `finder.rb`, only `Refinery::Pages::Finder` gets unloaded and reloaded again. All other classes stay loaded and would be patched by the reload. But because `Refinery::Pages::Finder` has been reloaded and initialized again, it got a new `object_id`, thus triggering the **`superclass mismatch`** error.\r\n\r\nThe solution, that fixed the error, was to move all sibling-classes of `Refinery::Pages::Finder` into it, making them children of `Refinery::Pages::Finder`. Because they are only called inside `Refinery::Pages::Finder` itself, this *should* not make problems.","shortMessageHtmlLink":"Fix Zeitwerk conventions for Refinery::Pages::Finder (#3524)"}},{"before":"f996a5895df76037cb9551258924dbb9dea95d25","after":"493006282830e0a877c427e32709901ff9275932","ref":"refs/heads/main","pushedAt":"2023-04-23T23:53:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Specify case-sensitive uniqueness for page part slug (Rails 6 deprecation warning)","shortMessageHtmlLink":"Specify case-sensitive uniqueness for page part slug (Rails 6 depreca…"}},{"before":"aee49a603860bf7d5fdb1532b9add5f4e7f839f4","after":"f996a5895df76037cb9551258924dbb9dea95d25","ref":"refs/heads/main","pushedAt":"2023-04-23T23:46:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"parndt","name":"Philip Arndt","path":"/parndt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10128?s=80&v=4"},"commit":{"message":"Update GitHub Actions workflow to use `main` branch\n\nWe renamed our `master` branch to `main` but our GitHub Actions workflow\r\nstill references `master`.","shortMessageHtmlLink":"Update GitHub Actions workflow to use main branch"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADMfYmgAA","startCursor":null,"endCursor":null}},"title":"Activity · refinery/refinerycms"}