git: 60da2228e895 - main - net/rubygem-octokit4: make version 4.25.1 available

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Tue, 16 May 2023 11:05:06 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60da2228e895231ac03a9e3b33fd918caaa1cf8b

commit 60da2228e895231ac03a9e3b33fd918caaa1cf8b
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-05-16 11:02:45 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-05-16 11:04:55 +0000

    net/rubygem-octokit4: make version 4.25.1 available
---
 net/Makefile                   |  1 +
 net/rubygem-octokit4/Makefile  | 21 +++++++++++++++++++++
 net/rubygem-octokit4/distinfo  |  3 +++
 net/rubygem-octokit4/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 71460e1d9aa9..2c4d482a1288 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1336,6 +1336,7 @@
     SUBDIR += rubygem-oauth2
     SUBDIR += rubygem-oauth21
     SUBDIR += rubygem-octokit
+    SUBDIR += rubygem-octokit4
     SUBDIR += rubygem-octopress-deploy
     SUBDIR += rubygem-omniauth-auth0
     SUBDIR += rubygem-omniauth-authentiq
diff --git a/net/rubygem-octokit4/Makefile b/net/rubygem-octokit4/Makefile
new file mode 100644
index 000000000000..efcf26c755c0
--- /dev/null
+++ b/net/rubygem-octokit4/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	octokit
+PORTVERSION=	4.25.1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	4
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Simple wrapper for the GitHub API
+WWW=		https://github.com/octokit/octokit.rb
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-faraday1>=1<3:www/rubygem-faraday1 \
+		rubygem-sawyer>=0.9<1:www/rubygem-sawyer
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-octokit4/distinfo b/net/rubygem-octokit4/distinfo
new file mode 100644
index 000000000000..bc80455734de
--- /dev/null
+++ b/net/rubygem-octokit4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684234915
+SHA256 (rubygem/octokit-4.25.1.gem) = c02092ee82dcdfe84db0e0ea630a70d32becc54245a4f0bacfd21c010df09b96
+SIZE (rubygem/octokit-4.25.1.gem) = 86016
diff --git a/net/rubygem-octokit4/pkg-descr b/net/rubygem-octokit4/pkg-descr
new file mode 100644
index 000000000000..2dfebdeeb443
--- /dev/null
+++ b/net/rubygem-octokit4/pkg-descr
@@ -0,0 +1,2 @@
+Octokit.rb wraps the GitHub API in a flat API client that follows Ruby
+conventions and requires little knowledge of REST.