active_storage-cloud_transformations 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55933914ed4a8573ef48bd00f6f8f151254ef0ff94e2fce62bd36acbdbbb4bf8
4
- data.tar.gz: 9507ce45ba12c36e39846c6472b31e17c5804058b8c1c59fd1dbcede2c44cf79
3
+ metadata.gz: c56a1a41f5c7b3da1cfb6a288b3cc1ea2f8da13700df65401f9b6d90ca706c2f
4
+ data.tar.gz: '069f48bd03f818fcbab6cd8839013c045f4a3f34e8146ab15b55863caa562647'
5
5
  SHA512:
6
- metadata.gz: d39ce0c06d2fccf952ce518281b4ab926266662d0c9eb4ba3ddbf109f8c4aaf1ba3eb4471d909e0590f5e6c7950dcd94b1664fbb6dc56204a40ce4ed156206fa
7
- data.tar.gz: 9bf3ad4159fd06d75b50a0f7c9917a630aa3c03c7417a12bb9e86d4e94136cdafd1f83d9e86634c6a6e25b6899e5c2bcc19a71b6d285d88c8cfdc1c3ea6e11d2
6
+ metadata.gz: f72a1d55d57627bb772ea34c303dcc26f558907d0aebd790b6a8323a472e4af21919f798f506ddf24c876ab9413371c314ffdb71e1c7066aada401fe807020c5
7
+ data.tar.gz: 272063e142c02003bc0733157c691246f484759d45f0fd6b088c709211c1a1dc3574b7e90c94e369e86065641ea43b1d89235175ec82e020234fd5eae4111918
@@ -17,8 +17,10 @@ module ActiveStorage
17
17
  byte_size: 0, # we don"t know this yet, can we get it from the results?
18
18
  checksum: 0, # we don"t know this yet, can we get it from the results?
19
19
  })
20
+ output_blob.metadata[:analyzed] = true
20
21
  record.image.attach(output_blob)
21
22
  run_crucible_job(blob, output_blob, ignore_timeouts: true)
23
+ ActiveStorage::AnalyzeJob.perform_later(output_blob)
22
24
  end
23
25
  end
24
26
  rescue ActiveRecord::RecordNotUnique
@@ -1,5 +1,5 @@
1
1
  module ActiveStorage
2
2
  module CloudTransformations
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_storage-cloud_transformations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-03 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage