Skip to content

Commit 2054675

Browse files
pbolingCopilot
andcommitted
🔖 Add canonical jwt2 version namespace
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d5a6b4b commit 2054675

14 files changed

Lines changed: 337 additions & 46 deletions

File tree

.rubocop_gradual.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
"lib/omniauth/strategies/jwt.rb:564365983": [
33
[59, 9, 76, "Lint/RescueException: Avoid rescuing the `Exception` class. Perhaps you meant to rescue `StandardError`?", 967033479]
44
],
5-
"omniauth-jwt2.gemspec:1169556408": [
5+
"omniauth-jwt2.gemspec:654652344": [
66
[166, 3, 39, "Gemspec/DependencyVersion: Dependency version specification is required.", 190611830],
77
[167, 3, 45, "Gemspec/DependencyVersion: Dependency version specification is required.", 1496807756]
88
],
9-
"spec/lib/omniauth/strategies/jwt_spec.rb:3575552485": [
9+
"spec/lib/omniauth/strategies/jwt_spec.rb:1409726614": [
1010
[3, 1, 40, "RSpec/SpecFilePathFormat: Spec path should end with `omni_auth/strategies/jwt*_spec.rb`.", 1545891400],
1111
[12, 13, 25, "RSpec/DescribedClass: Use `described_class` instead of `OmniAuth::Strategies::JWT`.", 2234488924],
12-
[19, 11, 15, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 391893083],
13-
[29, 11, 16, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1409468707],
14-
[116, 9, 20, "RSpec/StubbedMock: Prefer `allow` over `expect` when configuring a response.", 2951559342],
15-
[120, 5, 125, "RSpec/LeakyLocalVariable: Do not use local variables defined outside of examples inside of them.", 689775740],
16-
[130, 5, 56, "Performance/RedundantMerge: Use `algos[OpenSSL::PKey::EC] = %w[ES256 ES384 ES512]` instead of `algos.merge!(OpenSSL::PKey::EC => %w[ES256 ES384 ES512])`.", 2983772293],
17-
[160, 13, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1877551307]
12+
[24, 11, 15, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 391893083],
13+
[34, 11, 16, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1409468707],
14+
[121, 9, 20, "RSpec/StubbedMock: Prefer `allow` over `expect` when configuring a response.", 2951559342],
15+
[125, 5, 125, "RSpec/LeakyLocalVariable: Do not use local variables defined outside of examples inside of them.", 689775740],
16+
[135, 5, 56, "Performance/RedundantMerge: Use `algos[OpenSSL::PKey::EC] = %w[ES256 ES384 ES512]` instead of `algos.merge!(OpenSSL::PKey::EC => %w[ES256 ES384 ES512])`.", 2983772293],
17+
[165, 13, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1877551307]
1818
],
1919
"spec/spec_helper.rb:2608937500": [
2020
[50, 3, 34, "RSpec/Output: Do not write to stdout in specs.", 1097326571],

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Please file a bug if you notice a violation of semantic versioning.
2929
- Updated project metadata and documentation to make `omniauth-jwt2` the
3030
maintained canonical gem under the `omniauth` organization while preserving
3131
the public `OmniAuth::Strategies::JWT` API and `require "omniauth/jwt"` path.
32+
- Moved the package version constant to the gem-name namespace
33+
`Omniauth::JWT2::Version::VERSION`, while keeping
34+
`Omniauth::JWT::Version::VERSION` as a compatibility alias.
3235

3336
### Deprecated
3437

docs/Omniauth.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@
8080

8181
<dl>
8282
<dt>Defined in:</dt>
83-
<dd>lib/omniauth/jwt/version.rb
83+
<dd>lib/omniauth/jwt/version.rb<span class="defines">,<br>
84+
lib/omniauth/jwt2/version.rb</span>
85+
8486
</dd>
8587
</dl>
8688

@@ -90,7 +92,7 @@ <h2>Defined Under Namespace</h2>
9092
<p class="children">
9193

9294

93-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Omniauth/JWT.html" title="Omniauth::JWT (module)">JWT</a></span>
95+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Omniauth/JWT.html" title="Omniauth::JWT (module)">JWT</a></span>, <span class='object_link'><a href="Omniauth/JWT2.html" title="Omniauth::JWT2 (module)">JWT2</a></span>
9496

9597

9698

@@ -108,7 +110,7 @@ <h2>Defined Under Namespace</h2>
108110
</div>
109111

110112
<div id="footer">
111-
Generated on Mon Jun 15 16:45:22 2026 by
113+
Generated on Mon Jun 15 16:56:31 2026 by
112114
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
113115
0.9.44 (ruby-4.0.5).
114116
</div>

docs/Omniauth/JWT.html

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,6 @@
8686

8787
</div>
8888

89-
<h2>Defined Under Namespace</h2>
90-
<p class="children">
91-
92-
93-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="JWT/Version.html" title="Omniauth::JWT::Version (module)">Version</a></span>
94-
95-
96-
97-
98-
</p>
9989

10090

10191
<h2>
@@ -105,20 +95,15 @@ <h2>
10595

10696
<dl class="constants">
10797

98+
<dt id="Version-constant" class="">Version =
99+
100+
</dt>
101+
<dd><pre class="code"><span class='const'><span class='object_link'><a href="JWT2.html" title="Omniauth::JWT2 (module)">JWT2</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="JWT2/Version.html" title="Omniauth::JWT2::Version (module)">Version</a></span></span></pre></dd>
102+
108103
<dt id="VERSION-constant" class="">VERSION =
109-
<div class="docstring">
110-
<div class="discussion">
111-
<p>Traditional Constant Location</p>
112-
113-
114-
</div>
115-
</div>
116-
<div class="tags">
117-
118-
119-
</div>
104+
120105
</dt>
121-
<dd><pre class="code"><span class='const'><span class='object_link'><a href="JWT/Version.html" title="Omniauth::JWT::Version (module)">Version</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="JWT/Version.html#VERSION-constant" title="Omniauth::JWT::Version::VERSION (constant)">VERSION</a></span></span></pre></dd>
106+
<dd><pre class="code"><span class='const'><span class='object_link'><a href="JWT2.html" title="Omniauth::JWT2 (module)">JWT2</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="JWT2.html#VERSION-constant" title="Omniauth::JWT2::VERSION (constant)">VERSION</a></span></span></pre></dd>
122107

123108
</dl>
124109

@@ -134,7 +119,7 @@ <h2>
134119
</div>
135120

136121
<div id="footer">
137-
Generated on Mon Jun 15 16:45:22 2026 by
122+
Generated on Mon Jun 15 16:56:31 2026 by
138123
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139124
0.9.44 (ruby-4.0.5).
140125
</div>

docs/Omniauth/JWT2.html

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>
7+
Module: Omniauth::JWT2
8+
9+
&mdash; Documentation by YARD 0.9.44
10+
11+
</title>
12+
13+
<link rel="stylesheet" href="../css/style.css" type="text/css">
14+
15+
<link rel="stylesheet" href="../css/common.css" type="text/css">
16+
17+
<script type="text/javascript">
18+
pathId = "Omniauth::JWT2";
19+
relpath = '../';
20+
</script>
21+
22+
23+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24+
25+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26+
27+
28+
</head>
29+
<body>
30+
<div id="main_progress" aria-hidden="true"></div>
31+
32+
<div class="nav_wrap">
33+
<iframe id="nav" src="../class_list.html?1"></iframe>
34+
<div id="resizer"></div>
35+
</div>
36+
37+
<div id="main" tabindex="-1">
38+
<div id="header">
39+
<div id="menu">
40+
41+
<a href="../_index.html">Index (J)</a> &raquo;
42+
<span class='title'><span class='object_link'><a href="../Omniauth.html" title="Omniauth (module)">Omniauth</a></span></span>
43+
&raquo;
44+
<span class="title">JWT2</span>
45+
46+
</div>
47+
48+
<div id="search">
49+
50+
<a class="full_list_link" id="class_list_link"
51+
href="../class_list.html">
52+
53+
<svg width="24" height="24">
54+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57+
</svg>
58+
</a>
59+
60+
</div>
61+
<div class="clear"></div>
62+
</div>
63+
64+
<div id="content"><h1>Module: Omniauth::JWT2
65+
66+
67+
68+
</h1>
69+
<div class="box_info">
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+
<dl>
82+
<dt>Defined in:</dt>
83+
<dd>lib/omniauth/jwt2/version.rb
84+
</dd>
85+
</dl>
86+
87+
</div>
88+
89+
<h2>Defined Under Namespace</h2>
90+
<p class="children">
91+
92+
93+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="JWT2/Version.html" title="Omniauth::JWT2::Version (module)">Version</a></span>
94+
95+
96+
97+
98+
</p>
99+
100+
101+
<h2>
102+
Constant Summary
103+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
104+
</h2>
105+
106+
<dl class="constants">
107+
108+
<dt id="VERSION-constant" class="">VERSION =
109+
<div class="docstring">
110+
<div class="discussion">
111+
<p>Traditional Constant Location</p>
112+
113+
114+
</div>
115+
</div>
116+
<div class="tags">
117+
118+
119+
</div>
120+
</dt>
121+
<dd><pre class="code"><span class='const'><span class='object_link'><a href="JWT2/Version.html" title="Omniauth::JWT2::Version (module)">Version</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="JWT2/Version.html#VERSION-constant" title="Omniauth::JWT2::Version::VERSION (constant)">VERSION</a></span></span></pre></dd>
122+
123+
</dl>
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
</div>
135+
136+
<div id="footer">
137+
Generated on Mon Jun 15 16:56:31 2026 by
138+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139+
0.9.44 (ruby-4.0.5).
140+
</div>
141+
142+
</div>
143+
</body>
144+
</html>

docs/Omniauth/JWT2/Version.html

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>
7+
Module: Omniauth::JWT2::Version
8+
9+
&mdash; Documentation by YARD 0.9.44
10+
11+
</title>
12+
13+
<link rel="stylesheet" href="../../css/style.css" type="text/css">
14+
15+
<link rel="stylesheet" href="../../css/common.css" type="text/css">
16+
17+
<script type="text/javascript">
18+
pathId = "Omniauth::JWT2::Version";
19+
relpath = '../../';
20+
</script>
21+
22+
23+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24+
25+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26+
27+
28+
</head>
29+
<body>
30+
<div id="main_progress" aria-hidden="true"></div>
31+
32+
<div class="nav_wrap">
33+
<iframe id="nav" src="../../class_list.html?1"></iframe>
34+
<div id="resizer"></div>
35+
</div>
36+
37+
<div id="main" tabindex="-1">
38+
<div id="header">
39+
<div id="menu">
40+
41+
<a href="../../_index.html">Index (V)</a> &raquo;
42+
<span class='title'><span class='object_link'><a href="../../Omniauth.html" title="Omniauth (module)">Omniauth</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../JWT2.html" title="Omniauth::JWT2 (module)">JWT2</a></span></span>
43+
&raquo;
44+
<span class="title">Version</span>
45+
46+
</div>
47+
48+
<div id="search">
49+
50+
<a class="full_list_link" id="class_list_link"
51+
href="../../class_list.html">
52+
53+
<svg width="24" height="24">
54+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57+
</svg>
58+
</a>
59+
60+
</div>
61+
<div class="clear"></div>
62+
</div>
63+
64+
<div id="content"><h1>Module: Omniauth::JWT2::Version
65+
66+
67+
68+
</h1>
69+
<div class="box_info">
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+
<dl>
82+
<dt>Defined in:</dt>
83+
<dd>lib/omniauth/jwt2/version.rb
84+
</dd>
85+
</dl>
86+
87+
</div>
88+
89+
90+
91+
<h2>
92+
Constant Summary
93+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
94+
</h2>
95+
96+
<dl class="constants">
97+
98+
<dt id="VERSION-constant" class="">VERSION =
99+
100+
</dt>
101+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
102+
103+
</dl>
104+
105+
106+
107+
108+
109+
110+
111+
112+
113+
114+
</div>
115+
116+
<div id="footer">
117+
Generated on Mon Jun 15 16:56:31 2026 by
118+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119+
0.9.44 (ruby-4.0.5).
120+
</div>
121+
122+
</div>
123+
</body>
124+
</html>

0 commit comments

Comments
 (0)