Skip to content

Commit ca7d466

Browse files
committed
🔖 Prepare release v3.2.0
1 parent 28b5445 commit ca7d466

109 files changed

Lines changed: 4949 additions & 2358 deletions

File tree

Some content is hidden

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

.rubocop_gradual.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
[347, 31, 1, "Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.", 177545],
3939
[370, 14, 1, "Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.", 177545]
4040
],
41-
"spec/spec_helper.rb:457633016": [
41+
"spec/spec_helper.rb:1331183603": [
4242
[39, 4, 52, "Style/YodaCondition: Reverse the order of the operands `VersionGem::Ruby::RUBY_VER < Gem::Version.new(\"2.5\")`.", 3054081885]
4343
],
4444
"spec/support/shared_contexts/instance_with_instance_methods.rb:540999892": [

.simplecov

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
require "kettle/soup/cover/config"
88

9+
omniauth_identity_service_adapter_enabled = lambda do |adapter|
10+
enabled_values = %w[true 1 yes on]
11+
enabled_values.include?(ENV.fetch("OMNIAUTH_IDENTITY_ENABLE_SERVICE_ADAPTERS", "false").downcase) ||
12+
enabled_values.include?(ENV.fetch("OMNIAUTH_IDENTITY_ENABLE_#{adapter}", "false").downcase)
13+
end
14+
915
# Minimum coverage thresholds are set by kettle-soup-cover.
1016
# They are controlled by ENV variables loaded by `mise` from `mise.toml`
1117
# (with optional machine-local overrides in `.env.local`).
@@ -15,4 +21,8 @@ SimpleCov.start do
1521
track_files "lib/**/*.rb"
1622
track_files "lib/**/*.rake"
1723
track_files "exe/*.rb"
24+
25+
add_filter "lib/omniauth/identity/models/couch_potato.rb" unless omniauth_identity_service_adapter_enabled.call("COUCHDB")
26+
add_filter "lib/omniauth/identity/models/mongoid.rb" unless omniauth_identity_service_adapter_enabled.call("MONGODB")
27+
add_filter "lib/omniauth/identity/models/nobrainer.rb" unless omniauth_identity_service_adapter_enabled.call("RETHINKDB")
1828
end

CHANGELOG.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,25 @@ Please file a bug if you notice a violation of semantic versioning.
2020

2121
### Added
2222

23+
### Changed
24+
25+
### Deprecated
26+
27+
### Removed
28+
29+
### Fixed
30+
31+
### Security
32+
33+
## [3.2.0] - 2026-06-05
34+
35+
- TAG: [v3.2.0][3.2.0t]
36+
- COVERAGE: 94.21% -- 374/397 lines in 12 files
37+
- BRANCH COVERAGE: 81.82% -- 90/110 branches in 12 files
38+
- 81.82% documented
39+
40+
### Added
41+
2342
- Added `OmniAuth::Identity::VERSION` as the traditional public version
2443
constant, in addition to `OmniAuth::Identity::Version::VERSION`.
2544

@@ -31,12 +50,10 @@ Please file a bug if you notice a violation of semantic versioning.
3150
so concurrent callers do not race while reading or updating authentication
3251
keys, ROM adapter settings, or BCrypt minimum-cost mode.
3352

34-
### Deprecated
35-
36-
### Removed
37-
3853
### Fixed
3954

55+
- Made local `kettle-test` runs skip CouchDB, MongoDB, and RethinkDB adapter
56+
specs by default unless the matching service adapter environment variable is enabled.
4057
- Updated ORM adapter specs to exercise concrete ActiveRecord and Mongoid model classes.
4158

4259
### Security
@@ -348,7 +365,9 @@ Please file a bug if you notice a violation of semantic versioning.
348365
- Gemfile.lock file
349366
- MongoMapper support; unable to satisfy dependencies of both MongoMapper and Mongoid now that MongoMapper is no longer actively maintained.
350367

351-
[Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.5...HEAD
368+
[Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.2.0...HEAD
369+
[3.2.0]: https://github.com/omniauth/omniauth-identity/compare/v3.1.5...v3.2.0
370+
[3.2.0t]: https://github.com/omniauth/omniauth-identity/releases/tag/v3.2.0
352371
[3.1.5]: https://github.com/omniauth/omniauth-identity/compare/v3.1.4...v3.1.5
353372
[3.1.5t]: https://github.com/omniauth/omniauth-identity/releases/tag/v3.1.5
354373
[3.1.4]: https://github.com/omniauth/omniauth-identity/compare/v3.1.3...v3.1.4

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
omniauth-identity (3.1.5)
4+
omniauth-identity (3.2.0)
55
auth-sanitizer (~> 0.2, >= 0.2.0)
66
bcrypt (~> 3.1)
77
mutex_m (~> 0.1)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ Thanks for RTFM. ☺️
749749
[📌gitmoji]: https://gitmoji.dev
750750
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
751751
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
752-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.467-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
752+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.397-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
753753
[🔐security]: https://github.com/omniauth/omniauth-identity/blob/main/SECURITY.md
754754
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
755755
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year

docs/OmniAuth.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<title>
77
Module: OmniAuth
88

9-
&mdash; Documentation by YARD 0.9.37
9+
&mdash; Documentation by YARD 0.9.44
1010

1111
</title>
1212

13-
<link rel="stylesheet" href="css/style.css" type="text/css" />
13+
<link rel="stylesheet" href="css/style.css" type="text/css">
1414

15-
<link rel="stylesheet" href="css/common.css" type="text/css" />
15+
<link rel="stylesheet" href="css/common.css" type="text/css">
1616

1717
<script type="text/javascript">
1818
pathId = "OmniAuth";
@@ -27,6 +27,8 @@
2727

2828
</head>
2929
<body>
30+
<div id="main_progress" aria-hidden="true"></div>
31+
3032
<div class="nav_wrap">
3133
<iframe id="nav" src="class_list.html?1"></iframe>
3234
<div id="resizer"></div>
@@ -78,16 +80,17 @@
7880

7981
<dl>
8082
<dt>Defined in:</dt>
81-
<dd>lib/omniauth/identity.rb<span class="defines">,<br />
82-
lib/omniauth/identity/model.rb,<br /> lib/omniauth/identity/version.rb,<br /> lib/omniauth/identity/models/rom.rb,<br /> lib/omniauth/strategies/identity.rb,<br /> lib/omniauth/identity/models/sequel.rb,<br /> lib/omniauth/identity/models/mongoid.rb,<br /> lib/omniauth/identity/secure_password.rb,<br /> lib/omniauth/identity/models/nobrainer.rb,<br /> lib/omniauth/identity/models/couch_potato.rb,<br /> lib/omniauth/identity/models/active_record.rb</span>
83+
<dd>lib/omniauth/identity.rb<span class="defines">,<br>
84+
lib/omniauth/identity/model.rb,<br> lib/omniauth/identity/version.rb,<br> lib/omniauth/identity/models/rom.rb,<br> lib/omniauth/strategies/identity.rb,<br> lib/omniauth/identity/models/sequel.rb,<br> lib/omniauth/identity/models/mongoid.rb,<br> lib/omniauth/identity/secure_password.rb,<br> lib/omniauth/identity/models/nobrainer.rb,<br> lib/omniauth/identity/models/couch_potato.rb,<br> lib/omniauth/identity/models/active_record.rb</span>
85+
8386
</dd>
8487
</dl>
8588

8689
</div>
8790

8891
<h2>Overview</h2><div class="docstring">
8992
<div class="discussion">
90-
<p>Contains version information for the OmniAuth Identity gem.</p>
93+
<p>The main OmniAuth module.</p>
9194

9295

9396
</div>
@@ -117,11 +120,11 @@ <h2>Overview</h2><div class="docstring">
117120
</div>
118121

119122
<div id="footer">
120-
Generated on Mon Oct 13 17:14:09 2025 by
123+
Generated on Fri Jun 5 03:16:50 2026 by
121124
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
122-
0.9.37 (ruby-3.4.7).
125+
0.9.44 (ruby-4.0.5).
123126
</div>
124127

125128
</div>
126129
</body>
127-
</html>
130+
</html>

docs/OmniAuth/Identity.html

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<title>
77
Module: OmniAuth::Identity
88

9-
&mdash; Documentation by YARD 0.9.37
9+
&mdash; Documentation by YARD 0.9.44
1010

1111
</title>
1212

13-
<link rel="stylesheet" href="../css/style.css" type="text/css" />
13+
<link rel="stylesheet" href="../css/style.css" type="text/css">
1414

15-
<link rel="stylesheet" href="../css/common.css" type="text/css" />
15+
<link rel="stylesheet" href="../css/common.css" type="text/css">
1616

1717
<script type="text/javascript">
1818
pathId = "OmniAuth::Identity";
@@ -27,6 +27,8 @@
2727

2828
</head>
2929
<body>
30+
<div id="main_progress" aria-hidden="true"></div>
31+
3032
<div class="nav_wrap">
3133
<iframe id="nav" src="../class_list.html?1"></iframe>
3234
<div id="resizer"></div>
@@ -78,8 +80,9 @@
7880

7981
<dl>
8082
<dt>Defined in:</dt>
81-
<dd>lib/omniauth/identity.rb<span class="defines">,<br />
82-
lib/omniauth/identity/model.rb,<br /> lib/omniauth/identity/version.rb,<br /> lib/omniauth/identity/models/rom.rb,<br /> lib/omniauth/identity/models/sequel.rb,<br /> lib/omniauth/identity/models/mongoid.rb,<br /> lib/omniauth/identity/secure_password.rb,<br /> lib/omniauth/identity/models/nobrainer.rb,<br /> lib/omniauth/identity/models/couch_potato.rb,<br /> lib/omniauth/identity/models/active_record.rb</span>
83+
<dd>lib/omniauth/identity.rb<span class="defines">,<br>
84+
lib/omniauth/identity/model.rb,<br> lib/omniauth/identity/version.rb,<br> lib/omniauth/identity/models/rom.rb,<br> lib/omniauth/identity/models/sequel.rb,<br> lib/omniauth/identity/models/mongoid.rb,<br> lib/omniauth/identity/secure_password.rb,<br> lib/omniauth/identity/models/nobrainer.rb,<br> lib/omniauth/identity/models/couch_potato.rb,<br> lib/omniauth/identity/models/active_record.rb</span>
85+
8386
</dd>
8487
</dl>
8588

@@ -129,13 +132,39 @@ <h5 class="example_title"><div class='inline'><p>Basic Setup</p>
129132
<p class="children">
130133

131134

132-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Identity/Model.html" title="OmniAuth::Identity::Model (module)">Model</a></span>, <span class='object_link'><a href="Identity/Models.html" title="OmniAuth::Identity::Models (module)">Models</a></span>, <span class='object_link'><a href="Identity/SecurePassword.html" title="OmniAuth::Identity::SecurePassword (module)">SecurePassword</a></span>, <span class='object_link'><a href="Identity/Version.html" title="OmniAuth::Identity::Version (module)">Version</a></span>
135+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Identity/Model.html" title="OmniAuth::Identity::Model (module)">Model</a></span>, <span class='object_link'><a href="Identity/Models.html" title="OmniAuth::Identity::Models (module)">Models</a></span>, <span class='object_link'><a href="Identity/SecurePassword.html" title="OmniAuth::Identity::SecurePassword (module)">SecurePassword</a></span>
133136

134137

135138

136139

137140
</p>
138141

142+
143+
<h2>
144+
Constant Summary
145+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
146+
</h2>
147+
148+
<dl class="constants">
149+
150+
<dt id="AUTH_SANITIZER-constant" class="">AUTH_SANITIZER =
151+
152+
</dt>
153+
<dd><pre class="code"><span class='const'>AuthSanitizer</span><span class='op'>::</span><span class='const'>Loader</span><span class='period'>.</span><span class='id identifier rubyid_load_isolated'>load_isolated</span></pre></dd>
154+
155+
<dt id="Version-constant" class="">Version =
156+
157+
</dt>
158+
<dd><pre class="code"><span class='const'><span class='object_link'><a href="../Omniauth_.html" title="Omniauth (module)">Omniauth</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Omniauth/Identity.html" title="Omniauth::Identity (module)">Identity</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Omniauth/Identity/Version.html" title="Omniauth::Identity::Version (module)">Version</a></span></span></pre></dd>
159+
160+
<dt id="VERSION-constant" class="">VERSION =
161+
162+
</dt>
163+
<dd><pre class="code"><span class='const'><span class='object_link'><a href="#Version-constant" title="OmniAuth::Identity::Version (constant)">Version</a></span></span><span class='op'>::</span><span class='const'>VERSION</span></pre></dd>
164+
165+
</dl>
166+
167+
139168

140169

141170

@@ -147,11 +176,11 @@ <h5 class="example_title"><div class='inline'><p>Basic Setup</p>
147176
</div>
148177

149178
<div id="footer">
150-
Generated on Mon Oct 13 17:14:09 2025 by
179+
Generated on Fri Jun 5 03:16:50 2026 by
151180
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152-
0.9.37 (ruby-3.4.7).
181+
0.9.44 (ruby-4.0.5).
153182
</div>
154183

155184
</div>
156185
</body>
157-
</html>
186+
</html>

0 commit comments

Comments
 (0)