Skip to content

Commit

Permalink
added rake to Gemfile, added static error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Apr 18, 2011
1 parent 0a1bdd8 commit b334a84
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ gem "sinatra", "~> 1.1.0"
gem "activerecord", "~> 3.0.0", :require => "active_record"
gem "json", "~> 1.5.1"
gem "authlogic"
gem "rake"

group :development do
gem "shotgun"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ GEM
json (1.5.1)
mysql (2.8.1)
rack (1.2.1)
rake (0.8.7)
shotgun (0.9)
rack (>= 1.0)
sinatra (1.1.2)
Expand All @@ -46,6 +47,7 @@ DEPENDENCIES
daemons (= 1.0.10)
json (~> 1.5.1)
mysql (~> 2.8.1)
rake
shotgun
sinatra (~> 1.1.0)
sqlite3-ruby (~> 1.3.3)
Expand Down
6 changes: 3 additions & 3 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
t.string "internal_type"
t.string "internal_key"
t.string "name"
t.text "description", :limit => 255
t.text "description"
t.datetime "created_at"
t.datetime "updated_at"
end
Expand Down Expand Up @@ -111,9 +111,9 @@
t.datetime "created_at"
t.datetime "updated_at"
t.string "access"
t.string "source"
t.string "table"
t.string "column"
t.string "source"
end

create_table "permissions_users", :id => false, :force => true do |t|
Expand All @@ -126,13 +126,13 @@
create_table "request_logs", :force => true do |t|
t.string "api_key"
t.string "ip"
t.string "user_agent"
t.string "source"
t.string "model"
t.string "request_path"
t.string "query_string"
t.string "method"
t.datetime "created_at"
t.string "user_agent"
end

create_table "temp_syncs", :force => true do |t|
Expand Down
1 change: 1 addition & 0 deletions public/error_405
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"error":"Method not allowed."}
1 change: 1 addition & 0 deletions public/error_411
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"error":"No parameters specified."}
1 change: 1 addition & 0 deletions public/error_501
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"error":"Not implemented."}

0 comments on commit b334a84

Please sign in to comment.