BSD Ports

www/rubygem-actionpack61 6.1.7.10 MidnightBSD

Action Controller and Action View of Rails MVC Framework

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
bb75324d56
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-actionpack616.1.7.10
FreeBSDwww/rubygem-actionpack616.1.7.10
DragonFlywww/rubygem-actionpack616.1.7.10
HardenedBSDwww/rubygem-actionpack616.1.7.10
GhostBSDwww/rubygem-actionpack616.1.7.10

Install

Binary package:

mport install actionpack61

From mports:

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

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

RUN_DEPENDS=	actionpack61>0:www/rubygem-actionpack61

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-6.1.7.10.gem2273287dd526e14b21db61c8b46d45261cf859cb86d430dd4ea4feff1c873099f5d56e
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
bb75324d56 Lucas Holt www/rubygem-actionpack61: fix the dependency version upper bound
mport.query does not match a package when the lower bound of a range equals the upper bound's base version and the upper bound carries a _N suffix: "version>=1.1.1<1.1.1_99" reports not found for an installed 1.1.1, while "version>=1.1.1<1.1.1.99" matches, including packages carrying a PORTREVISION. Spell the bound with .99 so the dependency resolves. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>