svn commit: r402624 - in head/devel: . rubygem-titlecase
Michael Moll
mmoll at FreeBSD.org
Sun Nov 29 21:04:37 UTC 2015
Author: mmoll
Date: Sun Nov 29 21:04:36 2015
New Revision: 402624
URL: https://svnweb.freebsd.org/changeset/ports/402624
Log:
new port: devel/rubygem-titlecase
A set of methods added to the String class to allow title casing of strings:
- capitalize each word
- downcase each of the small_words
- words with capitals after the first character are left alone
- words with periods are left alone
- first and last word always capitalized
- small words after colons are capitalized
WWW: https://github.com/samsouder/titlecase
Added:
head/devel/rubygem-titlecase/
head/devel/rubygem-titlecase/Makefile (contents, props changed)
head/devel/rubygem-titlecase/distinfo (contents, props changed)
head/devel/rubygem-titlecase/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Nov 29 21:04:14 2015 (r402623)
+++ head/devel/Makefile Sun Nov 29 21:04:36 2015 (r402624)
@@ -5045,6 +5045,7 @@
SUBDIR += rubygem-timers
SUBDIR += rubygem-tins
SUBDIR += rubygem-tins0
+ SUBDIR += rubygem-titlecase
SUBDIR += rubygem-toml
SUBDIR += rubygem-transaction-simple
SUBDIR += rubygem-travis
Added: head/devel/rubygem-titlecase/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-titlecase/Makefile Sun Nov 29 21:04:36 2015 (r402624)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= titlecase
+PORTVERSION= 0.1.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby at FreeBSD.org
+COMMENT= Ruby string extensions to add title case support
+
+LICENSE= MIT
+
+NO_ARCH= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
Added: head/devel/rubygem-titlecase/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-titlecase/distinfo Sun Nov 29 21:04:36 2015 (r402624)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/titlecase-0.1.1.gem) = 513fc4233f1f03ee96a8fa149c1c7001fb032f95899c95c1420c6f1547235dda
+SIZE (rubygem/titlecase-0.1.1.gem) = 5632
Added: head/devel/rubygem-titlecase/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-titlecase/pkg-descr Sun Nov 29 21:04:36 2015 (r402624)
@@ -0,0 +1,9 @@
+A set of methods added to the String class to allow title casing of strings:
+- capitalize each word
+- downcase each of the small_words
+- words with capitals after the first character are left alone
+- words with periods are left alone
+- first and last word always capitalized
+- small words after colons are capitalized
+
+WWW: https://github.com/samsouder/titlecase
More information about the svn-ports-all
mailing list