Skip to content

Commit b0791a2

Browse files
committed
Cap activeadmin at < 4 so AA 4 is an opt-in, not a surprise
ActiveAdmin 4 is a major release and will almost certainly rename or remove things this gem hooks into (Devise controllers, view overrides, utility-navigation helpers). With the previous open-ended '>= 3.5' constraint, users would silently pull AA 4 on their next 'bundle update' and discover the breakage at boot. Lock the ceiling to < 4 now. When AA 4 ships, verify the gem against it, adjust for API changes, and release a new version that bumps the ceiling to < 5. Standard pattern for ActiveAdmin plugin gems — see active_admin_sidebar for the same shape.
1 parent 0984efe commit b0791a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activeadmin-oidc.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
2727
]
2828
spec.require_paths = ["lib"]
2929

30-
spec.add_dependency "activeadmin", ">= 3.5"
30+
spec.add_dependency "activeadmin", ">= 3.5", "< 4"
3131
spec.add_dependency "devise", ">= 4.9"
3232
spec.add_dependency "omniauth", ">= 2.1"
3333
spec.add_dependency "omniauth-rails_csrf_protection", ">= 1.0"

0 commit comments

Comments
 (0)