Add rubygem-tty-file 0.5.0

TTY::File supports file and directory manipulation utility methods.

Though Ruby's File and FileUtils libraries provide very robust apis for dealing
with files, this library aims to provide a level of abstraction that is much
more convenient, with useful logging capabilities.

WWW: https://piotrmurach.github.io/tty/
WWW: https://github.com/piotrmurach/tty-file
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-03-12 20:44:56 +00:00
parent c18a76fe60
commit b34fcbccd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464302
5 changed files with 46 additions and 0 deletions

View file

@ -5851,6 +5851,7 @@
SUBDIR += rubygem-tty-command
SUBDIR += rubygem-tty-cursor
SUBDIR += rubygem-tty-editor
SUBDIR += rubygem-tty-file
SUBDIR += rubygem-tty-font
SUBDIR += rubygem-tty-markdown
SUBDIR += rubygem-tty-pager

View file

@ -0,0 +1,23 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= tty-file
PORTVERSION= 0.5.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= File and directory manipulation utility methods
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-diff-lcs>=1.3.0:textproc/rubygem-diff-lcs \
rubygem-pastel>=0.7.2:devel/rubygem-pastel \
rubygem-tty-prompt>=0.14.0:devel/rubygem-tty-prompt
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1520790761
SHA256 (rubygem/tty-file-0.5.0.gem) = 6d4e816b45b290450c45ef6acf35feb05b419f7d6a7c514a86e4cd911aaf0e07
SIZE (rubygem/tty-file-0.5.0.gem) = 19968

View file

@ -0,0 +1,11 @@
--- tty-file.gemspec.orig 2018-03-11 17:52:45 UTC
+++ tty-file.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<pastel>.freeze, ["~> 0.7.2"])
- s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.14.0"])
+ s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.14"])
s.add_runtime_dependency(%q<diff-lcs>.freeze, ["~> 1.3.0"])
s.add_development_dependency(%q<bundler>.freeze, ["~> 1.5"])
s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])

View file

@ -0,0 +1,8 @@
TTY::File supports file and directory manipulation utility methods.
Though Ruby's File and FileUtils libraries provide very robust apis for dealing
with files, this library aims to provide a level of abstraction that is much
more convenient, with useful logging capabilities.
WWW: https://piotrmurach.github.io/tty/
WWW: https://github.com/piotrmurach/tty-file