Add rubygems strptime and dig_rb

This commit is contained in:
Palle Girgensohn
2019-01-23 22:53:45 +00:00
parent 43e0e9e10f
commit 4f968f16a3
9 changed files with 66 additions and 0 deletions

View File

@@ -5591,6 +5591,7 @@
SUBDIR += rubygem-devise
SUBDIR += rubygem-devise-rails5
SUBDIR += rubygem-devise-rails50
SUBDIR += rubygem-dig_rb
SUBDIR += rubygem-directory_watcher
SUBDIR += rubygem-ditz
SUBDIR += rubygem-diva
@@ -6034,6 +6035,7 @@
SUBDIR += rubygem-strings
SUBDIR += rubygem-strings-ansi
SUBDIR += rubygem-strong_migrations
SUBDIR += rubygem-strptime
SUBDIR += rubygem-structured_warnings
SUBDIR += rubygem-stud
SUBDIR += rubygem-subexec

View File

@@ -0,0 +1,17 @@
# Created by: Palle Girgensohn <girgen@FreeBSD.org>
# $FreeBSD$
PORTNAME= dig_rb
PORTVERSION= 1.0.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= girgen@FreeBSD.org
COMMENT= "Array/Hash/Struct#dig backfill for ruby"
LICENSE= MIT
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1548281836
SHA256 (rubygem/dig_rb-1.0.1.gem) = a4afc359a5be0a41509b86526e8a4f88432295d44b7fe1fdf9296f416f58ab89
SIZE (rubygem/dig_rb-1.0.1.gem) = 8704

View File

@@ -0,0 +1,8 @@
--- bin/setup.orig 2019-01-23 22:26:12.126111000 +0000
+++ bin/setup 2019-01-23 22:26:24.199711000 +0000
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -euo pipefail
IFS=$'\n\t'

View File

@@ -0,0 +1,4 @@
Ruby 2.3.0 introduced #dig on Hash, Array, and Struct. With this gem, you can
have dig on ruby pre 2.3.0, or any ruby lacking dig.
WWW: https://github.com/jrochkind/dig_rb

View File

@@ -0,0 +1,18 @@
# Created by: Palle Girgensohn <girgen@FreeBSD.org>
# $FreeBSD$
PORTNAME= strptime
PORTVERSION= 0.2.3
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= girgen@FreeBSD.org
COMMENT= A fast strptime engine
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1548283064
SHA256 (rubygem/strptime-0.2.3.gem) = a875d6ea730948af606bdd43674ae2d1a6e4eebf30a686f8890f2e7e14e745fa
SIZE (rubygem/strptime-0.2.3.gem) = 19456

View File

@@ -0,0 +1,8 @@
--- bin/setup.orig 2019-01-23 22:40:01.975417000 +0000
+++ bin/setup 2019-01-23 22:40:10.578741000 +0000
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -euo pipefail
IFS=$'\n\t'

View File

@@ -0,0 +1,3 @@
A fast strptime engine.
WWW: https://github.com/nurse/strptime