activestorage-hotcell-client 0.1.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cb05f5e778f96a4f1983d1c550cc73fc8dc33213a039fd43d235303a046b69e
4
- data.tar.gz: 0d95be37ac2692eb0728e58e0e6766eb2f024e703e13092dd28c9488a8f283ae
3
+ metadata.gz: d88b8cdfe453390a974f2412a4825c8b44ad4af6c4a43d41613a471f53a5ab37
4
+ data.tar.gz: b211ef755a5ade508612acd833f1cce0e0ebe8395d9ae24c770f272396106ec0
5
5
  SHA512:
6
- metadata.gz: fbf0f25f0d382d760bd9f3cc9feeac88c2c685a749c22075ebec71db0d0f8c36c7659e3d57573d0e7d9fc9b29a40e4cc03f6b86ccef4680bacfbb4ad2cc6160f
7
- data.tar.gz: 159b7a86ff2beafe80d345787253410335bd324199d0b2a23d27af5895a865f620bcd91ba10cc4d967830bfe327699424e1b293f0119a55ecc2b63ebc16ca99d
6
+ metadata.gz: aaa286e1fef0ca00868512ee7f2df5c97b87214983219be3e9273aba774c027ddbaf613e0bc9fe9d549e58d569eebe9614126ac252aa4c9ae0f411ba6001f5e2
7
+ data.tar.gz: c7e58a56e7e498169c7deee959d5e22e5b15a61edc4dd7d29e1d4e0f0783b361c02f9d8c735a060108293fde0e63ae2dcac0892928bba9cca3d2e8f70fb47dea
@@ -3,7 +3,7 @@
3
3
  module ActiveStorage
4
4
  module HotCell
5
5
  module Client
6
- VERSION = "0.1.0"
6
+ VERSION = "0.3.0"
7
7
  end
8
8
  end
9
9
  end
@@ -39,9 +39,8 @@ module ActiveStorage
39
39
  RETRY = { wait: :polynomially_longer, attempts: 10 }.freeze
40
40
 
41
41
  # The clients this gem ships, which is where the retry hook learns which cells' transient classes
42
- # the jobs must retry. Deliberately not HotCell.clients: that records every client the process loaded,
43
- # including an application's own for unrelated cells, and Active Storage's jobs have no business
44
- # retrying those.
42
+ # the jobs must retry. Listed rather than discovered, so an application's own clients for unrelated
43
+ # cells stay out of it: Active Storage's jobs have no business retrying those.
45
44
  CLIENTS = [ Operations::Transformers::Image::Vips, Operations::Transformers::Image::Magick,
46
45
  Operations::Analyzers::Image::Vips, Operations::Analyzers::Image::Magick,
47
46
  Operations::Analyzers::Media::Ffprobe,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestorage-hotcell-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
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.1.0
18
+ version: 0.3.0
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.1.0
25
+ version: 0.3.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activestorage
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -38,12 +38,9 @@ dependencies:
38
38
  - !ruby/object:Gem::Version
39
39
  version: 8.2.0.alpha
40
40
  description: |
41
- The three classes an application configures Rails with, so that variants, image analysis, and previews
42
- happen in an unprivileged container instead of in the application process.
43
-
44
- It also closes what Rails leaves open on that path: the built-in analyzers go silent when
45
- variant_processor is a class, the built-in previewers answer accept? by shelling out to look for a
46
- binary that is no longer there, and none of the jobs retries anything a cell can transiently answer.
41
+ Drop-in replacements for Active Storage's variant processor, analyzers, and previewers. Configure
42
+ Rails with these classes and variants, image and media analysis, and previews run in a HotCell
43
+ container instead of in the application process.
47
44
  email:
48
45
  - mike@37signals.com
49
46
  executables: []
@@ -80,8 +77,8 @@ licenses:
80
77
  - MIT
81
78
  metadata:
82
79
  homepage_uri: https://github.com/basecamp/hotcell
83
- source_code_uri: https://github.com/basecamp/hotcell/tree/v0.1.0/activestorage-hotcell-client
84
- changelog_uri: https://github.com/basecamp/hotcell/blob/v0.1.0/CHANGELOG.md
80
+ source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.0/activestorage-hotcell-client
81
+ changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.0/CHANGELOG.md
85
82
  bug_tracker_uri: https://github.com/basecamp/hotcell/issues
86
83
  rubygems_mfa_required: 'true'
87
84
  rdoc_options: []