Sha256: 21398a000570c9cedebbd454a90aaedba776218db57def10cd7d4efeb1fa2566

Contents?: true

Size: 164 Bytes

Versions: 47

Compression:

Stored size: 164 Bytes

Contents

Around('@preserve_mime_types') do |_scenario, block|
  mime_types = ::Rack::Mime::MIME_TYPES.clone

  block.call

  ::Rack::Mime::MIME_TYPES.replace mime_types
end

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
middleman-core-4.5.1 features/support/preserve_mime_types.rb
middleman-core-4.5.0 features/support/preserve_mime_types.rb
middleman-core-4.4.3 features/support/preserve_mime_types.rb
middleman-core-4.4.2 features/support/preserve_mime_types.rb
middleman-core-4.4.0 features/support/preserve_mime_types.rb
middleman-core-4.3.11 features/support/preserve_mime_types.rb
middleman-core-4.3.10 features/support/preserve_mime_types.rb
middleman-core-4.3.8 features/support/preserve_mime_types.rb
middleman-core-4.3.7 features/support/preserve_mime_types.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/support/preserve_mime_types.rb
middleman-core-4.3.6 features/support/preserve_mime_types.rb
middleman-core-4.3.5 features/support/preserve_mime_types.rb
middleman-core-4.3.4 features/support/preserve_mime_types.rb
middleman-core-4.3.3 features/support/preserve_mime_types.rb
middleman-core-4.3.2 features/support/preserve_mime_types.rb
middleman-core-4.3.1 features/support/preserve_mime_types.rb
middleman-core-4.3.0 features/support/preserve_mime_types.rb
middleman-core-4.3.0.rc.4 features/support/preserve_mime_types.rb
middleman-core-4.3.0.rc.3 features/support/preserve_mime_types.rb
middleman-core-4.3.0.rc.2 features/support/preserve_mime_types.rb