Permalink
Browse files

Cleanup cruft

  • Loading branch information...
evanphx committed Dec 1, 2011
1 parent b18cfae commit 5dc8182ec097d4d392ac0c60f96b209e9607b433
Showing with 4 additions and 702 deletions.
  1. +2 −3 Manifest.txt
  2. +0 −20 lib/puma/gems.rb
  3. +0 −616 lib/puma/mime_types.yml
  4. +0 −44 lib/puma/utils.rb
  5. +1 −1 puma.gemspec
  6. +1 −18 test/test_http11.rb
View
@@ -33,18 +33,17 @@ lib/puma.rb
lib/puma/cli.rb
lib/puma/const.rb
lib/puma/events.rb
-lib/puma/gems.rb
-lib/puma/mime_types.yml
+lib/puma/null_io.rb
lib/puma/rack_patch.rb
lib/puma/server.rb
lib/puma/thread_pool.rb
-lib/puma/utils.rb
lib/rack/handler/puma.rb
puma.gemspec
tasks/gem.rake
tasks/java.rake
tasks/native.rake
tasks/ragel.rake
+test/ab_rs.rb
test/lobster.ru
test/mime.yaml
test/test_cli.rb
View
@@ -1,20 +0,0 @@
-module Puma
- module Gems
- class << self
- def optional(library, version = nil)
- begin
- Kernel.require library
- rescue LoadError, RuntimeError => e
- begin
- # ActiveSupport breaks 'require' by making it always return a true value
- Kernel.require 'rubygems'
- version ? gem(library, version) : gem(library)
- retry
- rescue Gem::LoadError, LoadError, RuntimeError
- end
- end
- end
-
- end
- end
-end
Oops, something went wrong.

0 comments on commit 5dc8182

Please sign in to comment.