git: def0e7299101 - main - devel/rubygem-observer: Add rubygem-observer 0.1.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:17:42 UTC
The branch main has been updated by sunpoet:

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

commit def0e72991019196451020a5ae263d3d346ea9fd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:13:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:13 +0000

    devel/rubygem-observer: Add rubygem-observer 0.1.2
    
    The Observer pattern (also known as publish/subscribe) provides a simple
    mechanism for one object to inform a set of interested third-party objects when
    its state changes.
---
 devel/Makefile                   |  1 +
 devel/rubygem-observer/Makefile  | 18 ++++++++++++++++++
 devel/rubygem-observer/distinfo  |  3 +++
 devel/rubygem-observer/pkg-descr |  3 +++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d1ad8dffbf43..603fd1f8d056 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7201,6 +7201,7 @@
     SUBDIR += rubygem-nsa-rails5
     SUBDIR += rubygem-nsa-rails61
     SUBDIR += rubygem-numerizer
+    SUBDIR += rubygem-observer
     SUBDIR += rubygem-oci
     SUBDIR += rubygem-octopress-hooks
     SUBDIR += rubygem-oj
diff --git a/devel/rubygem-observer/Makefile b/devel/rubygem-observer/Makefile
new file mode 100644
index 000000000000..5544677aa7e3
--- /dev/null
+++ b/devel/rubygem-observer/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	observer
+PORTVERSION=	0.1.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Implementation of the Observer object-oriented design pattern
+WWW=		https://github.com/ruby/observer
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-observer/distinfo b/devel/rubygem-observer/distinfo
new file mode 100644
index 000000000000..0263507cabea
--- /dev/null
+++ b/devel/rubygem-observer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708448872
+SHA256 (rubygem/observer-0.1.2.gem) = d8a3107131ba661138d748e7be3dbafc0d82e732fffba9fccb3d7829880950ac
+SIZE (rubygem/observer-0.1.2.gem) = 9728
diff --git a/devel/rubygem-observer/pkg-descr b/devel/rubygem-observer/pkg-descr
new file mode 100644
index 000000000000..851dda641fa7
--- /dev/null
+++ b/devel/rubygem-observer/pkg-descr
@@ -0,0 +1,3 @@
+The Observer pattern (also known as publish/subscribe) provides a simple
+mechanism for one object to inform a set of interested third-party objects when
+its state changes.