Skip to content

Commit c3255d2

Browse files
committed
✨ HTTP verb-dependent Hash mode
- implements #682
1 parent ff67d0f commit c3255d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+325
-174
lines changed

.idea/oauth2.iml

Lines changed: 15 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rubocop_gradual.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"lib/oauth2.rb:2435263975": [
77
[73, 11, 7, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 651502127]
88
],
9-
"lib/oauth2/access_token.rb:3678262936": [
9+
"lib/oauth2/access_token.rb:707681139": [
1010
[64, 13, 5, "Style/IdenticalConditionalBranches: Move `t_key` out of the conditional.", 183811513],
1111
[70, 13, 5, "Style/IdenticalConditionalBranches: Move `t_key` out of the conditional.", 183811513]
1212
],
@@ -21,11 +21,11 @@
2121
"lib/oauth2/response.rb:2054901929": [
2222
[53, 5, 204, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 996912427]
2323
],
24-
"spec/oauth2/access_token_spec.rb:3464059918": [
24+
"spec/oauth2/access_token_spec.rb:3152504592": [
2525
[3, 1, 34, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/access_token*_spec.rb`.", 1972107547],
26-
[824, 13, 25, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 770233088],
27-
[894, 9, 101, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3022740639],
28-
[898, 9, 79, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2507338967]
26+
[854, 13, 25, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 770233088],
27+
[924, 9, 101, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3022740639],
28+
[928, 9, 79, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2507338967]
2929
],
3030
"spec/oauth2/authenticator_spec.rb:853320290": [
3131
[3, 1, 36, "RSpec/SpecFilePathFormat: Spec path should end with `o_auth2/authenticator*_spec.rb`.", 819808017],

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Please file a bug if you notice a violation of semantic versioning.
1818

1919
## [Unreleased]
2020
### Added
21+
- [gh!682][gh!682] - AccessToken: support Hash-based verb-dependent token transmission mode (e.g., {get: :query, post: :header})
2122
### Changed
2223
### Deprecated
2324
### Removed

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ GEM
103103
json (2.13.2)
104104
jwt (3.1.2)
105105
base64
106-
kettle-dev (1.1.19)
106+
kettle-dev (1.1.20)
107107
kettle-soup-cover (1.0.10)
108108
simplecov (~> 0.22)
109109
simplecov-cobertura (~> 3.0)
@@ -135,7 +135,7 @@ GEM
135135
net-http (0.6.0)
136136
uri
137137
nkf (0.2.0)
138-
nokogiri (1.18.9-x86_64-linux-gnu)
138+
nokogiri (1.18.10-x86_64-linux-gnu)
139139
racc (~> 1.4)
140140
ostruct (0.6.3)
141141
parallel (1.27.0)
@@ -165,7 +165,7 @@ GEM
165165
parser (~> 3.3.0)
166166
rainbow (>= 2.0, < 4.0)
167167
rexml (~> 3.1)
168-
regexp_parser (2.11.2)
168+
regexp_parser (2.11.3)
169169
reline (0.6.2)
170170
io-console (~> 0.5)
171171
require_bench (1.0.4)
@@ -336,7 +336,7 @@ DEPENDENCIES
336336
gem_bench (~> 2.0, >= 2.0.5)
337337
gitmoji-regex (~> 1.0, >= 1.0.3)
338338
irb (~> 1.15, >= 1.15.2)
339-
kettle-dev (~> 1.1, >= 1.1.9)
339+
kettle-dev (~> 1.1, >= 1.1.20)
340340
kettle-soup-cover (~> 1.0, >= 1.0.10)
341341
kettle-test (~> 1.0)
342342
kramdown (~> 2.5, >= 2.5.1)

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# kettle-dev Rakefile v1.1.9 - 2025-09-07
3+
# kettle-dev Rakefile v1.1.20 - 2025-09-15
44
# Ruby 2.3 (Safe Navigation) or higher required
55
#
66
# MIT License (see License.txt)

docs/OAuth2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ <h3 class="signature first" id="configure-class_method">
415415
</div>
416416

417417
<div id="footer">
418-
Generated on Sun Sep 14 15:09:41 2025 by
418+
Generated on Mon Sep 15 06:27:47 2025 by
419419
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
420420
0.9.37 (ruby-3.4.5).
421421
</div>

0 commit comments

Comments
 (0)