git: 74a830736d09 - main - www/rubygem-actionpack70: Add rubygem-actionpack70 7.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:51 UTC
The branch main has been updated by sunpoet:

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

commit 74a830736d09a48fb5f5b5fd35f5aa10f903f06e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:57:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:53 +0000

    www/rubygem-actionpack70: Add rubygem-actionpack70 7.0.0
    
    Action Pack is a framework for handling and responding to web requests. It
    provides mechanisms for routing (mapping request URLs to actions), defining
    controllers that implement actions, and generating responses. In short, Action
    Pack provides the controller layer in the MVC paradigm.
    
    It consists of several modules:
    - Action Dispatch, which parses information about the web request, handles
      routing as defined by the user, and does advanced processing related to HTTP
      such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT
      bodies, handling HTTP caching logic, cookies and sessions.
    - Action Controller, which provides a base controller class that can be
      subclassed to implement filters and actions to handle requests. The result of
      an action is typically content generated from views.
    
    With the Ruby on Rails framework, users only directly interface with the Action
    Controller module. Necessary Action Dispatch functionality is activated by
    default and Action View rendering is implicitly triggered by Action Controller.
    However, these modules are designed to function on their own and can be used
    outside of Rails.
    
    WWW: https://rubyonrails.org/
    WWW: https://github.com/rails/rails/tree/main/actionpack
---
 www/Makefile                       |  1 +
 www/rubygem-actionpack70/Makefile  | 27 +++++++++++++++++++++++++++
 www/rubygem-actionpack70/distinfo  |  3 +++
 www/rubygem-actionpack70/pkg-descr | 22 ++++++++++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 730fe3cd591f..be4ac93c396f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1845,6 +1845,7 @@
     SUBDIR += rubygem-actionpack52
     SUBDIR += rubygem-actionpack60
     SUBDIR += rubygem-actionpack61
+    SUBDIR += rubygem-actionpack70
     SUBDIR += rubygem-activeresource
     SUBDIR += rubygem-activeresource4
     SUBDIR += rubygem-acts-as-taggable-on
diff --git a/www/rubygem-actionpack70/Makefile b/www/rubygem-actionpack70/Makefile
new file mode 100644
index 000000000000..85d67a9f700f
--- /dev/null
+++ b/www/rubygem-actionpack70/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	actionpack
+PORTVERSION=	7.0.0
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	70
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Action Controller and Action View of Rails MVC Framework
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionview70>=${PORTVERSION}:devel/rubygem-actionview70 \
+		rubygem-activesupport70>=${PORTVERSION}:devel/rubygem-activesupport70 \
+		rubygem-rack>=2.2.0,3<3,3:www/rubygem-rack \
+		rubygem-rack-test>=0.6.3:www/rubygem-rack-test \
+		rubygem-rails-dom-testing-rails70>=2.0<3:textproc/rubygem-rails-dom-testing-rails70 \
+		rubygem-rails-html-sanitizer>=1.2.0<2:textproc/rubygem-rails-html-sanitizer
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.0\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack70/distinfo b/www/rubygem-actionpack70/distinfo
new file mode 100644
index 000000000000..bc9385d85e4f
--- /dev/null
+++ b/www/rubygem-actionpack70/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045774
+SHA256 (rubygem/actionpack-7.0.0.gem) = 5700fce9520933b816c139b0ead4f6ec47a9c2a141f2040848e5d8efee420ba3
+SIZE (rubygem/actionpack-7.0.0.gem) = 228352
diff --git a/www/rubygem-actionpack70/pkg-descr b/www/rubygem-actionpack70/pkg-descr
new file mode 100644
index 000000000000..74db4ef7b49f
--- /dev/null
+++ b/www/rubygem-actionpack70/pkg-descr
@@ -0,0 +1,22 @@
+Action Pack is a framework for handling and responding to web requests. It
+provides mechanisms for routing (mapping request URLs to actions), defining
+controllers that implement actions, and generating responses. In short, Action
+Pack provides the controller layer in the MVC paradigm.
+
+It consists of several modules:
+- Action Dispatch, which parses information about the web request, handles
+  routing as defined by the user, and does advanced processing related to HTTP
+  such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT
+  bodies, handling HTTP caching logic, cookies and sessions.
+- Action Controller, which provides a base controller class that can be
+  subclassed to implement filters and actions to handle requests. The result of
+  an action is typically content generated from views.
+
+With the Ruby on Rails framework, users only directly interface with the Action
+Controller module. Necessary Action Dispatch functionality is activated by
+default and Action View rendering is implicitly triggered by Action Controller.
+However, these modules are designed to function on their own and can be used
+outside of Rails.
+
+WWW: https://rubyonrails.org/
+WWW: https://github.com/rails/rails/tree/main/actionpack