Permalink
Browse files

working.

  • Loading branch information...
1 parent 3ebcce7 commit 680ab65ddb03e302342a923ae140205d3dcca32f @mfine mfine committed Apr 12, 2012
Showing with 8 additions and 8 deletions.
  1. +1 −1 lib/ranked/api.rb
  2. +1 −1 lib/ranked/autoload.rb
  3. +2 −2 lib/ranked/conf.rb
  4. +1 −1 lib/ranked/error.rb
  5. +1 −1 lib/ranked/event.rb
  6. +1 −1 lib/ranked/log.rb
  7. +1 −1 lib/ranked/user.rb
View
@@ -3,7 +3,7 @@
require "sinatra"
require "sinatra/google-auth"
-module Ladder
+module Ranked
class Api < Sinatra::Base
register Sinatra::GoogleAuth
disable :show_exceptions, :dump_errors, :logging
View
@@ -1,4 +1,4 @@
-module Ladder
+module Ranked
autoload :User, "ladder/user"
autoload :Event, "ladder/event"
View
@@ -1,10 +1,10 @@
require "ladder/error"
-module Ladder
+module Ranked
module Conf
def self.env
- [:lock_id, :database_url, :schedule_limit, :schedule_sleep, :heroku_username, :heroku_password, :sso_salt, :port]
+ [:database_url, :port]
end
def self.method_missing(m, *args)
View
@@ -1,4 +1,4 @@
-module Ladder
+module Ranked
class MissingConf < StandardError
end
View
@@ -1,4 +1,4 @@
-module Ladder
+module Ranked
class Event < Sequel::Model
plugin :optimistic_locking
plugin :timestamps
View
@@ -1,4 +1,4 @@
-module Ladder
+module Ranked
module Log
def self.notice(*data, &block)
View
@@ -1,4 +1,4 @@
-module Ladder
+module Ranked
class User < Sequel::Model
plugin :optimistic_locking
plugin :timestamps

0 comments on commit 680ab65

Please sign in to comment.