activestorage-hotcell-server 0.5.0 → 0.6.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: 543de3673ff2ad1abfcc823718fb05dc1e81854b8e51731abafbc89fd81831cc
4
- data.tar.gz: 7df8c9ef85cd137d29466cb31bbffd23292e6e8020459a1fc8aba95f8a2c2ba3
3
+ metadata.gz: 4642a692e0e595066fac5a067cffe1194806d98974c276a19326a8b718870070
4
+ data.tar.gz: 3db5008438afd5858e993984553262c3efa11f59b577edf9b8f29bf2b06bf92e
5
5
  SHA512:
6
- metadata.gz: 1f4f98c457bf4598dfdba24876fdb0406a0a722f98376b51481cbd6375253b6509fcaf77fc01dd8835d5fbc1a7f661eecd693a24dda66c5cf5768e5eb2b38b24
7
- data.tar.gz: 2e60c4e6002df09d1a8f83dc1b470587a6ea8471abb8025968281107a8c7271e0e53232949095e35fa32342e10aae1c9c50897ba63784335a29653bcd9f9625c
6
+ metadata.gz: a27d5698048186d37bb3008c04af3234ed2b86b82a8cc6c166d45abad2067da045da04811be7354178eedec1d8bbd968571e8ec69a49a7c3be90d63d88772c80
7
+ data.tar.gz: beb0a8d0c80a2bec3815b0c619c71e584fe9afe5a3b4b1f9fc92ec256edd41f981a01b9dba89f82a3a217468954ce84ecc0b687ec183dcf700323a0745ff00df
@@ -14,15 +14,8 @@ module ActiveStorage
14
14
 
15
15
  format = format.to_s
16
16
 
17
- # ImageProcessing chooses its saver from the destination's extension, and a scratch path has none,
18
- # so encode to a suffixed sibling on the slot's own scratch and adopt it into place. That is one
19
- # rename rather than the copy-out-of-Dir.tmpdir that a destination-less `call` would do, and it
20
- # keeps ImageProcessing's own saver — quality, strip, format defaults — rather than reaching past
21
- # it to the library, which cannot reproduce those without restating them. Output#post makes the
22
- # one remaining copy, out through the caller's descriptor.
23
- encoded = destination.path(extension: format)
24
- pipeline(source, format, operations).call(destination: encoded)
25
- destination.adopt encoded
17
+ # A scratch path has no extension, so ImageProcessing saves in the `convert` format.
18
+ pipeline(source, format, operations).call(destination: destination.path)
26
19
 
27
20
  describe destination.path, format
28
21
  end
@@ -3,7 +3,7 @@
3
3
  module ActiveStorage
4
4
  module HotCell
5
5
  module Server
6
- VERSION = "0.5.0"
6
+ VERSION = "0.6.0"
7
7
  end
8
8
  end
9
9
  end
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.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio
@@ -15,28 +15,28 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.5.0
18
+ version: 0.6.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.5.0
25
+ version: 0.6.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: image_processing
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 2.1.0
32
+ version: 2.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 2.1.0
39
+ version: 2.2.0
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: mini_magick
42
42
  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.5.0/activestorage-hotcell-server
103
- changelog_uri: https://github.com/basecamp/hotcell/blob/v0.5.0/CHANGELOG.md
102
+ source_code_uri: https://github.com/basecamp/hotcell/tree/v0.6.0/activestorage-hotcell-server
103
+ changelog_uri: https://github.com/basecamp/hotcell/blob/v0.6.0/CHANGELOG.md
104
104
  bug_tracker_uri: https://github.com/basecamp/hotcell/issues
105
105
  rubygems_mfa_required: 'true'
106
106
  rdoc_options: []
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubygems_version: 4.0.16
120
+ rubygems_version: 4.0.6
121
121
  specification_version: 4
122
122
  summary: The operations a cell runs on behalf of Active Storage.
123
123
  test_files: []