hotcell-server 0.3.0 → 0.3.1

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: 96b9d4b602f5a5430605a97aec5db12ea0a67a6cdac0b1fb42e5174c2fa447a7
4
- data.tar.gz: 4beed8c182fa5cfbb1bb4713ff3cb6e19772c29ac4e4dfec6d5456b217be054d
3
+ metadata.gz: 9b2d1b6a8296d8833188c1414bfeb70d7031c8601d520361b10110e832461992
4
+ data.tar.gz: ec7983987f989d78eeeefee5b3fa8b5c5a860d3ae1022ce414172ea553d64938
5
5
  SHA512:
6
- metadata.gz: 4974036dd70e168a833dbb03cf0aef47d6ce0be264ddc8327e5b4d6265c1b65d85a55767815cbf2471e6c9a534a910dcc8597bc6913cf0d1c5bec93d4d198c9d
7
- data.tar.gz: 433c2c6f0e55f72b849f67a3abb9bc55129a0d5ececb9fa9b8c50c277dabee74f69d2ce95259d30c9fc0d0bbfd9b7db48cdcbd061be85677d98aaf3c76f8dd91
6
+ metadata.gz: 112abfea26523d9592dd208455e70a824937c910f98d910990b2359e0530f8f9fd01348a57b4b067a80ee9a77cf64d36aaf7e4bf704c9cf9c88d99eb324e14f1
7
+ data.tar.gz: 99fbe2141dee8d99e385b3fe825476366bb56988f7ca508a8ff961d302052b3ab656b07b28cce2513e45012e8a8903aac916f62e31931871fb4a55d4dceb2314
@@ -149,7 +149,8 @@ module HotCell
149
149
  # cost gigabytes of this worker's address space, and took RLIMIT_DATA with it — arriving as a `memory`
150
150
  # verdict, which is permanent, for a document whose only crime was being noisy.
151
151
  # `pass` hands the tool a set of the worker's own descriptors — an input to read, an output to write —
152
- # at their existing fd numbers, so the tool reaches them as `/dev/fd/N` (Descriptor#fd_path) and no
152
+ # at their existing fd numbers, so the tool reaches them at `Descriptor#fd_path` — `/dev/fd/N`, or the
153
+ # file's own path on macOS, where opening `/dev/fd/N` would share the worker's offset — and no
153
154
  # byte is copied onto scratch to give it a filename. A fd handed to a child this way loses its
154
155
  # close-on-exec, which is exactly the inheritance wanted, and only for these; the worker's other
155
156
  # descriptors are untouched. Passing an fd at its own number cannot collide with the stdio pipes popen3
@@ -2,6 +2,6 @@
2
2
 
3
3
  module HotCell
4
4
  module Server
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotcell-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.3.0
18
+ version: 0.3.1
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.3.0
25
+ version: 0.3.1
26
26
  description: |
27
27
  Runs a HotCell container. A supervisor listens on two Unix sockets, forks a worker for each request,
28
28
  and enforces a wall clock deadline and resource limits on it. Write the work as a subclass of
@@ -61,8 +61,8 @@ licenses:
61
61
  - MIT
62
62
  metadata:
63
63
  homepage_uri: https://github.com/basecamp/hotcell
64
- source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.0/hotcell-server
65
- changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.0/CHANGELOG.md
64
+ source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.1/hotcell-server
65
+ changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.1/CHANGELOG.md
66
66
  bug_tracker_uri: https://github.com/basecamp/hotcell/issues
67
67
  rubygems_mfa_required: 'true'
68
68
  rdoc_options: []