activestorage-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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89dcb6743b4bb87dacc1351b9dec256ef7dd1c887caf13c9242c4c4abc05c1de
|
|
4
|
+
data.tar.gz: 93b579fc94d6670fd6008b58e98c10fba06d50c3b63b8bf691ea6f35ae1526bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 999c462832530390ac5cc300a69b2673246e1a99759bdb9a92625af721523ec72ab16988107a1b4049e4a8e41cdb8f7d6612a87b7e33d647e5947a98325d2b78
|
|
7
|
+
data.tar.gz: c076edca15955f2cd668a43ac54a3c23011f6f8ca935ab4d08a7db7a1623fc2b1d2906d719070a4a09f4ea99a9d75c2356abac236bdc5cb4df746eec1d438b06
|
|
@@ -50,9 +50,12 @@ module ActiveStorage
|
|
|
50
50
|
abstract_operation
|
|
51
51
|
|
|
52
52
|
# MiniMagick::Error is how mini_magick reports a `magick` that exited non-zero — the common shape of an
|
|
53
|
-
# input it cannot decode. MiniMagick::Invalid is an input `identify` rejects outright.
|
|
54
|
-
#
|
|
55
|
-
|
|
53
|
+
# input it cannot decode. MiniMagick::Invalid is an input `identify` rejects outright.
|
|
54
|
+
# ImageProcessing::Error is the pipeline's own verdict on the input against the requested
|
|
55
|
+
# transform — a multi-layer source into a single-layer destination, for example. All three are
|
|
56
|
+
# the input's fault rather than the operation's; unclassified, each was a transient `failed`
|
|
57
|
+
# that never marked the blob, so the same file spent a full conversion on every request.
|
|
58
|
+
unreadable MiniMagick::Error, MiniMagick::Invalid, ImageProcessing::Error
|
|
56
59
|
|
|
57
60
|
# **Accepted risk.** A tool's output is not bounded on this path. `Operation#run_tool` caps what it
|
|
58
61
|
# reads at 64KB and drops the rest as it arrives, because an input that makes a tool print gigabytes
|
|
@@ -22,8 +22,10 @@ module ActiveStorage
|
|
|
22
22
|
|
|
23
23
|
# Vips::Error is how libvips reports a file it cannot decode, which is common rather than exceptional: it
|
|
24
24
|
# covers truncated uploads, formats this build was not compiled with, and formats deliberately refused by
|
|
25
|
-
# block_untrusted.
|
|
26
|
-
|
|
25
|
+
# block_untrusted. ImageProcessing::Error is the pipeline's own verdict on the input against the
|
|
26
|
+
# requested transform, classified the same way. All of those are the input's fault and none is
|
|
27
|
+
# the operation's.
|
|
28
|
+
unreadable Vips::Error, ImageProcessing::Error
|
|
27
29
|
|
|
28
30
|
# Requires and configures. It must never evaluate an image, and the reason is mechanical: libvips starts
|
|
29
31
|
# its thread pool on the first evaluation, that pool does not survive fork, and the child then waits on a
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activestorage-hotcell-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
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.
|
|
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.
|
|
25
|
+
version: 0.3.1
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: image_processing
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -99,8 +99,8 @@ licenses:
|
|
|
99
99
|
- MIT
|
|
100
100
|
metadata:
|
|
101
101
|
homepage_uri: https://github.com/basecamp/hotcell
|
|
102
|
-
source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.
|
|
103
|
-
changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.
|
|
102
|
+
source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.1/activestorage-hotcell-server
|
|
103
|
+
changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.1/CHANGELOG.md
|
|
104
104
|
bug_tracker_uri: https://github.com/basecamp/hotcell/issues
|
|
105
105
|
rubygems_mfa_required: 'true'
|
|
106
106
|
rdoc_options: []
|