oauth2 2.0.24 → 2.0.26
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 +147 -3
- data/README.md +79 -99
- data/lib/oauth2/access_token.rb +13 -8
- data/lib/oauth2/client.rb +34 -15
- data/lib/oauth2/sanitized_log_formatter.rb +198 -0
- data/lib/oauth2/version.rb +4 -1
- data/lib/oauth2.rb +11 -1
- data/sig/oauth2.rbs +206 -0
- data.tar.gz.sig +0 -0
- metadata +40 -60
- metadata.gz.sig +0 -0
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -272
- data/FUNDING.md +0 -74
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/oauth2/access_token.rbs +0 -25
- data/sig/oauth2/authenticator.rbs +0 -22
- data/sig/oauth2/client.rbs +0 -52
- data/sig/oauth2/error.rbs +0 -8
- data/sig/oauth2/filtered_attributes.rbs +0 -11
- data/sig/oauth2/response.rbs +0 -18
- data/sig/oauth2/sanitized_logger.rbs +0 -32
- data/sig/oauth2/strategy.rbs +0 -34
- data/sig/oauth2/thing_filter.rbs +0 -10
- data/sig/oauth2/version.rbs +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 362550ce65f2632c09c067acada7e36f37314e59a016257742019e7c4bd8adc2
|
|
4
|
+
data.tar.gz: e6f9cef5e5980840d428f0a577255555371ab151e66a78dceb1ea9b7a168fa9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 309b6d12823319c793c211328e78b50da808807aecf7ee27049e2cdc36e252ec63267c8635d61be1015b58b95cea821680bcc65ee65e589a784e1a598561ee7e
|
|
7
|
+
data.tar.gz: 99d0e680e42243e6f35692826a27ce93f7fd3cc2372b65df4318d6bcef795ad7c9af707c04509fcede27317308d7c9f07272ebe61de1e7eedef44ba69b1d28a8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,146 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [2.0.26] - 2026-10-25
|
|
34
|
+
|
|
35
|
+
- TAG: [v2.0.26][2.0.26t]
|
|
36
|
+
- COVERAGE: 98.48% -- 647/657 lines in 16 files
|
|
37
|
+
- BRANCH COVERAGE: 93.48% -- 215/230 branches in 16 files
|
|
38
|
+
- 90.83% documented
|
|
39
|
+
|
|
40
|
+
### Security
|
|
41
|
+
|
|
42
|
+
- GHSA-cmh8-5q25-68v6 - OAUTH_DEBUG token-request secrets are redacted; see [gh!769][gh!769]. Reported by iamibi.
|
|
43
|
+
|
|
44
|
+
- [gh!769][gh!769] - Redact secrets in structured token-request debug bodies, expand the default filtered credential keys, and require `auth-sanitizer` >= 0.2.5 by @makssein
|
|
45
|
+
- [gh!775][gh!775] - Strip Authorization headers, request bodies, and query parameters from cross-origin redirects by @Huge
|
|
46
|
+
- [gh!776][gh!776] - Redact configured sensitive response options from tokenless access-token initialization errors by @Huge
|
|
47
|
+
- GHSA-cmh8-5q25-68v6 - OAUTH_DEBUG token-request secrets are redacted; see [gh!769][gh!769]. Reported by iamibi.
|
|
48
|
+
|
|
49
|
+
[gh!769]: https://github.com/ruby-oauth/oauth2/pull/769
|
|
50
|
+
[gh!770]: https://github.com/ruby-oauth/oauth2/pull/770
|
|
51
|
+
[gh!775]: https://github.com/ruby-oauth/oauth2/pull/775
|
|
52
|
+
[gh!776]: https://github.com/ruby-oauth/oauth2/pull/776
|
|
53
|
+
|
|
54
|
+
### Deprecated
|
|
55
|
+
|
|
56
|
+
- `allow_cross_origin_redirects: true` is deprecated. The default will change to `false` in the next minor release (2.1.0). Set it explicitly to retain the current behavior.
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- kettle-jem-template-20260720-001 - READMEs can now display configured
|
|
61
|
+
corporate sponsor logos.
|
|
62
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
63
|
+
include RubyForum.
|
|
64
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
65
|
+
configuration and documentation dependencies so documentation issues fail
|
|
66
|
+
before generated docs are refreshed.
|
|
67
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
68
|
+
RSpec helpers provided by `kettle-test`.
|
|
69
|
+
- kettle-jem-template-20260913-001 - Templating now also surfaces a review
|
|
70
|
+
entry in `dependency_conflicts.resolve` when a direct development
|
|
71
|
+
dependency doesn't support one or more of this project's declared
|
|
72
|
+
`engines:` and has no template-managed modular home (e.g. `sqlite3` on
|
|
73
|
+
`jruby`). Review each entry and pick a resolution per the project's own
|
|
74
|
+
engine support needs.
|
|
75
|
+
|
|
76
|
+
- kettle-jem-template-20260729-005 - Gemspec metadata now publishes this
|
|
77
|
+
project's RubyForum tag as `mailing_list_uri`, and support docs link to the
|
|
78
|
+
tagged RubyForum community alongside Discord.
|
|
79
|
+
|
|
80
|
+
### Changed
|
|
81
|
+
|
|
82
|
+
- [kc] kettle-jem/prepare: updated 25 project files:
|
|
83
|
+
- configuration (1)
|
|
84
|
+
- dependencies (24)
|
|
85
|
+
|
|
86
|
+
- kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
|
|
87
|
+
files, reducing package noise for downstream packagers.
|
|
88
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
89
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
90
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
91
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
92
|
+
specs are not managed for the project.
|
|
93
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
94
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
95
|
+
installing the main Gemfile bundle.
|
|
96
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
97
|
+
use ClickGems instead of BestGems.
|
|
98
|
+
|
|
99
|
+
- [kc] kettle-jem/template: updated 84 project files:
|
|
100
|
+
- code and tests (7)
|
|
101
|
+
- configuration (1)
|
|
102
|
+
- dependencies (20)
|
|
103
|
+
- documentation (2)
|
|
104
|
+
- other (20)
|
|
105
|
+
- workflows (34)
|
|
106
|
+
|
|
107
|
+
### Fixed
|
|
108
|
+
|
|
109
|
+
- `OAuth2::AccessToken` no longer raises `NoMethodError` when `expires_latency` is set but the token has no known expiry (no `expires_in`/`expires_at`, or `expires_in: 0`), e.g. `client.get_token(params, expires_latency: 30)` against a provider that omits `expires_in` by @iamibi
|
|
110
|
+
- [gh!770][gh!770] - Raise token response parse errors when using the deprecated `extract_access_token` option, rather than swallowing them by @dpep
|
|
111
|
+
|
|
112
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
113
|
+
uses the installed `smorg-rb` driver command.
|
|
114
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
115
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
116
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
117
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
118
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
119
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
120
|
+
coverage thresholds still pass.
|
|
121
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
122
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
123
|
+
installs are not reported as project lint debt.
|
|
124
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
125
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
126
|
+
before the test suite starts.
|
|
127
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
128
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
129
|
+
lockfile parser failures on Git and path dependencies.
|
|
130
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
131
|
+
missing canonical version spec when a project only has shim namespace version
|
|
132
|
+
specs.
|
|
133
|
+
- kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
|
|
134
|
+
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
135
|
+
failures against `gem.coop`.
|
|
136
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
137
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
138
|
+
even when the gemspec is loaded from another working directory.
|
|
139
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
140
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
141
|
+
parameter names from producing invalid configuration after a merge.
|
|
142
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
143
|
+
documentation now normalize configured underscore hostnames to valid
|
|
144
|
+
hyphenated hostnames.
|
|
145
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
146
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
147
|
+
matching Galtzo-hosted asset exists.
|
|
148
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
149
|
+
preserving comments and trailing commas during template updates.
|
|
150
|
+
|
|
151
|
+
## [2.0.25] - 2026-07-14
|
|
152
|
+
|
|
153
|
+
- TAG: [v2.0.25][2.0.25t]
|
|
154
|
+
- COVERAGE: 100.00% -- 558/558 lines in 15 files
|
|
155
|
+
- BRANCH COVERAGE: 97.89% -- 186/190 branches in 15 files
|
|
156
|
+
- 88.35% documented
|
|
157
|
+
|
|
158
|
+
### Added
|
|
159
|
+
|
|
160
|
+
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
161
|
+
|
|
162
|
+
### Changed
|
|
163
|
+
|
|
164
|
+
- Raised the `anonymous_loader` runtime dependency floor to `>= 0.1.3`.
|
|
165
|
+
- Raised the `auth-sanitizer` runtime dependency floor to `>= 0.2.3`.
|
|
166
|
+
- Retemplated generated project metadata, support documentation, CI workflows,
|
|
167
|
+
binstubs, and development dependency floors with `kettle-jem` v7.0.0.
|
|
168
|
+
|
|
169
|
+
### Fixed
|
|
170
|
+
|
|
171
|
+
- Package configured license files in gem release file lists.
|
|
172
|
+
|
|
33
173
|
## [2.0.24] - 2026-06-18
|
|
34
174
|
|
|
35
175
|
- TAG: [v2.0.24][2.0.24t]
|
|
@@ -67,9 +207,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
67
207
|
- Addressed Reek code-quality checks with targeted cleanup and documented compatibility exclusions by @pboling
|
|
68
208
|
- Fixed deprecation warning from MultiXML by @robzolkos
|
|
69
209
|
|
|
70
|
-
[gh!733]
|
|
210
|
+
- [gh!733][gh!733] - Fixed head appraisal dependency conflicts and Ruby 2.4 protocol-relative redirect handling by @pboling
|
|
71
211
|
|
|
72
|
-
|
|
212
|
+
[gh!733]: https://github.com/ruby-oauth/oauth2/pull/733
|
|
73
213
|
|
|
74
214
|
## [2.0.22] - 2026-06-07
|
|
75
215
|
|
|
@@ -908,7 +1048,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
908
1048
|
|
|
909
1049
|
[gemfiles/readme]: gemfiles/README.md
|
|
910
1050
|
|
|
911
|
-
[Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.
|
|
1051
|
+
[Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.26...HEAD
|
|
1052
|
+
[2.0.26]: https://github.com/ruby-oauth/oauth2/compare/v2.0.25...v2.0.26
|
|
1053
|
+
[2.0.26t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.26
|
|
1054
|
+
[2.0.25]: https://github.com/ruby-oauth/oauth2/compare/v2.0.24...v2.0.25
|
|
1055
|
+
[2.0.25t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.25
|
|
912
1056
|
[2.0.24]: https://github.com/ruby-oauth/oauth2/compare/v2.0.23...v2.0.24
|
|
913
1057
|
[2.0.24t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.24
|
|
914
1058
|
[2.0.23]: https://github.com/ruby-oauth/oauth2/compare/v2.0.22...v2.0.23
|