Sha256: 2aeaf9a3c666153699fce18325b213d75b59c8384fadd9f177f3e5a51de7a897

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 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"
  env.append_path "vendor"
end

map "/css" do
  run Assets
end

map "/js" do
  run Assets
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
local_time-0.3.0 test/javascripts/config.ru
local_time-0.2.0 test/javascripts/config.ru
local_time-0.1.0 test/javascripts/config.ru