You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependency mimemagic was previously licensed under the MIT License, but had to change to GPL this morning. All versions under MIT have been yanked, and GPL is incompatible with Jets MIT license. See mimemagicrb/mimemagic#97.
Recommendations
I suggest that the mimemagic dependency be replaced with mini_mime.
mimemagic appears to be used only in lib/jets/internal/app/controllers/jets/public_controller.rb, which calls MimeMagic.by_path (which infers a file's MIME type from its extension). mini_mime does similar inference, but it is licensed under the MIT License.
The text was updated successfully, but these errors were encountered:
The `mimemagic` has changed license, and previous versions under a different license have been removed from available repositories like Rubygems. This is causing CircleCI builds to fail.
```
Your bundle is locked to mimemagic (0.3.5), but that version could not be found
in any of the sources listed in your Gemfile. If you haven't changed sources,
that means the author of mimemagic (0.3.5) has removed it. You'll need to update
your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
in order to install
```
From https://app.circleci.com/pipelines/github/AlexGascon/alexgascon-api/23/workflows/248ed96c-908d-469e-9697-c3c6af333ff9/jobs/61
Jets has removed the dependency in the 3.0.3 release. See rubyonjets/jets#535
This commit updates Jets to unblock builds
Summary
Dependency
mimemagic
was previously licensed under the MIT License, but had to change to GPL this morning. All versions under MIT have been yanked, and GPL is incompatible with Jets MIT license. See mimemagicrb/mimemagic#97.Recommendations
I suggest that the
mimemagic
dependency be replaced withmini_mime
.mimemagic
appears to be used only inlib/jets/internal/app/controllers/jets/public_controller.rb
, which callsMimeMagic.by_path
(which infers a file's MIME type from its extension).mini_mime
does similar inference, but it is licensed under the MIT License.The text was updated successfully, but these errors were encountered: