Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/shrinerb/shrine

File Attachment toolkit for Ruby applications
https://github.com/shrinerb/shrine

Update descriptions of core classes

d045c351c050833ba42cde3f7e91eec157cb9112 authored about 5 years ago by Janko Marohnić <[email protected]>
Remove mention of S3#download

5c1741d71780552264b51323872dfbd6a3ae3943 authored about 5 years ago by Janko Marohnić <[email protected]>
Allow skipping rewinding when calculating signature

Sometimes people might want to calculate signature from a non-rewindable
IO object (for example ...

053bcf297e092e9695731fb9b67a86780e898203 authored about 5 years ago by Janko Marohnić <[email protected]>
Add storage guides to the sidebar

53989e4aa23392f8c7044c6486d090561cfbe0f4 authored about 5 years ago by Janko Marohnić <[email protected]>
Note where to look for Shrine::Attachment functionality

6ec15fc1535e087c74eba83e8c384d2424b0717f authored about 5 years ago by Janko Marohnić <[email protected]>
Speed up document rendering on the website

I noticed a peformance degradation in rendering documents when we
switched to the highlights lib...

4bd187118e97ecd64e99b9c8a8314da932e45411 authored about 5 years ago by Janko Marohnić <[email protected]>
Move website depenedencies to devDependencies

1b9369bbb6279373d353230c344e533b65babe2a authored about 5 years ago by Janko Marohnić <[email protected]>
Rename variable to fix Lint/ShadowingOuterLocalVariable (#423)

Lint/ShadowingOuterLocalVariable is a rubocop lint error

https://www.rubydoc.info/gems/ruboco...

20a3f4ca03bc55ad90dccf0e443b83ea39da1d7c authored about 5 years ago by Tobias L. Maier <[email protected]>
Add Attacher.derivatives shorthand

Now we can shorten

Attacher.derivatives_processor do |original|
# ...
end

to just

A...

44a3d7e03a0be56bf2fe3ca56a4145f147c9b4c5 authored about 5 years ago by Janko Marohnić <[email protected]>
Emphasize that there is no :original with derivatives

It seems it's not obvious from the existing example, and it would cause
errors if :original was ...

ea18b134c0895251a70269d4384d7f0841601df2 authored about 5 years ago by Janko Marohnić <[email protected]>
Update recommended self-contained example template

Shrine::Storage::Memory is now built-in, so we recommend using that for
examples as it's much ea...

1e9a09b08814842346ad2d14596658d8a3bdd36c authored about 5 years ago by Janko Marohnić <[email protected]>
Separate classes into different code blocks

afc896fc18757413d15cbee74c4c74e96360932d authored about 5 years ago by Janko Marohnić <[email protected]>
Some more fixes around syntax highlighting

a131dca9f48ea8962081711b1b6534c2535f1744 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix titles in "Advanages" guide

Docusaurus isn't properly handling "&" in titles, so we split "Metadata
& Validation" into two s...

eda658b5b9ce6917a3f0b216f7f9015fd794246b authored about 5 years ago by Janko Marohnić <[email protected]>
Fix broken link

0f61cc9d53d50330dfc9ab3d0ba3b9d113ce1361 authored about 5 years ago by Janko Marohnić <[email protected]>
Switch from highlight.js to atom/highlights

Highlight.js sometimes doesn't tokenize ruby code correctly (e.g. it
doesn't detect constants). ...

0f87c6e3b22c437ab420ee5def8daa745e23ac61 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix typo in CarrierWave doc

Closes #422

668431b6330a7bdd37a3b27e63743f4706cbbefa authored about 5 years ago by Janko Marohnić <[email protected]>
Add missing title to 3.0.1 release notes

5717019f3f439c22908f4e4afc2b88edd5264b0d authored about 5 years ago by Janko Marohnić <[email protected]>
Bump to 3.0.1

6c5ce28dabc75910190796b656bdd302b0b6cdd9 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix metadata_attributes failing when removing attachment

I've tried to handle this scenario, but with incorrect code. Since I
forgot to add tests for it,...

4d05cae83e60fad57fc589570732b67f530dd4f9 authored about 5 years ago by Janko Marohnić <[email protected]>
Simplify UploadedFile#inspect output

Since Shrine::UploadedFile is a value object, it doesn't really make
sense for its #inspect outp...

e8b30ceb02d898fd43a1851d7cba120f5a8dd4da authored about 5 years ago by Janko Marohnić <[email protected]>
Add missing changelog entry about Attacher#assign breaking change

Concerns #420

7ea0e70122e0c8637366f13350fd46acfc2fc802 authored about 5 years ago by Janko Marohnić <[email protected]>
Improve error message when assigning non-cached file

Usually people would get inspected JSON data with double quotes escaped,
which is not so readabl...

d1b7a285bfdf6ddbd73b6fc70928dd3752ea8953 authored about 5 years ago by Janko Marohnić <[email protected]>
Add Algolia search to the website

69c1eb904ac612f0621b0793d3817cd8a503c51d authored about 5 years ago by Janko Marohnić <[email protected]>
Use more professional wording

f4720575e8d73342056ec293bbc3ea094e6b0a8b authored about 5 years ago by Janko Marohnić <[email protected]>
Bold cross-linking between release notes and upgrading guide

abef5e3ff56df3abc6c031689c4cad8023905a95 authored about 5 years ago by Janko Marohnić <[email protected]>
Link release notes in CHANGELOG.md

Some people think that CHANGELOG.md is the only source of truth for what
has changed, when in fa...

dfbb3384e20851c816e48b885ed07b20184b2c94 authored about 5 years ago by Janko Marohnić <[email protected]>
Remove file path comments in the README

43b8188df1b8d8d1030303f8e9cf685c89d8070a authored about 5 years ago by Janko Marohnić <[email protected]>
Add setup section to the README

It's good to have some code in the README, so we duplicate the "Quick
Start" section from the "G...

52cd763ec2a9367854e15ff52a64a0c95ea8ff10 authored about 5 years ago by Janko Marohnić <[email protected]>
Add shrine-rom to the website

f4419a5fe9277898bd726d94db0ab929de0d7b6a authored about 5 years ago by Janko Marohnić <[email protected]>
Add "Shrine 3.0 Released" article to the website

37c75a0b84861ffbcd3635cff4d607a43f64ede6 authored about 5 years ago by Janko Marohnić <[email protected]>
Add note about availability for consultation

dc52f91affc5020d0ee1b98292a48e9f0519fbeb authored about 5 years ago by Janko Marohnić <[email protected]>
Break down "Major Features" into sections in release notes

e808b69cbc9d3ec79d4347e41fe04c5a02fe0174 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix date format in changelog

08b008bc6e417ca2020520bb697b4eff6be28aa2 authored about 5 years ago by Janko Marohnić <[email protected]>
Bump to 3.0.0

ff5feb85b2ec1c32824a294c502d58377258e131 authored about 5 years ago by Janko Marohnić <[email protected]>
Move callback checks outside of attacher methods

It's more useful to have the check already done before attacher callback
methods are called, as ...

87776fac92298c35ffafc71804956be71be74c04 authored about 5 years ago by Janko Marohnić <[email protected]>
Add test that versions works with backgrounding

This wasn't the case prior to moving `action: :cache` parameter from
Attacher#promote_cached to ...

0eff4137b43caf47a46b643fbc121ffe33922eb7 authored about 5 years ago by Janko Marohnić <[email protected]>
Switch website and docs to Docusaurus (#419)

The old Jekyll version of the website was just a list of links, and over time we outgrew that.
...

ad270b8bb133c0f65c1d890d147f3b5ffa41e568 authored about 5 years ago by Janko Marohnić <[email protected]>
Amend FileSystem documentation wrt moving (#418)

Taken from https://github.com/shrinerb/shrine/commit/cea01426d01fb375e74392f78ec3e664514f3966

27cee32fa0a06c319ccf7eec85d0941cb9b59562 authored about 5 years ago by Anton Rieder <[email protected]>
Support FileSystem moving in derivation_endpoint again

This was removed previously because it was difficult to support with
existing logic. But now tha...

1237ec71cd51159249e4b266add0007ce7c28739 authored about 5 years ago by Janko Marohnić <[email protected]>
Pass :action for derivation_endpoint, derivatives and mirroring plugins

That way the uploader knows where the upload is coming from, allowing
further customization. For...

16052d70c75720a5e08f3625ff60d4985a872c86 authored about 5 years ago by Janko Marohnić <[email protected]>
Allow Attacher#destroy_background to accept options

This allows passing options to destroy block. This is consistent with
Attacher#promote_background.

9a80739cdc4d2d1b22543378abdb5ec1a24d8112 authored about 5 years ago by Janko Marohnić <[email protected]>
Don't forward Attacher#promote_cached options to promote block

We don't want to be coupling regular promotion with background
promotion. People will almost cer...

5c55019263e8eb7270e51d225312e9ba07fae343 authored about 5 years ago by Janko Marohnić <[email protected]>
Move setting :action to :store to Attacher#promote

If this is done on the Attacher#promote_cached level, then it won't be
passed with backgrounding...

08aa1e99297be95dd6367eac3f502d204178cade authored about 5 years ago by Janko Marohnić <[email protected]>
Show more derivatives examples in release notes

46546d97bc35e3b86230a53e9924f2942817fc57 authored about 5 years ago by Janko Marohnić <[email protected]>
Further improve comparison guides

ba4ec35b586b590d7e9b519f2aab22e1b054a22d authored about 5 years ago by Janko Marohnić <[email protected]>
Underscore an unused proc argument

463d3f688d1f52726872892cb0a267e9ae0280b6 authored over 5 years ago by Janko Marohnić <[email protected]>
Note that you can now load multiple persistence plugins simultaneously

a7ba2db0f7f73b13339f08ddf7f93b176228014f authored over 5 years ago by Janko Marohnić <[email protected]>
Subsistitute "ORM" with "persistence library"

ROM and Hanami::Model don't classify themselves as an ORM, and Mongoid
classifies itself as an *...

8487fb7e4f52a601f7609617a593c8bf8ba7e0b1 authored over 5 years ago by Janko Marohnić <[email protected]>
Allow serializing any custom objects in column plugin

Previously we limited column serialization only to strings, which could
be limiting if some pers...

d1d0823d68121b493f0c6458db2a821ad54c6550 authored over 5 years ago by Janko Marohnić <[email protected]>
Move .<name>_attacher to entity plugin and name it

This makes usage with ROM easier. When we're creating a new record,
we want to avoid duplicating...

57bed672efa1335f1ad83cae7e3ba928bc596cc9 authored over 5 years ago by Janko Marohnić <[email protected]>
Namespace background jobs in demo app

44c87764d86d9aa2f295bca17f3ee39b2fa85a8a authored over 5 years ago by Janko Marohnić <[email protected]>
Add the upgrading guide to the website

0c2b66791f480e7f5793ffee968f9a5c71be021b authored over 5 years ago by Janko Marohnić <[email protected]>
Remove unused `sudo: false` from Travis config (#416)

https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

6952eaa5b8f12cb0c46fd0c85b72a38ae4f8f475 authored over 5 years ago by Anton Rieder <[email protected]>
Add back ability to call #delete_prefixed with trailing slash

This was original part of https://github.com/shrinerb/shrine/pull/413,
but I've removed it becau...

8b05b10812678cc958cf00785e9f0fb8f3a35cb9 authored over 5 years ago by Janko Marohnić <[email protected]>
Point to the entity plugin in the README

b3283c008a80c3f26527f5b20a58018a87a5b990 authored over 5 years ago by Janko Marohnić <[email protected]>
Add Attachment[] shorthand for Attachment.new

This adds one more way of creating an attachment module:

class Photo
include Shrine::Atta...

0b55f476dc672e6b41b11659cc2b891c9126a7b7 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix broken links

e0221c2f9fff817e953122e1e4339585edab6aad authored over 5 years ago by Janko Marohnić <[email protected]>
Document Shrine.remote_url

d108946eac69918887fe4ed43b35f469bb84bd98 authored over 5 years ago by Janko Marohnić <[email protected]>
Move 3.0.0 release notes into separate line on the website

90a7a0292e9c0a2a6bcbc8e133f77426f4f33132 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix outdated link in demo readme

ddf82f30d9563644c0054c61bf44fa66dbdfa5b0 authored over 5 years ago by Janko Marohnić <[email protected]>
Add Storage#delete_prefixed to release notes

d1018234e6491358ec3322053ecb57eebbae12d7 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix broken link in release notes

75ef19e9bdb9d7c0133cb52ce246055bf45e453c authored over 5 years ago by Janko Marohnić <[email protected]>
Bump to 3.0.0.rc

9a77ebfbf0195090f5ccf06aaadff1e77c00d506 authored over 5 years ago by Janko Marohnić <[email protected]>
Update changelog and release notes with new changes

49c7955f6f86f14647537fdf13202ec6e4ff32aa authored over 5 years ago by Janko Marohnić <[email protected]>
Add Storage#delete_prefixed (#413)

The Storage#delete_prefixed method, taken from Active Storage, deletes all files in specified di...

becdea5e18bb981de5deac99fdaf0b8e96c77f0b authored over 5 years ago by Jonathan Rochkind <[email protected]>
Update recommended backgrounding setup

Active Job 6.0 cannot yet serialize class/module names. I've seen that
functionality on Rails ma...

35f5af9a7dc8ad90f7a2c59e5511c6fc105baf7a authored over 5 years ago by Janko Marohnić <[email protected]>
Add missing var in demo JS

4d83c2606bf7ae92d975426eaa1c74b64dd0c9c6 authored over 5 years ago by Janko Marohnić <[email protected]>
Test real S3 interactions on Travis with Minio (#414)

8d92a9fc2ab6d742f1a022af2dc65fb11dbb0408 authored over 5 years ago by Jonathan Rochkind <[email protected]>
Fix guide links on website

5d4cb4bbf201a1145a9bc2c03278d082d26766ab authored over 5 years ago by Janko Marohnić <[email protected]>
Allow linter to receive nonexisting key

The string "nonexisting" is not a valid file ID for each storage, so we
allow storages to pass t...

a0318ba8879cddd0ed400e35330292afd32826b9 authored over 5 years ago by Janko Marohnić <[email protected]>
Remove JRuby from allowed failures on Travis

998928fed4e0c595d6a6d2bbb7bdcb9d07a1a526 authored over 5 years ago by Janko Marohnić <[email protected]>
Use file extension from filename metadata

This allows users to affect the file extension by passing `filename`
metadata:

file = uploade...

ccd4ff64815334c1a99e43275c9a51ce38c4c219 authored over 5 years ago by Janko Marohnić <[email protected]>
Linter#call returns true, so you can make an assertion out of it in a test. (#415)

46880a57ffec6ce676fcf1ce7e6502bc89c0d934 authored over 5 years ago by Jonathan Rochkind <[email protected]>
Enable underscoring class name in pretty_location (#412)

0fd9b32a4f6b744b9ce15f1ad46a0a38b83a47aa authored over 5 years ago by Uysim <[email protected]>
Bump down gem to 5.0

Down 5.0 introduced nice performance improvements and better exceptions.

2b7fad37dbaa955a7d3b82e9e05eaacb3506b4ba authored over 5 years ago by Janko Marohnić <[email protected]>
Show how to disable temporary storage

c1c62d13472ef6fb52b34458978d6d74d2b4a7e1 authored over 5 years ago by Janko Marohnić <[email protected]>
Force v3.0.0.beta3 links on the website

8f0fa55a0a8e18274e174008c76a467769de8470 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix version presenting on the website

565be5a67d6c43d1aaf2a78295f78465129103a2 authored over 5 years ago by Janko Marohnić <[email protected]>
Bump to 3.0.0.beta3

b1871f7a8cab544bb74c4c0947d6844db53bb9a7 authored over 5 years ago by Janko Marohnić <[email protected]>
Switch Attachment.new(...) to Attachment(...)

584553cb8ca99c007114b975fabb6925a9ea1e15 authored over 5 years ago by Janko Marohnić <[email protected]>
Add derivatives to list of instrumented plugins

bf31a237f1c80461e00a214eb4746b46ce86a769 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix broken link

dd6a5745c703988e0d0a8523e59891d2ee9a2f6f authored over 5 years ago by Janko Marohnić <[email protected]>
Add guide for upgrading to 3.x

4eeda0e2e04e64a26fe4a2f01d1cfc505ff75207 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix external on-the-fly processing example

e21faacb4ff75f828c0621d9f61dcb7f78681eff authored over 5 years ago by Janko Marohnić <[email protected]>
Add example for parallelizing derivatives upload

0a7f8235616c0a2c499d294841787389444a208b authored over 5 years ago by Janko Marohnić <[email protected]>
Show processing derivatives only for new attachments in the README

e1abe20c9d7e25c3b68a801bee3adc13a604e539 authored over 5 years ago by Janko Marohnić <[email protected]>
Add example for concurrent derivatives processing

979203fecf79b7a7b70db2a2adee5341e956270e authored over 5 years ago by Janko Marohnić <[email protected]>
Add changelog entry for multi_cache plugin

30c092c731746cfd4a1839f996cc457d4b4059af authored over 5 years ago by Janko Marohnić <[email protected]>
Add multi_cache plugin

The multi_cache plugin allows an attacher to accept files from
additional temporary storages.

...

6c21d92f3512a1de9d393bc63f904b1efbd2cad5 authored over 5 years ago by Janko Marohnić <[email protected]>
Remove section about image optimization

b84ba65ba7b48b06402a48a428bd273fa7cf0917 authored over 5 years ago by Janko Marohnić <[email protected]>
Allow uploading files larger than 50 GB

This was possible in Shrine 2.x when Aws::S3::Object#upload_file was
used, as in this case the c...

26e5207644c73a998c2caeeaf4b5f7a94ff2ee56 authored over 5 years ago by Janko Marohnić <[email protected]>
Write release notes for Shrine 3.0.0

11a105a3b8243f354a4e0d19f858df8ce295d2d9 authored over 5 years ago by Janko Marohnić <[email protected]>
Extract callback code into attacher methods

It makes the code a little easier to read. It also makes it possible for
users to override Shrin...

77a7ddf09a0372f25491e0e929322b3e5de723fb authored over 5 years ago by Janko Marohnić <[email protected]>
Make various documentation updates

* recommend passing attacher class to backgrounding
* update Active Job's automatic record seria...

f5873f69397792e0060930adb1226d61deb0ec01 authored over 5 years ago by Janko Marohnić <[email protected]>
Improve massaging generated derivatives

We do the same kind of massaging of derivatives as we do for derivation
results in derivation_en...

6ac1d1f34ab568fbef93c519e8f82fad378cbf14 authored over 5 years ago by Janko Marohnić <[email protected]>
Update guides and demo to use default derivatives processors

9b30f94202e5af4d4d2b8c3544cf92076cf21c95 authored over 5 years ago by Janko Marohnić <[email protected]>
Accept only File/Tempfile object as derivation result

It adds unnecessary complication to accept paths as well. So we limit it
to opened file objects....

1a5a345b35f5ad592769c30c0347858c3e593e0d authored over 5 years ago by Janko Marohnić <[email protected]>
Update documentation with new API

5f4a1ea7ba1f81515593518a9ef8a52cec2b044d authored over 5 years ago by Janko Marohnić <[email protected]>
Add support for default derivatives processors

In the most common case the user will have one derivatives processor for
a given uploader:

cl...

6c717b50563b32d20c34e7747cff4f143812eac2 authored over 5 years ago by Janko Marohnić <[email protected]>