Sha256: 0096e8f894f4a94f6101c835b68d88a4cf9f1981b7fa61cf101f812917da28dc

Contents?: true

Size: 1.06 KB

Versions: 39

Compression:

Stored size: 1.06 KB

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 "/markdown.html"
  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 "/data2.html"
  page "/data3.html"
  page "/liquid_master.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

39 entries across 39 versions & 1 rubygems

Version Path
middleman-2.0.16.1-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.16.1 fixtures/test-app/config.rb
middleman-2.0.16-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.16 fixtures/test-app/config.rb
middleman-2.0.15.4-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.15.4 fixtures/test-app/config.rb
middleman-2.0.15.3-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.15.3 fixtures/test-app/config.rb
middleman-2.0.15.2-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.15.2 fixtures/test-app/config.rb
middleman-2.0.15.1-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.15.1 fixtures/test-app/config.rb
middleman-2.0.15-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.15 fixtures/test-app/config.rb
middleman-2.0.14-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.14 fixtures/test-app/config.rb
middleman-2.0.14.pre2-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.14.pre2 fixtures/test-app/config.rb
middleman-2.0.13.2-x86-mingw32 fixtures/test-app/config.rb
middleman-2.0.14.pre-x86-mingw32 fixtures/test-app/config.rb