git: bcf3e07b2a81 - main - net/rubygem-activestorage70: Add rubygem-activestorage70 7.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:48 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bcf3e07b2a817a3c21078992249dcd240a09893f

commit bcf3e07b2a817a3c21078992249dcd240a09893f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:57:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:52 +0000

    net/rubygem-activestorage70: Add rubygem-activestorage70 7.0.0
    
    Active Storage makes it simple to upload and reference files in cloud services
    like Amazon S3, Google Cloud Storage, or Microsoft Azure Storage, and attach
    those files to Active Records. Supports having one main service and mirrors in
    other services for redundancy. It also provides a disk service for testing or
    local deployments, but the focus is on cloud storage.
    
    Files can be uploaded from the server to the cloud or directly from the client
    to the cloud.
    
    Image files can furthermore be transformed using on-demand variants for quality,
    aspect ratio, size, or any other MiniMagick or Vips supported transformation.
    
    WWW: https://rubyonrails.org/
    WWW: https://github.com/rails/rails/tree/main/activestorage
---
 net/Makefile                          |  1 +
 net/rubygem-activestorage70/Makefile  | 29 +++++++++++++++++++++++++++++
 net/rubygem-activestorage70/distinfo  |  3 +++
 net/rubygem-activestorage70/pkg-descr | 14 ++++++++++++++
 4 files changed, 47 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 8027411bb601..0de3d584d7c5 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1217,6 +1217,7 @@
     SUBDIR += rubygem-activestorage52
     SUBDIR += rubygem-activestorage60
     SUBDIR += rubygem-activestorage61
+    SUBDIR += rubygem-activestorage70
     SUBDIR += rubygem-amazon-ec2
     SUBDIR += rubygem-amq-protocol
     SUBDIR += rubygem-amqp
diff --git a/net/rubygem-activestorage70/Makefile b/net/rubygem-activestorage70/Makefile
new file mode 100644
index 000000000000..d6fe7917eadc
--- /dev/null
+++ b/net/rubygem-activestorage70/Makefile
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	activestorage
+PORTVERSION=	7.0.0
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	70
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Attach cloud and local files in Rails applications
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionpack70>=${PORTVERSION}:www/rubygem-actionpack70 \
+		rubygem-activejob70>=${PORTVERSION}:devel/rubygem-activejob70 \
+		rubygem-activerecord70>=${PORTVERSION}:databases/rubygem-activerecord70 \
+		rubygem-activesupport70>=${PORTVERSION}:devel/rubygem-activesupport70 \
+		rubygem-marcel>=1.0<2:devel/rubygem-marcel \
+		rubygem-mini_mime>=1.1.0:mail/rubygem-mini_mime
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.0\.
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-activestorage70/distinfo b/net/rubygem-activestorage70/distinfo
new file mode 100644
index 000000000000..7273d9912701
--- /dev/null
+++ b/net/rubygem-activestorage70/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045768
+SHA256 (rubygem/activestorage-7.0.0.gem) = 6bf521fb3997e528720a07f8be95112b2881f004c2c17c1052ab34ec51b6b918
+SIZE (rubygem/activestorage-7.0.0.gem) = 64000
diff --git a/net/rubygem-activestorage70/pkg-descr b/net/rubygem-activestorage70/pkg-descr
new file mode 100644
index 000000000000..73744e3aa720
--- /dev/null
+++ b/net/rubygem-activestorage70/pkg-descr
@@ -0,0 +1,14 @@
+Active Storage makes it simple to upload and reference files in cloud services
+like Amazon S3, Google Cloud Storage, or Microsoft Azure Storage, and attach
+those files to Active Records. Supports having one main service and mirrors in
+other services for redundancy. It also provides a disk service for testing or
+local deployments, but the focus is on cloud storage.
+
+Files can be uploaded from the server to the cloud or directly from the client
+to the cloud.
+
+Image files can furthermore be transformed using on-demand variants for quality,
+aspect ratio, size, or any other MiniMagick or Vips supported transformation.
+
+WWW: https://rubyonrails.org/
+WWW: https://github.com/rails/rails/tree/main/activestorage