aboutsummaryrefslogtreecommitdiff
path: root/dns/rubygem-validates_hostname-gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'dns/rubygem-validates_hostname-gitlab')
-rw-r--r--dns/rubygem-validates_hostname-gitlab/Makefile21
-rw-r--r--dns/rubygem-validates_hostname-gitlab/distinfo3
-rw-r--r--dns/rubygem-validates_hostname-gitlab/pkg-descr5
3 files changed, 29 insertions, 0 deletions
diff --git a/dns/rubygem-validates_hostname-gitlab/Makefile b/dns/rubygem-validates_hostname-gitlab/Makefile
new file mode 100644
index 000000000000..b8a89853b2d3
--- /dev/null
+++ b/dns/rubygem-validates_hostname-gitlab/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= validates_hostname
+PORTVERSION= 1.0.13
+CATEGORIES= dns rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Extension to ActiveRecord::Base for validating hostnames
+WWW= https://github.com/KimNorgaard/validates_hostname
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-activerecord-gitlab>=3.0:databases/rubygem-activerecord-gitlab \
+ rubygem-activesupport-gitlab>=3.0:devel/rubygem-activesupport-gitlab
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/dns/rubygem-validates_hostname-gitlab/distinfo b/dns/rubygem-validates_hostname-gitlab/distinfo
new file mode 100644
index 000000000000..e5fcc6bb0583
--- /dev/null
+++ b/dns/rubygem-validates_hostname-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684104678
+SHA256 (rubygem/validates_hostname-1.0.13.gem) = eac40178cc0b4f727df9cc6a5cb5bc2550718ad8d9bb3728df9aba6354bdda19
+SIZE (rubygem/validates_hostname-1.0.13.gem) = 14848
diff --git a/dns/rubygem-validates_hostname-gitlab/pkg-descr b/dns/rubygem-validates_hostname-gitlab/pkg-descr
new file mode 100644
index 000000000000..5c8a8ae97543
--- /dev/null
+++ b/dns/rubygem-validates_hostname-gitlab/pkg-descr
@@ -0,0 +1,5 @@
+Extension to ActiveRecord::Base for validating hostnames and domain names.
+
+Features:
+- Adds validation for hostnames to ActiveModel
+- Supports i18n for the error messages