Sha256: 2c7183a5dacf3e9550c37bc268e07d33286828ea66df3e0086cf3cb144aee7ef

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 Bytes

Contents

require 'sprockets'
require 'coffee-rails'

Root = File.expand_path("../../../..", __FILE__)

Assets = Sprockets::Environment.new(Root) do |env|
  env.append_path "app/assets/javascripts"
  env.append_path "test/javascripts"
end

map "/css" do
  run Assets
end

map "/js" do
  run Assets
end

map("/") { run Rack::File.new("#{Root}/test/javascripts/runner/index.html") }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
local_time-1.0.1 test/javascripts/runner/config.ru
local_time-1.0.0 test/javascripts/runner/config.ru