rails_async_methods 0.2.2 → 0.2.3

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: aabd842f8437197d8ac4a861a04b3d477c0f9364a7d12584829ee67fbca841ee
4
- data.tar.gz: 2c4668f5dbef321f07406878bf617038659d77d66f91d8700e5640c9f2824825
3
+ metadata.gz: 9f96a95549f328c27349e1f788067873a5075118c33ff88cd764a2801d340d51
4
+ data.tar.gz: 8da8acdf8679fcfedb24df37b7669ef72aa123e7c2dee44ecfea27b802b5e343
5
5
  SHA512:
6
- metadata.gz: c498c7972d6b201e7f87cfd90bff64807850ff62c3483ddaeac61308509891db3c36076e9ce47c217ac249e0d83222e81150dfe3ee370a7fc821f05e4009d48f
7
- data.tar.gz: 95e44596d54d202f33752b09513f9c313f7825552ba3c19d2d1198cd8dc3fb049644d3adf6070e8b626707c5368db338a67aaa7638b81ef8de57a02328d6d35c
6
+ metadata.gz: 4f3647d528c2c31fd6d7ff1a0b457b6f9433861643af130822189b417a89380925c3b6a0f9d34bc4922a9e4d33d713dc6b6634707ecc527e38e060fc020b40c7
7
+ data.tar.gz: 03f086cbec190ae136c3e08ee2056872971a0aa658e014f0da635a3e017692e2bd1ec99d8799bc1efb80b9ad35a7947d885cb72d432addb8fdf5ebcb11c91e97
data/README.md CHANGED
@@ -1,4 +1,12 @@
1
1
  # RailsAsyncMethods
2
+
3
+ > **Deprecated / Sunset:** `rails_async_methods` is deprecated and no longer actively maintained.
4
+ >
5
+ > **Security & correctness notice (`0.2.x`):** Releases `<= 0.2.x` have known security and correctness defects, including `module_eval` parameter-name shadowing (`method_name` / `argument`), an un-allowlisted `AbstractJob#perform` `public_send` dispatcher, silent default-argument clobbering (`nil`), and ActiveRecord transaction-commit race conditions.
6
+ >
7
+ > - For production Rails apps, use standard `ApplicationJob` classes directly (with Solid Queue, Sidekiq, or GoodJob).
8
+ > - If you want to vendor or fork a security-hardened, zero-`eval` implementation of this pattern for Ruby 3.3+ and Rails 7.2/8.x, see the [`rewrite` branch](https://github.com/benngarcia/rails_async_methods/tree/rewrite).
9
+
2
10
  Rails Async Methods is an opinionated gem meant to remove boilerplate while creating Rails ActiveJobs. It provides a declarative interface for converting any model method into an asychronous method by providing an abstracted wrapper around rails ActiveJob API.
3
11
 
4
12
  ## Usage
@@ -1,3 +1,3 @@
1
1
  module RailsAsyncMethods
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -1,6 +1,10 @@
1
1
  require "rails_async_methods/version"
2
2
  require "rails_async_methods/core_ext"
3
3
 
4
+ warn "[rails_async_methods] DEPRECATED: This gem is sunset and no longer maintained. " \
5
+ "See https://github.com/benngarcia/rails_async_methods and the security-hardened " \
6
+ "reference implementation at https://github.com/benngarcia/rails_async_methods/tree/rewrite"
7
+
4
8
  module RailsAsyncMethods
5
9
  autoload :AsyncMethod, 'rails_async_methods/async_method'
6
10
  autoload :AsyncWrapper, 'rails_async_methods/wrapper/async_wrapper'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_async_methods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - benngarcia
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-08 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport
@@ -93,8 +93,8 @@ dependencies:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
- description: Utilizes the ActiveJob api to provide async callers and receivers without
97
- duplicating code.
96
+ description: 'DEPRECATED: rails_async_methods is sunset. See https://github.com/benngarcia/rails_async_methods
97
+ for details and the security-hardened rewrite branch.'
98
98
  email:
99
99
  - beng4606@gmail.com
100
100
  executables: []
@@ -119,6 +119,16 @@ licenses:
119
119
  metadata:
120
120
  homepage_uri: https://github.com/benngarcia/rails_async_methods
121
121
  changelog_uri: https://github.com/benngarcia/rails_async_methods/blob/master/CHANGELOG.md
122
+ post_install_message: |
123
+ ================================================================================
124
+ [DEPRECATED] rails_async_methods is sunset and no longer actively maintained.
125
+
126
+ Releases <= 0.2.x contain known security and correctness issues (including
127
+ module_eval parameter shadowing and un-allowlisted job dispatch).
128
+
129
+ - Production apps: use standard ActiveJob / ApplicationJob classes directly.
130
+ - Reference fix: https://github.com/benngarcia/rails_async_methods/tree/rewrite
131
+ ================================================================================
122
132
  rdoc_options: []
123
133
  require_paths:
124
134
  - lib
@@ -133,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
143
  - !ruby/object:Gem::Version
134
144
  version: '0'
135
145
  requirements: []
136
- rubygems_version: 3.6.2
146
+ rubygems_version: 3.6.9
137
147
  specification_version: 4
138
- summary: Quickly, create async callers and receivers for your rails methods, because
139
- y'know DRY.
148
+ summary: "[DEPRECATED] Quickly create async callers and receivers for your Rails methods."
140
149
  test_files: []