application no longer thanks people for ordering nothing

This commit is contained in:
Senad Uka
2015-03-09 07:09:34 +01:00
parent fce49c9f5b
commit e12c2b01d0
8 changed files with 115 additions and 8 deletions

View File

@@ -20,3 +20,4 @@ gem "sinatra-activerecord"
gem "json"
gem 'puma'
gem "sinatra-contrib"
gem 'rerun'

View File

@@ -24,11 +24,21 @@ GEM
bcrypt (3.1.10)
bcrypt (3.1.10-java)
builder (3.2.2)
celluloid (0.16.0)
timers (~> 4.0.0)
ffi (1.9.6)
ffi (1.9.6-java)
hitimes (1.2.2)
hitimes (1.2.2-java)
i18n (0.7.0)
jdbc-postgres (9.3.1102)
jruby-openssl (0.9.6-java)
json (1.8.1)
json (1.8.1-java)
listen (2.8.5)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
minitest (5.5.0)
multi_json (1.10.1)
pg (0.17.1)
@@ -41,6 +51,11 @@ GEM
rack
rack-test (0.6.3)
rack (>= 1.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rerun (0.10.0)
listen (~> 2.7, >= 2.7.3)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
@@ -58,6 +73,8 @@ GEM
thread_safe (0.3.4)
thread_safe (0.3.4-java)
tilt (1.4.1)
timers (4.0.1)
hitimes
tzinfo (1.2.2)
thread_safe (~> 0.1)
@@ -73,6 +90,7 @@ DEPENDENCIES
json
pg
puma
rerun
sinatra
sinatra-activerecord
sinatra-contrib

View File

@@ -105,10 +105,8 @@ ActiveRecord::Schema.define(version: 20150222055517) do
end
create_table "sub_categories", force: :cascade do |t|
t.string "name"
t.integer "category_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "name"
t.integer "category_id"
end
create_table "units", force: :cascade do |t|