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
This commit is contained in:
Po-Chuan Hsieh
2022-01-12 00:57:03 +08:00
parent ca858e72d6
commit bcf3e07b2a
4 changed files with 47 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1641045768
SHA256 (rubygem/activestorage-7.0.0.gem) = 6bf521fb3997e528720a07f8be95112b2881f004c2c17c1052ab34ec51b6b918
SIZE (rubygem/activestorage-7.0.0.gem) = 64000

View File

@@ -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