uploadcare / uploadcare-ruby

Ruby API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com
MIT License
39 stars 28 forks source link

Dry configurable update #97

Closed skliask closed 2 years ago

skliask commented 2 years ago

Issue with Dry Configurable

In ruby 3.1 there is this error: [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version Provide adefault:keyword argument instead

These warnings are probably present because the version of dry-configurable gem that is used, has seen plenty of updates. Possibly an update would fix it.

Not a major issue for the time being, but it polutes the log with many warnings. After the deprecation though, it will render it unusable.

Environment

mykhi commented 2 years ago

Same issue when upgrading from ruby 2.4.5 to 2.7.6, so it's not just a 3.x thing.