1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

Add rubygem-validates_hostname 1.0.6

Extension to ActiveRecord::Base for validating hostnames and domain names.

Features:
- Adds validation for hostnames to ActiveModel
- Supports i18n for the error messages

WWW: https://github.com/KimNorgaard/validates_hostname
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-03-22 21:03:48 +00:00
parent 90fa9764e6
commit b86588d60d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436727
4 changed files with 33 additions and 0 deletions

View File

@ -195,6 +195,7 @@
SUBDIR += rubygem-public_suffix
SUBDIR += rubygem-public_suffix_service
SUBDIR += rubygem-simpleidn
SUBDIR += rubygem-validates_hostname
SUBDIR += samba-nsupdate
SUBDIR += scavenge
SUBDIR += sheerdns

View File

@ -0,0 +1,22 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= validates_hostname
PORTVERSION= 1.0.6
CATEGORIES= dns rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Extension to ActiveRecord::Base for validating hostnames
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activerecord4>=3.0:databases/rubygem-activerecord4 \
rubygem-activesupport4>=3.0:devel/rubygem-activesupport4
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1490205275
SHA256 (rubygem/validates_hostname-1.0.6.gem) = 4a4e8f7c4c6a3f5f0756f0fcd7eebaf995fe7c4d2f063dd5768e489436a0e112
SIZE (rubygem/validates_hostname-1.0.6.gem) = 12288

View File

@ -0,0 +1,7 @@
Extension to ActiveRecord::Base for validating hostnames and domain names.
Features:
- Adds validation for hostnames to ActiveModel
- Supports i18n for the error messages
WWW: https://github.com/KimNorgaard/validates_hostname