lib/perus/server/server.rb in perus-0.1.1 vs lib/perus/server/server.rb in perus-0.1.2
- old
+ new
@@ -1,14 +1,16 @@
require 'thin'
DEFAULT_SERVER_OPTIONS = {
- 'uploads_dir' => './uploads',
- 'uploads_url' => 'http://localhost:3000/uploads/',
- 'db_path' => './perus.db',
- 'listen' => '0.0.0.0',
- 'port' => 3000,
- 'site_name' => 'Perus',
- 'url_prefix' => '/'
+ '__anonymous__' => {
+ 'uploads_dir' => './uploads',
+ 'uploads_url' => 'http://localhost:3000/uploads/',
+ 'db_path' => './perus.db',
+ 'listen' => '0.0.0.0',
+ 'port' => 3000,
+ 'site_name' => 'Perus',
+ 'url_prefix' => '/'
+ }
}
module Perus::Server
class Server
def initialize(options_path = DEFAULT_SERVER_OPTIONS_PATH)