falcon 0.33.1 → 0.33.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51943ff5c19021ce9125e2fcb602b47a0676b527a190f6cd8a54cbd84596c0d0
4
- data.tar.gz: 28266342c62bbb063441ee370fa78be5c931217789032bf15bd0f14f740e23fb
3
+ metadata.gz: 7ae875a7e072ac868658c245d1d2aeed4f81446015c9636f0d0122a7610c3945
4
+ data.tar.gz: 49f94526c6b5b225520a9b09f85b377278f4001e5bc68a71cb11b07b29c86cac
5
5
  SHA512:
6
- metadata.gz: 84cc9597088ccb75c36d7e59a0058b7dd92e4ffe72a84c4e1679f72bc5abc2db8941c29985a6cede232533ea328ebcdc8a4ba7a59801a0f73aec360b874b5fb1
7
- data.tar.gz: f5bc56999d80fac10a307de1c355f270a88acce41f04407895cb837b48efe44d639b8b8e7d468f54bd4215cec1cea413b73f051ed622ec4dbae29a08a990cf8d
6
+ metadata.gz: dd386a3bb712c0feca0f53d89c5128069d8b291b873fa295d85ede12842b1ebd9ed0e8059963aceb2278296a5272680d8c2053f475f8e689dd631b4f2bb877a1
7
+ data.tar.gz: 17771915f5ea8128625ef3e358abd67247b85e6fe36b81c1242dc5572eef2661f6cb4384c187d31b84b4103083ca9de2b2a3861fe79456acffc10bd084220013
@@ -52,13 +52,19 @@ module Falcon
52
52
 
53
53
  Process::GID.change_privilege(stat.gid)
54
54
  Process::UID.change_privilege(stat.uid)
55
+
56
+ home = Etc.getpwuid(stat.uid).dir
57
+
58
+ return {
59
+ HOME: home,
60
+ }
55
61
  end
56
62
 
57
63
  def spawn(path, container, **options)
58
64
  container.spawn(name: self.name, restart: true) do |instance|
59
- assume_privileges(path)
65
+ env = assume_privileges(path)
60
66
 
61
- instance.exec("bundle", "exec", path, **options)
67
+ instance.exec(env, "bundle", "exec", path, **options)
62
68
  end
63
69
  end
64
70
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Falcon
22
- VERSION = "0.33.1"
22
+ VERSION = "0.33.2"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.1
4
+ version: 0.33.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams