Sha256: c7496fb94dd91cba9407d05c9bb2e4841515ca0aa1e5b68e99717fe04499ab75
Contents?: true
Size: 334 Bytes
Versions: 5
Compression:
Stored size: 334 Bytes
Contents
#!/usr/bin/env ruby require 'bundler' Bundler.require :default, :test, :development require 'sinatra/base' # Test server class Server < Sinatra::Base get '/:name' do root_directory = Pathname.new(File.expand_path('../../tmp/cucumber', __FILE__)) File.read(File.join(root_directory, params[:name])) end end Server.run!
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
proxy_pac_rb-0.4.2 | script/test_web |
proxy_pac_rb-0.4.0 | script/test_web |
proxy_pac_rb-0.3.8 | script/test_web |
proxy_pac_rb-0.3.7 | script/test_web |
proxy_pac_rb-0.3.6 | script/test_web |