Sha256: 430f71fbe2cfe313904044dd468d52dce7fc37f399876292d59e4cc8c7107f1e

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

Given /^I am using an asset host$/ do
  @initialize_commands ||= []
  @initialize_commands << lambda { 
    activate :asset_host
    set :asset_host do |asset|
      "http://assets%d.example.com" % (asset.hash % 4)
    end
  }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
middleman-3.0.0.alpha.6 features/step_definitions/asset_host_steps.rb
middleman-3.0.0.alpha.5 features/step_definitions/asset_host_steps.rb
middleman-3.0.0.alpha.4 features/step_definitions/asset_host_steps.rb
middleman-3.0.0.alpha.3 features/step_definitions/asset_host_steps.rb
middleman-3.0.0.alpha.2 features/step_definitions/asset_host_steps.rb