Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Bugfix for default params to run. #1

Merged
2 commits merged into from Mar 9, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions unixrack.gemspec
@@ -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
2 changes: 1 addition & 1 deletion unixrack.rb
Expand Up @@ -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
Expand Down