async-job-adapter-active_job 0.7.0 → 0.7.2

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: 65f9e22e242a8c2d9c96fd81e52e5e4ec0d4eeddda402544f808b59d3633cbdb
4
- data.tar.gz: e1cf84731daf4ec7d0739fce4d205544c66a111a753b4817939379d816a22a1c
3
+ metadata.gz: 92468d5194031da303e154b420ca5230a173d143d4ac5d9f25b8371b84dd3321
4
+ data.tar.gz: 8d348e952d404c310c9b19a13acf8d833c700dc75ec9024082c17876679903cf
5
5
  SHA512:
6
- metadata.gz: 7cbb5ac1d912f5a1e59ab1d781f8caf3d5de955722195bf407301c1a6bb49a2933d94e3315ad14aa102986be58b70b7b0260e3a8f11b6770c9d30b4b1d1f074a
7
- data.tar.gz: 575b40692b1d57984bae97ab7308a194821733299beb0efc03d9d53ba05a9b45a30138c4412d1e0404622c12c95ac4add153118f5fe86374e7423dfc4d40ace8
6
+ metadata.gz: 5d87aa59963f061bf6193651151dd40efea88976b02788845c6c23d9026055dc5f2b538808c333b9db4177d3c67eb52b6032097fb73621704aa4f35a235eb067
7
+ data.tar.gz: 608558e01b4bd710e15413a39aa4d8f1628c03cb47d194e78448dc5b2a5234fd00c05a2fd4050abea9219e3f60f24b82391d19d1557269451c7dd771c3adb2b7
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'async/service/configuration'
4
5
  require 'async/service/controller'
@@ -4,6 +4,8 @@
4
4
  # Copyright, 2024, by Samuel Williams.
5
5
 
6
6
  require 'async/job'
7
+ require 'async/job/backend/inline'
8
+
7
9
  require 'thread/local'
8
10
 
9
11
  require_relative 'dispatcher'
@@ -18,7 +20,7 @@ module Async
18
20
  class Railtie < ::Rails::Railtie
19
21
  # The default pipeline for processing jobs, using the `Inline` backend.
20
22
  DEFAULT_PIPELINE = proc do
21
- queue Async::Job::Backend::Inline
23
+ queue Backend::Inline
22
24
  end
23
25
 
24
26
  def initialize
@@ -85,8 +87,10 @@ module Async
85
87
  config.active_job.queue_adapter.start(name)
86
88
  end
87
89
 
90
+ DEFAULT_QUEUE_ADAPTER = ThreadLocalDispatcher.new(self.backends, self.aliases)
91
+
88
92
  config.async_job = self
89
- config.active_job.queue_adapter = ThreadLocalDispatcher.new(self.backends, self.aliases)
93
+ config.active_job.queue_adapter = DEFAULT_QUEUE_ADAPTER
90
94
  end
91
95
  end
92
96
  end
@@ -7,7 +7,7 @@ module Async
7
7
  module Job
8
8
  module Adapter
9
9
  module ActiveJob
10
- VERSION = "0.7.0"
10
+ VERSION = "0.7.2"
11
11
  end
12
12
  end
13
13
  end
data/readme.md CHANGED
@@ -22,8 +22,8 @@ We welcome contributions to this project.
22
22
 
23
23
  ### Developer Certificate of Origin
24
24
 
25
- This project uses the [Developer Certificate of Origin](https://developercertificate.org/). All contributors to this project must agree to this document to have their contributions accepted.
25
+ In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
26
26
 
27
- ### Contributor Covenant
27
+ ### Community Guidelines
28
28
 
29
- This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
29
+ This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
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.7.0
4
+ version: 0.7.2
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-04-07 00:00:00.000000000 Z
40
+ date: 2024-08-02 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: async-job
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.5.3
123
+ rubygems_version: 3.5.11
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: A asynchronous job queue for Ruby on Rails.
metadata.gz.sig CHANGED
Binary file