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

Minor test improvements and add CHANGELOG entry for previous commit

a07b8941746bb6278cb30a368cb46a478854c82e authored about 7 years ago
Make passing a block to UploadedFile#open optional (#207)

8ca70fcf6cd0f10c00d62e48526274b177dc7590 authored about 7 years ago
Modify code style and add CHANGELOG entry for previous commit

951131b91762a927b37c0aa11d52a5e5ed7070cf authored about 7 years ago
Delete tempfile if error occurs during download. (#204)

6e3f3fd23dfbb814961b19f145063d4b5acc0490 authored about 7 years ago
Remove redundant jquery.iframe-transport.js (#210)

0405fcd831cb67c8f558842e9309d8397f7164b4 authored about 7 years ago
Improve handling aws-sdk fallback in S3 storage

Previously if neither aws-sdk-s3 nor aws-sdk were present, a deprecation
warning for "aws-sdk 2....

1f952fb3db3c4125ef4b0aae088a0b50dadb0516 authored about 7 years ago
Link GoRails screencast for DigitalOcean Spaces

11c3b0540ddfa05cc97e2eb3a79444b9d40e8ebb authored about 7 years ago
Correct UploadedFile#to_io test

015ce657f501bb297d20ce5de71cabadd56bbe2d authored about 7 years ago
Remove unused variable. (#203)

f3293ab312a8697918cf33eab4e22bf14a509d95 authored about 7 years ago
Include CHANGELOG.md in the packaged gem (#205)

As a heavy user of `bundle open` I really appreciate it if the CHANGELOG is part of the gem.

b1dcc2425d91f3d7cece5b99777c9323c932b473 authored about 7 years ago
Add CHANGELOG entry for freezing string literals

75647f1327206a88e919c099bb0f72204713d8c0 authored over 7 years ago
Link "Uploading Files with Rails and ActionCable" blog post

4a239c6d09ada2511dc558e0b20542e277b3f568 authored over 7 years ago
Recommend only Dragonfly for on-the-fly processing

I've never tried Attache, but honestly it looks very bloated to me.
Dragonfly has been around fo...

51317850f7bfaad626708f8d23a108100534727c authored over 7 years ago
Add frozen_string_literal (#199)

4dc52969b06c6287496be5a053afadd81b1e66a4 authored over 7 years ago
Fix docs for "static" direct s3 upload strategy

Amazon S3 will by default complain about the "allow_any" parameter, so it
might be that it has t...

829c12331cd6184ec37f88a10df812b2428481a2 authored over 7 years ago
Improve docs for global vs local backgrounding

Closes #200

98141415b1cdaca7f92183724ce8f9d85bc5694a authored over 7 years ago
Update gem versions (#198)

51a3cc43cf4602b7a987794c9bd99fa005e16aa1 authored over 7 years ago
Allow changing default storage from the model instance

Previously if you would want to change the temporary/permanent storage
of the Shrine::Attacher, ...

d8b763f205ef694ca34d28af84a23002e3aadfe5 authored over 7 years ago
Link latest Dropzone.js blog post

ff84c7a951364e6405686be42d28de7db8444b80 authored over 7 years ago
Bump to 2.8.0

1c585bf7d06ed8550281544b0d6fca57f397eeed authored over 7 years ago
Fix typo in "Reprocessing versions" docs

4c4bdd8f83cb414433a5ba9089fbbe5d8a2d67af authored over 7 years ago
Link my Melbourne talk on the website

f2b3c09b0a87440cc498c68cb3a19c8deae2e44b authored over 7 years ago
Link the new Trix editor GoRails screencast

4798a1c6a5b0c446b6d838f62367911bbd180afe authored over 7 years ago
Specify JRuby version explicitly

Travis CI has issues installing the latest JRuby version, so we
explicitly specify the latest pr...

c851375f1bd5aade8d991bdb44fd43299d0c16f3 authored over 7 years ago
Improve documentation for Rack endpoint plugins

ed0ce8feeaf4dbe6eff6490ea386762f6490786d authored over 7 years ago
Fix styling issues following rubocop rules

624af83d63b4dfff3065f65a02ca736f5ee0d9f0 authored over 7 years ago
Fix Copyright 2015-2017

e0ecc2cc1bceb5595a026a5f62842db1f02b0591 authored over 7 years ago
Expand relative directory path in FileSystem storage

In Rails daemon mode (`rails server -d`) the PWD (current working
directory) changes from the Ra...

8bf8ebbb0787b6b730879951b967138f3318a3b0 authored over 7 years ago
Always use JSON standard library in logging plugin

When ActiveSupport is loaded, it overrides `#to_json` with its own
implementation. We don't want...

e6aab57edad347f78c4908063ab769fb6549161d authored over 7 years ago
Fix json logging failing with ActiveSupport loaded

When ActiveSupport is loaded, it monkey-patches #to_json on each object
and replaces it with its...

be32d705b6020ab09ecb9aa1733e596c95cf866c authored over 7 years ago
Use FileMagic#buffer after all

It isn't worth using FileMagic#io, because it was added only later on in
FileMagic development, ...

57b62962b71f73a9db6c64558a3210bdce878d31 authored over 7 years ago
Allow passing a block to Storage::S3#clear!

The Shrine::Storage::S3#clear! method now accepts a block, which yields
each S3 object in the st...

1c9d47c0808c444d83192467e064664becc6f5cb authored over 7 years ago
Use class methods in determine_mime_type and store_dimensions tests

We also move handling of the :default mime type analyzer to the class
method, where we duplicate...

c8501503ff214df7b2db4e1c3bfa98305b85e416 authored over 7 years ago
Use the FileMagic#io convenience method

10f9426bdf7329f0f546045ad35f9355772a9fb3 authored over 7 years ago
Close FileMagic descriptor in case of exceptions

When FileMagic.open receives a block, it closes the file descriptor at
the end of the block in a...

9436d68ed4f7e79b4bac6a84d7ac4641298d6ee9 authored over 7 years ago
Make file analyzer work for file types that have magic bytes farther than 256 KB

Instead of speculating how much bytes of the IO content we will give to
the file command, we str...

4b64fc524439dbcb0f0d8034f5c73dc3a98ef84e authored over 7 years ago
Inline fetching S3 object chunks again

0251da32e2cb735b9479bbfd962ea187ffbf4713 authored over 7 years ago
Deprecate aws-sdk 2.x in favour of aws-sdk-s3

54466b7f658aead1bf00b736198292d64bb78345 authored over 7 years ago
Make the "range requests" section more guiding

8eb24cac5b38fd6b7b4ccf9d3d3bf60af519059a authored over 7 years ago
Return "Accept-Ranges: bytes" only when :range is passed in

We don't want to return "Accept-Ranges: bytes" when user isn't even
passing in :range, because i...

68b061a25bac410ca01bff60110ea72ab9943e5c authored over 7 years ago
List supported hashing algorithms/formats inline

8742c74db73414e23fbbf25ea4dba0b7253d0a8c authored over 7 years ago
Fix missing links in presign_endpoint documentation

75eb0504e8a78461d7fdbb0cc71de2a08fd59bab authored over 7 years ago
Indent code block in the activerecord plugin RDoc

347310562a9be2a09ba7d40381f015a742a2f75b authored over 7 years ago
Link "Multiple File Uploads with Shrine" GoRails screencast

ec8509643d3c40ff726d1b6a33c9d32fcdea82f5 authored over 7 years ago
Link "A code readers guide to Shrine.rb" blog post on the website

5502e18e2d34e354fa75214c9632a651f6296e64 authored over 7 years ago
Always return lowercase extension in UploadedFile#extension

This brings consistency into the UploadedFile#extension method, because
the developer now doesn'...

2f41073249144bde44811dc1833b6c96f3944251 authored over 7 years ago
Downcase extension when generating upload location

We want upload locations to have the file extension in consistent
casing, regardless of whether ...

71d85a890ed7075222efadaf325791f4f90f5961 authored over 7 years ago
Allow specifying full attribute name in metadata_attributes

Users can now avoid the <attachment>_* prefix on the record attributes
they want to have synced ...

68b6a2096a2d0a39b3196ccaa4b141bbd1333ca3 authored over 7 years ago
Allow specifying mappings on metadata_attributes plugin initialization

This way users can load the plugin and specify the mappings all in a
single call.

plugin :met...

997b4ea962cf37ce6a4c07cacf54ef5145fcc912 authored over 7 years ago
Simplify UploadedFile#rack_body with enum_for

60caae40d9d43f493d1ec26e48b9bfa5d3a6639a authored over 7 years ago
Use latest JRuby on Travis CI

278680f40fac69dab4021cdc811b07de1600f047 authored over 7 years ago
Support ranged requests in download_endpoint and rack_response plugins

The rack_response and download_endpoint can now return partial
responses:

status, headers, bo...

e78ffddc19c59958460016a2ef518125011c0cfa authored over 7 years ago
Allow S3#download and #open to accept options

24747bb183652641d1846194a93474cc271e0282 authored over 7 years ago
Mention default_url_options in S3 storage

2fd10163b0c3887bf5a80d21ed90ff999fa13e2d authored over 7 years ago
Allow UploadedFile#download and #open to accept options

Storages now have the ability to accept options in #open and #download,
and users can pass in th...

09aa737b2307bea77529299ad3b34fe9c305973e authored over 7 years ago
Add CHANGELOG entry for Roda 3 support

5a86b0c93afc4ddd070a84033fb5a1b440772324 authored over 7 years ago
Update direct_upload plugin to work with Roda 3

35db9644790b83ea3dc03176463fde6733b94877 authored over 7 years ago
Link two new Shrine blog posts

d9ea427dcf087962784e9e46fb47e79e73a92f87 authored over 7 years ago
Mention that upload_endpoint and presign_endpoint plugins drop Roda dependency.

af2b34712c4fe6b26a9c5a569d9e90137bbd280b authored over 7 years ago
Remove a reverted change from the CHANGELOG

72c42b0b2151e0fc45fe6077424d68537e3d6b68 authored over 7 years ago
Fix invalid YAML in website codebase

5f43df547dbff2fcc17a6e8661335bd0628b6eb7 authored over 7 years ago
Bump to 2.7.0

357dea7f5ff761dba9df47915526ac45a3d37ce8 authored over 7 years ago
Tell Travis to use the latest minor Ruby version

a65dcbaae45a0dc6c47ba4b56ebf976a86bc6933 authored over 7 years ago
Fix upload_endpoint and presign_endpoint for Ruby 2.1

Ruby 2.1 doesn't allow overriding keyword arguments, so we switch to
regular Hash#merge.

8d9c04d10b87c6be391c0e063f8801d4c3d7c088 authored over 7 years ago
Deprecate Shrine::DownloadEndpoint constant

For symmetry with the `upload_endpoint` and `presign_endpoint` plugins,
we add `Shrine.download_...

b34253e33d90b1200330cc82925768aaa7e1daf6 authored over 7 years ago
Remove unused exception in download_endpoint

2944490e1c7af869b9064806f2a8dfc63f7cd56d authored over 7 years ago
Bump Down dependency to the latest version

1f62389df1ea2a221bae6ea899903a3870a06aa6 authored over 7 years ago
Update demo app to use presign/upload endpoint

03e31eb7c7b04e6bc2015361c3eb4d9293aca630 authored over 7 years ago
Split direct_upload plugin into upload_endpoint and presign_endpoint

The direct_upload plugin consists of two separate endpoints: upload
endpoint and presign endpoin...

cbfd9672e9d0f86a14126483cd2051f2461a5b81 authored over 7 years ago
Small wording improvement

effbbbaa675ad1e1186fe03c98f0d990e2003a04 authored over 7 years ago
Use Shrine.rack_file in rack_file plugin tests

50d7b525b0ca4478c7e69ce631d8e24aeabca40d authored over 7 years ago
Link Dropzone.js blog post and demo

b9040fa61abf26759990f8afa858c06e6f20fc3f authored over 7 years ago
Actually remove mention of FakeS3

24244232b1f0767576f52b1f973933da2160dc76 authored over 7 years ago
Fix CHANGELOG author of the aws-sdk-s3 addition

5e39c7f71396307f96a0151ed73071e296a0ea8b authored over 7 years ago
Add CHANGELOG entry for aws-sdk-s3 support

67294bc645ba855e135ec7c80d0fdd8c31e59b1e authored over 7 years ago
Update aws-sdk API doc links to the new aws-sdk-s3

b6f1c8543d81126398ca2b11b79864cb1661d156 authored over 7 years ago
Require aws-sdk-s3 version 1.2.0 or above for S3

On aws-sdk-s3 versions 1.0 and 1.1 Aws::S3::Object#get doesn't support
content streaming, which ...

6da54a9f28a7775ee6378c3a3daa13f08a7da550 authored over 7 years ago
Make S3 storage work with both aws-sdk v2 and v3

c2f5cb137692c9bf0497fcc3e20b0be4f1a5606f authored over 7 years ago
Aws.eager_autoload! is deprecated as all autoload statements have been replaced with require statements. Calling this method will now generate a warning and have no other effect.

0f13d9ef77ea7aa7c8d180efe4f142c5e2474a44 authored over 7 years ago
use aws-sdk gem version 3 modularity

1f846a2f9ead44f2fb49805508bee157b5d4840d authored over 7 years ago
Fix typo (#181)

edc627a87923d8d38842c480bca6805339be936f authored over 7 years ago
Recommend aws-sdk-ruby stubs instead of FakeS3

In my experience FakeS3 hasn't really worked even for simple cases, so
it's better not to recomm...

0b4a6b5a90dd2c01ca0fcb68c2a8e0ddb86871c0 authored over 7 years ago
Extract rack_response plugin from download_endpoint

If a developer wants to authenticate downloads, it's difficult for them
to do it with the `downl...

3dc1502a63a73303194e8b6fb377e589f4299a4c authored over 7 years ago
Don't use Roda's streaming plugin in download_endpoint

Roda 3 will remove EventMachine support, making the streaming plugin
essentially only syntactic ...

7a90f0302853f4b03e54c2eeff6c16e90e92a8a2 authored over 7 years ago
HTTP cache responses in download_endpoint

Since same URL will always point to the same file, and files are
immutable by Shrine recommendat...

2575ba3094918bd4e2b199fad49e9376f8ff6e18 authored over 7 years ago
Return 404 for non-existing file in download_endpoint

Otherwise we would just let a storage-specific exception to propagate
and return a 500 response.

366e9399b556370cfe7722e1f2c426e54408ba40 authored over 7 years ago
Recommend using a cache for download_endpoint

91c85ff87ce0e130f0b83e35bc8e47809b6069de authored over 7 years ago
Utilize uploaded file metadata in download_endpoint

This modifies the download_endpoint to serialize the whole uploaded file
data in the URL, in ord...

e333647ab5ada1ba7ec95d836130baa17fd61a8b authored over 7 years ago
Don't recommend specific web servers for download_endpoint

I experimented a while ago which web servers handle streaming downloads
well (i.e. are not vulne...

8b50fc02b6beb098f1c9530906d709b81ab8672b authored over 7 years ago
Fix deprecation warning with fake presigns

When making a presign request with query parameters in the URL, the
upload URL would be incorrec...

eaa297c079a293c8d250056c095ee082b58f2d95 authored over 7 years ago
Link shrine-thumbor on the website

6d0bbe1fb17214b13a21532c2fdd3da527158ec4 authored over 7 years ago
Document workaround for an ActiveRecord bug

376df6f9fd8da40694de4face868fae9b954450c authored over 7 years ago
Add SimpleForm example in the README

3366e1de7af9218d11378207bef320f7d830e481 authored over 7 years ago
Remove extra whitespace in README

f17acdd4401135c1529c9934d3a1a1aca3dbce6b authored over 7 years ago
Link shrine-redis on the website

07be779aae9416c367ec77a68498c26f7992a8f6 authored over 7 years ago
Link shrine-google_drive_storage on the website

788e09fc13dbe8402188532a363965e1412a4966 authored over 7 years ago
Typo in Storage model name (#180)

6f572b0076f57de0acadcd52fb1af53c8df24275 authored over 7 years ago
Add missing location to module_eval

54814ec93dffcef853bcd85f975b9e0e25913ac8 authored over 7 years ago
Return nil on empty IO, and add CHANGELOG entry

ceb66c753686095c07d7cb654a6d6e737b8464d8 authored over 7 years ago
Fix mime_type on empty file causes TypeError or unexpected value

:file -> "cannot open: No such file or directory"
:filemagic -> TypeError by passing nil to buff...

f5fda60c00629aac4734b290bf6f7fbde5c1dd0d authored over 7 years ago