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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae6ca20b819a80c3e6f1f3ba09c9725c36b99d47
4
- data.tar.gz: 2ef170d274a98bd3360814630f6cab7302904881
3
+ metadata.gz: b948f198ea6965d85bab269cff573e54a26eff8c
4
+ data.tar.gz: 7299919d68aeac713af9eac1cd4194b4364da589
5
5
  SHA512:
6
- metadata.gz: e7ffb525560794d6e5a6ce30cd36398e4ac62f66336969e531612c5a418934c3f6ebe8b3aa25c82eb2fa4a50c38d14d01a98e409126207f4752ccb62ff668ef8
7
- data.tar.gz: d9da2c7d84c2a23df79291c4470ea526a5b023b7d39f83be776465bc76564ef995eb674663291a176049de72812be9d91ad57c2166c3d3900ab0ff928518ea9a
6
+ metadata.gz: 9ed4400b2673da4009faad8f9396354288cabbcc98fad1fb58c75e920b5e86c1ac6fb17201464fa3e39401e920c56b78c4fa57b29133f6001b3b8bb417f1137e
7
+ data.tar.gz: 166cbd8a59431e6589aaa02885a3cada973d65ce796e789784231409abcdfc8b64f2a54519aadfe805b502dbaf8dac300cc7e3aa69e1f0e19be92ba7a1717842
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGES
2
2
 
3
+ ## rack-handlers 0.6.1 -- 2013-07-11
4
+
5
+ * Ditto.
6
+
3
7
  ## rack-handlers 0.6.0 -- 2013-07-11
4
8
 
5
9
  * Properly find the default config path.
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
- > For people who likes to invoke `rails s`!
38
+ For people who likes to invoke `rails s`!
39
39
 
40
40
  ## CONTRIBUTORS:
41
41
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ desc 'Generate gemspec'
8
8
  task 'gem:spec' do
9
9
  Gemgem.spec = Gemgem.create do |s|
10
10
  s.name = 'rack-handlers'
11
- s.version = '0.6.0'
11
+ s.version = '0.6.1'
12
12
 
13
13
  %w[rack].each{ |g| s.add_runtime_dependency(g) }
14
14
  end
@@ -8,7 +8,8 @@ class Rack::Handler::Unicorn
8
8
  end
9
9
 
10
10
  def self.run app, opts
11
- config_path = "#{File.dirname(opts[:config])}/config/#{opts[:server]}.rb"
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,
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rack-handlers"
5
- s.version = "0.6.0"
5
+ s.version = "0.6.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Lin Jen-Shin (godfat)"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-handlers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lin Jen-Shin (godfat)