Sha256: f3e9184ea29bae484b29bb11c41a1b6318e76cbd66b4a16f915dc3ba16f5fc6f

Contents?: true

Size: 464 Bytes

Versions: 9

Compression:

Stored size: 464 Bytes

Contents

#!/usr/bin/env ruby

require 'pathname'

begin
  require File.dirname(__FILE__) + "/../vendor/html_mockup/lib/html_mockup/server"
rescue LoadError => e
  require 'rubygems'
  require 'html_mockup/server'
end

root_path = Pathname.new(File.dirname(__FILE__)) + "../html"
partial_path = (root_path + "../partials/").realpath

mockup = HtmlMockup::Server.new(root_path,partial_path)

# Add some of your own middleware here.
# mockup.use Rack::CommonLogger

mockup.run

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
flurin-html_mockup-0.3.0 examples/script/server
flurin-html_mockup-0.3.1 examples/script/server
html_mockup-0.5.2 examples/script/server
html_mockup-0.5.1 examples/script/server
html_mockup-0.5.0 examples/script/server
html_mockup-0.4.0 examples/script/server
html_mockup-0.3.5 examples/script/server
html_mockup-0.3.4 examples/script/server
html_mockup-0.3.2 examples/script/server