Skip to content

Commit

Permalink
Explicitly require StringIO where it's used
Browse files Browse the repository at this point in the history
Fixes #871.
  • Loading branch information
timrogers committed Mar 20, 2024
1 parent 5bfeb89 commit beeb8b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/restforce/patches/parts.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'stringio'

module Faraday
module Parts
module Part
Expand Down
2 changes: 2 additions & 0 deletions spec/unit/middleware/gzip_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'stringio'

require 'spec_helper'

describe Restforce::Middleware::Gzip do
Expand Down

0 comments on commit beeb8b1

Please sign in to comment.