diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-16 06:14:12 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-16 06:21:54 +0000 |
commit | c944f0a5cc399507a549cae535c69fe08581d426 (patch) | |
tree | a561b1e948c4e20ab1fd3eaf973eaedc7cd59f2f /www | |
parent | 6f0ee272541c19580e0932650a5ff0f93c786c0e (diff) | |
download | ports-c944f0a5cc399507a549cae535c69fe08581d426.tar.gz ports-c944f0a5cc399507a549cae535c69fe08581d426.zip |
www/rubygem-bullet_train-super_load_and_authorize_resource: Add rubygem-bullet_train-super_load_and_authorize_resource 1.7.2
BulletTrain's super load and authorize resource function
It is heavily based on cancancan's load_and_authorize_resource method.
Diffstat (limited to 'www')
4 files changed, 27 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index becce4badb52..8196225c7762 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1972,6 +1972,7 @@ SUBDIR += rubygem-bullet_train-roles SUBDIR += rubygem-bullet_train-routes SUBDIR += rubygem-bullet_train-scope_validator + SUBDIR += rubygem-bullet_train-super_load_and_authorize_resource SUBDIR += rubygem-cal-heatmap-rails SUBDIR += rubygem-carrierwave SUBDIR += rubygem-carrierwave1 diff --git a/www/rubygem-bullet_train-super_load_and_authorize_resource/Makefile b/www/rubygem-bullet_train-super_load_and_authorize_resource/Makefile new file mode 100644 index 000000000000..3191301a6106 --- /dev/null +++ b/www/rubygem-bullet_train-super_load_and_authorize_resource/Makefile @@ -0,0 +1,20 @@ +PORTNAME= bullet_train-super_load_and_authorize_resource +PORTVERSION= 1.7.2 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Bullet Train Super Load And Authorize Resource +WWW= https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train-super_load_and_authorize_resource + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-cancancan>=0:security/rubygem-cancancan \ + rubygem-rails71>=6.0.0:www/rubygem-rails71 + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-bullet_train-super_load_and_authorize_resource/distinfo b/www/rubygem-bullet_train-super_load_and_authorize_resource/distinfo new file mode 100644 index 000000000000..1a30213f6c21 --- /dev/null +++ b/www/rubygem-bullet_train-super_load_and_authorize_resource/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227840 +SHA256 (rubygem/bullet_train-super_load_and_authorize_resource-1.7.2.gem) = ec03cf21173cff8fc4828b4937ee6a9055728f0e7b658fbacf17791455387a56 +SIZE (rubygem/bullet_train-super_load_and_authorize_resource-1.7.2.gem) = 8704 diff --git a/www/rubygem-bullet_train-super_load_and_authorize_resource/pkg-descr b/www/rubygem-bullet_train-super_load_and_authorize_resource/pkg-descr new file mode 100644 index 000000000000..10a232f58b55 --- /dev/null +++ b/www/rubygem-bullet_train-super_load_and_authorize_resource/pkg-descr @@ -0,0 +1,3 @@ +BulletTrain's super load and authorize resource function + +It is heavily based on cancancan's load_and_authorize_resource method. |