Bugfix for default params to run. #1

Merged
2 commits merged into from Mar 9, 2011
Jump to file or symbol
Failed to load files and symbols.
+11 −1
Split
View
@@ -0,0 +1,10 @@
+Gem::Specification.new do |s|
+ s.name = 'unixrack'
+ s.version = '0.1.0'
+ s.platform = Gem::Platform::RUBY #not sure how to specify a UNIX platform only, but I don't want to build OSX only gems
+ s.authors = ['Dru Nelson']
+ s.email = ['dru@brightroll.com']
+ s.files = %w(unixrack.rb COPYING README)
+ s.require_path = '.'
+ s.summary = 'ld School Super Solid Web Server for Ruby'
+end
View
@@ -230,7 +230,7 @@ module Rack
module Handler
class UnixRack
- def self.run(app, options=nil)
+ def self.run(app, options={})
require 'socket'
port = options[:port] || 8080