Port details on branch 2023Q1 |
- rubygem-erubi ERB template engine for Ruby
- 1.13.0 www =4 1.13.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2017-04-28 21:26:11
- Last Update: 2024-06-18 04:03:34
- Commit Hash: ad2d25a
- People watching this port, also watch:: libevent, indexinfo, xcb-util-image, libXdamage, py311-configargparse
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/jeremyevans/erubi
- Description:
- Erubi is a ERB template engine for Ruby. It is a simplified fork of Erubis,
using the same basic algorithm, with the following differences:
- Handles postfix conditionals when using escaping (e.g. <%= foo if bar %>)
- Supports frozen_string_literal: true in templates via :freeze option
- Works with Ruby's -enable-frozen-string-literal option
- Automatically freezes strings for template text when Ruby optimizes it (on
Ruby 2.1+)
- Escapes ' (apostrophe) when escaping for better XSS protection
- Has 6x faster escaping on Ruby 2.3+ by using cgi/escape
- Has 86% smaller memory footprint
- Does no monkey patching (Erubis adds a method to Kernel)
- Uses an immutable design (all options passed to the constructor, which returns
a frozen object)
- Has simpler internals (1 file, <150 lines of code)
- Has an open development model (Erubis doesn't have a public source control
repository or bug tracker)
- Is not dead (Erubis hasn't been updated since 2011)
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-erubi>0:www/rubygem-erubi
- To install the port:
- cd /usr/ports/www/rubygem-erubi/ && make install clean
- To add the package, run one of these commands:
- pkg install www/rubygem-erubi
- pkg install rubygem-erubi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-erubi
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1718580330
SHA256 (rubygem/erubi-1.13.0.gem) = fca61b47daefd865d0fb50d168634f27ad40181867445badf6427c459c33cd62
SIZE (rubygem/erubi-1.13.0.gem) = 13312
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- devel/rubygem-actionview5
- devel/rubygem-actionview52
- devel/rubygem-actionview60
- devel/rubygem-actionview61
- devel/rubygem-actionview70
- devel/rubygem-actionview71
- devel/rubygem-actionview72
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- www_rubygem-erubi
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|