All Versions
18
Latest Version
Avg Release Cycle
15 days
Latest Release
518 days ago

Changelog History
Page 2

  • v0.3.0 Changes

    December 06, 2019

    ๐Ÿ”Œ Shrine.cr got plugin system! Hooray!

    ๐Ÿ“‡ Two plugins (DetermineMimeType and AddMetadata) are are included into this shard, you can read more about them in Readme.

    ๐Ÿ“‡ Also I refactored Shrine::UploadedFile::Metadata into Shrine::UploadedFile::MetadataType which is now a Hash. NamedTuple are also replaced with Hash in Shrine and Shrine::UploadedFile classes.

  • v0.2.4

    November 15, 2019
  • v0.2.3 Changes

    November 12, 2019

    โž• Added Shrine::UploadedFile#mime_type

  • v0.2.2 Changes

    November 12, 2019

    โž• Added Shrine::UploadedFile#download.

  • v0.2.1

    October 30, 2019
  • v0.2.0 Changes

    October 29, 2019

    ๐Ÿ‘Œ Improvements

    • โž• Added ability to extend Shrine with plugins

      module FooPlugin# This will extend your uploader class methodsmodule ClassMethods; def foo; "plugin_foo"; end; end# This will included into your uploader instance methodsmodule InstanceMethods; def foo; "plugin_foo"; end; end# This will extend <YourUploader>::UploadedFile class methodsmodule FileClassMethods; def foo; "plugin_foo"; end; end# This will included into <YourUploader>::UploadedFile instance methodsmodule FileMethods; def foo; "plugin_foo"; end; endendclass Shrine load_plugin ::FooPlugin create_plugins_class_methodend

  • v0.1.3

    October 21, 2019
  • v0.1.2

    October 20, 2019