rack-handlers 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/lib/rack/handler/unicorn.rb +2 -1
- data/rack-handlers.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b948f198ea6965d85bab269cff573e54a26eff8c
|
4
|
+
data.tar.gz: 7299919d68aeac713af9eac1cd4194b4364da589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ed4400b2673da4009faad8f9396354288cabbcc98fad1fb58c75e920b5e86c1ac6fb17201464fa3e39401e920c56b78c4fa57b29133f6001b3b8bb417f1137e
|
7
|
+
data.tar.gz: 166cbd8a59431e6589aaa02885a3cada973d65ce796e789784231409abcdfc8b64f2a54519aadfe805b502dbaf8dac300cc7e3aa69e1f0e19be92ba7a1717842
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -35,7 +35,7 @@ For zbatery, rainbows, and unicorn, it would also try to load the config
|
|
35
35
|
via `config/zbatery.rb`, or `config/rainbows.rb` depending on which server
|
36
36
|
is selected.
|
37
37
|
|
38
|
-
|
38
|
+
For people who likes to invoke `rails s`!
|
39
39
|
|
40
40
|
## CONTRIBUTORS:
|
41
41
|
|
data/Rakefile
CHANGED
data/lib/rack/handler/unicorn.rb
CHANGED
@@ -8,7 +8,8 @@ class Rack::Handler::Unicorn
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.run app, opts
|
11
|
-
|
11
|
+
server_name = name[/::(\w+)$/, 1].downcase
|
12
|
+
config_path = "#{File.dirname(opts[:config])}/config/#{server_name}.rb"
|
12
13
|
config_file = config_path if File.exist?(config_path)
|
13
14
|
|
14
15
|
server = server_class.new(app,
|
data/rack-handlers.gemspec
CHANGED