BSD Ports

www/rubygem-actionpack50 5.0.7.2_2 MidnightBSD

Action Controller and Action View of Rails MVC Framework

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
a9e9fefda5
License
mit
Categories
www, rubygems

Description

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 by rendering views, which are templates of various formats. In short, Action Pack provides the view and controller layers 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.

In the other systems

SystemPortVersion
MidnightBSDwww/rubygem-actionpack505.0.7.2_2
FreeBSDwww/rubygem-actionpack505.0.7.2_2
DragonFlywww/rubygem-actionpack505.0.7.2_2
HardenedBSDwww/rubygem-actionpack505.0.7.2_2
GhostBSDwww/rubygem-actionpack505.0.7.2_2

Install

Binary package:

mport install actionpack50

From mports:

cd /usr/mports/www/rubygem-actionpack50 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	actionpack50>0:www/rubygem-actionpack50

Dependencies

As this port's Makefile names them.

Build 6

Runtime 6

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/actionpack-5.0.7.2.gem212992cbcdeacc26e8c760b33d0454bff535d993add252e9dd276a51ff014b0290def3
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
a9e9fefda5 Lucas Holt www/rubygem-actionpack50: install RUN_DEPENDS at build time
The gemdeps QA check runs ${LOCALBASE}/bin/gem list, so the runtime gems have to be installed before fake-qa. The build cluster installs BUILD_DEPENDS but not RUN_DEPENDS, so the check reported dependencies as unsatisfied even though they had built successfully in the same run. This matches the convention already used by most rubygem ports. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>