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

Duplicate the context hash when duplicating an Attacher (#653)

Without this change, a single context hash is shared between the original attacher and its dupli...

bf43c6de28f4b6d58fa8c2d4ec22747db4e44e60 authored over 1 year ago by Reid Beels <[email protected]>
Specify `hanna` gem in the Gemfile

The `hanna-nouveau` fork has been upstreamed back into the `hanna` gem.

b586fb2e8e64ef2b8b213a069ec4576f07c3d8d4 authored over 1 year ago by Janko Marohnić <[email protected]>
Remove FUNDING.yml

I'm no longer actively maintaining Shrine, any sponsorship will go
towards the Rodauth ecosystem.

ffc1c04bc6453e0be3334f119ee9b50d989fc1cb authored over 1 year ago by Janko Marohnić <[email protected]>
Add MiniTest fallback for Mocha

5e8a01c864f08d3c62947c4f9fcd0376f47c1f22 authored over 1 year ago by Janko Marohnić <[email protected]>
Add RDoc link

58c770750aca45d83d326c4c6b2de3a1cfc990de authored over 1 year ago by Janko Marohnić <[email protected]>
Use API key of the new Algolia crawler

746de6507e94b8b364e0d27aa74b0c4d3336391c authored over 1 year ago by Janko Marohnić <[email protected]>
fix: search bar was not working (#647)

I just changed a config setting, as described here:
https://discourse.algolia.com/t/algolia-sea...

877f77908b877ba16bf4785a059ea0bfaba49cd6 authored over 1 year ago by Ben Koshy <[email protected]>
Remove issue templates

I wanted to request help for bring the website search feature back, and
there was no appropriate...

a8005fb0790b428f9215948121de0f0454a6b64c authored over 1 year ago by Janko Marohnić <[email protected]>
Add `website:publish` Rake task

This automates deploying the website on GitHub Pages.

2df79e244fba5d45adf5b5969433c0135d790388 authored over 1 year ago by Janko Marohnić <[email protected]>
Update Algolia's API key

This seems to be the correct one.

47ed975f4be8a4d17f81be380e40c0cadb3c8fbb authored over 1 year ago by Janko Marohnić <[email protected]>
Update RDoc destination for Docusaurus v2

Docusaurus v2 doesn't create a subdirectory anymore, it's all on the
top-level directory.

321669318104952f38a3817974995fdd5a4842fe authored over 1 year ago by Janko Marohnić <[email protected]>
Turn of trailing slashes for the website

GitHub Pages add them automatically.

682c63d8e8ad01e587028244df53038653ea3895 authored over 1 year ago by Janko Marohnić <[email protected]>
Bump to 3.5.0

5f1ee10b7639ec2c845c24997537721c507b3ed8 authored over 1 year ago by Janko Marohnić <[email protected]>
Add missing changelog entries

0385981f828313b4c94b71620ccd28a74b67368a authored over 1 year ago by Janko Marohnić <[email protected]>
Use single quotes for GitHub CI workflow

0b63a8fe5622124fabf96bea6bb138dbba193c01 authored over 1 year ago by Janko Marohnić <[email protected]>
Fix ternary operator syntax for GitHub CI

GitHub CI language doesn't have ternary operators, we have to imitate
them with boolean operators.

46a8d9f9b0966558fd3bfe1da1d68e16c9c9ae62 authored over 1 year ago by Janko Marohnić <[email protected]>
Upgrade actions/checkout to v3

This fixes the Node 12 deprecation warning that can be seen on the
Actions page.

f0442a07f24f1984b135edd8ed79b286b26095f6 authored over 1 year ago by Janko Marohnić <[email protected]>
Don't use latest RubyGems for older Rubies

RubyGems 3.4.x requires Ruby 2.6+, so pick latest 3.3.x for older
Rubies.

2bc8fb3fb12a5dd559722e1945ab34dd9d82046b authored over 1 year ago by Janko Marohnić <[email protected]>
Use latest RubyGems on CI

b1ec471ded5e74c6eedd8ff8f6fde66ff51481b5 authored over 1 year ago by Janko Marohnić <[email protected]>
Document custom signer for derivation endpoint

980e150d7c888b33e1758bfe734ecb408e320b31 authored over 1 year ago by Janko Marohnić <[email protected]>
Don't leak derivatives versions compat setting

When we extend Shrine::Plugins::Derivatives::AttacherMethods with
additional behavior, that gets...

ffd87e8b6244f67b99d72f75a5c9fdeeb0d52429 authored over 1 year ago by Janko Marohnić <[email protected]>
Add `signer` option to `derivation_endpoint` plugin (#549)

As discussed here: https://discourse.shrinerb.com/t/custom-derivation-endpoint-url-signer/495

58117ef2b375dc796d6704b1297dce99d9f3ef56 authored over 1 year ago by Thibaud Guillaume-Gentil <[email protected]>
Add back showcase snippets to the home page

708a7960670a2620d8dd1e5f6bfa766da1439420 authored over 1 year ago by Janko Marohnić <[email protected]>
Fix test on JRuby

33cda7ff4a34358648a5faef57377903260b0bc6 authored over 1 year ago by Janko Marohnić <[email protected]>
Rename "v2-website" directory to "website"

84da1c6a2e9cbcbc070991f57f88bd4b268e0e72 authored over 1 year ago by Janko Marohnić <[email protected]>
Upgrade website to Docusaurus v2

fa5e0c5137134a50bf508b5ed1b7a39b97ed1d84 authored over 1 year ago by Janko Marohnić <[email protected]>
Fix removing attachments with boolean values on Ruby 3.2

Passing boolean values to the remove attachment attribute accidentally
worked due to Object#=~ b...

004ffc8389aed040ba6b19f78ed937cfafa18dfb authored almost 2 years ago by Janko Marohnić <[email protected]>
Use activerecord-jdbc-adapter 70.0 on JRuby

723d1de80ea2ca6938543be71d18a4335f8ee7e4 authored about 2 years ago by Janko Marohnić <[email protected]>
Test on JRuby 9.4

b03a3c0bbd249b6d48ed8a8b39bc6d44ca8803dc authored about 2 years ago by Janko Marohnić <[email protected]>
Add Ruby 3.2 to the CI matrix

2b479d1f1b0d8352c7cdcdb52c3d82f4f21e0d74 authored about 2 years ago by Janko Marohnić <[email protected]>
Remove duplicate from retrieving_uploads#opening (#603)

f7d99717e9148c003c271f909bd4987ab2d1a808 authored about 2 years ago by Stephan Leibelt <[email protected]>
Update domain in URLs of official Shrine articles (#600)

* Update domain in URLs of official Shrine articles

* Improve table formatting

77712c18fae10c76b6e13e600e07497e57dac5db authored about 2 years ago by Stephan Leibelt <[email protected]>
Raise explicit exception when activesupport is not installed in instrumentation

Closes #588

986b18e761122ad81b6b581aad91be8b5fc58d5f authored about 2 years ago by Janko Marohnić <[email protected]>
Simplify passing encoding to `Down::ChunkedIO`

The `:encoding` keyword argument in `Down::ChunkedIO#initialize`
defaults to `nil`, so it's safe...

12d681ac35e5ba0fc5dfe7ff68503c086e5e9382 authored about 2 years ago by Janko Marohnić <[email protected]>
Return 400 on invalid serialized file component in download_endpoint

Closes #593

027ed6be8e9dfd61f6a11b9981a2453e23f97f61 authored about 2 years ago by Janko Marohnić <[email protected]>
Define entity method without arguments without derivatives loaded

That way the backtrace of the ArgumentError points to the method call
itself, not to the `Attach...

9e59f388f98bc6d2c256d249a93b188daa4ce072 authored about 2 years ago by Janko Marohnić <[email protected]>
Tweak linking to GitHub Discussions

f4da067a81a3bafa539825eb4b7387e73b6b0641 authored about 2 years ago by Janko Marohnić <[email protected]>
fix: deprecate references to discourse (#583)

As per the maintainer's directive, there were some issues with
discourse. Github Dicussions see...

1a8bfab094d6601b6494575da60d181ac29ce47e authored about 2 years ago by Ben Koshy <[email protected]>
Fix: add bug report template (#590)

A new workflow for github issues. People are required to carefully
choose questions and are dir...

b76abf83ab8016d8730c95057832641a43ea9df9 authored about 2 years ago by Ben Koshy <[email protected]>
Fix "warning: URI.regexp is obsolete" (#586)

`URI.regexp` is obsolete now.

```
$ ruby -w -e 'require "net/http"; URI.regexp'
-e:1: warni...

92620a7d9d98adff6a75dee784a98674ae2b1b49 authored about 2 years ago by y-yagi <[email protected]>
Allow encoding to be specified with S3 storage class (#585)

59cdf1fdc6bad47a50e2606dd4b02799f0c3df11 authored about 2 years ago by Andrew Hodgkinson <[email protected]>
Correct small typo (#599)

606b8075fa998f7ad2f24a698bea6b0c369863fc authored over 2 years ago by Phil A <[email protected]>
shrine-lambda plugin has been renamed to shrine-aws-lambda (#598)

b73ac6bfebc399baf43d0175f399656a4e5bf600 authored over 2 years ago by Aurel Branzeanu <[email protected]>
Update validation_helpers.md (#591)

Add clarification of unit

0bb1a12703403cfe06261c11f4858b3c7f6130dc authored over 2 years ago by Ben Koshy <[email protected]>
Fix typo (#584)

cfd4e1afbaf7313032a6d1228d561f420c228f72 authored over 2 years ago by Ryota Sakurai <[email protected]>
Use bundle add instead (#576)

7713f3bd357aa3d922f27acd8d9325def23f9f29 authored almost 3 years ago by Glauco Custódio <[email protected]>
Cas name to string when asynchronously calling PromoteJob (#575)

Fixes a sidekiq related deprecation warning.

Fixes #574

77c6f657616c74988e8a18ad63e3d7faca1829fc authored almost 3 years ago by Tobias L. Maier <[email protected]>
Allow disabling mutex in derivatives plugin

This allows making the attacher object marshallable, as mutexes cannot
be marshalled.

Closes #503

4b6074ca905b4b8bc392b06cd2da5498454afc0f authored almost 3 years ago by Janko Marohnić <[email protected]>
Strip URL query parameters before extracting extension

This avoids the possibility of an extension being detected in query
parameters.

Closes #545

5bc527df47462216cff711148a28b5f89feb0067 authored almost 3 years ago by Janko Marohnić <[email protected]>
Show testing requests with cached attachment data

Closes #557

f0198d6b83a5782e47e9beb6787e4e5e1e1867aa authored almost 3 years ago by Janko Marohnić <[email protected]>
Skip failing tests on JRuby on CI

The expected loaded derivatives is an empty hash for some reason. This
happens on latest JRuby (...

78b4abe0f981d8c24d761ecee17fa17eecc7d09c authored almost 3 years ago by Janko Marohnić <[email protected]>
Bump activerecord-jdbc-adapter version specifier

2f615f200d982ad22abd2c382e864df4d4d118cc authored almost 3 years ago by Janko Marohnić <[email protected]>
Handle cached files in copy plugin replacement example

Closes #562

a2e3b1c957ee376cdb46fce5205b26fec9aff3a4 authored almost 3 years ago by Janko Marohnić <[email protected]>
Handle unlinked tempfiles in `Shrine#upload`

Fixes #563

d21556f8c33bda7e0c3ae9d5a51c046347d88db6 authored almost 3 years ago by Janko Marohnić <[email protected]>
Avoid generating duplicate element IDs

Closes #567.

b0f562491572d4f4418697455c21670373d0e81f authored almost 3 years ago by Janko Marohnić <[email protected]>
Customize max multipart part (#570)

b5e41b78e191679c47818599f99067ed9b83de11 authored almost 3 years ago by jpl <[email protected]>
S3 should use tagging_directive REPLACE on copy operation (#569)

It was always using metadata_directive: REPLACE; this does not apply to AWS tags applied to an S...

98c427b0b8e47a950117310aec4da1e3bb108d16 authored almost 3 years ago by Jonathan Rochkind <[email protected]>
Test on JRuby 9.3

f99fe7d10ed4c276d5afdca46194bc3ac9c76b95 authored almost 3 years ago by Janko Marohnić <[email protected]>
Use nested ternary operator for AS & AR versions

8ae90738c0df9e0208438a566c207728a7b88959 authored almost 3 years ago by Janko Marohnić <[email protected]>
Test with Ruby 3.1 (#564)

* Fix CI errors

Rails 7 requires Ruby 2.7 and above

* Test with Ruby 3.1

* Work around ...

f3cacb0240cd131712a9a9a3cb9470ef8935d93e authored almost 3 years ago by Anton Rieder <[email protected]>
Account for different file command version

I don't know if it's M1-specific, but my MacBook returns
`application/octet-stream`.

f62b7c3e7df4ab54f3a92fc009987d418645d10a authored about 3 years ago by Janko Marohnić <[email protected]>
Test on Active Record 7.0

5acb63df46d3f6df02a8d1eb66f3fe8132d3f4cf authored about 3 years ago by Janko Marohnić <[email protected]>
Update blog link

6bfb2dae0a00bdbe5a9b46f4e480d880464df16b authored over 3 years ago by Janko Marohnić <[email protected]>
Mention that keep_files plugin keeps derivatives as well

Closes #553

6b7959e425b33c6e99dd482767dd8304bb0b38cf authored over 3 years ago by Janko Marohnić <[email protected]>
Fix typo (#554)

cf723e70c14163cb8cd229c1d6a44a8158af65c7 authored over 3 years ago by Walter Lee Davis <[email protected]>
Use existing button class in the demo app

a7b36f8e5eba69531efbb8ec8865976831f7be44 authored over 3 years ago by Janko Marohnić <[email protected]>
Update demo app to Uppy 2

While here, we also update JavaScript to use ES6 syntax, since all
important browsers now suppor...

71d11e72b1b265b384c1804e48c72ad9013aa52d authored over 3 years ago by Janko Marohnić <[email protected]>
Update demo app to Bootstrap 5

9334c698a5c0e8144dc7b0c8ba22806a8f09421e authored over 3 years ago by Janko Marohnić <[email protected]>
Update broken background job links in demo README

67fb874c2ca40d796b3fcf8237150983e63b85f5 authored over 3 years ago by Janko Marohnić <[email protected]>
Correct usage of #atomic_persist when backgrounding (#552)

32774d55606b6277b7a3fba70149fefdc548180e authored over 3 years ago by gogutan <[email protected]>
Update derivatives code examples in comments for Ruby 3.0

Closes #551

668d2194cd058f9d25d5d58426626c346d86280f authored over 3 years ago by Janko Marohnić <[email protected]>
Fix a typo in upgrading_to_3.md (#548)

Update `beeen` to `been`

01a2d11efc2c3746bf9eaba9700a97ff54db6d9a authored over 3 years ago by Alex Lau <[email protected]>
Stricter bracket expression for hex format test (#546)

851e6dbdb7b694feeca10e6d8e9173dabf57de09 authored over 3 years ago by Anton Rieder <[email protected]>
Add `infer_extension` convenience method to uploader (#547)

7d61eba91ef3045fdcdf70bf47e06b3480d42f20 authored over 3 years ago by Anton Rieder <[email protected]>
Reference duplicated record in duplicated attacher

Previously, the attacher of a duplicated model instance would still
reference the old model inst...

fc6a3ed70aab9bff51ec1f0d269ad9553f4b8145 authored over 3 years ago by Janko Marohnić <[email protected]>
Allow JSON code tags in the docs

5a60d72fd78ae5942465a463a991e25c6b4c462a authored over 3 years ago by Janko Marohnić <[email protected]>
Bump to 3.4.0

d092dc6c48ac9e04ae1d62b53ea3205052315371 authored over 3 years ago by Janko Marohnić <[email protected]>
Upgrade caniuse-lite

362b6dc4946c9ad6ba08be914af866db3ed17173 authored over 3 years ago by Janko Marohnić <[email protected]>
Test passing kwargs to attachment builder methods

04823500ee2dfb53086156816204000128477904 authored over 3 years ago by Janko Marohnić <[email protected]>
Update website/yarn.lock

1380e0172d998a8c03843cedb1ef603bfb127ccf authored over 3 years ago by Janko Marohnić <[email protected]>
Remove Brewfile

912b6d39f581d7150ef69d9cea27a82bc81d2112 authored over 3 years ago by Janko Marohnić <[email protected]>
Fix typo (#542)

265a988214eb942eec0904fa46a7cdc61cb78946 authored over 3 years ago by John Gallagher <[email protected]>
Fix mistake in text (#541)

1b59b3ee03ca8ac7d59ebe45a5f16d942f446cbc authored over 3 years ago by NILID <[email protected]>
Fixes error in mime type given to svgs by fastimage (#540)

c59ae184d1b41ca7abcdccf0d90f989a3b124de4 authored over 3 years ago by Charles Bandes <[email protected]>
Add: note re: gin index for jsonb (#535)

* Add: note re: gin index for jsonb

* Small edits to note on adding gin index

Co-authored-...

e442b684a975b571e1525bdc158d7653d765ac48 authored over 3 years ago by Ben Koshy <[email protected]>
Added info about :jsonb field to README.md (#532)

Co-authored-by: Andrey Morozov <[email protected]>

76f8aecac72fbb65573f9494e6fbda6f83a71a2f authored over 3 years ago by Andrey <[email protected]>
Fixes incorrect class reference in the “Adding new derivatives” section of docs. (#531)

d7acacc232672d7ded50cb76ae9d30f1032dddf3 authored almost 4 years ago by Daniel Todd <[email protected]>
Fixes an argument in docs. (#529)

931d9688e53f2410eb5427eb9de2a85376d7bf25 authored almost 4 years ago by Daniel Todd <[email protected]>
Add warning about loading plugins on superclass after subclassing

Closes #508, Closes #509

6c6b80a5ab2a84edf2cf90c75ccec9ecbd319993 authored almost 4 years ago by Janko Marohnić <[email protected]>
Clarify :secret_key setting in processing.md (#514)

d73c4957ff4a9f9982bec6d63a1d36afdc82eb0c authored almost 4 years ago by Dan Brown <[email protected]>
Update getting_started.md (#525)

36794b9df0e7a697593c5cd445ff8a02edca92bb authored almost 4 years ago by Ben Koshy <[email protected]>
direct_s3.md: add JSON Bucket CORS config (#524)

It seems like they do not support XML format anymore in their new GUI

47782479dba4ee0492498c13539f6441ec081425 authored almost 4 years ago by Nazar Matus <[email protected]>
Fix typo: double word _of_ in Getting Started page (#523)

f2d9fd055ca441539f8c843bedf16c6b223674b1 authored almost 4 years ago by Ken <[email protected]>
Update Fingerprint sponsor details

8a0fa775281429f4e9ce9defecd18df71757ea72 authored almost 4 years ago by Janko Marohnić <[email protected]>
Fix for "warning: Using the last argument as keyword parameters is deprecated" (#518)

appearing when calling include Attachment with extra options

08cc17cd1d98cd3ce9568a3aa6c9c3dd7872486f authored about 4 years ago by Lucian <[email protected]>
Add `Testing direct upload` documentation (#520)

Extracted from https://discourse.shrinerb.com/t/how-to-test-direct-upload/411

9a9b754d09243f19b485cc856d3fd6640d3eec0c authored about 4 years ago by OKURA Masafumi <[email protected]>
Use string versions in GitHub CI definition

The CI will show "3.0" as "3", so instead of numbers we use strings for
ruby versions.

6ac9637c89b3f00b9869e8adc1b773c50d012e19 authored about 4 years ago by Janko Marohnić <[email protected]>
Fix broken test in recent commit

9914da8a859f0ab872cd9c3e4704ecbbb87ffdea authored about 4 years ago by Janko Marohnić <[email protected]>
Fix tests on Ruby 3.0

The rexml gem has been removed from default gems, but aws-sdk-core
requires at least one gem for...

a3986cc3a7182a3015036c02641f824dc734259d authored about 4 years ago by Janko Marohnić <[email protected]>
Pass event payload as hash instead of kwargs

It seems to work with kwargs, even on Ruby 3.0, but passing a hash is
safer now that positional ...

fc7b06ebe50871fc2bb06b60fea7ffaba50a2142 authored about 4 years ago by Janko Marohnić <[email protected]>