git: 71a8b2d03fef - main - devel/rubygem-rubocop-rails: Add a new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Mar 2024 03:47:19 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/ports/commit/?id=71a8b2d03fefb767f3f4eb61d4d2b4289ed3ed0e
commit 71a8b2d03fefb767f3f4eb61d4d2b4289ed3ed0e
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2024-03-02 03:47:14 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2024-03-02 03:47:14 +0000
devel/rubygem-rubocop-rails: Add a new port
rubygem-rubocop-rails is a RuboCop extension focused on enforcing
Rails best practices and coding conventions.
---
devel/Makefile | 1 +
devel/rubygem-rubocop-rails/Makefile | 24 ++++++++++++++++++++++++
devel/rubygem-rubocop-rails/distinfo | 3 +++
devel/rubygem-rubocop-rails/pkg-descr | 2 ++
4 files changed, 30 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index e41c91a9b0e3..39bd6b397fbb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7375,6 +7375,7 @@
SUBDIR += rubygem-rubocop-capybara
SUBDIR += rubygem-rubocop-factory_bot
SUBDIR += rubygem-rubocop-performance
+ SUBDIR += rubygem-rubocop-rails
SUBDIR += rubygem-rubocop-rake
SUBDIR += rubygem-rubocop-rspec
SUBDIR += rubygem-ruby-atmos-pure
diff --git a/devel/rubygem-rubocop-rails/Makefile b/devel/rubygem-rubocop-rails/Makefile
new file mode 100644
index 000000000000..5697a5fb7497
--- /dev/null
+++ b/devel/rubygem-rubocop-rails/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= rubocop-rails
+PORTVERSION= 2.23.1
+CATEGORIES= devel ruby
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= RuboCop extension focused on enforcing Rails coding conventions
+WWW= https://github.com/rubocop/rubocop-rails
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activesupport61>=4.2.0:devel/rubygem-activesupport61 \
+ rubygem-rack>=1.1:www/rubygem-rack \
+ rubygem-rubocop>=1.33.0:devel/rubygem-rubocop \
+ rubygem-rubocop-ast>=1.30.0:devel/rubygem-rubocop-ast
+
+USES= cpe gem
+
+NO_ARCH= yes
+
+CPE_VENDOR= rubocop_project
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rubocop-rails/distinfo b/devel/rubygem-rubocop-rails/distinfo
new file mode 100644
index 000000000000..48ded66251d7
--- /dev/null
+++ b/devel/rubygem-rubocop-rails/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709264949
+SHA256 (rubygem/rubocop-rails-2.23.1.gem) = 50944643fec4832fda202258e41c22b9115bcf21916ab952e005f6b8bb49a3c5
+SIZE (rubygem/rubocop-rails-2.23.1.gem) = 107008
diff --git a/devel/rubygem-rubocop-rails/pkg-descr b/devel/rubygem-rubocop-rails/pkg-descr
new file mode 100644
index 000000000000..9a2f9dbc8f81
--- /dev/null
+++ b/devel/rubygem-rubocop-rails/pkg-descr
@@ -0,0 +1,2 @@
+RuboCop Rails is a RuboCop extension focused on enforcing Rails best practices
+and coding conventions.