From nobody Mon Nov 21 13:46:31 2022 X-Original-To: dev-commits-ports-all@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 4NG7w81xGyz4j59g; Mon, 21 Nov 2022 13:46:32 +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 4NG7w81KbCz46gL; Mon, 21 Nov 2022 13:46:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669038392; 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=GfoCxBx8UtYAwVYbUEGMpcp+8weQtOBmraKaWoGikeM=; b=MyqPE7GAZuj62+xidrnDvgGPAhQQIvsa3dDH92BfIXEKSUwwK+LZbV+4vswZThzUS6OC9U c6oqCcenH9GtPmwt2G7EkFaI+GhJiJc3eJoopK0koQsWSeOATiBkdcV6neHcJB541Y//lm xTixvk8WpL1sO1QAcxHluWv4puVjxeE6yH/8uGd6G5KqThDl+yIX0Wq5IOwyHEkpsPD8Yn ajkCqFYTcay1T/c7qRk6QoZSCUJd9GVGCxaiG5iQ6roQx+7MImRj39SvYTa0tAfkVRKyJ0 Y2HoZNcvwTWXvIbzF97qzD7wK1VmRpnhI3EOQejCtvlwZ2JOpsWlBTJjpBJhIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669038392; 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=GfoCxBx8UtYAwVYbUEGMpcp+8weQtOBmraKaWoGikeM=; b=HGl1ZKRAr78M33I3qqPhwEJah5/MuWlmDa9wb6NyVrVGlJo5NH6sxrDjA/HphBJvQvjr7i JRPNM93U5WTgqstL4YJe9VjPIH+6j0xuD88QLCA3DRZ3NXZvYTAiQsn5uoYLVhp5lxErJY D+iAvCb4ynC+rjRuThIBfC9hqOGRjxuSj6kP+So3R4WfZYbW5SNTLcWhJMbVLikiKp4n+8 FAmzyqN1U5GdE8ktgOws8CHhOGKgRtPf012obVwaVKxDP4mSQAP7gGDr+rivuwQST7d1DJ 7xHjS0A//Qp9CJWi2vb2/VYWX74GxMiGEzutxMAaGQDw6aW+IKom4CpqDT3MMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669038392; a=rsa-sha256; cv=none; b=Kn3xEw5DyE9ikQBYkDSjxiYytbhy3GHuMYUcr8qjGS9XDFIYo14MbfpzosbcTFKfsJ7ZuL EVEuYAiKvtpqcRZWJhviB8kvLpp60DeCS0fJz/Wi0kiSKRGY/rpzuYoP96oiy3o0zMb0qG RULp6NQtdShkcTxyjp47yl0hS8OvRXCKo0sDBbAHlYSjPeH9Z7WJc5pSae34rlu3KuUZ7O KNA2YvufopI/Fjcdvz+xfc69pDkRiO41EI7A51/MBXDObg9uYsqb0Jok07tnpdTabgtVMn 1KHCsEQ/LzfySkoaejEMXDSlekia9Zxajkv9brDCKDg5h3IOBJ4Zjc9oHI87hA== 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 4NG7w804xfz14yQ; Mon, 21 Nov 2022 13:46:32 +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 2ALDkVtf068878; Mon, 21 Nov 2022 13:46:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ALDkVom068877; Mon, 21 Nov 2022 13:46:31 GMT (envelope-from git) Date: Mon, 21 Nov 2022 13:46:31 GMT Message-Id: <202211211346.2ALDkVom068877@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 39b1173e431f - main - devel/rubygem-strong_migrations61: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39b1173e431f001d358413a0d3e873b22413a8bb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=39b1173e431f001d358413a0d3e873b22413a8bb commit 39b1173e431f001d358413a0d3e873b22413a8bb Author: Muhammad Moinur Rahman AuthorDate: 2022-11-21 13:45:17 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-11-21 13:45:17 +0000 devel/rubygem-strong_migrations61: New port This gem catches the following unsafe migrations: - adding a column with a non-null default value to an existing table - changing the type of a column - renaming a table - renaming a column - removing a column - adding an index non-concurrently (Postgres only) - adding a json column to an existing table (Postgres only) Sponsored by: Nepustil --- devel/Makefile | 1 + devel/rubygem-strong_migrations61/Makefile | 21 +++++++++++++++++++++ devel/rubygem-strong_migrations61/distinfo | 3 +++ devel/rubygem-strong_migrations61/pkg-descr | 8 ++++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 918d50647666..76657e5968a6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7052,6 +7052,7 @@ SUBDIR += rubygem-strings SUBDIR += rubygem-strings-ansi SUBDIR += rubygem-strong_migrations + SUBDIR += rubygem-strong_migrations61 SUBDIR += rubygem-strptime SUBDIR += rubygem-strscan SUBDIR += rubygem-structured_warnings diff --git a/devel/rubygem-strong_migrations61/Makefile b/devel/rubygem-strong_migrations61/Makefile new file mode 100644 index 000000000000..9666d2b69743 --- /dev/null +++ b/devel/rubygem-strong_migrations61/Makefile @@ -0,0 +1,21 @@ +PORTNAME= strong_migrations +PORTVERSION= 1.4.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 61 + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Catch unsafe migrations at dev time +WWW= https://github.com/ankane/strong_migrations + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-activerecord61>=5.2:databases/rubygem-activerecord61 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-strong_migrations61/distinfo b/devel/rubygem-strong_migrations61/distinfo new file mode 100644 index 000000000000..fa260219a7fc --- /dev/null +++ b/devel/rubygem-strong_migrations61/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668890435 +SHA256 (rubygem/strong_migrations-1.4.0.gem) = 975bb62f80b787449795bc90e4394181ff11e47c4e313268b3df46591514b277 +SIZE (rubygem/strong_migrations-1.4.0.gem) = 27136 diff --git a/devel/rubygem-strong_migrations61/pkg-descr b/devel/rubygem-strong_migrations61/pkg-descr new file mode 100644 index 000000000000..06ca90582107 --- /dev/null +++ b/devel/rubygem-strong_migrations61/pkg-descr @@ -0,0 +1,8 @@ +This gem catches the following unsafe migrations: +- adding a column with a non-null default value to an existing table +- changing the type of a column +- renaming a table +- renaming a column +- removing a column +- adding an index non-concurrently (Postgres only) +- adding a json column to an existing table (Postgres only)