All Versions
10
Latest Version
Avg Release Cycle
6 days
Latest Release
40 days ago

Changelog History

  • v0.3.2

    December 10, 2019
  • v0.3.1

    December 06, 2019
  • v0.3.0

    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

    November 12, 2019

    ➕ Added Shrine::UploadedFile#mime_type

  • v0.2.2

    November 12, 2019

    ➕ Added Shrine::UploadedFile#download.

  • v0.2.1

    October 30, 2019
  • v0.2.0

    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