Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2019 12:47:27 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521294 - in head/devel: . rubygem-timeliness
Message-ID:  <201912291247.xBTClRfc096551@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec 29 12:47:26 2019
New Revision: 521294
URL: https://svnweb.freebsd.org/changeset/ports/521294

Log:
  Add rubygem-timeliness 0.4.3
  
  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.
  
  WWW: https://github.com/adzap/timeliness

Added:
  head/devel/rubygem-timeliness/
  head/devel/rubygem-timeliness/Makefile   (contents, props changed)
  head/devel/rubygem-timeliness/distinfo   (contents, props changed)
  head/devel/rubygem-timeliness/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Dec 29 12:47:12 2019	(r521293)
+++ head/devel/Makefile	Sun Dec 29 12:47:26 2019	(r521294)
@@ -6229,6 +6229,7 @@
     SUBDIR += rubygem-sidekiq-cron
     SUBDIR += rubygem-sidekiq-scheduler
     SUBDIR += rubygem-sidekiq-unique-jobs
+    SUBDIR += rubygem-sidekiq5
     SUBDIR += rubygem-sidetiq
     SUBDIR += rubygem-sigdump
     SUBDIR += rubygem-simple-navigation
@@ -6298,6 +6299,7 @@
     SUBDIR += rubygem-thrift
     SUBDIR += rubygem-tilt
     SUBDIR += rubygem-tilt1
+    SUBDIR += rubygem-timeliness
     SUBDIR += rubygem-timers
     SUBDIR += rubygem-tins
     SUBDIR += rubygem-titlecase

Added: head/devel/rubygem-timeliness/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-timeliness/Makefile	Sun Dec 29 12:47:26 2019	(r521294)
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	timeliness
+PORTVERSION=	0.4.3
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast date/time parser with customisable formats, timezone and I18n support
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-timeliness/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-timeliness/distinfo	Sun Dec 29 12:47:26 2019	(r521294)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577523862
+SHA256 (rubygem/timeliness-0.4.3.gem) = aa35240ffe4bb7663d3a4b1006bdf3580c324a2a6acb86a4bc132a8376775b94
+SIZE (rubygem/timeliness-0.4.3.gem) = 25600

Added: head/devel/rubygem-timeliness/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-timeliness/pkg-descr	Sun Dec 29 12:47:26 2019	(r521294)
@@ -0,0 +1,16 @@
+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.
+
+WWW: https://github.com/adzap/timeliness



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912291247.xBTClRfc096551>