Date: Sun, 3 Jan 2021 20:01:31 +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: r560072 - in head/devel: . rubygem-tempfile Message-ID: <202101032001.103K1VHl095481@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Jan 3 20:01:31 2021 New Revision: 560072 URL: https://svnweb.freebsd.org/changeset/ports/560072 Log: Add rubygem-tempfile 0.1.1 Tempfile is a utility class for managing temporary files. When you create a Tempfile object, it will create a temporary file with a unique filename. A Tempfile objects behaves just like a File object, and you can perform all the usual file operations on it: reading data, writing data, changing its permissions, etc. So although this class does not explicitly document all instance methods supported by File, you can in fact call any File instance method on a Tempfile object. WWW: https://github.com/ruby/tempfile Added: head/devel/rubygem-tempfile/ head/devel/rubygem-tempfile/Makefile (contents, props changed) head/devel/rubygem-tempfile/distinfo (contents, props changed) head/devel/rubygem-tempfile/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jan 3 20:01:25 2021 (r560071) +++ head/devel/Makefile Sun Jan 3 20:01:31 2021 (r560072) @@ -6555,6 +6555,7 @@ SUBDIR += rubygem-systemu SUBDIR += rubygem-table_print SUBDIR += rubygem-tdiff + SUBDIR += rubygem-tempfile SUBDIR += rubygem-templater SUBDIR += rubygem-temple SUBDIR += rubygem-term-ansicolor Added: head/devel/rubygem-tempfile/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-tempfile/Makefile Sun Jan 3 20:01:31 2021 (r560072) @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= tempfile +PORTVERSION= 0.1.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Utility class for managing temporary files + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/rubygem-tempfile/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-tempfile/distinfo Sun Jan 3 20:01:31 2021 (r560072) @@ -0,0 +1,3 @@ +TIMESTAMP = 1609598797 +SHA256 (rubygem/tempfile-0.1.1.gem) = 8239f7014592cbbc3acb82b6a1126b75ed5529cf3b9e6ded4737a754e177b6c9 +SIZE (rubygem/tempfile-0.1.1.gem) = 10752 Added: head/devel/rubygem-tempfile/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-tempfile/pkg-descr Sun Jan 3 20:01:31 2021 (r560072) @@ -0,0 +1,9 @@ +Tempfile is a utility class for managing temporary files. When you create a +Tempfile object, it will create a temporary file with a unique filename. A +Tempfile objects behaves just like a File object, and you can perform all the +usual file operations on it: reading data, writing data, changing its +permissions, etc. So although this class does not explicitly document all +instance methods supported by File, you can in fact call any File instance +method on a Tempfile object. + +WWW: https://github.com/ruby/tempfile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101032001.103K1VHl095481>