Port details |
- rubygem-erubi ERB template engine for Ruby
- 1.13.1 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-12-31 15:54:38
- Commit Hash: c3ee0c3
- 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 = 1735228184
SHA256 (rubygem/erubi-1.13.1.gem) = a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
SIZE (rubygem/erubi-1.13.1.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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.13.1 31 Dec 2024 15:54:38
    |
Po-Chuan Hsieh (sunpoet)  |
www/rubygem-erubi: Update to 1.13.1
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.13.0 18 Jun 2024 04:03:34
    |
Po-Chuan Hsieh (sunpoet)  |
www/rubygem-erubi: Update to 1.13.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.12.0 30 Jan 2023 13:01:43
    |
Po-Chuan Hsieh (sunpoet)  |
www/rubygem-erubi: Update to 1.12.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.11.0 14 Jan 2023 23:08:33
    |
Muhammad Moinur Rahman (bofh)  |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.11.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.11.0 27 Aug 2022 10:25:44
    |
Po-Chuan Hsieh (sunpoet)  |
www/rubygem-erubi: Update to 1.11.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.10.0 20 Jul 2022 14:23:26
    |
Tobias C. Berner (tcberner)  |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
1.10.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.10.0 21 Nov 2020 09:44:35
  |
sunpoet  |
Update to 1.10.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.9.0 27 Sep 2019 21:28:23
  |
sunpoet  |
Update to 1.9.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.8.0 01 Jan 2019 20:40:01
  |
sunpoet  |
Update to 1.8.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.7.1 06 Mar 2018 20:31:25
  |
sunpoet  |
Update to 1.7.1
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.7.0 10 Oct 2017 11:16:58
  |
sunpoet  |
Update to 1.7.0
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.6.1 28 Jun 2017 15:42:57
  |
sunpoet  |
Update to 1.6.1
Changes: https://github.com/jeremyevans/erubi/blob/master/CHANGELOG |
1.6.0 28 Apr 2017 21:26:03
  |
sunpoet  |
Add rubygem-erubi 1.6.0
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)
WWW: https://github.com/jeremyevans/erubi |