Sha256: 3a5ab0e77db0a92484f4c02f3fbb485876516d546248e07fb11e1c9e887cd3f6

Contents?: true

Size: 988 Bytes

Versions: 18

Compression:

Stored size: 988 Bytes

Contents

page "/fake.html", :proxy => "/real.html", :layout => false

ignore "/should_be_ignored.html"
page "/should_be_ignored2.html", :ignore => true
page "/target_ignore.html", :proxy => "/should_be_ignored3.html", :ignore => true

%w(one two).each do |num|
  page "/fake/#{num}.html", :proxy => "/real/index.html" do
    @num = num
  end
end

with_layout false do
  page "/relative_image.html"
  page "/inline-css.html"
  page "/inline-js.html"
  page "/inline-coffeescript.html"
  page "/spaces in file.html"
  page "/slim.html"
  page "/data.html"
  page "/page-classes.html"
  page "/sub1/page-classes.html"
  page "/sub1/sub2/page-classes.html"

  %w{
    /auto-css.html
    /auto-css
    /auto-css/
    /auto-css/auto-css.html
    /auto-css/sub/auto-css.html
  }.each do |path|
    page path
  end

  %w{
    /auto-js.html
    /auto-js
    /auto-js/
    /auto-js/auto-js.html
    /auto-js/sub/auto-js.html
  }.each do |path|
    page path
  end
end

get "/sinatra_test" do
  "Ratpack"
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
middleman-2.0.7 fixtures/test-app/config.rb
middleman-2.0.6 fixtures/test-app/config.rb
middleman-2.0.5 fixtures/test-app/config.rb
middleman-2.0.4 fixtures/test-app/config.rb
middleman-2.0.3 fixtures/test-app/config.rb
middleman-2.0.2 fixtures/test-app/config.rb
middleman-2.0.1.1 fixtures/test-app/config.rb
middleman-2.0.1 fixtures/test-app/config.rb
middleman-2.0.0.3 fixtures/test-app/config.rb
middleman-2.0.0.2 fixtures/test-app/config.rb
middleman-2.0.0.1 fixtures/test-app/config.rb
middleman-2.0.0 fixtures/test-app/config.rb
middleman-2.0.0.rc99 fixtures/test-app/config.rb
middleman-2.0.0.rc98 fixtures/test-app/config.rb
middleman-2.0.0.rc97 fixtures/test-app/config.rb
middleman-2.0.0.rc96 fixtures/test-app/config.rb
middleman-2.0.0.rc95 fixtures/test-app/config.rb
middleman-2.0.0.rc93 fixtures/test-app/config.rb