riverqueue-rails 0.12.0 → 0.14.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 +4 -4
- data/README.md +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 429c37b6ed6297078922a8daabbe8e1a11577ce382c839f0258b5a7ec9b3266e
|
|
4
|
+
data.tar.gz: df1b94c8b7681346fcd5760d15f0228a31ab5375b2006ab201b18dd7c321c522
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 558d1e2257eebe4c39a4d112a52626acd75bc0c488a4243f2d78b53f44ae49b0b3204c275fe03e8e6b630a66456e78e6da3140dba518105c8f1699f35ad6c7fd
|
|
7
|
+
data.tar.gz: fd6a13918e9ea8a8995fe06ed0b95117f46f8179698cc39ae2e2a83a6de241cfe68af76722afe4db134c20cfa97733134f1019ac30e16e36c0b34c6d544e0495
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# River for Rails
|
|
2
2
|
|
|
3
|
-
`riverqueue-rails` integrates Active Job with River's existing
|
|
3
|
+
`riverqueue-rails` integrates Active Job with River's existing Postgres/SQLite
|
|
4
4
|
runtime. It supports Rails 7.2, 8.0, and 8.1 and lives separately from the
|
|
5
5
|
Rails-independent core gem. Database gems remain application-selected.
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ bin/jobs start
|
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
The generator installs `config/initializers/river.rb` and `bin/jobs`. Migration
|
|
21
|
-
tasks use
|
|
21
|
+
tasks use River's canonical bundled SQL through `River::Migrator`; no separate
|
|
22
22
|
Rails schema is created. `bin/rails river:status` shows migration status.
|
|
23
23
|
Migrate explicitly during deployment, not on every application boot.
|
|
24
24
|
|
|
@@ -169,8 +169,8 @@ Handled retries/discards complete the current delivery row. Its metadata records
|
|
|
169
169
|
`active_job_outcome` (`retried` or `discarded`), and retried deliveries record
|
|
170
170
|
`active_job_retry_id`. A completed delivery need not mean the logical job succeeded.
|
|
171
171
|
Active Job logging and notifications remain available. Rows store a versioned
|
|
172
|
-
Active Job envelope under the reserved `active_job` kind;
|
|
173
|
-
but Ruby must execute these jobs. Use native River kinds for cross-language jobs.
|
|
172
|
+
Active Job envelope under the reserved `active_job` kind; River clients in other
|
|
173
|
+
languages can share the schema, but Ruby must execute these jobs. Use native River kinds for cross-language jobs.
|
|
174
174
|
|
|
175
175
|
Retry enqueueing and predecessor finalization are not atomic. Crashes can cause
|
|
176
176
|
duplicates; jobs must remain idempotent. Rails' executor/reloader wraps each work
|
|
@@ -183,8 +183,8 @@ worker/plugin registrations or periodic configuration; these retain Ruby objects
|
|
|
183
183
|
Keep Rails' `:test` adapter and `ActiveJob::TestHelper` for ordinary application
|
|
184
184
|
tests. Use `:river` and a migrated isolated database for persistence/runtime
|
|
185
185
|
integration tests. Disable transactional fixtures for threaded worker tests.
|
|
186
|
-
The repository's `make test` includes this gem's
|
|
187
|
-
`RIVER_REQUIRE_DATABASES=1 make test` makes missing
|
|
186
|
+
The repository's `make test` includes this gem's Postgres and SQLite tests.
|
|
187
|
+
`RIVER_REQUIRE_DATABASES=1 make test` makes missing Postgres an error.
|
|
188
188
|
|
|
189
189
|
Outside a Rails app, instantiate `ActiveJob::QueueAdapters::RiverAdapter.new(client:)`
|
|
190
190
|
and register `River::Rails::Worker` on your consuming River client. Rails-specific
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: riverqueue-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Blake Gentry
|
|
@@ -56,14 +56,14 @@ dependencies:
|
|
|
56
56
|
requirements:
|
|
57
57
|
- - '='
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 0.
|
|
59
|
+
version: 0.14.0
|
|
60
60
|
type: :runtime
|
|
61
61
|
prerelease: false
|
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
64
|
- - '='
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: 0.
|
|
66
|
+
version: 0.14.0
|
|
67
67
|
executables: []
|
|
68
68
|
extensions: []
|
|
69
69
|
extra_rdoc_files: []
|