git: a4404bae4d24 - main - devel/rubygem-rubocop-minitest: Add rubygem-rubocop-minitest 0.36.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:41:02 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a4404bae4d24b7dd972cd9f6f5d7447661901054

commit a4404bae4d24b7dd972cd9f6f5d7447661901054
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:54 +0000

    devel/rubygem-rubocop-minitest: Add rubygem-rubocop-minitest 0.36.0
    
    RuboCop Minitest is a RuboCop extension focused on enforcing Minitest best
    practices and coding conventions. The library is based on the guidelines
    outlined in the community Minitest Style Guide.
---
 devel/Makefile                           |  1 +
 devel/rubygem-rubocop-minitest/Makefile  | 21 +++++++++++++++++++++
 devel/rubygem-rubocop-minitest/distinfo  |  3 +++
 devel/rubygem-rubocop-minitest/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f0d25a751fda..410241b21105 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7730,6 +7730,7 @@
     SUBDIR += rubygem-rubocop-ast
     SUBDIR += rubygem-rubocop-capybara
     SUBDIR += rubygem-rubocop-factory_bot
+    SUBDIR += rubygem-rubocop-minitest
     SUBDIR += rubygem-rubocop-performance
     SUBDIR += rubygem-rubocop-rails
     SUBDIR += rubygem-rubocop-rake
diff --git a/devel/rubygem-rubocop-minitest/Makefile b/devel/rubygem-rubocop-minitest/Makefile
new file mode 100644
index 000000000000..24801aed0575
--- /dev/null
+++ b/devel/rubygem-rubocop-minitest/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	rubocop-minitest
+PORTVERSION=	0.36.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Automatic Minitest code style checking tool
+WWW=		https://docs.rubocop.org/rubocop-minitest/ \
+		https://github.com/rubocop/rubocop-minitest
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-rubocop>=1.61<2.0:devel/rubygem-rubocop \
+		rubygem-rubocop-ast>=1.31.1<2.0:devel/rubygem-rubocop-ast
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rubocop-minitest/distinfo b/devel/rubygem-rubocop-minitest/distinfo
new file mode 100644
index 000000000000..ea645fa17a5c
--- /dev/null
+++ b/devel/rubygem-rubocop-minitest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731679146
+SHA256 (rubygem/rubocop-minitest-0.36.0.gem) = 1d15850849c685ff4b6d64dd801ec2d13eb2fe56b6f7ce9aab93d1b0508e7b9f
+SIZE (rubygem/rubocop-minitest-0.36.0.gem) = 31232
diff --git a/devel/rubygem-rubocop-minitest/pkg-descr b/devel/rubygem-rubocop-minitest/pkg-descr
new file mode 100644
index 000000000000..f457d15ced5a
--- /dev/null
+++ b/devel/rubygem-rubocop-minitest/pkg-descr
@@ -0,0 +1,3 @@
+RuboCop Minitest is a RuboCop extension focused on enforcing Minitest best
+practices and coding conventions. The library is based on the guidelines
+outlined in the community Minitest Style Guide.