falcon 0.33.0 → 0.33.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/falcon/command/virtual.rb +7 -3
- data/lib/falcon/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51943ff5c19021ce9125e2fcb602b47a0676b527a190f6cd8a54cbd84596c0d0
|
4
|
+
data.tar.gz: 28266342c62bbb063441ee370fa78be5c931217789032bf15bd0f14f740e23fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84cc9597088ccb75c36d7e59a0058b7dd92e4ffe72a84c4e1679f72bc5abc2db8941c29985a6cede232533ea328ebcdc8a4ba7a59801a0f73aec360b874b5fb1
|
7
|
+
data.tar.gz: f5bc56999d80fac10a307de1c355f270a88acce41f04407895cb837b48efe44d639b8b8e7d468f54bd4215cec1cea413b73f051ed622ec4dbae29a08a990cf8d
|
@@ -54,11 +54,11 @@ module Falcon
|
|
54
54
|
Process::UID.change_privilege(stat.uid)
|
55
55
|
end
|
56
56
|
|
57
|
-
def spawn(path, container)
|
57
|
+
def spawn(path, container, **options)
|
58
58
|
container.spawn(name: self.name, restart: true) do |instance|
|
59
59
|
assume_privileges(path)
|
60
60
|
|
61
|
-
instance.exec("bundle", "exec", path)
|
61
|
+
instance.exec("bundle", "exec", path, **options)
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -67,8 +67,12 @@ module Falcon
|
|
67
67
|
container = Async::Container.new
|
68
68
|
|
69
69
|
@paths.each do |path|
|
70
|
+
path = File.expand_path(path)
|
71
|
+
root = File.dirname(path)
|
72
|
+
|
70
73
|
configuration.load_file(path)
|
71
|
-
|
74
|
+
|
75
|
+
spawn(path, container, chdir: root)
|
72
76
|
end
|
73
77
|
|
74
78
|
hosts = Hosts.new(configuration)
|
data/lib/falcon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.33.
|
4
|
+
version: 0.33.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -311,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
311
|
- !ruby/object:Gem::Version
|
312
312
|
version: '0'
|
313
313
|
requirements: []
|
314
|
-
rubygems_version: 3.0.
|
314
|
+
rubygems_version: 3.0.3
|
315
315
|
signing_key:
|
316
316
|
specification_version: 4
|
317
317
|
summary: A fast, asynchronous, rack-compatible web server.
|