orta / cocoapods-keys

A key value store for storing per-developer environment and application keys
MIT License
1.55k stars 93 forks source link

ERB.new is deprecated #229

Closed ckuburlis closed 1 year ago

ckuburlis commented 2 years ago

When using ruby 3.1.2 and installing cocoapods-keys v2.2.1 I get warnings of ERB.new being deprecated.

/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-keys-2.2.1/lib/key_master.rb:83: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-keys-2.2.1/lib/key_master.rb:83: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-keys-2.2.1/lib/key_master.rb:83: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-keys-2.2.1/lib/key_master.rb:83: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
orta commented 2 years ago

Sure, you're welcome to take a look at updating it 👍🏻