From 7eec78b403a5bbd4ffea20e67270259ea4b66e52 Mon Sep 17 00:00:00 2001 From: Karim Hamidou Date: Thu, 23 Mar 2017 11:52:32 -0700 Subject: [PATCH] Initial commit --- .gitignore | 1 + Gemfile | 3 +++ Gemfile.lock | 25 +++++++++++++++++++++++++ app.rb | 5 +++++ config.ru | 2 ++ 5 files changed, 36 insertions(+) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 app.rb create mode 100644 config.ru diff --git a/.gitignore b/.gitignore index 5e1422c..b1c9da8 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ build-iPhoneSimulator/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc +.swp diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..861e1ff --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source "http://rubygems.org/" +gem "sinatra", "~> 1.4.7" +gem "sentry_breakpad", "~> 0.1.10" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..8d3b538 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,25 @@ +GEM + remote: http://rubygems.org/ + specs: + faraday (0.11.0) + multipart-post (>= 1.2, < 3) + multipart-post (2.0.0) + rack (1.6.5) + rack-protection (1.5.3) + rack + sentry-raven (2.2.0) + faraday (>= 0.7.6, < 1.0) + sentry_breakpad (0.1.10) + sentry-raven (~> 2.2.0) + sinatra (1.4.8) + rack (~> 1.5) + rack-protection (~> 1.4) + tilt (>= 1.3, < 3) + tilt (2.0.7) + +PLATFORMS + ruby + +DEPENDENCIES + sentry_breakpad (~> 0.1.10) + sinatra (~> 1.4.7) diff --git a/app.rb b/app.rb new file mode 100644 index 0000000..f01822f --- /dev/null +++ b/app.rb @@ -0,0 +1,5 @@ +require 'sinatra' + +get '/' do + "Hello World!" +end diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..76a6edf --- /dev/null +++ b/config.ru @@ -0,0 +1,2 @@ +require './app' +run Sinatra::Application -- 2.43.0