lib/io_streams/streams.rb in iostreams-0.10.1 vs lib/io_streams/streams.rb in iostreams-0.11.0

- old
+ new

@@ -95,10 +95,10 @@ raise ArgumentError.new("RocketJob Cannot detect file format when uploading to stream: #{file_name.inspect}") if reader_stream?(file_name) parts = file_name.split('.') extensions = [] while extension = parts.pop - break unless @@extensions[extension.to_sym] + break unless @extensions[extension.to_sym] extensions.unshift(extension.to_sym) end extensions << :file if extensions.size == 0 extensions end