async-job-adapter-active_job 0.5.2 → 0.5.3

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: 612c24c0825f11d68d174c98728a12554304216c28b76cb6619db27e2528b846
4
- data.tar.gz: 227e5a0a1e22370eac1308db67095d202bbfeb93ab73a402a7e3f0a968fa5562
3
+ metadata.gz: d361492d42e901dd3df776c45351c06f03e9b2787267683ec7a7294840c5223b
4
+ data.tar.gz: 352c80a5cddbacbc30bf660db22f8b9d9d532c55f2a0f18e53f31020c8bde25d
5
5
  SHA512:
6
- metadata.gz: efab8ec5e1c83660db313814d70a6e60dde6234586b73e4c7e6675ee93e1962b1a678e72ce4439ef1ba16f1c0ee236ea00990902cf27ebec98c71b8b6facae9f
7
- data.tar.gz: b89c609ab669a4082697671019408e199bbf98d4280a4a700b92432dd6d4be1656e7d2f110537bc2902b6d81b4707869507ff6bbe5a64fbca30a0bf0f2be7908
6
+ metadata.gz: f92eddb3a6eb35526f45c37b1acf614845c59bbda32599fd8f82dc6926612b3d7458c7008a24b68e753565dc1c792afa2640b1eb2c7b91c2db61402c7f0b2159
7
+ data.tar.gz: e3d50da79bb4bc576b2c3b9807f995b456eb98ec7bd4adc2bd1f379a465a20707722aa86cb86c636b6f13e6ab2696e2c9cb85534a2a3cabcb2dd1992ca43c93b
checksums.yaml.gz.sig CHANGED
Binary file
@@ -3,9 +3,11 @@
3
3
  # Released under the MIT License.
4
4
  # Copyright, 2024, by Samuel Williams.
5
5
 
6
+ require_relative 'executor'
7
+ require_relative 'interface'
8
+
6
9
  require 'async/job'
7
10
  require 'thread/local'
8
-
9
11
  require 'async/job/builder'
10
12
 
11
13
  module Async
@@ -15,7 +15,7 @@ module Async
15
15
  end
16
16
 
17
17
  def call(job)
18
- Console.info(self, "Executing job...", id: job["job_id"])
18
+ # Console.debug(self, "Executing job...", id: job["job_id"])
19
19
  ::ActiveJob::Base.execute(job)
20
20
 
21
21
  @delegate&.call(job)
@@ -13,13 +13,13 @@ module Async
13
13
  end
14
14
 
15
15
  def enqueue(job)
16
- Console.info(self, "Enqueueing job...", id: job.job_id)
16
+ # Console.debug(self, "Enqueueing job...", id: job.job_id)
17
17
  @delegate.call(serialize(job))
18
18
  end
19
19
 
20
20
  def enqueue_at(job, timestamp)
21
21
  # We assume the given timestamp is the same as `job.scheduled_at` which is true in every case we've seen so far.
22
- Console.info(self, "Scheduling job...", id: job.job_id, scheduled_at: job.scheduled_at)
22
+ # Console.debug(self, "Scheduling job...", id: job.job_id, scheduled_at: job.scheduled_at)
23
23
  @delegate.call(serialize(job))
24
24
  end
25
25
 
@@ -7,7 +7,7 @@ module Async
7
7
  module Job
8
8
  module Adapter
9
9
  module ActiveJob
10
- VERSION = "0.5.2"
10
+ VERSION = "0.5.3"
11
11
  end
12
12
  end
13
13
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-job-adapter-active_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -37,7 +37,7 @@ cert_chain:
37
37
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
38
38
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
39
39
  -----END CERTIFICATE-----
40
- date: 2024-02-26 00:00:00.000000000 Z
40
+ date: 2024-03-06 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: async-job
metadata.gz.sig CHANGED
Binary file