Skip to content

Commit

Permalink
Merge pull request #1 from controlshift/ruby_3_compatibility_fix_for_v1
Browse files Browse the repository at this point in the history
Add missing ruby2_keywords in extra place
  • Loading branch information
anero committed Jan 5, 2023
2 parents e7bbb4e + fbbf41c commit 6a8caa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/dependency_loader.rb
Expand Up @@ -13,7 +13,7 @@ def dependency(lib = nil)
self.load_error = e
end

def new(*)
ruby2_keywords def new(*)
unless loaded?
raise "missing dependency for #{self}: #{load_error.message}"
end
Expand Down

0 comments on commit 6a8caa1

Please sign in to comment.