]> khamidou — GitHub mirrors - electron-breakpad-sentry.git/commitdiff
Initial commit
authorKarim Hamidou <khamidou@gmail.com>
Thu, 23 Mar 2017 18:52:32 +0000 (11:52 -0700)
committerKarim Hamidou <khamidou@gmail.com>
Thu, 23 Mar 2017 18:52:32 +0000 (11:52 -0700)
.gitignore
Gemfile [new file with mode: 0644]
Gemfile.lock [new file with mode: 0644]
app.rb [new file with mode: 0644]
config.ru [new file with mode: 0644]

index 5e1422c9c3f1ddaae47b5b1b597bc80748611993..b1c9da889b4024a063b10549274c446294c9f4c6 100644 (file)
@@ -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 (file)
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 (file)
index 0000000..8d3b538
--- /dev/null
@@ -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 (file)
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 (file)
index 0000000..76a6edf
--- /dev/null
+++ b/config.ru
@@ -0,0 +1,2 @@
+require './app'
+run Sinatra::Application