git: 39b1173e431f - main - devel/rubygem-strong_migrations61: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Nov 2022 13:46:31 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=39b1173e431f001d358413a0d3e873b22413a8bb commit 39b1173e431f001d358413a0d3e873b22413a8bb Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-11-21 13:45:17 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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 <bsd.port.mk> 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)