silent_stream 1.0.8 → 1.0.9
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +53 -0
- data/CODE_OF_CONDUCT.md +107 -46
- data/CONTRIBUTING.md +136 -0
- data/LICENSE.txt +21 -0
- data/README.md +329 -57
- data/SECURITY.md +21 -0
- data/lib/silent_stream/version.rb +1 -1
- data/lib/silent_stream.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +90 -96
- metadata.gz.sig +0 -0
- data/LICENSE +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b09324d0fbb5490f26c47daccecabb6f78c77ea5367594fd06b2800a498f9195
|
4
|
+
data.tar.gz: 388d4e05060e7620498a343885c1270a23d1ceef6b92ae0444bb8080e8e35cb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 359ae2fe63824b47b1d5fbf772f48ccb634fc3ee2474b2e4e9d3fcfbff06039f1e6af42e44250458479523c7e86fe806b4f8c9c1dbcc5d1421d9dfaf336ba906
|
7
|
+
data.tar.gz: 65c8900c8584811dc51c2f6915c14b81f0746895f3cf578ae20bc8fdba237f9e4d9e0470f9f9624806932445e2faadde9e3b3dcee6b53a80ea80d995d59c0385
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
Starting with v1.0.9, All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
### Added
|
10
|
+
### Changed
|
11
|
+
### Fixed
|
12
|
+
### Removed
|
13
|
+
|
14
|
+
## [1.0.9] - 2025-05-05
|
15
|
+
- COVERAGE: 40.62% -- 26/64 lines in 2 files
|
16
|
+
- BRANCH COVERAGE: 10.00% -- 1/10 branches in 2 files
|
17
|
+
- 54.55% documented
|
18
|
+
### Added
|
19
|
+
- Releases will be signed by my key that expires 2045-05-04
|
20
|
+
- Allow unsigned gem builds (for linux distros)
|
21
|
+
- In the ENV set `SKIP_GEM_SIGNING` to any value
|
22
|
+
- Compatibility with Ruby 3.5
|
23
|
+
- Make `logger` a direct dependency, since it is removed from stdlib in Ruby 3.5
|
24
|
+
- Expanded CI test matrix to include JRuby, TruffleRuby, and MRI 2.3+, including heads
|
25
|
+
|
26
|
+
## [1.0.8] - 2024-03-20
|
27
|
+
|
28
|
+
## [1.0.7] - 2024-03-20
|
29
|
+
|
30
|
+
## [1.0.6] - 2020-02-25
|
31
|
+
|
32
|
+
## [1.0.5] - 2018-10-10
|
33
|
+
|
34
|
+
## [1.0.4] - 2018-10-06
|
35
|
+
|
36
|
+
## [1.0.3] - 2018-09-25
|
37
|
+
|
38
|
+
## [1.0.2] - 2018-09-25
|
39
|
+
|
40
|
+
## [1.0.1] - 2018-09-23
|
41
|
+
|
42
|
+
## [1.0.0] - 2018-09-23
|
43
|
+
|
44
|
+
[Unreleased]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.8...HEAD
|
45
|
+
[1.0.8]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.7...v1.0.8
|
46
|
+
[1.0.7]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.5...v1.0.7
|
47
|
+
[1.0.6]: https://rubygems.org/gems/silent_stream/versions/1.0.6
|
48
|
+
[1.0.5]: https://gitlab.com/pboling/silent_stream/-/tags/v1.0.5
|
49
|
+
[1.0.4]: https://rubygems.org/gems/silent_stream/versions/1.0.4
|
50
|
+
[1.0.3]: https://rubygems.org/gems/silent_stream/versions/1.0.3
|
51
|
+
[1.0.2]: https://rubygems.org/gems/silent_stream/versions/1.0.2
|
52
|
+
[1.0.1]: https://rubygems.org/gems/silent_stream/versions/1.0.1
|
53
|
+
[1.0.0]: https://rubygems.org/gems/silent_stream/versions/1.0.0
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -1,74 +1,135 @@
|
|
1
|
+
|
1
2
|
# Contributor Covenant Code of Conduct
|
2
3
|
|
3
4
|
## Our Pledge
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
nationality, personal appearance, race, religion, or sexual
|
10
|
-
orientation.
|
6
|
+
We as members, contributors, and leaders pledge to make participation in our
|
7
|
+
community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
|
+
identity and expression, level of experience, education, socio-economic status,
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
11
|
+
identity and orientation.
|
12
|
+
|
13
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
|
+
diverse, inclusive, and healthy community.
|
11
15
|
|
12
16
|
## Our Standards
|
13
17
|
|
14
|
-
Examples of behavior that contributes to
|
15
|
-
include:
|
18
|
+
Examples of behavior that contributes to a positive environment for our
|
19
|
+
community include:
|
16
20
|
|
17
|
-
*
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
*
|
20
|
-
*
|
21
|
-
|
21
|
+
* Demonstrating empathy and kindness toward other people
|
22
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
23
|
+
* Giving and gracefully accepting constructive feedback
|
24
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
|
+
and learning from the experience
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
27
|
+
community
|
22
28
|
|
23
|
-
Examples of unacceptable behavior
|
29
|
+
Examples of unacceptable behavior include:
|
24
30
|
|
25
|
-
* The use of sexualized language or imagery and
|
26
|
-
|
27
|
-
* Trolling, insulting
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
32
|
+
any kind
|
33
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
28
34
|
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or
|
30
|
-
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
36
|
+
without their explicit permission
|
31
37
|
* Other conduct which could reasonably be considered inappropriate in a
|
32
38
|
professional setting
|
33
39
|
|
34
|
-
##
|
40
|
+
## Enforcement Responsibilities
|
35
41
|
|
36
|
-
|
37
|
-
behavior and
|
38
|
-
response to any
|
42
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
43
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
44
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
45
|
+
or harmful.
|
39
46
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
threatening, offensive, or harmful.
|
47
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
48
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
49
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
50
|
+
decisions when appropriate.
|
45
51
|
|
46
52
|
## Scope
|
47
53
|
|
48
|
-
This Code of Conduct applies
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
representative at an online or offline event.
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
55
|
+
an individual is officially representing the community in public spaces.
|
56
|
+
Examples of representing our community include using an official email address,
|
57
|
+
posting via an official social media account, or acting as an appointed
|
58
|
+
representative at an online or offline event.
|
54
59
|
|
55
60
|
## Enforcement
|
56
61
|
|
57
62
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
+
reported to the community leaders responsible for enforcement at
|
64
|
+
[![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact].
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
66
|
+
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
68
|
+
reporter of any incident.
|
69
|
+
|
70
|
+
## Enforcement Guidelines
|
71
|
+
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
74
|
+
|
75
|
+
### 1. Correction
|
76
|
+
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
78
|
+
unprofessional or unwelcome in the community.
|
79
|
+
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
83
|
+
|
84
|
+
### 2. Warning
|
63
85
|
|
64
|
-
|
65
|
-
|
66
|
-
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
87
|
+
actions.
|
88
|
+
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
94
|
+
ban.
|
95
|
+
|
96
|
+
### 3. Temporary Ban
|
97
|
+
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
99
|
+
sustained inappropriate behavior.
|
100
|
+
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
102
|
+
communication with the community for a specified period of time. No public or
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
105
|
+
Violating these terms may lead to a permanent ban.
|
106
|
+
|
107
|
+
### 4. Permanent Ban
|
108
|
+
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
112
|
+
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
114
|
+
community.
|
67
115
|
|
68
116
|
## Attribution
|
69
117
|
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
71
|
-
available at
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
+
version 2.1, available at
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
121
|
+
|
122
|
+
Community Impact Guidelines were inspired by
|
123
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
124
|
+
|
125
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
72
128
|
|
73
|
-
[homepage]:
|
74
|
-
[
|
129
|
+
[homepage]: https://www.contributor-covenant.org
|
130
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
131
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
132
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
133
|
+
[translations]: https://www.contributor-covenant.org/translations
|
134
|
+
[🚂bdfl-contact]: http://www.railsbling.com/contact
|
135
|
+
[🚂bdfl-contact-img]: https://img.shields.io/badge/Contact-BDFL-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/pboling/silent_stream][🚎src-main]
|
4
|
+
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
|
+
the [code of conduct][🤝conduct].
|
6
|
+
|
7
|
+
To submit a patch, please fork the project and create a patch with tests.
|
8
|
+
Once you're happy with it send a pull request.
|
9
|
+
|
10
|
+
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
11
|
+
|
12
|
+
## You can help!
|
13
|
+
|
14
|
+
Simply follow these instructions:
|
15
|
+
|
16
|
+
1. Fork the repository
|
17
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
18
|
+
3. Make some fixes.
|
19
|
+
4. Commit your changes (`git commit -am 'Added some feature'`)
|
20
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
21
|
+
6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
|
22
|
+
7. Create new Pull Request.
|
23
|
+
|
24
|
+
## Appraisals
|
25
|
+
|
26
|
+
From time to time the appraisal gemfiles in `gemfiles/` will need to be updated.
|
27
|
+
They are created and updated with the commands:
|
28
|
+
|
29
|
+
NOTE: We run on a [fork][🚎appraisal-fork] of Appraisal.
|
30
|
+
|
31
|
+
Please upvote the PR for `eval_gemfile` [support][🚎appraisal-eval-gemfile-pr]
|
32
|
+
|
33
|
+
```shell
|
34
|
+
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
|
35
|
+
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
36
|
+
```
|
37
|
+
|
38
|
+
When adding an appraisal to CI check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
39
|
+
|
40
|
+
## The Reek List
|
41
|
+
|
42
|
+
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
|
43
|
+
|
44
|
+
To refresh the `reek` list:
|
45
|
+
|
46
|
+
```bash
|
47
|
+
bundle exec reek > REEK
|
48
|
+
```
|
49
|
+
|
50
|
+
## Run Tests
|
51
|
+
|
52
|
+
To run all tests
|
53
|
+
|
54
|
+
```bash
|
55
|
+
bundle exec rake test
|
56
|
+
```
|
57
|
+
|
58
|
+
## Lint It
|
59
|
+
|
60
|
+
Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.
|
61
|
+
|
62
|
+
```bash
|
63
|
+
bundle exec rake
|
64
|
+
```
|
65
|
+
|
66
|
+
Or just run the linter.
|
67
|
+
|
68
|
+
```bash
|
69
|
+
bundle exec rake rubocop_gradual:autocorrect
|
70
|
+
```
|
71
|
+
|
72
|
+
## Contributors
|
73
|
+
|
74
|
+
Your picture could be here!
|
75
|
+
|
76
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
77
|
+
|
78
|
+
Made with [contributors-img][🖐contrib-rocks].
|
79
|
+
|
80
|
+
Also see GitLab Contributors: [https://gitlab.com/pboling/silent_stream/-/graphs/master][🚎contributors-gl]
|
81
|
+
|
82
|
+
## For Maintainers
|
83
|
+
|
84
|
+
### One-time, Per-maintainer, Setup
|
85
|
+
|
86
|
+
**IMPORTANT**: If you want to sign the build you create,
|
87
|
+
your public key for signing gems will need to be picked up by the line in the
|
88
|
+
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there).
|
89
|
+
All releases to RubyGems.org will be signed.
|
90
|
+
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
91
|
+
|
92
|
+
NOTE: To build without signing the gem you must set `SKIP_GEM_SIGNING` to some value in your environment.
|
93
|
+
|
94
|
+
### To release a new version:
|
95
|
+
|
96
|
+
1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
|
97
|
+
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
98
|
+
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
99
|
+
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
100
|
+
5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
|
101
|
+
- NOTE: Remember to [check the build][🧪build]!
|
102
|
+
6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
103
|
+
7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
104
|
+
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure you will release the latest trunk code
|
105
|
+
9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
106
|
+
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
107
|
+
- If the echo above has no output, then it didn't work.
|
108
|
+
- Note that you'll need the `zsh/datetime` module, if running `zsh`.
|
109
|
+
- In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
110
|
+
10. Run `bundle exec rake build`
|
111
|
+
11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
|
112
|
+
to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
|
113
|
+
[gem][💎stone_checksums].
|
114
|
+
- Checksums will be committed automatically by the script, but not pushed
|
115
|
+
12. Run `bundle exec rake release` which will create a git tag for the version,
|
116
|
+
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
117
|
+
|
118
|
+
[🚎src-main]: https://gitlab.com/pboling/silent_stream
|
119
|
+
[🧪build]: https://github.com/pboling/silent_stream/actions
|
120
|
+
[🤝conduct]: https://gitlab.com/pboling/silent_stream/-/blob/master/CODE_OF_CONDUCT.md
|
121
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
122
|
+
[🖐contributors]: https://github.com/pboling/silent_stream/graphs/contributors
|
123
|
+
[🚎contributors-gl]: https://gitlab.com/pboling/silent_stream/-/graphs/master
|
124
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=pboling/silent_stream
|
125
|
+
[💎rubygems]: https://rubygems.org
|
126
|
+
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
127
|
+
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
|
128
|
+
[🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
|
129
|
+
[💎stone_checksums]: https://github.com/pboling/stone_checksums
|
130
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
131
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
132
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
133
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
134
|
+
[🚎appraisal-eval-gemfile-pr]: https://github.com/thoughtbot/appraisal/pull/248
|
135
|
+
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
|
136
|
+
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 - 2020, 2024 - 2025 Peter H. Boling (railsbling.com)
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,27 +1,55 @@
|
|
1
1
|
# SilentStream
|
2
2
|
|
3
|
+
[![Version][👽versioni]][👽version]
|
4
|
+
[![License: MIT][📄license-img]][📄license-ref]
|
5
|
+
[![Downloads Rank][👽dl-ranki]][👽dl-rank]
|
6
|
+
[![Open Source Helpers][👽oss-helpi]][👽oss-help]
|
7
|
+
[![Depfu][🔑depfui♻️]][🔑depfu]
|
8
|
+
[![CodeCov Test Coverage][🔑codecovi♻️]][🔑codecov]
|
9
|
+
[![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls]
|
10
|
+
[![CodeClimate Test Coverage][🔑cc-covi♻️]][🔑cc-cov]
|
11
|
+
[![Maintainability][🔑cc-mnti♻️]][🔑cc-mnt]
|
12
|
+
[![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf]
|
13
|
+
[![CI Current][🚎11-c-wfi]][🚎11-c-wf]
|
14
|
+
[![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf]
|
15
|
+
[![CI JRuby][🚎10-j-wfi]][🚎10-j-wf]
|
16
|
+
[![CI Supported][🚎6-s-wfi]][🚎6-s-wf]
|
17
|
+
[![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf]
|
18
|
+
[![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf]
|
19
|
+
[![CI Ancient][🚎1-an-wfi]][🚎1-an-wf]
|
20
|
+
[![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf]
|
21
|
+
[![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
22
|
+
|
23
|
+
---
|
24
|
+
|
25
|
+
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay]
|
26
|
+
[![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
|
27
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme]
|
28
|
+
[![Donate on Polar][🖇polar-img]][🖇polar]
|
29
|
+
[![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
30
|
+
[![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
31
|
+
|
3
32
|
SilentStream is an extraction of some parts of ActiveSupport's Kernel Reporting Core Extentions around silencing IO streams.
|
4
33
|
|
5
34
|
Since July 2014 `silence_stream`, `silence_stderr`, `capture`, `silence`, and `quietly` have been deprecated because they are not thread safe. See that discussion in the [PR where it all went down](https://github.com/rails/rails/pull/13392). I rely on them a lot in *single threaded* code, and so I plan to keep them alive. With the exception of `silence`, which was just an alias of `capture`.
|
6
35
|
|
7
36
|
This gem was taken out of Rails but it is *not* Rails dependent. The extraction was total (**even the tests**!), and this is now a pure Ruby library, which can be used in any Ruby project without encumbrances. *This gem has no runtime dependencies*.
|
8
37
|
|
9
|
-
|
10
|
-
|
11
|
-
|
|
12
|
-
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
38
|
+
## 💡 Info you can shake a stick at
|
39
|
+
|
40
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
41
|
+
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
42
|
+
| Works with JRuby | [![JRuby 9.1 Compat][💎jruby-9.1i]][🚎10-j-wf] [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎10-j-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎10-j-wf] [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
|
43
|
+
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎9-t-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎9-t-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf] |
|
44
|
+
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
|
45
|
+
| Works with MRI Ruby 2 | [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
|
46
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
47
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![HEAD on RubyDoc.info][📜docs-head-rd-img]][🚎yard-head] [![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog] [![Wiki][📜wiki-img]][📜wiki] |
|
48
|
+
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] |
|
49
|
+
| Expert 1:1 Support | [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] `or` [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
50
|
+
| Enterprise Support | [![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]<br/>💡Subscribe for support guarantees covering _all_ FLOSS dependencies!<br/>💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]!<br/>💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers! |
|
51
|
+
| Comrade BDFL 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
52
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
25
53
|
|
26
54
|
## NOTE
|
27
55
|
|
@@ -31,23 +59,46 @@ One aspect of what this gem provides can be achieved with the Rails' built-in [`
|
|
31
59
|
|
32
60
|
The reason for not keeping `silence` as it was in Rails 4, i.e. an alias of `capture`, is that the just mentioned `LoggerSilence` now uses this term, and it is shipping with Rails 5. I don't want to make this gem incompatible with Rails 5, so you will have to convert Rails <= 4 implementations that utilize `silence` over to `capture` when using this gem. One further point of difference is this gem does not add the methods to `Kernel` or `Object`. You can do that if you like via `include`. By default this gem does not pollute anything, so you will need to `include SilentStream` in any class using these methods.
|
33
61
|
|
34
|
-
## Installation
|
62
|
+
## ✨ Installation
|
35
63
|
|
36
|
-
|
64
|
+
Install the gem and add to the application's Gemfile by executing:
|
37
65
|
|
38
|
-
|
39
|
-
|
66
|
+
$ bundle add silent_stream
|
67
|
+
|
68
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
69
|
+
|
70
|
+
$ gem install silent_stream
|
71
|
+
|
72
|
+
### 🔒 Secure Installation
|
73
|
+
|
74
|
+
`silent_stream` is cryptographically signed. Be sure the gem you install hasn’t been tampered with
|
75
|
+
by following the instructions below.
|
76
|
+
|
77
|
+
Add my public key (if you haven’t already, expires 2045-04-29) as a trusted certificate:
|
78
|
+
|
79
|
+
```shell
|
80
|
+
gem cert --add <(curl -Ls https://raw.github.com/pboling/silent_stream/master/certs/pboling.pem)
|
40
81
|
```
|
41
82
|
|
42
|
-
|
83
|
+
You only need to do that once. Then proceed to install with:
|
43
84
|
|
44
|
-
|
85
|
+
```shell
|
86
|
+
gem install silent_stream -P MediumSecurity
|
87
|
+
```
|
45
88
|
|
46
|
-
|
89
|
+
The `MediumSecurity` trust profile will verify signed gems, but allow the installation of unsigned dependencies.
|
47
90
|
|
48
|
-
|
91
|
+
This is necessary because not all of `silent_stream`’s dependencies are signed, so we cannot use `HighSecurity`.
|
92
|
+
|
93
|
+
If you want to up your security game full-time:
|
94
|
+
|
95
|
+
```shell
|
96
|
+
bundle config set --global trust-policy MediumSecurity
|
97
|
+
```
|
49
98
|
|
50
|
-
|
99
|
+
NOTE: Be prepared to track down certs for signed gems and add them the same way you added mine.
|
100
|
+
|
101
|
+
## 🔧 Basic Usage
|
51
102
|
|
52
103
|
Four standard methods you may be familiar with from ActiveSupport's previous implementation are provided:
|
53
104
|
|
@@ -104,7 +155,7 @@ play that funky music
|
|
104
155
|
=> nil
|
105
156
|
```
|
106
157
|
|
107
|
-
|
158
|
+
### Use in Specs / Tests
|
108
159
|
|
109
160
|
Make the methods avaialble:
|
110
161
|
```
|
@@ -127,7 +178,7 @@ end
|
|
127
178
|
|
128
179
|
See it in practice in the specs for the [oauth2 gem](https://github.com/oauth-xx/oauth2/blob/master/spec/oauth2/client_spec.rb#L193) and the [debug_logging gem](https://github.com/pboling/debug_logging/blob/master/spec/debug_logging/instance_logger_spec.rb#L10)
|
129
180
|
|
130
|
-
|
181
|
+
### Migrate from ActiveSupport::Testing::Stream, or remove ActiveSupport completely, in your ruby library!
|
131
182
|
|
132
183
|
For most scenarios, simple. Change three lines. Here's an example from a gem I just converted from ActiveSupport to SilentStream ([see commit](https://github.com/pboling/debug_logging/commit/d0cd109e1509084bbcf753be39f2173f0e2878a7))
|
133
184
|
|
@@ -149,31 +200,80 @@ RSpec.configure do |config|
|
|
149
200
|
|
150
201
|
Run spec suite to verify everything is good. This gem is as close as can be to a drop-in replacement for Rails' `ActiveSupport::Testing::Stream`.
|
151
202
|
|
152
|
-
|
203
|
+
### 🚀 Release Instructions
|
204
|
+
|
205
|
+
See [CONTRIBUTING.md][🤝contributing].
|
206
|
+
|
207
|
+
## 🔐 Security
|
208
|
+
|
209
|
+
See [SECURITY.md][🔐security].
|
153
210
|
|
154
|
-
|
211
|
+
## 🤝 Contributing
|
155
212
|
|
156
|
-
|
213
|
+
If you need some ideas of where to help, you could work on adding more code coverage,
|
214
|
+
or if it is already 💯 (see [below](#code-coverage)) check TODOs (see [below](#todos)),
|
215
|
+
or check [issues][🤝issues], or [PRs][🤝pulls],
|
216
|
+
or use the gem and think about how it could be better.
|
157
217
|
|
158
|
-
|
218
|
+
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
159
219
|
|
160
|
-
|
220
|
+
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
161
221
|
|
162
|
-
|
222
|
+
### Code Coverage
|
163
223
|
|
164
|
-
|
224
|
+
[![Coverage Graph][🔑codecov-g♻️]][🔑codecov]
|
165
225
|
|
166
|
-
|
226
|
+
### 🪇 Code of Conduct
|
167
227
|
|
168
|
-
|
169
|
-
|
170
|
-
if a minor or patch version is released that breaks backward
|
171
|
-
compatibility, a new version should be immediately released that
|
172
|
-
restores compatibility. Breaking changes to the public API will
|
173
|
-
only be introduced with new major versions.
|
228
|
+
Everyone interacting in this project's codebases, issue trackers,
|
229
|
+
chat rooms and mailing lists is expected to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
|
174
230
|
|
175
|
-
|
176
|
-
|
231
|
+
## 🌈 Contributors
|
232
|
+
|
233
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
234
|
+
|
235
|
+
Made with [contributors-img][🖐contrib-rocks].
|
236
|
+
|
237
|
+
Also see GitLab Contributors: [https://gitlab.com/pboling/silent_stream/-/graphs/master][🚎contributors-gl]
|
238
|
+
|
239
|
+
## ⭐️ Star History
|
240
|
+
|
241
|
+
<a href="https://star-history.com/#pboling/silent_stream&Date">
|
242
|
+
<picture>
|
243
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=pboling/silent_stream&type=Date&theme=dark" />
|
244
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=pboling/silent_stream&type=Date" />
|
245
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=pboling/silent_stream&type=Date" />
|
246
|
+
</picture>
|
247
|
+
</a>
|
248
|
+
|
249
|
+
## 📌 Versioning
|
250
|
+
|
251
|
+
This Library adheres to [![Semantic Versioning 2.0.0][📌semver-img]][📌semver].
|
252
|
+
Violations of this scheme should be reported as bugs.
|
253
|
+
Specifically, if a minor or patch version is released that breaks backward compatibility,
|
254
|
+
a new version should be immediately released that restores compatibility.
|
255
|
+
Breaking changes to the public API will only be introduced with new major versions.
|
256
|
+
|
257
|
+
### 📌 Is "Platform Support" part of the public API?
|
258
|
+
|
259
|
+
Yes. But I'm obligated to include notes...
|
260
|
+
|
261
|
+
SemVer should, but doesn't explicitly, say that dropping support for specific Platforms
|
262
|
+
is a *breaking change* to an API.
|
263
|
+
It is obvious to many, but not all, and since the spec is silent, the bike shedding is endless.
|
264
|
+
|
265
|
+
> dropping support for a platform is both obviously and objectively a breaking change
|
266
|
+
|
267
|
+
- Jordan Harband (@ljharb, maintainer of SemVer) [in SemVer issue 716][📌semver-breaking]
|
268
|
+
|
269
|
+
To get a better understanding of how SemVer is intended to work over a project's lifetime,
|
270
|
+
read this article from the creator of SemVer:
|
271
|
+
|
272
|
+
- ["Major Version Numbers are Not Sacred"][📌major-versions-not-sacred]
|
273
|
+
|
274
|
+
As a result of this policy, and the interpretive lens used by the maintainer,
|
275
|
+
you can (and should) specify a dependency on these libraries using
|
276
|
+
the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
|
177
277
|
|
178
278
|
For example:
|
179
279
|
|
@@ -181,17 +281,189 @@ For example:
|
|
181
281
|
spec.add_dependency("silent_stream", "~> 1.0")
|
182
282
|
```
|
183
283
|
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
[license]
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
284
|
+
See [CHANGELOG.md][📌changelog] for list of releases.
|
285
|
+
|
286
|
+
## 📄 License
|
287
|
+
|
288
|
+
The gem is available as open source under the terms of
|
289
|
+
the [MIT License][📄license] [![License: MIT][📄license-img]][📄license-ref].
|
290
|
+
See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright-notice-explainer].
|
291
|
+
|
292
|
+
### © Copyright
|
293
|
+
|
294
|
+
<p>
|
295
|
+
Copyright (c) 2018 - 2020, 2024 - 2025 Peter H. Boling,
|
296
|
+
<a href="https://railsbling.com">
|
297
|
+
RailsBling.com
|
298
|
+
<picture>
|
299
|
+
<img alt="Rails Bling" height="20" src="https://railsbling.com/images/logos/RailsBling-TrainLogo.svg" />
|
300
|
+
</picture>
|
301
|
+
</a>
|
302
|
+
</p>
|
303
|
+
|
304
|
+
## 🤑 One more thing
|
305
|
+
|
306
|
+
You made it to the bottom of the page,
|
307
|
+
so perhaps you'll indulge me for another 20 seconds.
|
308
|
+
I maintain many dozens of gems, including this one,
|
309
|
+
because I want Ruby to be a great place for people to solve problems, big and small.
|
310
|
+
Please consider supporting my efforts via the giant yellow link below,
|
311
|
+
or one of the others at the head of this README.
|
312
|
+
|
313
|
+
[![Buy me a latte][🖇buyme-img]][🖇buyme]
|
314
|
+
|
315
|
+
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
316
|
+
[⛳️gem-namespace]: https://github.com/pboling/silent_stream/blob/master/lib/masq.rb
|
317
|
+
[⛳️namespace-img]: https://img.shields.io/badge/namespace-SilentStream-brightgreen.svg?style=flat&logo=ruby&logoColor=white
|
318
|
+
[⛳️gem-name]: https://rubygems.org/gems/silent_stream
|
319
|
+
[⛳️name-img]: https://img.shields.io/badge/name-silent_stream-brightgreen.svg?style=flat&logo=rubygems&logoColor=red
|
320
|
+
[🚂bdfl-blog]: http://www.railsbling.com/tags/silent_stream
|
321
|
+
[🚂bdfl-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
|
322
|
+
[🚂bdfl-contact]: http://www.railsbling.com/contact
|
323
|
+
[🚂bdfl-contact-img]: https://img.shields.io/badge/Contact-BDFL-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
324
|
+
[💖🖇linkedin]: http://www.linkedin.com/in/peterboling
|
325
|
+
[💖🖇linkedin-img]: https://img.shields.io/badge/PeterBoling-LinkedIn-0B66C2?style=flat&logo=newjapanprowrestling
|
326
|
+
[💖✌️wellfound]: https://angel.co/u/peter-boling
|
327
|
+
[💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
|
328
|
+
[💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
|
329
|
+
[💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
|
330
|
+
[💖🐘ruby-mast]: https://ruby.social/@galtzo
|
331
|
+
[💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https%3A%2F%2Fruby.social&style=flat&logo=mastodon&label=Ruby%20%40galtzo
|
332
|
+
[💖🦋bluesky]: https://bsky.app/profile/galtzo.com
|
333
|
+
[💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.com-0285FF?style=flat&logo=bluesky&logoColor=white
|
334
|
+
[💖🌳linktree]: https://linktr.ee/galtzo
|
335
|
+
[💖🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=flat&logo=linktree
|
336
|
+
[💖💁🏼♂️devto]: https://dev.to/galtzo
|
337
|
+
[💖💁🏼♂️devto-img]: https://img.shields.io/badge/dev.to-0A0A0A?style=flat&logo=devdotto&logoColor=white
|
338
|
+
[💖💁🏼♂️aboutme]: https://about.me/peter.boling
|
339
|
+
[💖💁🏼♂️aboutme-img]: https://img.shields.io/badge/about.me-0A0A0A?style=flat&logo=aboutme&logoColor=white
|
340
|
+
[💖🧊berg]: https://codeberg.org/pboling
|
341
|
+
[💖🐙hub]: https://github.org/pboling
|
342
|
+
[💖🛖hut]: https://sr.ht/~galtzo/
|
343
|
+
[💖🧪lab]: https://gitlab.com/pboling
|
344
|
+
[👨🏼🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
|
345
|
+
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
346
|
+
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
347
|
+
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
348
|
+
[🏙️entsup-tidelift]: https://tidelift.com/subscription
|
349
|
+
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
350
|
+
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
351
|
+
[💁🏼♂️peterboling]: http://www.peterboling.com
|
352
|
+
[🚂railsbling]: http://www.railsbling.com
|
353
|
+
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
354
|
+
[📜src-gl]: https://gitlab.com/pboling/silent_stream/
|
355
|
+
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
356
|
+
[📜src-cb]: https://codeberg.org/pboling/silent_stream
|
357
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
|
358
|
+
[📜src-gh]: https://github.com/pboling/silent_stream
|
359
|
+
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
360
|
+
[📜docs-head-rd-img]: https://img.shields.io/badge/RubyDoc-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
361
|
+
[📜wiki]: https://gitlab.com/pboling/silent_stream/-/wikis/home
|
362
|
+
[📜wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=Wiki&logoColor=white
|
363
|
+
[👽dl-rank]: https://rubygems.org/gems/silent_stream
|
364
|
+
[👽dl-ranki]: https://img.shields.io/gem/rd/silent_stream.svg
|
365
|
+
[👽oss-help]: https://www.codetriage.com/pboling/silent_stream
|
366
|
+
[👽oss-helpi]: https://www.codetriage.com/pboling/silent_stream/badges/users.svg
|
367
|
+
[👽version]: https://rubygems.org/gems/silent_stream
|
368
|
+
[👽versioni]: https://img.shields.io/gem/v/silent_stream.svg
|
369
|
+
[🔑cc-mnt]: https://qlty.sh/gh/pboling/projects/silent_stream
|
370
|
+
[🔑cc-mnti♻️]: https://qlty.sh/badges/3884b648-a5a9-4458-9671-a2ce38a1d470/maintainability.svg
|
371
|
+
[🔑cc-cov]: https://qlty.sh/gh/pboling/projects/silent_stream
|
372
|
+
[🔑cc-covi♻️]: https://qlty.sh/badges/3884b648-a5a9-4458-9671-a2ce38a1d470/test_coverage.svg
|
373
|
+
[🔑codecov]: https://codecov.io/gh/pboling/silent_stream
|
374
|
+
[🔑codecovi♻️]: https://codecov.io/gh/pboling/silent_stream/branch/master/graph/badge.svg?token=Ad3ets1psE
|
375
|
+
[🔑coveralls]: https://coveralls.io/github/pboling/silent_stream?branch=master
|
376
|
+
[🔑coveralls-img]: https://coveralls.io/repos/github/pboling/silent_stream/badge.svg?branch=master
|
377
|
+
[🔑depfu]: https://depfu.com/github/pboling/silent_stream?project_id=5828
|
378
|
+
[🔑depfui♻️]: https://badges.depfu.com/badges/6633827ecc1ad3b5dd749b4ac822347b/count.svg
|
379
|
+
[🖐codeQL]: https://github.com/pboling/silent_stream/security/code-scanning
|
380
|
+
[🖐codeQL-img]: https://github.com/pboling/silent_stream/actions/workflows/codeql-analysis.yml/badge.svg
|
381
|
+
[🚎1-an-wf]: https://github.com/pboling/silent_stream/actions/workflows/ancient.yml
|
382
|
+
[🚎1-an-wfi]: https://github.com/pboling/silent_stream/actions/workflows/ancient.yml/badge.svg
|
383
|
+
[🚎2-cov-wf]: https://github.com/pboling/silent_stream/actions/workflows/coverage.yml
|
384
|
+
[🚎2-cov-wfi]: https://github.com/pboling/silent_stream/actions/workflows/coverage.yml/badge.svg
|
385
|
+
[🚎3-hd-wf]: https://github.com/pboling/silent_stream/actions/workflows/heads.yml
|
386
|
+
[🚎3-hd-wfi]: https://github.com/pboling/silent_stream/actions/workflows/heads.yml/badge.svg
|
387
|
+
[🚎4-lg-wf]: https://github.com/pboling/silent_stream/actions/workflows/legacy.yml
|
388
|
+
[🚎4-lg-wfi]: https://github.com/pboling/silent_stream/actions/workflows/legacy.yml/badge.svg
|
389
|
+
[🚎5-st-wf]: https://github.com/pboling/silent_stream/actions/workflows/style.yml
|
390
|
+
[🚎5-st-wfi]: https://github.com/pboling/silent_stream/actions/workflows/style.yml/badge.svg
|
391
|
+
[🚎6-s-wf]: https://github.com/pboling/silent_stream/actions/workflows/supported.yml
|
392
|
+
[🚎6-s-wfi]: https://github.com/pboling/silent_stream/actions/workflows/supported.yml/badge.svg
|
393
|
+
[🚎7-us-wf]: https://github.com/pboling/silent_stream/actions/workflows/unsupported.yml
|
394
|
+
[🚎7-us-wfi]: https://github.com/pboling/silent_stream/actions/workflows/unsupported.yml/badge.svg
|
395
|
+
[🚎8-ho-wf]: https://github.com/pboling/silent_stream/actions/workflows/hoary.yml
|
396
|
+
[🚎8-ho-wfi]: https://github.com/pboling/silent_stream/actions/workflows/hoary.yml/badge.svg
|
397
|
+
[🚎9-t-wf]: https://github.com/pboling/silent_stream/actions/workflows/truffle.yml
|
398
|
+
[🚎9-t-wfi]: https://github.com/pboling/silent_stream/actions/workflows/truffle.yml/badge.svg
|
399
|
+
[🚎10-j-wf]: https://github.com/pboling/silent_stream/actions/workflows/jruby.yml
|
400
|
+
[🚎10-j-wfi]: https://github.com/pboling/silent_stream/actions/workflows/jruby.yml/badge.svg
|
401
|
+
[🚎11-c-wf]: https://github.com/pboling/silent_stream/actions/workflows/current.yml
|
402
|
+
[🚎11-c-wfi]: https://github.com/pboling/silent_stream/actions/workflows/current.yml/badge.svg
|
403
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay
|
404
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
405
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
406
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
407
|
+
[🖇polar-img]: https://img.shields.io/badge/polar-donate-yellow.svg
|
408
|
+
[🖇polar]: https://polar.sh/pboling
|
409
|
+
[🖇kofi-img]: https://img.shields.io/badge/a_more_different_coffee-✓-yellow.svg
|
410
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
411
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
412
|
+
[🖇patreon]: https://patreon.com/galtzo
|
413
|
+
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
414
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
415
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-yellow.svg?style=flat
|
416
|
+
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
417
|
+
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
418
|
+
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
419
|
+
[💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
420
|
+
[💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
421
|
+
[💎ruby-3.0i]: https://img.shields.io/badge/Ruby-3.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
422
|
+
[💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
423
|
+
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
424
|
+
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
425
|
+
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
426
|
+
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
427
|
+
[💎truby-22.3i]: https://img.shields.io/badge/Truffle_Ruby-22.3-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
428
|
+
[💎truby-23.0i]: https://img.shields.io/badge/Truffle_Ruby-23.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
429
|
+
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
430
|
+
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
431
|
+
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
432
|
+
[💎jruby-9.1i]: https://img.shields.io/badge/JRuby-9.1-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
433
|
+
[💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
434
|
+
[💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
435
|
+
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
436
|
+
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
437
|
+
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
438
|
+
[🤝issues]: https://github.com/pboling/silent_stream/issues
|
439
|
+
[🤝pulls]: https://github.com/pboling/silent_stream/pulls
|
440
|
+
[🤝contributing]: CONTRIBUTING.md
|
441
|
+
[🔑codecov-g♻️]: https://codecov.io/gh/pboling/silent_stream/graphs/tree.svg?token=Ad3ets1psE
|
442
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
443
|
+
[🖐contributors]: https://github.com/pboling/silent_stream/graphs/contributors
|
444
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=pboling/silent_stream
|
445
|
+
[🚎contributors-gl]: https://gitlab.com/pboling/silent_stream/-/graphs/master
|
446
|
+
[🪇conduct]: CODE_OF_CONDUCT.md
|
447
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-4baaaa.svg
|
448
|
+
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
449
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
450
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
451
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
452
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
453
|
+
[📌changelog]: CHANGELOG.md
|
454
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
455
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
456
|
+
[📌gitmoji]:https://gitmoji.dev
|
457
|
+
[📌gitmoji-img]:https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square
|
458
|
+
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
459
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.137-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
460
|
+
[🔐security]: SECURITY.md
|
461
|
+
[🔐security-img]: https://img.shields.io/badge/security-policy-brightgreen.svg?style=flat
|
462
|
+
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
463
|
+
[📄license]: LICENSE.txt
|
464
|
+
[📄license-ref]: https://opensource.org/licenses/MIT
|
465
|
+
[📄license-img]: https://img.shields.io/badge/License-MIT-green.svg
|
466
|
+
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
467
|
+
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-brightgreen.svg?style=flat
|
468
|
+
[🚎yard-current]: http://rubydoc.info/gems/silent_stream
|
469
|
+
[🚎yard-head]: https://rubydoc.info/github/pboling/silent_stream/master
|
data/SECURITY.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Supported Versions
|
4
|
+
|
5
|
+
| Version | Supported |
|
6
|
+
|-----------|-----------|
|
7
|
+
| 1.latest | ✅ |
|
8
|
+
|
9
|
+
## Security contact information
|
10
|
+
|
11
|
+
To report a security vulnerability, please use the
|
12
|
+
[Tidelift security contact](https://tidelift.com/security).
|
13
|
+
Tidelift will coordinate the fix and disclosure.
|
14
|
+
|
15
|
+
## Additional Support
|
16
|
+
|
17
|
+
If you are interested in support for versions older than the latest release,
|
18
|
+
please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,
|
19
|
+
or find other sponsorship links in the [README].
|
20
|
+
|
21
|
+
[README]: README.md
|
data/lib/silent_stream.rb
CHANGED
@@ -149,7 +149,7 @@ module SilentStream
|
|
149
149
|
if SILENT_STREAM_REGEXP_HAS_MATCH
|
150
150
|
SILENT_STREAM_WINDOWS_REGEXP.match?(RbConfig::CONFIG["host_os"])
|
151
151
|
else
|
152
|
-
SILENT_STREAM_WINDOWS_REGEXP =~
|
152
|
+
SILENT_STREAM_WINDOWS_REGEXP =~ RbConfig::CONFIG["host_os"]
|
153
153
|
end
|
154
154
|
end
|
155
155
|
end
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: silent_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Daer
|
@@ -30,53 +30,86 @@ authors:
|
|
30
30
|
- Arthur Nogueira Neves
|
31
31
|
- Anil Wadghule
|
32
32
|
- Peter Boling
|
33
|
-
autorequire:
|
34
33
|
bindir: exe
|
35
|
-
cert_chain:
|
36
|
-
|
34
|
+
cert_chain:
|
35
|
+
- |
|
36
|
+
-----BEGIN CERTIFICATE-----
|
37
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
38
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
39
|
+
A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
|
40
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
41
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
|
42
|
+
uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
|
43
|
+
LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
|
44
|
+
mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
|
45
|
+
coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
|
46
|
+
FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
|
47
|
+
yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
|
48
|
+
to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
|
49
|
+
qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
|
50
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
|
51
|
+
HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
52
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
53
|
+
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
54
|
+
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
55
|
+
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
56
|
+
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
57
|
+
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
58
|
+
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
59
|
+
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
60
|
+
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
61
|
+
L9nRqA==
|
62
|
+
-----END CERTIFICATE-----
|
63
|
+
date: 2025-05-05 00:00:00.000000000 Z
|
37
64
|
dependencies:
|
38
65
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
66
|
+
name: logger
|
40
67
|
requirement: !ruby/object:Gem::Requirement
|
41
68
|
requirements:
|
42
69
|
- - ">="
|
43
70
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
45
|
-
type: :
|
71
|
+
version: 1.4.4
|
72
|
+
type: :runtime
|
46
73
|
prerelease: false
|
47
74
|
version_requirements: !ruby/object:Gem::Requirement
|
48
75
|
requirements:
|
49
76
|
- - ">="
|
50
77
|
- !ruby/object:Gem::Version
|
51
|
-
version:
|
78
|
+
version: 1.4.4
|
52
79
|
- !ruby/object:Gem::Dependency
|
53
|
-
name:
|
80
|
+
name: version_gem
|
54
81
|
requirement: !ruby/object:Gem::Requirement
|
55
82
|
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.1'
|
56
86
|
- - ">="
|
57
87
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
59
|
-
type: :
|
88
|
+
version: 1.1.7
|
89
|
+
type: :runtime
|
60
90
|
prerelease: false
|
61
91
|
version_requirements: !ruby/object:Gem::Requirement
|
62
92
|
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.1'
|
63
96
|
- - ">="
|
64
97
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
98
|
+
version: 1.1.7
|
66
99
|
- !ruby/object:Gem::Dependency
|
67
100
|
name: minitest
|
68
101
|
requirement: !ruby/object:Gem::Requirement
|
69
102
|
requirements:
|
70
103
|
- - ">="
|
71
104
|
- !ruby/object:Gem::Version
|
72
|
-
version: '5.
|
105
|
+
version: '5.15'
|
73
106
|
type: :development
|
74
107
|
prerelease: false
|
75
108
|
version_requirements: !ruby/object:Gem::Requirement
|
76
109
|
requirements:
|
77
110
|
- - ">="
|
78
111
|
- !ruby/object:Gem::Version
|
79
|
-
version: '5.
|
112
|
+
version: '5.15'
|
80
113
|
- !ruby/object:Gem::Dependency
|
81
114
|
name: minitest-reporters
|
82
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,136 +142,91 @@ dependencies:
|
|
109
142
|
name: rake
|
110
143
|
requirement: !ruby/object:Gem::Requirement
|
111
144
|
requirements:
|
112
|
-
- - "
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: '0'
|
115
|
-
type: :development
|
116
|
-
prerelease: false
|
117
|
-
version_requirements: !ruby/object:Gem::Requirement
|
118
|
-
requirements:
|
119
|
-
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '0'
|
122
|
-
- !ruby/object:Gem::Dependency
|
123
|
-
name: simplecov
|
124
|
-
requirement: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - ">="
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: '0.16'
|
129
|
-
type: :development
|
130
|
-
prerelease: false
|
131
|
-
version_requirements: !ruby/object:Gem::Requirement
|
132
|
-
requirements:
|
133
|
-
- - ">="
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '0.16'
|
136
|
-
- !ruby/object:Gem::Dependency
|
137
|
-
name: test-unit
|
138
|
-
requirement: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '3.2'
|
143
|
-
type: :development
|
144
|
-
prerelease: false
|
145
|
-
version_requirements: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '3.2'
|
150
|
-
- !ruby/object:Gem::Dependency
|
151
|
-
name: wwtd
|
152
|
-
requirement: !ruby/object:Gem::Requirement
|
153
|
-
requirements:
|
154
|
-
- - ">="
|
145
|
+
- - "~>"
|
155
146
|
- !ruby/object:Gem::Version
|
156
|
-
version: '0'
|
147
|
+
version: '13.0'
|
157
148
|
type: :development
|
158
149
|
prerelease: false
|
159
150
|
version_requirements: !ruby/object:Gem::Requirement
|
160
151
|
requirements:
|
161
|
-
- - "
|
152
|
+
- - "~>"
|
162
153
|
- !ruby/object:Gem::Version
|
163
|
-
version: '0'
|
154
|
+
version: '13.0'
|
164
155
|
- !ruby/object:Gem::Dependency
|
165
|
-
name:
|
156
|
+
name: ruby_engine
|
166
157
|
requirement: !ruby/object:Gem::Requirement
|
167
158
|
requirements:
|
168
|
-
- - "
|
159
|
+
- - "~>"
|
169
160
|
- !ruby/object:Gem::Version
|
170
|
-
version: 0
|
161
|
+
version: '2.0'
|
171
162
|
type: :development
|
172
163
|
prerelease: false
|
173
164
|
version_requirements: !ruby/object:Gem::Requirement
|
174
165
|
requirements:
|
175
|
-
- - "
|
166
|
+
- - "~>"
|
176
167
|
- !ruby/object:Gem::Version
|
177
|
-
version: 0
|
168
|
+
version: '2.0'
|
178
169
|
- !ruby/object:Gem::Dependency
|
179
|
-
name:
|
170
|
+
name: ruby_version
|
180
171
|
requirement: !ruby/object:Gem::Requirement
|
181
172
|
requirements:
|
182
173
|
- - "~>"
|
183
174
|
- !ruby/object:Gem::Version
|
184
|
-
version: '
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 10.1.1
|
175
|
+
version: '1.0'
|
188
176
|
type: :development
|
189
177
|
prerelease: false
|
190
178
|
version_requirements: !ruby/object:Gem::Requirement
|
191
179
|
requirements:
|
192
180
|
- - "~>"
|
193
181
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
195
|
-
- - ">="
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: 10.1.1
|
182
|
+
version: '1.0'
|
198
183
|
- !ruby/object:Gem::Dependency
|
199
|
-
name:
|
184
|
+
name: stone_checksums
|
200
185
|
requirement: !ruby/object:Gem::Requirement
|
201
186
|
requirements:
|
202
187
|
- - "~>"
|
203
188
|
- !ruby/object:Gem::Version
|
204
|
-
version: '
|
205
|
-
- - ">="
|
206
|
-
- !ruby/object:Gem::Version
|
207
|
-
version: 2.26.1
|
189
|
+
version: '1.0'
|
208
190
|
type: :development
|
209
191
|
prerelease: false
|
210
192
|
version_requirements: !ruby/object:Gem::Requirement
|
211
193
|
requirements:
|
212
194
|
- - "~>"
|
213
195
|
- !ruby/object:Gem::Version
|
214
|
-
version: '
|
215
|
-
- - ">="
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
version: 2.26.1
|
196
|
+
version: '1.0'
|
218
197
|
- !ruby/object:Gem::Dependency
|
219
|
-
name:
|
198
|
+
name: test-unit
|
220
199
|
requirement: !ruby/object:Gem::Requirement
|
221
200
|
requirements:
|
222
|
-
- - "
|
201
|
+
- - ">="
|
223
202
|
- !ruby/object:Gem::Version
|
224
|
-
version: '
|
203
|
+
version: '3.2'
|
225
204
|
type: :development
|
226
205
|
prerelease: false
|
227
206
|
version_requirements: !ruby/object:Gem::Requirement
|
228
207
|
requirements:
|
229
|
-
- - "
|
208
|
+
- - ">="
|
230
209
|
- !ruby/object:Gem::Version
|
231
|
-
version: '
|
210
|
+
version: '3.2'
|
232
211
|
description: ActiveSupport Kernel Reporting Detritus with a few enhancements
|
233
212
|
email:
|
234
213
|
- peter.boling@gmail.com
|
235
214
|
executables: []
|
236
215
|
extensions: []
|
237
|
-
extra_rdoc_files:
|
216
|
+
extra_rdoc_files:
|
217
|
+
- CHANGELOG.md
|
218
|
+
- CODE_OF_CONDUCT.md
|
219
|
+
- CONTRIBUTING.md
|
220
|
+
- LICENSE.txt
|
221
|
+
- README.md
|
222
|
+
- SECURITY.md
|
238
223
|
files:
|
224
|
+
- CHANGELOG.md
|
239
225
|
- CODE_OF_CONDUCT.md
|
240
|
-
-
|
226
|
+
- CONTRIBUTING.md
|
227
|
+
- LICENSE.txt
|
241
228
|
- README.md
|
229
|
+
- SECURITY.md
|
242
230
|
- lib/silent_stream.rb
|
243
231
|
- lib/silent_stream/version.rb
|
244
232
|
homepage: https://github.com/pboling/silent_stream
|
@@ -246,15 +234,22 @@ licenses:
|
|
246
234
|
- MIT
|
247
235
|
metadata:
|
248
236
|
homepage_uri: https://github.com/pboling/silent_stream
|
249
|
-
source_code_uri: https://github.com/pboling/silent_stream/tree/v1.0.
|
237
|
+
source_code_uri: https://github.com/pboling/silent_stream/tree/v1.0.9
|
238
|
+
changelog_uri: https://github.com/pboling/silent_stream/blob/v1.0.9/CHANGELOG.md
|
250
239
|
bug_tracker_uri: https://github.com/pboling/silent_stream/issues
|
251
|
-
documentation_uri: https://www.rubydoc.info/gems/silent_stream/1.0.
|
240
|
+
documentation_uri: https://www.rubydoc.info/gems/silent_stream/1.0.9
|
252
241
|
wiki_uri: https://github.com/pboling/silent_stream/wiki
|
253
242
|
funding_uri: https://liberapay.com/pboling
|
254
243
|
news_uri: https://www.railsbling.com/tags/silent_stream
|
255
244
|
rubygems_mfa_required: 'true'
|
256
|
-
|
257
|
-
|
245
|
+
rdoc_options:
|
246
|
+
- "--title"
|
247
|
+
- silent_stream - ActiveSupport's Stream Silencing - Without ActiveSupport
|
248
|
+
- "--main"
|
249
|
+
- README.md
|
250
|
+
- "--line-numbers"
|
251
|
+
- "--inline-source"
|
252
|
+
- "--quiet"
|
258
253
|
require_paths:
|
259
254
|
- lib
|
260
255
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -268,8 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
263
|
- !ruby/object:Gem::Version
|
269
264
|
version: '0'
|
270
265
|
requirements: []
|
271
|
-
rubygems_version: 3.
|
272
|
-
signing_key:
|
266
|
+
rubygems_version: 3.6.8
|
273
267
|
specification_version: 4
|
274
268
|
summary: ActiveSupport's Stream Silencing - Without ActiveSupport
|
275
269
|
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|
data/LICENSE
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
Copyright 2018, 2024 Peter Boling of railsbling.com
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
-
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
-
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|