passive_queue 0.1.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/CHANGELOG.md +88 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +35 -0
- data/LICENSE +21 -0
- data/README.md +1 -0
- data/bin/be +9 -0
- data/html/landing.html +1237 -0
- data/html/logo-dark.svg +166 -0
- data/html/logo.svg +166 -0
- data/lib/active_job/queue_adapters/passive_queue_adapter.rb +16 -0
- data/lib/passive_queue/adapter.rb +42 -0
- data/lib/passive_queue/cli.rb +139 -0
- data/lib/passive_queue/configuration.rb +23 -0
- data/lib/passive_queue/engine.rb +26 -0
- data/lib/passive_queue/railtie.rb +18 -0
- data/lib/passive_queue/version.rb +7 -0
- data/lib/passive_queue/web.rb +623 -0
- data/lib/passive_queue.rb +52 -0
- metadata +63 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3899638c7a429d71499ace699db32a5d7a3b2137ee893b1451e45c589d68925c
|
4
|
+
data.tar.gz: 3d81c0764aeaa6a4b9dc92170b27cbc8eca775cbaebe09b9dcfedc7a16c1356f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1d2f82014dddd9e0ea5a82958185e67d3f2160352cb2feda9c875cecfa5bb86d4a20b5302a540ef9fee0f3eeebc9e94c76b20ba294655fde240a6ab8bf043e8b
|
7
|
+
data.tar.gz: 3e4cacd94e57fdc158d4a642628d7b8837986a034da68bffab021152cfbb623f9402036eb573ee99dd47f0c58eeda2abaff192311b6e95a3500beb0f5b8bfc3d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file. Since this is Passive Queue, "changes" might be a strong word.
|
4
|
+
|
5
|
+
## [1.0.0] - 2025-07-12
|
6
|
+
|
7
|
+
### Added
|
8
|
+
- Initial release of Passive Queue 🧘
|
9
|
+
- Complete non-execution of background jobs
|
10
|
+
- Zero-dependency zen architecture
|
11
|
+
- CLI meditation tool (`be passive`)
|
12
|
+
- Beautiful dashboard that displays nothing useful
|
13
|
+
- 100% success rate at doing absolutely nothing
|
14
|
+
- Infinite scalability through the power of void
|
15
|
+
- Perfect compatibility with existing Rails applications
|
16
|
+
- Zen quotes and philosophical thoughts for enlightenment
|
17
|
+
- Rails generator for effortless non-setup
|
18
|
+
- Complete test suite that tests nothing happening
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
- Everything and nothing simultaneously
|
22
|
+
- The meaning of "productivity" in your Rails app
|
23
|
+
- Your perspective on background job processing
|
24
|
+
- The definition of "success" (now means "successfully not processed")
|
25
|
+
|
26
|
+
### Fixed
|
27
|
+
- The problem of jobs actually running (now they don't)
|
28
|
+
- Excessive productivity in Rails applications
|
29
|
+
- The burden of background job failures (impossible now)
|
30
|
+
- Memory leaks from job processing (eliminated through non-execution)
|
31
|
+
- Race conditions in job queues (solved by never racing)
|
32
|
+
- Disk space issues from failed job artifacts (no artifacts = no problems)
|
33
|
+
|
34
|
+
### Removed
|
35
|
+
- The stress of monitoring job failures
|
36
|
+
- Your faith in traditional queue systems
|
37
|
+
- The need for Redis/PostgreSQL/external dependencies
|
38
|
+
- Performance anxiety about background jobs
|
39
|
+
- The concept of "job timeout" (infinite timeout = zen)
|
40
|
+
|
41
|
+
### Security
|
42
|
+
- Eliminated all security vulnerabilities in job processing (can't have vulnerabilities in code that doesn't run)
|
43
|
+
- Perfect protection against code injection in background jobs
|
44
|
+
- Zero attack surface for malicious job payloads
|
45
|
+
|
46
|
+
### Performance
|
47
|
+
- Achieved 0ms average job processing time
|
48
|
+
- 100% CPU efficiency (0% usage)
|
49
|
+
- Infinite requests per second handling capacity
|
50
|
+
- Zero memory footprint during job execution
|
51
|
+
- Perfect garbage collection (nothing to collect)
|
52
|
+
|
53
|
+
### Documentation
|
54
|
+
- Added comprehensive README explaining how to do nothing
|
55
|
+
- Included examples of non-execution patterns
|
56
|
+
- Created meditation guides for developers
|
57
|
+
- Documented the art of passive development
|
58
|
+
|
59
|
+
### Credits
|
60
|
+
- Inspired by conversations with Justin at RailsConf 2025
|
61
|
+
- Born from the sweltering heat of Philadelphia
|
62
|
+
- Motivated by the zen masters who came before us
|
63
|
+
- Dedicated to developers everywhere who just want to take a break
|
64
|
+
|
65
|
+
---
|
66
|
+
|
67
|
+
## Future Releases (Coming Never)
|
68
|
+
|
69
|
+
### [2.0.0] - The Enlightenment Update
|
70
|
+
- Even more nothing than before
|
71
|
+
- Advanced meditation techniques
|
72
|
+
- Quantum non-processing algorithms
|
73
|
+
- AI-powered passivity recommendations
|
74
|
+
|
75
|
+
### [1.1.0] - The Mindfulness Patch
|
76
|
+
- Additional zen quotes
|
77
|
+
- Philosophical depth improvements
|
78
|
+
- Enhanced CLI meditation experience
|
79
|
+
- More ways to do nothing
|
80
|
+
|
81
|
+
### [1.0.1] - The Serenity Hotfix
|
82
|
+
- Fixed a bug where something almost happened
|
83
|
+
- Improved the accuracy of non-execution
|
84
|
+
- Enhanced the beauty of emptiness
|
85
|
+
|
86
|
+
---
|
87
|
+
|
88
|
+
*"A changelog that documents nothing is the most honest changelog of all."* - Ancient Developer Proverb
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
passive_queue (1.0.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.6.2)
|
10
|
+
rake (13.3.0)
|
11
|
+
rspec (3.13.1)
|
12
|
+
rspec-core (~> 3.13.0)
|
13
|
+
rspec-expectations (~> 3.13.0)
|
14
|
+
rspec-mocks (~> 3.13.0)
|
15
|
+
rspec-core (3.13.5)
|
16
|
+
rspec-support (~> 3.13.0)
|
17
|
+
rspec-expectations (3.13.5)
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
+
rspec-support (~> 3.13.0)
|
20
|
+
rspec-mocks (3.13.5)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.13.0)
|
23
|
+
rspec-support (3.13.4)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
x86_64-linux
|
28
|
+
|
29
|
+
DEPENDENCIES
|
30
|
+
passive_queue!
|
31
|
+
rake (~> 13.0)
|
32
|
+
rspec (~> 3.0)
|
33
|
+
|
34
|
+
BUNDLED WITH
|
35
|
+
2.6.9
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Maciej Mensfeld
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Soon
|