Skip to content

Commit

Permalink
Remove faraday require in version.rb and define Middleware
Browse files Browse the repository at this point in the history
slight cheat because of the superclass... maybe it isn't needed tho?
  • Loading branch information
zenspider committed Sep 30, 2024
1 parent ad19ca1 commit 9aa02a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/restrict_ip_addresses/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'faraday'
module Faraday
class Middleware; end # so we don't have to load faraday gem to get version
class RestrictIPAddresses < Faraday::Middleware
VERSION = '0.2.0'
end
Expand Down

0 comments on commit 9aa02a3

Please sign in to comment.