From 13d3534ef6c42ee6e7d9583e9357b085aaec575f Mon Sep 17 00:00:00 2001 From: Sam Pohlenz Date: Fri, 16 Aug 2024 10:21:29 +0930 Subject: [PATCH] Add authorization gems (cancancan/pundit) to newer CI Gemfiles --- gemfiles/rails-7.0-propshaft.gemfile | 2 ++ gemfiles/rails-7.1-propshaft.gemfile | 2 ++ gemfiles/rails-7.2-propshaft.gemfile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/gemfiles/rails-7.0-propshaft.gemfile b/gemfiles/rails-7.0-propshaft.gemfile index 5b64c39..029160b 100644 --- a/gemfiles/rails-7.0-propshaft.gemfile +++ b/gemfiles/rails-7.0-propshaft.gemfile @@ -11,6 +11,8 @@ gem "rails", "~> 7.0.0" gem "propshaft" gem "sqlite3", "~> 1.4" gem "devise" +gem "cancancan" +gem "pundit" gem "trestle", github: "TrestleAdmin/trestle" diff --git a/gemfiles/rails-7.1-propshaft.gemfile b/gemfiles/rails-7.1-propshaft.gemfile index 28ab8a3..238330b 100644 --- a/gemfiles/rails-7.1-propshaft.gemfile +++ b/gemfiles/rails-7.1-propshaft.gemfile @@ -11,6 +11,8 @@ gem "rails", "~> 7.1.0" gem "propshaft" gem "sqlite3", "~> 1.4" gem "devise" +gem "cancancan" +gem "pundit" gem "trestle", github: "TrestleAdmin/trestle" diff --git a/gemfiles/rails-7.2-propshaft.gemfile b/gemfiles/rails-7.2-propshaft.gemfile index 8502266..fa9cf5a 100644 --- a/gemfiles/rails-7.2-propshaft.gemfile +++ b/gemfiles/rails-7.2-propshaft.gemfile @@ -11,6 +11,8 @@ gem "rails", "~> 7.2.0.rc1" gem "propshaft" gem "sqlite3", "~> 1.4" gem "devise" +gem "cancancan" +gem "pundit" gem "trestle", github: "TrestleAdmin/trestle"