Skip to content

Commit

Permalink
Remove deprecated #stream
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Jun 21, 2017
1 parent 8449560 commit 05a5dbf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/shrine/storage/fog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ def clear!
list.each(&:destroy)
end

def method_missing(name, *args)
if name == :stream
warn "Shrine::Storage::Fog#stream is deprecated, you should use Fog#open with #each_chunk instead."
get(*args) do |chunk, _, content_length|
yield chunk, content_length
end
end
end

protected

def file(id)
Expand Down

0 comments on commit 05a5dbf

Please sign in to comment.