From nobody Tue Dec 21 19:41:13 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 037A71900613; Tue, 21 Dec 2021 19:41:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJRf373Sbz4xTN; Tue, 21 Dec 2021 19:41:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AFE146FF5; Tue, 21 Dec 2021 19:41:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BLJfDnv022413; Tue, 21 Dec 2021 19:41:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BLJfDXv022412; Tue, 21 Dec 2021 19:41:13 GMT (envelope-from git) Date: Tue, 21 Dec 2021 19:41:13 GMT Message-Id: <202112211941.1BLJfDXv022412@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e284b8513f81 - main - devel/rubygem-pstore: Add rubygem-pstore 0.1.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e284b8513f813ff032046ccc6d5ac09b75e76e90 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640115676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S9GHQq3QMTfhzFzgVS85guNTKhAQj6oVPOy2FdduA8s=; b=c7eyTwHW9O2de3nKKU2WLsrFKXQp5Ttm8ieeYFT3LYHQr3cb63Iikn7oyogW89c/O5x21z K8J7cTGI9A8GYuGmO8QiuznbVrlKQMdYXJkxkp8ek68IDkvSUeCzny/C5Mv3KJXNbFfyYK Il2Hmmqq0QDEiWKGR46ddGdf0S8fISVglO0B6BMZ73x6a4Rt8THErjQPIQNkq6fB+FbK3O wP5TcgJ6ZdJVWxbv7MvT3YltWnLr++YEm6kUISKoPKeCX9zJcMP5dnqQQ5XkGWIIqS5Odt ZLaBVlMWPL69vsigLrSsM8vt5IAqfyrOh8IMa4qLs9w7CSkMLUc9svLArkfxFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640115676; a=rsa-sha256; cv=none; b=M+EbjsMFHdBr3V807l6SdPZyxMa2mK3oQEEZRSwJk3mz0kWKkGU9PONQF9UGRsijgFnb3/ Sq3Y4/WQDkJIkOYOnrVOe6qbNiYV2Xh0tA1rG7JJmDb/QWSc9lkxHn4G65+GPlUgJTPuop 6E3gKHqiMLhFZj/dgTlzMbh4j+vb2dfA7A+ETO4YJ2i656FtnPMvp4u+WgNzst1KYRv0n6 2dX7ymt2PxPZTviMdw7QA7rOb5gTorcBS5NsanRfeeZtBxfUCR94ZEC/SJDY2h/h3Vi3CO hB2kRo/u2Ii4gvMtFytmEvsDeINxu69HpAzZcXW8RO/axtTvB1MKoou1MThM9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e284b8513f813ff032046ccc6d5ac09b75e76e90 commit e284b8513f813ff032046ccc6d5ac09b75e76e90 Author: Po-Chuan Hsieh AuthorDate: 2021-12-21 18:38:54 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-12-21 18:38:54 +0000 devel/rubygem-pstore: Add rubygem-pstore 0.1.1 PStore implements a file based persistence mechanism based on a Hash. User code can store hierarchies of Ruby objects (values) into the data store file by name (keys). An object hierarchy may be just a single object. User code may later read values back from the data store or even update data, as needed. The transactional behavior ensures that any changes succeed or fail together. This can be used to ensure that the data store is not left in a transitory state, where some values were updated but others were not. Behind the scenes, Ruby objects are stored to the data store file with Marshal. That carries the usual limitations. Proc objects cannot be marshalled, for example. WWW: https://github.com/ruby/pstore --- devel/Makefile | 1 + devel/rubygem-pstore/Makefile | 20 ++++++++++++++++++++ devel/rubygem-pstore/distinfo | 3 +++ devel/rubygem-pstore/pkg-descr | 14 ++++++++++++++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 52a0ec105cea..aa4f7f6e9ac3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6648,6 +6648,7 @@ SUBDIR += rubygem-pry-rails SUBDIR += rubygem-pry-remote SUBDIR += rubygem-pry-remote-em + SUBDIR += rubygem-pstore SUBDIR += rubygem-ptreloaded SUBDIR += rubygem-puppet-resource_api SUBDIR += rubygem-pygments.rb diff --git a/devel/rubygem-pstore/Makefile b/devel/rubygem-pstore/Makefile new file mode 100644 index 000000000000..97ea5bd2df67 --- /dev/null +++ b/devel/rubygem-pstore/Makefile @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pstore +PORTVERSION= 0.1.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Transactional File Storage for Ruby Objects + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-pstore/distinfo b/devel/rubygem-pstore/distinfo new file mode 100644 index 000000000000..86d79706c173 --- /dev/null +++ b/devel/rubygem-pstore/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1638556454 +SHA256 (rubygem/pstore-0.1.1.gem) = 7ffe99b5fb4546d08fca8dff8f23662650bb14ad4cea236c7828d63a66269546 +SIZE (rubygem/pstore-0.1.1.gem) = 11776 diff --git a/devel/rubygem-pstore/pkg-descr b/devel/rubygem-pstore/pkg-descr new file mode 100644 index 000000000000..2d6296007d02 --- /dev/null +++ b/devel/rubygem-pstore/pkg-descr @@ -0,0 +1,14 @@ +PStore implements a file based persistence mechanism based on a Hash. User code +can store hierarchies of Ruby objects (values) into the data store file by name +(keys). An object hierarchy may be just a single object. User code may later +read values back from the data store or even update data, as needed. + +The transactional behavior ensures that any changes succeed or fail together. +This can be used to ensure that the data store is not left in a transitory +state, where some values were updated but others were not. + +Behind the scenes, Ruby objects are stored to the data store file with Marshal. +That carries the usual limitations. Proc objects cannot be marshalled, for +example. + +WWW: https://github.com/ruby/pstore