Sha256: d51bee09e43721fd98e962824288e25452ec03a33bc3b7a90db26bd98ff247f0

Contents?: true

Size: 237 Bytes

Versions: 43

Compression:

Stored size: 237 Bytes

Contents

Given /^I am using an asset host$/ do
  @server ||= Middleman.server
  @server.set :show_exceptions, false
  @server.activate :asset_host
  @server.set :asset_host do |asset|
    "http://assets%d.example.com" % (asset.hash % 4)
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
middleman-2.0.16.1-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.16.1 features/step_definitions/asset_host_steps.rb
middleman-2.0.16-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.16 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.4-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.4 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.3-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.3 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.2-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.2 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.1-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.15.1 features/step_definitions/asset_host_steps.rb
middleman-2.0.15-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.15 features/step_definitions/asset_host_steps.rb
middleman-2.0.14-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.14 features/step_definitions/asset_host_steps.rb
middleman-2.0.14.pre2-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.14.pre2 features/step_definitions/asset_host_steps.rb
middleman-2.0.13.2-x86-mingw32 features/step_definitions/asset_host_steps.rb
middleman-2.0.14.pre-x86-mingw32 features/step_definitions/asset_host_steps.rb