Thu Nov 30 15:26:21 2023 UTC (175d)
devel/ruby-activestorage71: add version 7.1.2

Active Storage

Active Storage makes it simple to upload and reference files in cloud
services like [Amazon S3](https://aws.amazon.com/s3/), [Google Cloud
Storage](https://cloud.google.com/storage/docs/), or [Microsoft Azure
Storage](https://azure.microsoft.com/en-us/services/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](https://github.com/minimagick/minimagick) or
[Vips](https://www.rubydoc.info/gems/ruby-vips/Vips/Image) supported
transformation.

This is for Ruby on Rails 7.1.


(taca)
diff -r0 -r1.1 pkgsrc/devel/ruby-activestorage71/DESCR
diff -r0 -r1.1 pkgsrc/devel/ruby-activestorage71/Makefile
diff -r0 -r1.1 pkgsrc/devel/ruby-activestorage71/PLIST
diff -r0 -r1.1 pkgsrc/devel/ruby-activestorage71/distinfo
diff -r0 -r1.1 pkgsrc/devel/ruby-activestorage71/patches/patch-lib_active__storage.rb

File Added: pkgsrc/devel/ruby-activestorage71/DESCR
Active Storage

Active Storage makes it simple to upload and reference files in cloud
services like [Amazon S3](https://aws.amazon.com/s3/), [Google Cloud
Storage](https://cloud.google.com/storage/docs/), or [Microsoft Azure
Storage](https://azure.microsoft.com/en-us/services/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](https://github.com/minimagick/minimagick) or
[Vips](https://www.rubydoc.info/gems/ruby-vips/Vips/Image) supported
transformation.

This is for Ruby on Rails 7.1.

File Added: pkgsrc/devel/ruby-activestorage71/Makefile
# $NetBSD: Makefile,v 1.1 2023/11/30 15:26:21 taca Exp $

DISTNAME=	activestorage-${RAILS_VERSION}
PKGNAME=	${RUBY_PKGPREFIX}-activestorage${RUBY_RAILS}-${RAILS_VERSION}
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.rubyonrails.org/
COMMENT=	Local and cloud file storage framework (part of Rails 7.1)
LICENSE=	mit

DEPENDS+=	${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+=	${RUBY_ACTIVEJOB_DEPENDS}
DEPENDS+=	${RUBY_ACTIVERECORD_DEPENDS}
DEPENDS+=	${RUBY_PKGPREFIX}-marcel>=1.0<2:../../devel/ruby-marcel

USE_LANGUAGES=	# none

RUBY_RAILS_ACCEPTED=	71
RUBY_RAILS_STRICT_DEP=	yes

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/ruby-activestorage71/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/11/30 15:26:21 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/MIT-LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/app/assets/javascripts/activestorage.esm.js
${GEM_LIBDIR}/app/assets/javascripts/activestorage.js
${GEM_LIBDIR}/app/controllers/active_storage/base_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/blobs/proxy_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/blobs/redirect_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/direct_uploads_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/disk_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/representations/base_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/representations/proxy_controller.rb
${GEM_LIBDIR}/app/controllers/active_storage/representations/redirect_controller.rb
${GEM_LIBDIR}/app/controllers/concerns/active_storage/disable_session.rb
${GEM_LIBDIR}/app/controllers/concerns/active_storage/file_server.rb
${GEM_LIBDIR}/app/controllers/concerns/active_storage/set_blob.rb
${GEM_LIBDIR}/app/controllers/concerns/active_storage/set_current.rb
${GEM_LIBDIR}/app/controllers/concerns/active_storage/streaming.rb
${GEM_LIBDIR}/app/javascript/activestorage/blob_record.js
${GEM_LIBDIR}/app/javascript/activestorage/blob_upload.js
${GEM_LIBDIR}/app/javascript/activestorage/direct_upload.js
${GEM_LIBDIR}/app/javascript/activestorage/direct_upload_controller.js
${GEM_LIBDIR}/app/javascript/activestorage/direct_uploads_controller.js
${GEM_LIBDIR}/app/javascript/activestorage/file_checksum.js
${GEM_LIBDIR}/app/javascript/activestorage/helpers.js
${GEM_LIBDIR}/app/javascript/activestorage/index.js
${GEM_LIBDIR}/app/javascript/activestorage/ujs.js
${GEM_LIBDIR}/app/jobs/active_storage/analyze_job.rb
${GEM_LIBDIR}/app/jobs/active_storage/base_job.rb
${GEM_LIBDIR}/app/jobs/active_storage/mirror_job.rb
${GEM_LIBDIR}/app/jobs/active_storage/purge_job.rb
${GEM_LIBDIR}/app/jobs/active_storage/transform_job.rb
${GEM_LIBDIR}/app/models/active_storage/attachment.rb
${GEM_LIBDIR}/app/models/active_storage/blob.rb
${GEM_LIBDIR}/app/models/active_storage/blob/analyzable.rb
${GEM_LIBDIR}/app/models/active_storage/blob/identifiable.rb
${GEM_LIBDIR}/app/models/active_storage/blob/representable.rb
${GEM_LIBDIR}/app/models/active_storage/current.rb
${GEM_LIBDIR}/app/models/active_storage/filename.rb
${GEM_LIBDIR}/app/models/active_storage/named_variant.rb
${GEM_LIBDIR}/app/models/active_storage/preview.rb
${GEM_LIBDIR}/app/models/active_storage/record.rb
${GEM_LIBDIR}/app/models/active_storage/variant.rb
${GEM_LIBDIR}/app/models/active_storage/variant_record.rb
${GEM_LIBDIR}/app/models/active_storage/variant_with_record.rb
${GEM_LIBDIR}/app/models/active_storage/variation.rb
${GEM_LIBDIR}/config/routes.rb
${GEM_LIBDIR}/db/migrate/20170806125915_create_active_storage_tables.rb
${GEM_LIBDIR}/db/update_migrate/20190112182829_add_service_name_to_active_storage_blobs.rb
${GEM_LIBDIR}/db/update_migrate/20191206030411_create_active_storage_variant_records.rb
${GEM_LIBDIR}/db/update_migrate/20211119233751_remove_not_null_on_active_storage_blobs_checksum.rb
${GEM_LIBDIR}/lib/active_storage.rb
${GEM_LIBDIR}/lib/active_storage/analyzer.rb
${GEM_LIBDIR}/lib/active_storage/analyzer/audio_analyzer.rb
${GEM_LIBDIR}/lib/active_storage/analyzer/image_analyzer.rb
${GEM_LIBDIR}/lib/active_storage/analyzer/image_analyzer/image_magick.rb
${GEM_LIBDIR}/lib/active_storage/analyzer/image_analyzer/vips.rb
${GEM_LIBDIR}/lib/active_storage/analyzer/null_analyzer.rb
${GEM_LIBDIR}/lib/active_storage/analyzer/video_analyzer.rb
${GEM_LIBDIR}/lib/active_storage/attached.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/create_many.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/create_one.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/create_one_of_many.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/delete_many.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/delete_one.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/detach_many.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/detach_one.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/purge_many.rb
${GEM_LIBDIR}/lib/active_storage/attached/changes/purge_one.rb
${GEM_LIBDIR}/lib/active_storage/attached/many.rb
${GEM_LIBDIR}/lib/active_storage/attached/model.rb
${GEM_LIBDIR}/lib/active_storage/attached/one.rb
${GEM_LIBDIR}/lib/active_storage/deprecator.rb
${GEM_LIBDIR}/lib/active_storage/downloader.rb
${GEM_LIBDIR}/lib/active_storage/engine.rb
${GEM_LIBDIR}/lib/active_storage/errors.rb
${GEM_LIBDIR}/lib/active_storage/fixture_set.rb
${GEM_LIBDIR}/lib/active_storage/gem_version.rb
${GEM_LIBDIR}/lib/active_storage/log_subscriber.rb
${GEM_LIBDIR}/lib/active_storage/previewer.rb
${GEM_LIBDIR}/lib/active_storage/previewer/mupdf_previewer.rb
${GEM_LIBDIR}/lib/active_storage/previewer/poppler_pdf_previewer.rb
${GEM_LIBDIR}/lib/active_storage/previewer/video_previewer.rb
${GEM_LIBDIR}/lib/active_storage/reflection.rb
${GEM_LIBDIR}/lib/active_storage/service.rb
${GEM_LIBDIR}/lib/active_storage/service/azure_storage_service.rb
${GEM_LIBDIR}/lib/active_storage/service/configurator.rb
${GEM_LIBDIR}/lib/active_storage/service/disk_service.rb
${GEM_LIBDIR}/lib/active_storage/service/gcs_service.rb
${GEM_LIBDIR}/lib/active_storage/service/mirror_service.rb
${GEM_LIBDIR}/lib/active_storage/service/registry.rb
${GEM_LIBDIR}/lib/active_storage/service/s3_service.rb
${GEM_LIBDIR}/lib/active_storage/transformers/image_processing_transformer.rb
${GEM_LIBDIR}/lib/active_storage/transformers/transformer.rb
${GEM_LIBDIR}/lib/active_storage/version.rb
${GEM_LIBDIR}/lib/tasks/activestorage.rake
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

File Added: pkgsrc/devel/ruby-activestorage71/distinfo
$NetBSD: distinfo,v 1.1 2023/11/30 15:26:21 taca Exp $

BLAKE2s (activestorage-7.1.2.gem) = d0d6dfb3aef8770db33d7386672dd868d14e9c5f4e7bd10503a6f724130be3da
SHA512 (activestorage-7.1.2.gem) = fa0e17ae78345573ecb0314b37fc46df11bd52ff11f01d0e63caacc1947efc96048a8e7368ff09153b297c296494287db7aea07a42a4866039568c3a090a2ac0
Size (activestorage-7.1.2.gem) = 66560 bytes
SHA1 (patch-lib_active__storage.rb) = a960f1bdc89285eb961cbba44e04a7599eee6cc8

File Added: pkgsrc/devel/ruby-activestorage71/patches/patch-lib_active__storage.rb
$NetBSD: patch-lib_active__storage.rb,v 1.1 2023/11/30 15:26:21 taca Exp $

* Fix rdoc error.

--- lib/active_storage.rb.orig	2023-10-08 15:08:19.900971706 +0000
+++ lib/active_storage.rb
@@ -35,7 +35,7 @@ require "active_storage/errors"
 require "marcel"
 
 # :markup: markdown
-# :include: activestorage/README.md
+# :include: ../README.md
 module ActiveStorage
   extend ActiveSupport::Autoload