BSD Ports

devel/rubygem-timeliness 0.5.3 FreeBSD

Fast date/time parser with customisable formats, timezone and I18n support

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
26.4 KiB, 104.9 KiB installed

Description

Date/time parser for Ruby with the following features:

  • Extensible with custom formats and tokens.
  • It's pretty fast. Up to 60% faster than Time/Date parse method.
  • Control the parser strictness.
  • Control behaviour of ambiguous date formats (US vs European e.g. mm/dd/yy, dd/mm/yy).
  • I18n support (for months), if I18n gem loaded.
  • Fewer WTFs than Time/Date parse method.
  • Has no dependencies.

Extracted from the validates_timeliness gem, it has been rewritten cleaner and much faster. It's most suitable for when you need to control the parsing behaviour. It's faster than the Time/Date class parse methods, so it has general appeal.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-timeliness0.5.3
DragonFlydevel/rubygem-timeliness0.5.2
MidnightBSDdevel/rubygem-timeliness0.5.3

Install

Binary package:

pkg install rubygem-timeliness

From the ports tree:

cd /usr/ports/devel/rubygem-timeliness/ && make install clean

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

RUN_DEPENDS=	rubygem-timeliness>0:devel/rubygem-timeliness

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5.30.5.30.4.40.5.30.5.3
FreeBSD:14:quarterly0.5.30.5.3n/a0.5.30.5.3
FreeBSD:15:latest0.5.30.5.3n/a0.5.30.5.3
FreeBSD:15:quarterly0.5.30.5.3n/an/an/a
FreeBSD:16:latest0.5.30.5.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6
Required by 145

The first 100 are listed.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/timeliness-0.5.3.gem291846175e14a0e072b50d2433d253de3c18ce10c573d909edf55c4b510271ecd5aed
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.