aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-strong_migrations61
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-21 13:45:17 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-21 13:45:17 +0000
commit39b1173e431f001d358413a0d3e873b22413a8bb (patch)
tree099484893fa0e329a8e7d495d852ae41c3715fa8 /devel/rubygem-strong_migrations61
parent937fe4a59f4d078385b2908ae06c278c1347cf2c (diff)
downloadports-39b1173e431f001d358413a0d3e873b22413a8bb.tar.gz
ports-39b1173e431f001d358413a0d3e873b22413a8bb.zip
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
Diffstat (limited to 'devel/rubygem-strong_migrations61')
-rw-r--r--devel/rubygem-strong_migrations61/Makefile21
-rw-r--r--devel/rubygem-strong_migrations61/distinfo3
-rw-r--r--devel/rubygem-strong_migrations61/pkg-descr8
3 files changed, 32 insertions, 0 deletions
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)