From 9116748cf51785d342f0ce8ac5f7d116a62b36c5 Mon Sep 17 00:00:00 2001 From: Denis Talakevich Date: Wed, 2 Dec 2026 12:11:54 +0200 Subject: [PATCH] Pin page objects to the v2.0.0.beta1 tag The test Gemfile pinned an unreleased branch commit, which broke CI if the branch moved. The tag needs ActiveAdmin 4.0.0.beta23, so the guard and the README say so. Co-Authored-By: Clanker --- Gemfile | 6 +++--- README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 78b2bb5..dda7dc0 100644 --- a/Gemfile +++ b/Gemfile @@ -25,8 +25,8 @@ group :test do gem 'cuprite' gem 'webrick', require: false - # The page objects (active_admin_datetimepicker/page_objects) need it, and it needs ActiveAdmin 4. - if Gem::Version.new(activeadmin_version) >= Gem::Version.new('4.0.0.beta1') - gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', ref: '8ec1677d4118559af117421fbf6576cdd5e33721', require: false + # The page objects (active_admin_datetimepicker/page_objects) need it, and it needs ActiveAdmin 4.0.0.beta23 or later. + if Gem::Version.new(activeadmin_version) >= Gem::Version.new('4.0.0.beta23') + gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', tag: 'v2.0.0.beta1', require: false end end diff --git a/README.md b/README.md index 20aa632..f38f23d 100644 --- a/README.md +++ b/README.md @@ -185,10 +185,10 @@ colors, not `$aa-datetimepicker-accent-color`. ## Page objects -Page objects for tests, built on [active_admin_page_objects](https://github.com/activeadmin-plugins/active_admin_page_objects) 2.x. They are optional and need ActiveAdmin 4. 2.x is not on RubyGems yet, so add it to your test group from GitHub: +Page objects for tests, built on [active_admin_page_objects](https://github.com/activeadmin-plugins/active_admin_page_objects) 2.x. They are optional and need ActiveAdmin 4.0.0.beta23 or later. 2.x is not on RubyGems yet, so add it to your test group from GitHub: ```ruby -gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', branch: 'restructure-vanilla-v4' +gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', tag: 'v2.0.0.beta1' ``` Then require the file from your spec helper: