aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-01 07:56:20 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-01 07:56:20 +0000
commit8e3a57dd963069308beb31b2b208f2b6173c99d6 (patch)
treebfd836c639573e9882c02968d689849953cde14f
parentffa151a52e03cee93da6db1d12b08938ae1b5e13 (diff)
www/rubygem-actionpack71: Add rubygem-actionpack71 7.1.1
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.
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-actionpack71/Makefile30
-rw-r--r--www/rubygem-actionpack71/distinfo3
-rw-r--r--www/rubygem-actionpack71/pkg-descr19
4 files changed, 53 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 18bc4d6ef317..70cb1fb62e4f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1936,6 +1936,7 @@
SUBDIR += rubygem-actionpack60
SUBDIR += rubygem-actionpack61
SUBDIR += rubygem-actionpack70
+ SUBDIR += rubygem-actionpack71
SUBDIR += rubygem-activeresource
SUBDIR += rubygem-activeresource4
SUBDIR += rubygem-acts-as-taggable-on
diff --git a/www/rubygem-actionpack71/Makefile b/www/rubygem-actionpack71/Makefile
new file mode 100644
index 000000000000..0ab058e730e8
--- /dev/null
+++ b/www/rubygem-actionpack71/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= actionpack
+PORTVERSION= 7.1.1
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 71
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Action Controller and Action View of Rails MVC Framework
+WWW= https://github.com/rails/rails/tree/main/actionpack \
+ https://rubyonrails.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-actionview71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview71 \
+ rubygem-activesupport71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport71 \
+ rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri \
+ rubygem-rack>=2.2.4,3:www/rubygem-rack \
+ rubygem-rack-session>=1.0.1:www/rubygem-rack-session \
+ rubygem-rack-test>=0.6.3:www/rubygem-rack-test \
+ rubygem-rails-dom-testing-rails71>=2.2<3:textproc/rubygem-rails-dom-testing-rails71 \
+ rubygem-rails-html-sanitizer>=1.6<2:textproc/rubygem-rails-html-sanitizer
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^7\.1\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack71/distinfo b/www/rubygem-actionpack71/distinfo
new file mode 100644
index 000000000000..7e8a8ad99468
--- /dev/null
+++ b/www/rubygem-actionpack71/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697330188
+SHA256 (rubygem/actionpack-7.1.1.gem) = 2de4b4cc50becc3ca8746439214cc7fec221d1c8d2b1d889016d79070624592c
+SIZE (rubygem/actionpack-7.1.1.gem) = 244224
diff --git a/www/rubygem-actionpack71/pkg-descr b/www/rubygem-actionpack71/pkg-descr
new file mode 100644
index 000000000000..2f8df748c74a
--- /dev/null
+++ b/www/rubygem-actionpack71/pkg-descr
@@ -0,0 +1,19 @@
+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.