Closed jlestavel closed 2 years ago
I can confirm that this fixes an issue with Ruby 3.1
I was seeing config errors in my app a la ActionView::Template::Error: Must supply cloud_name in tag or in configuration
It turns out that I was also using YAML aliases as suggested in this PR, and checking it out fixed it for me.
@jlestavel , thank you for contribution!
Brief Summary of Changes
The goal of this PR is to have YAML aliases supported for the config file in Ruby 3.1
By default, Ruby 3.1 will use
safe_load
so we have to explicitly allow aliasescf
in https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/
For example in our project, the
config/cloudinary.yml
file looks likeand it's not supported by the current version of the gem
I submitted a similar for another gem,
database_consistency
, that was accepted if you want to have a look: https://github.com/djezzzl/database_consistency/pull/113What does this PR address?
Are tests included?
Checklist: