rack-handlers 0.5.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -6
- data/CHANGES.md +4 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/lib/rack/handler/unicorn.rb +3 -3
- data/rack-handlers.gemspec +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ae6ca20b819a80c3e6f1f3ba09c9725c36b99d47
|
4
|
+
data.tar.gz: 2ef170d274a98bd3360814630f6cab7302904881
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e7ffb525560794d6e5a6ce30cd36398e4ac62f66336969e531612c5a418934c3f6ebe8b3aa25c82eb2fa4a50c38d14d01a98e409126207f4752ccb62ff668ef8
|
7
|
+
data.tar.gz: d9da2c7d84c2a23df79291c4470ea526a5b023b7d39f83be776465bc76564ef995eb674663291a176049de72812be9d91ad57c2166c3d3900ab0ff928518ea9a
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -45,7 +45,7 @@ is selected.
|
|
45
45
|
|
46
46
|
Apache License 2.0
|
47
47
|
|
48
|
-
Copyright (c) 2012, Lin Jen-Shin (godfat)
|
48
|
+
Copyright (c) 2012-2013, Lin Jen-Shin (godfat)
|
49
49
|
|
50
50
|
Licensed under the Apache License, Version 2.0 (the "License");
|
51
51
|
you may not use this file except in compliance with the License.
|
data/Rakefile
CHANGED
data/lib/rack/handler/unicorn.rb
CHANGED
@@ -7,12 +7,12 @@ class Rack::Handler::Unicorn
|
|
7
7
|
::Unicorn::HttpServer
|
8
8
|
end
|
9
9
|
|
10
|
-
def self.run app,
|
11
|
-
config_path = "config/#{
|
10
|
+
def self.run app, opts
|
11
|
+
config_path = "#{File.dirname(opts[:config])}/config/#{opts[:server]}.rb"
|
12
12
|
config_file = config_path if File.exist?(config_path)
|
13
13
|
|
14
14
|
server = server_class.new(app,
|
15
|
-
:listeners => "#{
|
15
|
+
:listeners => "#{opts[:Host]}:#{opts[:Port]}",
|
16
16
|
:config_file => config_file)
|
17
17
|
|
18
18
|
yield(server) if block_given?
|
data/rack-handlers.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "rack-handlers"
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.6.0"
|
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)"]
|
9
|
-
s.date = "2013-
|
9
|
+
s.date = "2013-07-11"
|
10
10
|
s.description = "Some Rack handlers which are not included in Rack distribution."
|
11
11
|
s.email = ["godfat (XD) godfat.org"]
|
12
12
|
s.files = [
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
"task/gemgem.rb"]
|
25
25
|
s.homepage = "https://github.com/godfat/rack-handlers"
|
26
26
|
s.require_paths = ["lib"]
|
27
|
-
s.rubygems_version = "2.0.
|
27
|
+
s.rubygems_version = "2.0.4"
|
28
28
|
s.summary = "Some Rack handlers which are not included in Rack distribution."
|
29
29
|
|
30
30
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-handlers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lin Jen-Shin (godfat)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
description: Some Rack handlers which are not included in Rack distribution.
|
@@ -52,17 +52,17 @@ require_paths:
|
|
52
52
|
- lib
|
53
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - '>='
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - '>='
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.0.
|
65
|
+
rubygems_version: 2.0.4
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Some Rack handlers which are not included in Rack distribution.
|