Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Bugfix for default params to run. #1

Merged
2 commits merged into from

2 participants

@casret

Also added a simple gemspec. I would've had 2 different pull requests, but I'm not quite sure how to do that. Maybe 2 forks?

Giao Phan added some commits
@drudru
Owner

great, thanks, merged in

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 9, 2011
  1. default to empty hash

    Giao Phan authored
  2. simple gemspec

    Giao Phan authored
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 1 deletion.
  1. +10 −0 unixrack.gemspec
  2. +1 −1  unixrack.rb
View
10 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
View
2  unixrack.rb
@@ -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
Something went wrong with that request. Please try again.