omniauth-identity 3.1.3 → 3.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec83ecf143cd1670379934132cb2b2de9eda9728e78bde08e840d7484e4c4355
4
- data.tar.gz: 320de15529ce6c80a164ccb8b6cd648be02470080d3991a3d3b20bcf90b779bb
3
+ metadata.gz: eab43fa354af27c298ecb9afdd400e13eecd36e2d456489ea4dce6ffc33ed7b6
4
+ data.tar.gz: 2ea1d0249b3f4d154411698273969794b45afe734a91d3a24c8fa5ed819d4003
5
5
  SHA512:
6
- metadata.gz: 20b49fef66e63c724a5307cf80c1fd8d8d632ad604ed0a8bd309b7c4ec480ee29b2bd231832d5404cfe56f59a4fb35ac28dfb9296cfbc21da44a6d0372b9a3ba
7
- data.tar.gz: b3fdaec1504f8b8ccfe1f730c765ceae51c24e35ab4405098a6731405c90533eebdd52ae48e05c944cfdb83ecb189359f99d483915e8a3a609ae037375a66ff7
6
+ metadata.gz: 4b9b26f6fcbbdeec62c3d63d298e9b7491e6e2333d23cea7d275f8fdccc6f11d8a69fcd157bba7af57910d6bedb4201c96d064f600b800a05a99c5b180ed4840
7
+ data.tar.gz: 886538d3ede5ce008c3fe5014fbb407516fe0097e6a69b5453971ce955a5dfd79ac97226780ec8f366e7be0c6b11ae6d7ed4d701585d2fec08f58c3055c20c00
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,38 +1,101 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project since v2.0 will be documented in this file.
3
+ [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
4
4
 
5
- The format is based on [Keep a Changelog v1](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.0.0.html).
5
+ All notable changes to this project will be documented in this file.
6
+
7
+ The format is based on [Keep a Changelog][📗keep-changelog],
8
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
9
+ and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
10
+ Please file a bug if you notice a violation of semantic versioning.
11
+
12
+ [📌semver]: https://semver.org/spec/v2.0.0.html
13
+ [📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
14
+ [📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
15
+ [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
16
+ [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
17
+ [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
7
18
 
8
19
  ## [Unreleased]
20
+
9
21
  ### Added
22
+
10
23
  ### Changed
24
+
11
25
  ### Deprecated
26
+
12
27
  ### Removed
28
+
13
29
  ### Fixed
30
+
14
31
  ### Security
15
32
 
33
+ ## [3.1.5] - 2025-10-13
34
+
35
+ - TAG: [v3.1.5][3.1.5t]
36
+ - COVERAGE: 93.58% -- 437/467 lines in 14 files
37
+ - BRANCH COVERAGE: 81.00% -- 81/100 branches in 14 files
38
+ - 92.39% documented
39
+
40
+ ### Added
41
+
42
+ - Adapter support for Hanami and ROM
43
+ - Complete YARD documentation
44
+ - kettle-dev for easier maintenance & dev tooling
45
+
46
+ ## [3.1.4] - 2025-07-28
47
+
48
+ - TAG: [v3.1.4][3.1.4t]
49
+ - COVERAGE: 92.06% -- 348/378 lines in 15 files
50
+ - BRANCH COVERAGE: 79.49% -- 62/78 branches in 15 files
51
+ - 44.44% documented
52
+
53
+ # Added
54
+
55
+ - More documentation
56
+ - Tracking maintainability and coverage with QLTY.sh
57
+ - Documentation site
58
+ - https://omniauth-identity.galtzo.com
59
+ - Test against bson v5.1.1
60
+ - Test against locked and unlocked, runtime and development, dependencies
61
+
62
+ ### Changed
63
+
64
+ - gemspec metadata
65
+ - Test against latest bundler
66
+ - Develop on ruby@3.4.5
67
+ - Switch to [Appraisal2](https://github.com/appraisal-rb/appraisal2)
68
+
16
69
  ## [3.1.3] - 2025-06-08
70
+
17
71
  - TAG: [v3.1.3][3.1.3t]
18
72
  - COVERAGE: 92.06% -- 348/378 lines in 15 files
19
73
  - BRANCH COVERAGE: 79.49% -- 62/78 branches in 15 files
20
74
  - 44.44% documented
75
+
21
76
  ### Added
77
+
22
78
  - More documentation by @pboling
23
79
  - Expanded test suite, covering many more points of the dependency matrix by @pboling
24
80
  - Test workflows with latest dependencies and more platform and dep HEADs
81
+
25
82
  ### Changed
83
+
26
84
  - Updated Code of Conduct to Contributor Covenant v2.1
85
+
27
86
  ### Fixed
87
+
28
88
  - Set `SKIP_GEM_SIGNING` in env to allow `gem build` without cryptographic signing requirement by @pboling
29
89
  - Useful for linux distros whose package managers sign packages independently
30
90
 
31
91
  ## [3.1.2] - 2025-05-07
92
+
32
93
  - TAG: [v3.1.2][3.1.2t]
33
94
  - COVERAGE: 92.02% -- 346/376 lines in 15 files
34
95
  - BRANCH COVERAGE: 79.49% -- 62/78 branches in 15 files
96
+
35
97
  ### Added
98
+
36
99
  - 20 year signing cert expires 2045-04-29 by @pboling
37
100
  - Added CITATION.cff by @pboling
38
101
  - devcontainer for easier maintenance by @pboling
@@ -40,38 +103,52 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
40
103
  - Greatly improved spec suite and CI config by @pboling
41
104
  - Testing against JRuby 9.2, 9.3, 9.4, 10.0, and head
42
105
  - Testing against many more combinations of Databases, ORMs, Rails, and Ruby versions
106
+
43
107
  ### Changed
108
+
44
109
  - Upgraded Code of Conduct based on Contributor Covenant v2.1 by @pboling
45
110
 
46
111
  ## [3.1.1] - 2024-11-18
112
+
47
113
  - TAG: [v3.1.1][3.1.1t]
48
114
  - COVERAGE: 92.00% -- 345/375 lines in 15 files
49
115
  - BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
50
116
  - 44.44% documented
117
+
51
118
  ### Added
119
+
52
120
  - [PR 130][130] Add SECURITY.md policy by @pboling
53
121
  - [PR 130][130] Add Maintainer contact email by @pboling
122
+
54
123
  ### Changed
124
+
55
125
  - [PR 130][130] Require MFA to publish to RubyGems.org by @pboling
56
126
 
57
127
  [130]: https://github.com/omniauth/omniauth-identity/pull/130
58
128
 
59
129
  ## [3.1.0] - 2024-11-18
130
+
60
131
  - TAG: [v3.1.0][3.1.0t]
61
132
  - COVERAGE: 91.98% -- 344/374 lines in 15 files
62
133
  - BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
63
134
  - 44.44% documented
135
+
64
136
  ### Added
137
+
65
138
  - [PR #123][123] Improve readability in #identity method of OmniAuth::Strategies::Identity by @Xeragus
66
139
  - [PR #124][124] Modernized gem structure, and updated dependencies for development by @pboling
67
140
  - Gem releases are now cryptographically signed
68
141
  - All ORM adapters (except NoBrainer) are tested in CI
69
142
  - [PR #127][127] Improved documentation by @pboling
70
143
  - [PR #128][128] Instructions for contributing by @pboling
144
+
71
145
  ### Changed
146
+
72
147
  - Deprecate `require 'omniauth/identity'` by @pboling
73
148
  - in favor of `require 'omniauth-identity'` (matching the gem name)
149
+
74
150
  ### Fixed
151
+
75
152
  - [PR #120][120] Fix: handling of SCRIPT_NAME for registration_path by @btalbot
76
153
  - [PR #122][122] Compatibility with rack v3.1+: use `req.params[]` instead of `req[]` by @emon
77
154
  - See: https://github.com/rack/rack/pull/2183
@@ -84,34 +161,49 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
84
161
  [120]: https://github.com/omniauth/omniauth-identity/pull/120
85
162
 
86
163
  ## [3.0.9] - 2021-06-16
164
+
87
165
  - TAG: [v3.0.9][3.0.9t]
166
+
88
167
  ### Fixed
168
+
89
169
  - \[Sequel\] Fixes loading the Sequel adapter, issue reported as [#112](https://github.com/omniauth/omniauth-identity/issues/112)
170
+
90
171
  ### Added
172
+
91
173
  - 📝 Document the Database adapters and drivers the gem currently works with
92
174
 
93
175
  ## [3.0.8] - 2021-03-24
176
+
94
177
  - TAG: [v3.0.8][3.0.8t]
178
+
95
179
  ### Fixed
180
+
96
181
  - \[Model\] Fixes 2 issues raised in a comment on PR [#108](https://github.com/omniauth/omniauth-identity/pull/108#issuecomment-804456604)
97
182
  - When `options[:on_validation]` is set `new`/`save`/`persisted?` logic is used.
98
183
  - When `options[:on_validation]` is not set `create`/`persisted?` logic is used.
99
184
 
100
185
  ## [3.0.7] - 2021-03-23
186
+
101
187
  - TAG: [v3.0.7][3.0.7t]
188
+
102
189
  ### Fixed
190
+
103
191
  - \[ActiveRecord\] Fixed [#110](https://github.com/omniauth/omniauth-identity/issues/110) which prevented `OmniAuth::Identity::Models::ActiveRecord`-based records from saving.
104
192
  - \[CouchPotato\] Fixed `OmniAuth::Identity::Models::CouchPotato`'s `#save`.
105
193
  - \[Sequel\] Fixed `OmniAuth::Identity::Models::Sequel`'s `#save`.
106
194
  - \[Model\] Only define `::create`, `#save`, and `#persisted?` when not already defined.
107
195
  - \[Model\] Restore original `info` functionality which set `name` based on `first_name`, `last_name`, or `nickname`
196
+
108
197
  ### Changed
198
+
109
199
  - Upgraded to a newer `OmniAuth::Identity::SecurePassword` ripped from [Rails 6-1-stable](https://github.com/rails/rails/blob/6-1-stable/activemodel/lib/active_model/secure_password.rb)
110
200
  - Aeons ago the original was ripped from Rails 3.1, and frozen in time.
111
201
  While writing specs, it was discovered to be incompatible with this gem's Sequel adapter.
112
202
  - Specs validate that the new version does work.
113
203
  In any case, the ripped version is only used when the `has_secure_password` macro is not yet defined in the class.
204
+
114
205
  ### Added
206
+
115
207
  - New specs to cover real use cases and implementations of each ORM model adapter that ships with the gem:
116
208
  - ActiveRecord (Polyglot - Many Relational Databases)
117
209
  - Sequel (Polyglot - Many Relational Databases)
@@ -120,10 +212,15 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
120
212
  - NoBrainer (RethinkDB)
121
213
 
122
214
  ## [3.0.6] - 2021-03-20
215
+
123
216
  - TAG: [v3.0.6][3.0.6t]
217
+
124
218
  ### Fixed
219
+
125
220
  - Fix breaking changes introduced by [#108](https://github.com/omniauth/omniauth-identity/pull/108) which prevented `:on_validation` from firing
221
+
126
222
  ### Added
223
+
127
224
  - New (or finally documented) options:
128
225
  - `:create_identity_link_text` defaults to `'Create an Identity'`
129
226
  - `:registration_failure_message` defaults to `'One or more fields were invalid'`
@@ -132,33 +229,49 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
132
229
  - `:registration_form_title` defaults to `'Register Identity'`
133
230
 
134
231
  ## [3.0.5] - 2021-03-19
232
+
135
233
  - TAG: [v3.0.5][3.0.5t]
234
+
136
235
  ### Fixed
236
+
137
237
  - Fix breaking changes introduced by [#86's](https://github.com/omniauth/omniauth-identity/pull/86) introduction of `:on_validation`
238
+
138
239
  ### Added
240
+
139
241
  - Define `#save`, `#persisted?` and `::create` on `Omniauth::Identity::Model`
140
242
  - Add `@since` YARD tags to interface methods
141
243
  - Refactor `Omniauth::Strategies::Identity.registration_phase` to support `Omniauth::Identity::Model`-inheriting classes that do not define `#save`.
142
244
  - This support will be dropped in v4.0.
143
245
 
144
246
  ## [3.0.4] - 2021-02-14
247
+
145
248
  - TAG: [v3.0.4][3.0.4t]
249
+
146
250
  ### Added
251
+
147
252
  - Add support for [sequel ORM](http://sequel.jeremyevans.net/)
148
253
 
149
254
  ## [3.0.3] - 2021-02-14
255
+
150
256
  - TAG: [v3.0.3][3.0.3t]
257
+
151
258
  ### Added
259
+
152
260
  - Add option `:on_validation`, which can be used to add a Captcha
153
261
  - See [example here](https://github.com/omniauth/omniauth-identity/pull/86#issue-63225122)
154
262
  - Add support for nobrainer, an ORM for RethinkDB
155
263
  - Validation error message on invalid registration form submission
264
+
156
265
  ### Removed
266
+
157
267
  - ruby-head build... simply too slow
158
268
 
159
269
  ## [3.0.2] - 2021-02-14
270
+
160
271
  - TAG: [v3.0.2][3.0.2t]
272
+
161
273
  ### Fixed
274
+
162
275
  - Github Actions CI Build for Ruby 2.4, 3.0 and ruby-head
163
276
  - Updated copyright
164
277
  - Code style cleanup
@@ -166,13 +279,19 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
166
279
  - Updated Readme
167
280
 
168
281
  ## [3.0.1] - 2021-02-14
282
+
169
283
  - TAG: [v3.0.1][3.0.1t]
284
+
170
285
  ### Fixed
286
+
171
287
  - Github Actions CI Build for various Rubies
172
288
 
173
289
  ## [3.0.0] - 2021-02-13
290
+
174
291
  - TAG: [v3.0.0][3.0.0t]
292
+
175
293
  ### Added
294
+
176
295
  - Compatibility with Ruby 3
177
296
  - Add option `:enable_login` to bypass OmniAuth disabling of GET method (default `true`)
178
297
  - NOTE: This restores compatibility between this gem and the current, core, omniauth gem!
@@ -183,17 +302,24 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
183
302
  - Minimum Ruby version = 2.4
184
303
  - Automatically adds "provider" => "identity" when "provider" column is detected
185
304
  - Documentation in README.md
305
+
186
306
  ### Removed
307
+
187
308
  - Support for Rubies < 2.4
188
309
  - Support for DataMapper, which died long ago.
189
310
  - Unwanted git artifacts
190
311
 
191
312
  ## [2.0.0] - 2020-09-01
313
+
192
314
  - TAG: [v2.0.0][2.0.0t]
315
+
193
316
  ### Added
317
+
194
318
  - CHANGELOG to maintain a history of changes.
195
319
  - Include mongoid-rspec gem.
320
+
196
321
  ### Changed
322
+
197
323
  - Fix failing Specs
198
324
  - Update Spec syntax to RSpec 3
199
325
  - Fix deprecation Warnings
@@ -202,11 +328,17 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
202
328
  - Dependency version limits so that the most up-to-date gem dependencies are used. (rspec 3+, mongo 2+, mongoid 7+, rake 13+, rack 2+, json 2+)
203
329
  - Updated copyright information.
204
330
  - Updated MongoMapper section of README to reflect its discontinued support.
331
+
205
332
  ### Removed
333
+
206
334
  - Gemfile.lock file
207
335
  - MongoMapper support; unable to satisfy dependencies of both MongoMapper and Mongoid now that MongoMapper is no longer actively maintained.
208
336
 
209
- [Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.3...HEAD
337
+ [Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.5...HEAD
338
+ [3.1.5]: https://github.com/omniauth/omniauth-identity/compare/v3.1.4...v3.1.5
339
+ [3.1.5t]: https://github.com/omniauth/omniauth-identity/releases/tag/v3.1.5
340
+ [3.1.4]: https://github.com/omniauth/omniauth-identity/compare/v3.1.3...v3.1.4
341
+ [3.1.4t]: https://github.com/omniauth/omniauth-identity/tags/v3.1.4
210
342
  [3.1.3]: https://github.com/omniauth/omniauth-identity/compare/v3.1.2...v3.1.3
211
343
  [3.1.3t]: https://github.com/omniauth/omniauth-identity/tags/v3.1.3
212
344
  [3.1.2]: https://github.com/omniauth/omniauth-identity/compare/v3.1.1...v3.1.2
data/CITATION.cff ADDED
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ title: omniauth-identity
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/omniauth/omniauth-identity'
16
+ description: omniauth-identity
17
+ repository-code: 'https://github.com/omniauth/omniauth-identity'
18
+ abstract: >-
19
+ omniauth-identity
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
@@ -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
- [![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact].
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
@@ -131,5 +130,5 @@ For answers to common questions about this code of conduct, see the FAQ at
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
134
- [🚂bdfl-contact]: http://www.railsbling.com/contact
135
- [🚂bdfl-contact-img]: https://img.shields.io/badge/Contact-BDFL-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
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