summaryrefslogtreecommitdiff
path: root/www/rubygem-actionpack81
diff options
context:
space:
mode:
Diffstat (limited to 'www/rubygem-actionpack81')
-rw-r--r--www/rubygem-actionpack81/Makefile31
-rw-r--r--www/rubygem-actionpack81/distinfo3
-rw-r--r--www/rubygem-actionpack81/pkg-descr19
3 files changed, 53 insertions, 0 deletions
diff --git a/www/rubygem-actionpack81/Makefile b/www/rubygem-actionpack81/Makefile
new file mode 100644
index 000000000000..619a9eff09fb
--- /dev/null
+++ b/www/rubygem-actionpack81/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= actionpack
+PORTVERSION= 8.1.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 81
+
+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-actionview81>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview81 \
+ rubygem-activesupport81>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport81 \
+ 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-rails81>=2.2<3:textproc/rubygem-rails-dom-testing-rails81 \
+ rubygem-rails-html-sanitizer>=1.6<2:textproc/rubygem-rails-html-sanitizer \
+ rubygem-useragent>=0.16<1:devel/rubygem-useragent
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^8\.1\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack81/distinfo b/www/rubygem-actionpack81/distinfo
new file mode 100644
index 000000000000..43f25eb1a48d
--- /dev/null
+++ b/www/rubygem-actionpack81/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1762526268
+SHA256 (rubygem/actionpack-8.1.0.gem) = f837989d31e5ab3a71f4db2ec8e197891558c5b763d12c5f1c1dfc5911df0a61
+SIZE (rubygem/actionpack-8.1.0.gem) = 260608
diff --git a/www/rubygem-actionpack81/pkg-descr b/www/rubygem-actionpack81/pkg-descr
new file mode 100644
index 000000000000..2f8df748c74a
--- /dev/null
+++ b/www/rubygem-actionpack81/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.