shrine-google_cloud_storage

Google Cloud Storage for Shrine

MIT License

Downloads
406.3K
Stars
33

Bot releases are visible (Hide)

shrine-google_cloud_storage - 3.3.0 Latest Release

Published by renchap about 2 years ago

Added

  • public option on storage, which enabled the publicRead default ACL, as an easier way to create public objects

Fixes

  • Signed URLs were wrongly generated when expires was not provided
  • Fixed special character encoding in URLs (thanks @camiloforero)
shrine-google_cloud_storage - 3.2.0

Published by renchap almost 3 years ago

Added

  • Encode filenames in URIs (#47 by @vanboom)

Changed

  • Minimum Ruby version is 2.6
  • Multi Factor authentication is now required when publishing on Rubygems
shrine-google_cloud_storage - 3.1.0

Published by renchap over 3 years ago

Added

  • Allow an ACL to be specicied for an object (#45 by @ianks)

Fixed

  • Ruby 3.0 keyword arguments fixes (#46 by @sho918)
shrine-google_cloud_storage - 3.0.1

Published by renchap over 4 years ago

Added

  • Allow credentials to be manually specified when creating the Storage (#35 by @ianks)
shrine-google_cloud_storage - 3.0.0

Published by renchap almost 5 years ago

Changed

  • Updated for Shrine 3.0. This is a breaking change. (#37 by @janko)
shrine-google_cloud_storage - 2.0.1

Published by renchap almost 5 years ago

Fixed

  • When copying a file from an existing GCS object, the content type was not properly copied. This is a bug in the google-cloud-storage gem, a workaround has been added so it now works currently (issue #36)
shrine-google_cloud_storage - 2.0.0

Published by renchap over 5 years ago

Breaking changes

  • Minimum Shrine version is now 2.11
  • presign changed to match the new Shrine signature

Added

  • clear! now accepts a block for conditional deletion. If a block is provided, it will only delete the files for which the block evaluates to true (#31 by @hwo411)

Changed

  • presign has been updated to use the new Shrine 2.11 API. This is a breaking change if you use presign, and bumps the shrine dependency to >= 2.11 (#25 by @janko)
  • This gem now uses Shrine.with_file, introduced in Shrine 2.11 (#29 by @janko)

Fixed

  • clear! was potentially not deleting every file (#26 by @janko)
shrine-google_cloud_storage - v1.0.1

Published by renchap over 6 years ago

Changed

  • Moved tests to HTTP.rb (#23 by @janko-m)

Fixed

  • presign now correctly returns the headers needed for the PUT request (#23 by @janko-m)
shrine-google_cloud_storage -

Published by renchap almost 7 years ago

Added

  • You can specify a project when creating a storage (#16 by @rosskevin)
  • Authentication is now delegated to google-cloud-ruby, which enables credentials discovery
  • #url now supports presigning (url(expires: …)), matching the S3 storage (#16 by @rosskevin)

Changed

  • switched to google-cloud-storage gem (#16 by @rosskevin)
  • added a test/create_test_environment.sh script to setup a test environment automatically (#16 by @rosskevin)
  • use skip_lookup: true when instanciating a bucket object to avoid an API call. This reduces the number of API calls for most operations, making them faster. It also allows operating on buckets with a restricted Service Account that does not have access to storage.buckets.get but can access the files. (#21)

Removed

  • removed support for multi_delete, as this feature has been deprecated in Shrine