patient_http-solid_queue 1.0.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 +7 -0
- data/ARCHITECTURE.md +119 -0
- data/CHANGELOG.md +16 -0
- data/MIT-LICENSE +20 -0
- data/README.md +598 -0
- data/VERSION +1 -0
- data/db/migrate/20260216000000_create_solid_queue_async_http_tables.rb +27 -0
- data/lib/patient_http/solid_queue/callback_job.rb +73 -0
- data/lib/patient_http/solid_queue/configuration.rb +142 -0
- data/lib/patient_http/solid_queue/context.rb +36 -0
- data/lib/patient_http/solid_queue/engine.rb +14 -0
- data/lib/patient_http/solid_queue/gc_lock.rb +14 -0
- data/lib/patient_http/solid_queue/inflight_request.rb +14 -0
- data/lib/patient_http/solid_queue/lifecycle_hooks.rb +21 -0
- data/lib/patient_http/solid_queue/process_registration.rb +14 -0
- data/lib/patient_http/solid_queue/processor_observer.rb +38 -0
- data/lib/patient_http/solid_queue/record.rb +10 -0
- data/lib/patient_http/solid_queue/request_executor.rb +78 -0
- data/lib/patient_http/solid_queue/request_job.rb +46 -0
- data/lib/patient_http/solid_queue/task_handler.rb +53 -0
- data/lib/patient_http/solid_queue/task_monitor.rb +260 -0
- data/lib/patient_http/solid_queue/task_monitor_thread.rb +133 -0
- data/lib/patient_http/solid_queue.rb +284 -0
- data/lib/patient_http-solid_queue.rb +3 -0
- data/lib/tasks/patient_http_solid_queue.rake +21 -0
- data/patient_http-solid_queue.gemspec +44 -0
- metadata +110 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Gem::Specification.new do |spec|
|
|
2
|
+
spec.name = "patient_http-solid_queue"
|
|
3
|
+
spec.version = File.read(File.expand_path("../VERSION", __FILE__)).strip
|
|
4
|
+
spec.authors = ["Brian Durand"]
|
|
5
|
+
spec.email = ["bbdurand@gmail.com"]
|
|
6
|
+
|
|
7
|
+
spec.summary = "Offload async HTTP requests from Solid Queue workers to a dedicated async I/O processor"
|
|
8
|
+
|
|
9
|
+
spec.homepage = "https://github.com/bdurand/patient_http-solid_queue"
|
|
10
|
+
spec.license = "MIT"
|
|
11
|
+
|
|
12
|
+
spec.metadata = {
|
|
13
|
+
"homepage_uri" => spec.homepage,
|
|
14
|
+
"source_code_uri" => spec.homepage,
|
|
15
|
+
"changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md"
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
# Specify which files should be added to the gem when it is released.
|
|
19
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
20
|
+
ignore_files = %w[
|
|
21
|
+
.
|
|
22
|
+
AGENTS.md
|
|
23
|
+
Appraisals
|
|
24
|
+
Gemfile
|
|
25
|
+
Gemfile.lock
|
|
26
|
+
Rakefile
|
|
27
|
+
bin/
|
|
28
|
+
gemfiles/
|
|
29
|
+
spec/
|
|
30
|
+
test_app/
|
|
31
|
+
]
|
|
32
|
+
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
|
33
|
+
`git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
spec.require_paths = ["lib"]
|
|
37
|
+
|
|
38
|
+
spec.required_ruby_version = ">= 3.2"
|
|
39
|
+
|
|
40
|
+
spec.add_dependency "patient_http"
|
|
41
|
+
spec.add_dependency "solid_queue", ">= 1.0.0"
|
|
42
|
+
|
|
43
|
+
spec.add_development_dependency "bundler"
|
|
44
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: patient_http-solid_queue
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Brian Durand
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: patient_http
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: solid_queue
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.0.0
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 1.0.0
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: bundler
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
email:
|
|
55
|
+
- bbdurand@gmail.com
|
|
56
|
+
executables: []
|
|
57
|
+
extensions: []
|
|
58
|
+
extra_rdoc_files: []
|
|
59
|
+
files:
|
|
60
|
+
- ARCHITECTURE.md
|
|
61
|
+
- CHANGELOG.md
|
|
62
|
+
- MIT-LICENSE
|
|
63
|
+
- README.md
|
|
64
|
+
- VERSION
|
|
65
|
+
- db/migrate/20260216000000_create_solid_queue_async_http_tables.rb
|
|
66
|
+
- lib/patient_http-solid_queue.rb
|
|
67
|
+
- lib/patient_http/solid_queue.rb
|
|
68
|
+
- lib/patient_http/solid_queue/callback_job.rb
|
|
69
|
+
- lib/patient_http/solid_queue/configuration.rb
|
|
70
|
+
- lib/patient_http/solid_queue/context.rb
|
|
71
|
+
- lib/patient_http/solid_queue/engine.rb
|
|
72
|
+
- lib/patient_http/solid_queue/gc_lock.rb
|
|
73
|
+
- lib/patient_http/solid_queue/inflight_request.rb
|
|
74
|
+
- lib/patient_http/solid_queue/lifecycle_hooks.rb
|
|
75
|
+
- lib/patient_http/solid_queue/process_registration.rb
|
|
76
|
+
- lib/patient_http/solid_queue/processor_observer.rb
|
|
77
|
+
- lib/patient_http/solid_queue/record.rb
|
|
78
|
+
- lib/patient_http/solid_queue/request_executor.rb
|
|
79
|
+
- lib/patient_http/solid_queue/request_job.rb
|
|
80
|
+
- lib/patient_http/solid_queue/task_handler.rb
|
|
81
|
+
- lib/patient_http/solid_queue/task_monitor.rb
|
|
82
|
+
- lib/patient_http/solid_queue/task_monitor_thread.rb
|
|
83
|
+
- lib/tasks/patient_http_solid_queue.rake
|
|
84
|
+
- patient_http-solid_queue.gemspec
|
|
85
|
+
homepage: https://github.com/bdurand/patient_http-solid_queue
|
|
86
|
+
licenses:
|
|
87
|
+
- MIT
|
|
88
|
+
metadata:
|
|
89
|
+
homepage_uri: https://github.com/bdurand/patient_http-solid_queue
|
|
90
|
+
source_code_uri: https://github.com/bdurand/patient_http-solid_queue
|
|
91
|
+
changelog_uri: https://github.com/bdurand/patient_http-solid_queue/blob/main/CHANGELOG.md
|
|
92
|
+
rdoc_options: []
|
|
93
|
+
require_paths:
|
|
94
|
+
- lib
|
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
|
+
requirements:
|
|
97
|
+
- - ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: '3.2'
|
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - ">="
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: '0'
|
|
105
|
+
requirements: []
|
|
106
|
+
rubygems_version: 4.0.3
|
|
107
|
+
specification_version: 4
|
|
108
|
+
summary: Offload async HTTP requests from Solid Queue workers to a dedicated async
|
|
109
|
+
I/O processor
|
|
110
|
+
test_files: []
|