oauth2 2.0.12 → 2.0.13
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 +352 -167
- data/CITATION.cff +20 -0
- data/CODE_OF_CONDUCT.md +24 -23
- data/CONTRIBUTING.md +103 -45
- data/FUNDING.md +77 -0
- data/LICENSE.txt +2 -2
- data/README.md +592 -350
- data/REEK +0 -0
- data/RUBOCOP.md +71 -0
- data/lib/oauth2/authenticator.rb +30 -1
- data/lib/oauth2/client.rb +3 -3
- data/lib/oauth2/error.rb +21 -3
- data/lib/oauth2/filtered_attributes.rb +21 -0
- data/lib/oauth2/version.rb +1 -1
- data/lib/oauth2.rb +36 -0
- data/sig/oauth2/access_token.rbs +25 -0
- data/sig/oauth2/authenticator.rbs +22 -0
- data/sig/oauth2/client.rbs +52 -0
- data/sig/oauth2/error.rbs +8 -0
- data/sig/oauth2/filtered_attributes.rbs +6 -0
- data/sig/oauth2/response.rbs +18 -0
- data/sig/oauth2/strategy.rbs +34 -0
- data/sig/oauth2/version.rbs +5 -0
- data/sig/oauth2.rbs +9 -0
- data.tar.gz.sig +0 -0
- metadata +69 -159
- metadata.gz.sig +0 -0
data/CITATION.cff
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
cff-version: 1.2.0
|
2
|
+
title: oauth2
|
3
|
+
message: >-
|
4
|
+
If you use this work and you want to cite it,
|
5
|
+
then you can use the metadata from this file.
|
6
|
+
type: software
|
7
|
+
authors:
|
8
|
+
- given-names: Peter Hurn
|
9
|
+
family-names: Boling
|
10
|
+
email: peter@railsbling.com
|
11
|
+
affiliation: railsbling.com
|
12
|
+
orcid: 'https://orcid.org/0009-0008-8519-441X'
|
13
|
+
identifiers:
|
14
|
+
- type: url
|
15
|
+
value: 'https://github.com/ruby-oauth/oauth2'
|
16
|
+
description: oauth2
|
17
|
+
repository-code: 'https://github.com/ruby-oauth/oauth2'
|
18
|
+
abstract: >-
|
19
|
+
oauth2
|
20
|
+
license: See license file
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
# Contributor Covenant Code of Conduct
|
3
2
|
|
4
3
|
## Our Pledge
|
@@ -7,8 +6,8 @@ We as members, contributors, and leaders pledge to make participation in our
|
|
7
6
|
community a harassment-free experience for everyone, regardless of age, body
|
8
7
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
8
|
identity and expression, level of experience, education, socio-economic status,
|
10
|
-
nationality, personal appearance, race, religion, or sexual
|
11
|
-
and orientation.
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
10
|
+
identity and orientation.
|
12
11
|
|
13
12
|
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
13
|
diverse, inclusive, and healthy community.
|
@@ -23,17 +22,17 @@ community include:
|
|
23
22
|
* Giving and gracefully accepting constructive feedback
|
24
23
|
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
24
|
and learning from the experience
|
26
|
-
* Focusing on what is best not just for us as individuals, but for the
|
27
|
-
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
26
|
+
community
|
28
27
|
|
29
28
|
Examples of unacceptable behavior include:
|
30
29
|
|
31
|
-
* The use of sexualized language or imagery, and sexual attention or
|
32
|
-
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
31
|
+
any kind
|
33
32
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
34
33
|
* Public or private harassment
|
35
|
-
* Publishing others' private information, such as a physical or email
|
36
|
-
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
35
|
+
without their explicit permission
|
37
36
|
* Other conduct which could reasonably be considered inappropriate in a
|
38
37
|
professional setting
|
39
38
|
|
@@ -53,7 +52,7 @@ decisions when appropriate.
|
|
53
52
|
|
54
53
|
This Code of Conduct applies within all community spaces, and also applies when
|
55
54
|
an individual is officially representing the community in public spaces.
|
56
|
-
Examples of representing our community include using an official
|
55
|
+
Examples of representing our community include using an official email address,
|
57
56
|
posting via an official social media account, or acting as an appointed
|
58
57
|
representative at an online or offline event.
|
59
58
|
|
@@ -61,7 +60,7 @@ representative at an online or offline event.
|
|
61
60
|
|
62
61
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
62
|
reported to the community leaders responsible for enforcement at
|
64
|
-
[
|
63
|
+
[![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact].
|
65
64
|
All complaints will be reviewed and investigated promptly and fairly.
|
66
65
|
|
67
66
|
All community leaders are obligated to respect the privacy and security of the
|
@@ -83,15 +82,15 @@ behavior was inappropriate. A public apology may be requested.
|
|
83
82
|
|
84
83
|
### 2. Warning
|
85
84
|
|
86
|
-
**Community Impact**: A violation through a single incident or series
|
87
|
-
|
85
|
+
**Community Impact**: A violation through a single incident or series of
|
86
|
+
actions.
|
88
87
|
|
89
88
|
**Consequence**: A warning with consequences for continued behavior. No
|
90
89
|
interaction with the people involved, including unsolicited interaction with
|
91
90
|
those enforcing the Code of Conduct, for a specified period of time. This
|
92
91
|
includes avoiding interactions in community spaces as well as external channels
|
93
|
-
like social media. Violating these terms may lead to a temporary or
|
94
|
-
|
92
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
93
|
+
ban.
|
95
94
|
|
96
95
|
### 3. Temporary Ban
|
97
96
|
|
@@ -107,27 +106,29 @@ Violating these terms may lead to a permanent ban.
|
|
107
106
|
### 4. Permanent Ban
|
108
107
|
|
109
108
|
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
-
standards, including sustained inappropriate behavior,
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
110
|
individual, or aggression toward or disparagement of classes of individuals.
|
112
111
|
|
113
|
-
**Consequence**: A permanent ban from any sort of public interaction within
|
114
|
-
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
113
|
+
community.
|
115
114
|
|
116
115
|
## Attribution
|
117
116
|
|
118
117
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
-
version 2.
|
120
|
-
[https://www.contributor-covenant.org/version/2/
|
118
|
+
version 2.1, available at
|
119
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
121
120
|
|
122
121
|
Community Impact Guidelines were inspired by
|
123
122
|
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
124
123
|
|
125
124
|
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
|
127
|
-
|
125
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
126
|
+
[https://www.contributor-covenant.org/translations][translations].
|
128
127
|
|
129
128
|
[homepage]: https://www.contributor-covenant.org
|
130
|
-
[v2.
|
129
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
131
130
|
[Mozilla CoC]: https://github.com/mozilla/diversity
|
132
131
|
[FAQ]: https://www.contributor-covenant.org/faq
|
133
132
|
[translations]: https://www.contributor-covenant.org/translations
|
133
|
+
[🚂maint-contact]: http://www.railsbling.com/contact
|
134
|
+
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
data/CONTRIBUTING.md
CHANGED
@@ -1,44 +1,73 @@
|
|
1
|
-
|
1
|
+
# Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on GitLab
|
4
|
-
|
3
|
+
Bug reports and pull requests are welcome on [CodeBerg][📜src-cb], [GitLab][📜src-gl], or [GitHub][📜src-gh].
|
4
|
+
This project should be a safe, welcoming space for collaboration, so contributors agree to adhere to
|
5
5
|
the [code of conduct][🤝conduct].
|
6
6
|
|
7
|
-
To submit a patch, please fork the project
|
8
|
-
Once you're happy with it send a pull request.
|
7
|
+
To submit a patch, please fork the project, create a patch with tests, and send a pull request.
|
9
8
|
|
10
|
-
|
9
|
+
Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] if you make changes.
|
11
10
|
|
12
|
-
##
|
11
|
+
## Help out!
|
13
12
|
|
14
13
|
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
|
15
14
|
|
16
|
-
|
15
|
+
Follow these instructions:
|
17
16
|
|
18
17
|
1. Fork the repository
|
19
|
-
2. Create
|
18
|
+
2. Create a feature branch (`git checkout -b my-new-feature`)
|
20
19
|
3. Make some fixes.
|
21
|
-
4. Commit
|
20
|
+
4. Commit changes (`git commit -am 'Added some feature'`)
|
22
21
|
5. Push to the branch (`git push origin my-new-feature`)
|
23
22
|
6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
|
24
23
|
7. Create new Pull Request.
|
25
24
|
|
26
|
-
##
|
25
|
+
## Environment Variables for Local Development
|
27
26
|
|
28
|
-
|
29
|
-
They are created and updated with the commands:
|
27
|
+
Below are the primary environment variables recognized by stone_checksums (and its integrated tools). Unless otherwise noted, set boolean values to the string "true" to enable.
|
30
28
|
|
31
|
-
|
29
|
+
General/runtime
|
30
|
+
- DEBUG: Enable extra internal logging for this library (default: false)
|
31
|
+
- REQUIRE_BENCH: Enable `require_bench` to profile requires (default: false)
|
32
|
+
- CI: When set to true, adjusts default rake tasks toward CI behavior
|
32
33
|
|
33
|
-
|
34
|
+
Coverage (kettle-soup-cover / SimpleCov)
|
35
|
+
- K_SOUP_COV_DO: Enable coverage collection (default: true in .envrc)
|
36
|
+
- K_SOUP_COV_FORMATTERS: Comma-separated list of formatters (html, xml, rcov, lcov, json, tty)
|
37
|
+
- K_SOUP_COV_MIN_LINE: Minimum line coverage threshold (integer, e.g., 100)
|
38
|
+
- K_SOUP_COV_MIN_BRANCH: Minimum branch coverage threshold (integer, e.g., 100)
|
39
|
+
- K_SOUP_COV_MIN_HARD: Fail the run if thresholds are not met (true/false)
|
40
|
+
- K_SOUP_COV_MULTI_FORMATTERS: Enable multiple formatters at once (true/false)
|
41
|
+
- K_SOUP_COV_OPEN_BIN: Path to browser opener for HTML (empty disables auto-open)
|
42
|
+
- MAX_ROWS: Limit console output rows for simplecov-console (e.g., 1)
|
43
|
+
Tip: When running a single spec file locally, you may want `K_SOUP_COV_MIN_HARD=false` to avoid failing thresholds for a partial run.
|
34
44
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
45
|
+
GitHub API and CI helpers
|
46
|
+
- GITHUB_TOKEN or GH_TOKEN: Token used by `ci:act` and release workflow checks to query GitHub Actions status at higher rate limits
|
47
|
+
|
48
|
+
Releasing and signing
|
49
|
+
- SKIP_GEM_SIGNING: If set, skip gem signing during build/release
|
50
|
+
- GEM_CERT_USER: Username for selecting your public cert in `certs/<USER>.pem` (defaults to $USER)
|
51
|
+
- SOURCE_DATE_EPOCH: Reproducible build timestamp. `kettle-release` will set this automatically for the session.
|
52
|
+
|
53
|
+
Git hooks and commit message helpers (exe/kettle-commit-msg)
|
54
|
+
- GIT_HOOK_BRANCH_VALIDATE: Branch name validation mode (e.g., `jira`) or `false` to disable
|
55
|
+
- GIT_HOOK_FOOTER_APPEND: Append a footer to commit messages when goalie allows (true/false)
|
56
|
+
- GIT_HOOK_FOOTER_SENTINEL: Required when footer append is enabled — a unique first-line sentinel to prevent duplicates
|
57
|
+
- GIT_HOOK_FOOTER_APPEND_DEBUG: Extra debug output in the footer template (true/false)
|
58
|
+
|
59
|
+
For a quick starting point, this repository’s `.envrc` shows sane defaults, and `.env.local` can override them locally.
|
60
|
+
|
61
|
+
## Appraisals
|
62
|
+
|
63
|
+
From time to time the [appraisal2][🚎appraisal2] gemfiles in `gemfiles/` will need to be updated.
|
64
|
+
They are created and updated with the commands:
|
65
|
+
|
66
|
+
```console
|
67
|
+
bin/rake appraisal:update
|
39
68
|
```
|
40
69
|
|
41
|
-
When adding an appraisal to CI check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
70
|
+
When adding an appraisal to CI, check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
42
71
|
|
43
72
|
## The Reek List
|
44
73
|
|
@@ -46,7 +75,7 @@ Take a look at the `reek` list which is the file called `REEK` and find somethin
|
|
46
75
|
|
47
76
|
To refresh the `reek` list:
|
48
77
|
|
49
|
-
```
|
78
|
+
```console
|
50
79
|
bundle exec reek > REEK
|
51
80
|
```
|
52
81
|
|
@@ -54,24 +83,43 @@ bundle exec reek > REEK
|
|
54
83
|
|
55
84
|
To run all tests
|
56
85
|
|
57
|
-
```
|
86
|
+
```console
|
58
87
|
bundle exec rake test
|
59
88
|
```
|
60
89
|
|
90
|
+
### Spec organization (required)
|
91
|
+
|
92
|
+
- For each class or module under `lib/`, keep all of its unit tests in a single spec file under `spec/` that mirrors the path and file name (e.g., specs for `lib/oauth2/release_cli.rb` live in `spec/oauth2/release_cli_spec.rb`).
|
93
|
+
- Do not create ad-hoc "_more" or split spec files for the same class/module. Consolidate all unit tests into the main spec file for that class/module.
|
94
|
+
- Only integration scenarios that intentionally span multiple classes belong in `spec/integration/`.
|
95
|
+
|
61
96
|
## Lint It
|
62
97
|
|
63
98
|
Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.
|
64
99
|
|
65
|
-
```
|
100
|
+
```console
|
66
101
|
bundle exec rake
|
67
102
|
```
|
68
103
|
|
69
104
|
Or just run the linter.
|
70
105
|
|
71
|
-
```
|
106
|
+
```console
|
72
107
|
bundle exec rake rubocop_gradual:autocorrect
|
73
108
|
```
|
74
109
|
|
110
|
+
For more detailed information about using RuboCop in this project, please see the [RUBOCOP.md](RUBOCOP.md) guide. This project uses `rubocop_gradual` instead of vanilla RuboCop, which requires specific commands for checking violations.
|
111
|
+
|
112
|
+
### Important: Do not add inline RuboCop disables
|
113
|
+
|
114
|
+
Never add `# rubocop:disable ...` / `# rubocop:enable ...` comments to code or specs (except when following the few existing `rubocop:disable` patterns for a rule already being disabled elsewhere in the code). Instead:
|
115
|
+
|
116
|
+
- Prefer configuration-based exclusions when a rule should not apply to certain paths or files (e.g., via `.rubocop.yml`).
|
117
|
+
- When a violation is temporary and you plan to fix it later, record it in `.rubocop_gradual.lock` using the gradual workflow:
|
118
|
+
- `bundle exec rake rubocop_gradual:autocorrect` (preferred)
|
119
|
+
- `bundle exec rake rubocop_gradual:force_update` (only when you cannot fix the violations immediately)
|
120
|
+
|
121
|
+
As a general rule, fix style issues rather than ignoring them. For example, our specs should follow RSpec conventions like using `described_class` for the class under test.
|
122
|
+
|
75
123
|
## Contributors
|
76
124
|
|
77
125
|
Your picture could be here!
|
@@ -80,60 +128,70 @@ Your picture could be here!
|
|
80
128
|
|
81
129
|
Made with [contributors-img][🖐contrib-rocks].
|
82
130
|
|
83
|
-
Also see GitLab Contributors: [https://gitlab.com/oauth
|
131
|
+
Also see GitLab Contributors: [https://gitlab.com/ruby-oauth/oauth2/-/graphs/main][🚎contributors-gl]
|
84
132
|
|
85
133
|
## For Maintainers
|
86
134
|
|
87
135
|
### One-time, Per-maintainer, Setup
|
88
136
|
|
89
|
-
**IMPORTANT**:
|
90
|
-
|
137
|
+
**IMPORTANT**: To sign a build,
|
138
|
+
a public key for signing gems will need to be picked up by the line in the
|
91
139
|
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there).
|
92
|
-
All releases to RubyGems.org
|
140
|
+
All releases to RubyGems.org are signed releases.
|
93
141
|
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
94
142
|
|
95
|
-
NOTE: To build without signing the gem
|
143
|
+
NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in the environment.
|
96
144
|
|
97
145
|
### To release a new version:
|
98
146
|
|
147
|
+
#### Automated process
|
148
|
+
|
149
|
+
Run `bundle exec kettle-release`.
|
150
|
+
|
151
|
+
#### Manual process
|
152
|
+
|
99
153
|
1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
|
100
154
|
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
101
155
|
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
102
156
|
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
103
|
-
5. Run `git push` to trigger the final CI pipeline before release,
|
104
|
-
- NOTE: Remember to [check the build][🧪build]
|
157
|
+
5. Run `git push` to trigger the final CI pipeline before release, and merge PRs
|
158
|
+
- NOTE: Remember to [check the build][🧪build].
|
105
159
|
6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
106
160
|
7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
107
|
-
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure
|
108
|
-
9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp
|
161
|
+
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
|
162
|
+
9. Optional for older Bundler (< 2.7.0): Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use the same timestamp and generate the same checksums
|
163
|
+
- If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
|
109
164
|
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
110
165
|
- If the echo above has no output, then it didn't work.
|
111
|
-
- Note
|
166
|
+
- Note: `zsh/datetime` module is needed, if running `zsh`.
|
112
167
|
- In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
113
168
|
10. Run `bundle exec rake build`
|
114
169
|
11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
|
115
170
|
to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
|
116
171
|
[gem][💎stone_checksums].
|
117
|
-
-
|
118
|
-
12.
|
172
|
+
- The script automatically commits but does not push the checksums
|
173
|
+
12. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
|
174
|
+
- `sha256sum pkg/<gem name>-<version>.gem`
|
175
|
+
13. Run `bundle exec rake release` which will create a git tag for the version,
|
119
176
|
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
120
177
|
|
121
|
-
[
|
122
|
-
[
|
123
|
-
[
|
178
|
+
[📜src-gl]: https://gitlab.com/ruby-oauth/oauth2/
|
179
|
+
[📜src-cb]: https://codeberg.org/ruby-oauth/oauth2
|
180
|
+
[📜src-gh]: https://github.com/ruby-oauth/oauth2
|
181
|
+
[🧪build]: https://github.com/ruby-oauth/oauth2/actions
|
182
|
+
[🤝conduct]: https://gitlab.com/ruby-oauth/oauth2/-/blob/main/CODE_OF_CONDUCT.md
|
124
183
|
[🖐contrib-rocks]: https://contrib.rocks
|
125
|
-
[🖐contributors]: https://github.com/oauth
|
126
|
-
[🚎contributors-gl]: https://gitlab.com/oauth
|
127
|
-
[🖐contributors-img]: https://contrib.rocks/image?repo=oauth
|
184
|
+
[🖐contributors]: https://github.com/ruby-oauth/oauth2/graphs/contributors
|
185
|
+
[🚎contributors-gl]: https://gitlab.com/ruby-oauth/oauth2/-/graphs/main
|
186
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=ruby-oauth/oauth2
|
128
187
|
[💎rubygems]: https://rubygems.org
|
129
188
|
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
130
189
|
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
|
131
190
|
[🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
|
132
|
-
[💎stone_checksums]: https://github.com/
|
191
|
+
[💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
|
133
192
|
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
134
193
|
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
135
194
|
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
136
195
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
137
|
-
[🚎
|
138
|
-
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
|
196
|
+
[🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
|
139
197
|
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
data/FUNDING.md
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
<!-- RELEASE-NOTES-FOOTER-START -->
|
2
|
+
|
3
|
+
Official Discord 👉️ [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
4
|
+
|
5
|
+
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?
|
6
|
+
|
7
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal]
|
8
|
+
|
9
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
10
|
+
|
11
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
12
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
13
|
+
[🖇osc-backers]: https://opencollective.com/ruby-oauth#backer
|
14
|
+
[🖇osc-backers-i]: https://opencollective.com/ruby-oauth/backers/badge.svg?style=flat
|
15
|
+
[🖇osc-sponsors]: https://opencollective.com/ruby-oauth#sponsor
|
16
|
+
[🖇osc-sponsors-i]: https://opencollective.com/ruby-oauth/sponsors/badge.svg?style=flat
|
17
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
18
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
19
|
+
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
20
|
+
[🖇polar]: https://polar.sh/pboling
|
21
|
+
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-✓-a51611.svg?style=flat
|
22
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
23
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
24
|
+
[🖇patreon]: https://patreon.com/galtzo
|
25
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-a51611.svg?style=flat
|
26
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
27
|
+
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
28
|
+
[🖇paypal]: https://www.paypal.com/paypalme/peterboling
|
29
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
30
|
+
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=flat
|
31
|
+
|
32
|
+
<!-- RELEASE-NOTES-FOOTER-END -->
|
33
|
+
|
34
|
+
# 🤑 Request for Help
|
35
|
+
|
36
|
+
Maintainers have teeth and need to pay their dentists.
|
37
|
+
After getting laid off in an RIF in March and filled with many dozens of rejections,
|
38
|
+
I'm now spending ~60+ hours a week building open source tools.
|
39
|
+
I'm hoping to be able to pay for my kids' health insurance this month,
|
40
|
+
so if you value the work I am doing, I need your support.
|
41
|
+
Please consider sponsoring me or the project.
|
42
|
+
|
43
|
+
To join the community or get help 👇️ Join the Discord.
|
44
|
+
|
45
|
+
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
46
|
+
|
47
|
+
To say "thanks for maintaining such a great tool" ☝️ Join the Discord or 👇️ send money.
|
48
|
+
|
49
|
+
[![Sponsor ruby-oauth/oauth2 on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay-img] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal-img]
|
50
|
+
|
51
|
+
# Another Way to Support Open Source Software
|
52
|
+
|
53
|
+
> How wonderful it is that nobody need wait a single moment before starting to improve the world.<br/>
|
54
|
+
>—Anne Frank
|
55
|
+
|
56
|
+
I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions — totaling 79 hours of FLOSS coding over just the past seven days, a pretty regular week for me. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈 cats).
|
57
|
+
|
58
|
+
If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
|
59
|
+
|
60
|
+
I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.
|
61
|
+
|
62
|
+
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
63
|
+
|
64
|
+
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
65
|
+
[🖇osc-all-img]: https://img.shields.io/opencollective/all/ruby-oauth
|
66
|
+
[🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/ruby-oauth
|
67
|
+
[🖇osc-backers-img]: https://img.shields.io/opencollective/backers/ruby-oauth
|
68
|
+
[🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/ruby-oauth?style=for-the-badge
|
69
|
+
[🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/ruby-oauth?style=for-the-badge
|
70
|
+
[🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/ruby-oauth?style=for-the-badge
|
71
|
+
[🖇osc]: https://opencollective.com/ruby-oauth
|
72
|
+
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
73
|
+
[🖇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
|
74
|
+
[🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
|
75
|
+
[🖇floss-funding.dev]: https://floss-funding.dev
|
76
|
+
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
77
|
+
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|
data/LICENSE.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
4
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017-2025 Peter H. Boling, of Galtzo.com, and oauth2 contributors
|
4
|
+
Copyright (c) 2011-2013 Michael Bleigh and Intridea, Inc.
|
5
5
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|