Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
added large_file_app to verify retrieving large files from a CDN duri…
Browse files Browse the repository at this point in the history
…ng a deploy [#52576073]
  • Loading branch information
Gregg Van Hove and Onsi Fakhouri committed Jul 1, 2013
1 parent 5331529 commit 20ac20c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sinatra/large_file_app/Gemfile
@@ -0,0 +1,2 @@
source "http://rubygems.org"
gem 'sinatra'
14 changes: 14 additions & 0 deletions sinatra/large_file_app/Gemfile.lock
@@ -0,0 +1,14 @@
GEM
remote: http://rubygems.org/
specs:
rack (1.2.2)
sinatra (1.2.6)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
tilt (1.3)

PLATFORMS
ruby

DEPENDENCIES
sinatra
2 changes: 2 additions & 0 deletions sinatra/large_file_app/config.ru
@@ -0,0 +1,2 @@
require "./main"
run Sinatra::Application
1 change: 1 addition & 0 deletions sinatra/large_file_app/file_in_resource_pool

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions sinatra/large_file_app/main.rb
@@ -0,0 +1,5 @@
require 'sinatra'

get '/' do
File.new(File.expand_path('file_in_resource_pool', File.dirname(__FILE__))).size.to_s
end

0 comments on commit 20ac20c

Please sign in to comment.