git: 78bac10626e2 - main - devel/rubygem-rubocop-capybara: Add rubygem-rubocop-capybara 2.17.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:05:18 UTC
The branch main has been updated by sunpoet:

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

commit 78bac10626e2470bcaf2affb44207b80c57cfcbd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:21:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:56 +0000

    devel/rubygem-rubocop-capybara: Add rubygem-rubocop-capybara 2.17.0
    
    RuboCop Capybara provides Capybara-specific analysis for your projects, as an
    extension to RuboCop.
---
 devel/Makefile                           |  1 +
 devel/rubygem-rubocop-capybara/Makefile  | 19 +++++++++++++++++++
 devel/rubygem-rubocop-capybara/distinfo  |  3 +++
 devel/rubygem-rubocop-capybara/pkg-descr |  2 ++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 993646f36657..d623d4f948d0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7024,6 +7024,7 @@
     SUBDIR += rubygem-rspec_junit_formatter
     SUBDIR += rubygem-rubocop
     SUBDIR += rubygem-rubocop-ast
+    SUBDIR += rubygem-rubocop-capybara
     SUBDIR += rubygem-rubocop-performance
     SUBDIR += rubygem-rubocop-rake
     SUBDIR += rubygem-rubocop-rspec
diff --git a/devel/rubygem-rubocop-capybara/Makefile b/devel/rubygem-rubocop-capybara/Makefile
new file mode 100644
index 000000000000..e76b6f86a425
--- /dev/null
+++ b/devel/rubygem-rubocop-capybara/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	rubocop-capybara
+PORTVERSION=	2.17.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Code style checking for Capybara test files
+WWW=		https://github.com/rubocop/rubocop-capybara
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE.md
+
+RUN_DEPENDS=	rubygem-rubocop>=1.41<2:devel/rubygem-rubocop
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rubocop-capybara/distinfo b/devel/rubygem-rubocop-capybara/distinfo
new file mode 100644
index 000000000000..4b5ef34366a1
--- /dev/null
+++ b/devel/rubygem-rubocop-capybara/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588102
+SHA256 (rubygem/rubocop-capybara-2.17.0.gem) = bbdc757d091788fafc37a634c54e1a930489498a36f81321c5c50cf0a76498c0
+SIZE (rubygem/rubocop-capybara-2.17.0.gem) = 14848
diff --git a/devel/rubygem-rubocop-capybara/pkg-descr b/devel/rubygem-rubocop-capybara/pkg-descr
new file mode 100644
index 000000000000..8337c0c78a75
--- /dev/null
+++ b/devel/rubygem-rubocop-capybara/pkg-descr
@@ -0,0 +1,2 @@
+RuboCop Capybara provides Capybara-specific analysis for your projects, as an
+extension to RuboCop.