Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Besermenji committed Jun 12, 2016
0 parents commit 6f83769
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem 'sinatra'
19 changes: 19 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
GEM
specs:
rack (1.6.4)
rack-protection (1.5.3)
rack
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
tilt (2.0.5)

PLATFORMS
ruby

DEPENDENCIES
sinatra

BUNDLED WITH
1.12.1
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Report-Generator

Part of https://github.com/nikolalsvk/receipt-yourself

Run it with <code>bundle exec rackup</code>
7 changes: 7 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'rubygems'
require 'bundler'

Bundler.require

require './report_generator'
run ReportGenerator
7 changes: 7 additions & 0 deletions report_generator.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'sinatra'

class ReportGenerator < Sinatra::Base
get '/hi' do
"Hello World!"
end
end

0 comments on commit 6f83769

Please sign in to comment.