hooves 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -2
  2. data/lib/hooves.rb +1 -9
  3. metadata +3 -3
data/README.md CHANGED
@@ -8,7 +8,7 @@ It's a rubygem, you'll want to include it in your Gemfile.
8
8
 
9
9
  Usage
10
10
  ------
11
- Just use `rails server`.
11
+ Just use `rails server unicorn`.
12
12
 
13
13
  Config file
14
14
  ------------
@@ -22,7 +22,6 @@ We look in ~/ first because you can only pass one config file to Unicorn. If you
22
22
 
23
23
  Caveats
24
24
  --------
25
- * Using this gem monkey patches Rack::Handler.default making Unicorn the default.
26
25
  * This was written to work with Rails 3. Not sure what'll happen if you try it elsewhere. Let me know!
27
26
 
28
27
  ![](http://www.awesomeoff.com/images/entries/mainview/robocop_unicorn.jpg)
data/lib/hooves.rb CHANGED
@@ -1,10 +1,2 @@
1
1
  require 'hooves/unicorn'
2
- ::Rack::Handler.register "unicorn", "Hooves::Unicorn"
3
-
4
- module Rack
5
- module Handler
6
- def self.default(options = {})
7
- Hooves::Unicorn
8
- end
9
- end
10
- end
2
+ ::Rack::Handler.register "unicorn", "Hooves::Unicorn"
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooves
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.2"
8
+ - 3
9
+ version: "0.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jesse Storimer