Sha256: 49b5b7845d8f6f03d550432de6fc2eefd0bd782a41903097bc1f0040525b000e

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

path = File.expand_path(File.join(File.dirname(__FILE__), "../lib"))
$:.unshift(path) unless $:.include?(path)

def asset_timestamp(source)
  File.mtime("./test/public/#{source}").to_i.to_s
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-static-assets-1.0.4 test/test_helper.rb
sinatra-static-assets-1.0.3 test/test_helper.rb