open_id_authentication 1.3.0 → 2.0.2

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
- SHA1:
3
- metadata.gz: 6b89e52ae5caf97fc2a2687a9cc341849f6e2da5
4
- data.tar.gz: 86e49811d54c507ef03a301788b9bafc9da0026f
2
+ SHA256:
3
+ metadata.gz: 1e093a8bb568b0694566a374eb0348046c2f337ba14540cf1889efa94975958d
4
+ data.tar.gz: 82dfde8fd53258b7f3d3a8ea4cf44701770ae65768cd463099a78725cd1545c5
5
5
  SHA512:
6
- metadata.gz: 2c75103ac8b0693a07a2c1bc35aa5abb6aca0aedace203d746583b54c573a3d19ae4a6f3c9140d7c09a1213ea03e16e1c4e58246e27239775fea3eb0a6a41008
7
- data.tar.gz: 0c7b8f087127412094ac21cf2bafdca8ae6b6837a0d03c4526535107bebe1ff9d68e330656264b509d9d706b49cd71037133d7a374beac2a6b32d2a3af25f6e3
6
+ metadata.gz: 476e47a65d0f4c2f88fb7f1f4c5b6176b41ccce646027064fcae285ff5a1e2478a88d974ca93b4d9f67b62de9dab936d06a93838994874430eaee08067910b6b
7
+ data.tar.gz: f9e2f2704749c51b39734877c47ae82397a01fa4168fd908f165b500b982a85ca369c5d6d68ce65175b487fd4affa36bdecf07f6c389428d052b52b0ee41d32b
checksums.yaml.gz.sig ADDED
Binary file
data/CHANGELOG.md ADDED
@@ -0,0 +1,52 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ Since version 2.0.0, the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+ ### Added
9
+ ### Changed
10
+ ### Fixed
11
+ ### Removed
12
+
13
+ ## 2.0.2 - 2024-09-25
14
+ - COVERAGE: 55.56% -- 55/99 lines in 6 files
15
+ - BRANCH COVERAGE: 23.53% -- 4/17 branches in 6 files
16
+ - 25.00% documented
17
+ ### Added
18
+ - More Documentation
19
+ ### Changed
20
+ - rack-openid2 v2.0.3
21
+ ### Fixed
22
+ - Incorrect Documentation
23
+ - Markdown Formatting
24
+ ### Changed
25
+ - Renamed gem back to original `open_id_authentication`
26
+
27
+ ## 2.0.1 - 2024-09-16 (returned to `open_id_authentication`)
28
+ - COVERAGE: 55.56% -- 55/99 lines in 6 files
29
+ - BRANCH COVERAGE: 23.53% -- 4/17 branches in 6 branches
30
+ ### Added
31
+ - More Documentation
32
+ ### Changed
33
+ - Renamed gem back to original `open_id_authentication`
34
+
35
+ ## 2.0.0 - 2024-09-05 (released as `open_id_authentication2`)
36
+ - COVERAGE: 55.56% -- 55/99 lines in 6 files
37
+ - BRANCH COVERAGE: 23.53% -- 4/17 branches in 6 branches
38
+ ### Added
39
+ - More specs
40
+ - version_gem runtime dependency
41
+ - rubocop-lts development dependency (linting)
42
+ - kettle-soup-cover development dependency (code coverage)
43
+ - Gem signing certificate
44
+ ### Changed
45
+ - Upgraded to RSpec v3
46
+ - Switched rack-openid => rack-openid2
47
+ - Renamed gem to `open_id_authentication2`
48
+ ### Fixed
49
+ - Compatibility with Ruby 2.7+
50
+ ### Removed
51
+ - Support for Ruby < 2.7
52
+ - Undeclared dependency on Rails.logger
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at peter.boling@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,55 @@
1
+ ## Contributing
2
+
3
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/oauth-xx/open_id_authentication][🚎src-main]
4
+ . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5
+ the [code of conduct][🤝conduct].
6
+
7
+ To submit a patch, please fork the project and create a patch with tests.
8
+ Once you're happy with it send a pull request.
9
+
10
+ ## Release
11
+
12
+ ### One-time, Per-developer, Setup
13
+
14
+ **IMPORTANT**: Your public key for signing gems will need to be picked up by the line in the
15
+ `gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there),
16
+ in order to sign the new release.
17
+ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
18
+
19
+ ### To release a new version:
20
+
21
+ 1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
22
+ 2. Update the version number in `version.rb`
23
+ 3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
24
+ 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
25
+ 5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
26
+ - NOTE: Remember to [check the build][🧪build]!
27
+ 6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
28
+ 7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
29
+ 8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure you will release the latest trunk code
30
+ 9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
31
+ - Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
32
+ - If the echo above has no output, then it didn't work.
33
+ - Note that you'll need the `zsh/datetime` module, if running `zsh`.
34
+ - In `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
35
+ 10. Run `bundle exec rake build`
36
+ 11. Run `bin/checksums` (more [context][🔒️rubygems-checksums-pr]) to create SHA-256 and SHA-512 checksums
37
+ - Checksums will be committed automatically by the script, but not pushed
38
+ 12. Run `bundle exec rake release` which will create a git tag for the version,
39
+ push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
40
+
41
+ ## Contributors
42
+
43
+ [![Contributors][🖐contributors-img]][🖐contributors]
44
+
45
+ Made with [contributors-img][🖐contrib-rocks].
46
+
47
+ [🧪build]: https://github.com/oauth-xx/open_id_authentication/actions
48
+ [🤝conduct]: https://github.com/oauth-xx/open_id_authentication/blob/main/CODE_OF_CONDUCT.md
49
+ [🖐contrib-rocks]: https://contrib.rocks
50
+ [🖐contributors]: https://github.com/oauth-xx/open_id_authentication/graphs/contributors
51
+ [🖐contributors-img]: https://contrib.rocks/image?repo=oauth-xx/open_id_authentication
52
+ [💎rubygems]: https://rubygems.org
53
+ [🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
54
+ [🔒️rubygems-checksums-pr]: https://github.com/rubygems/guides/pull/325
55
+ [🚎src-main]: https://github.com/oauth-xx/open_id_authentication
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2007 - 2011 David Heinemeier Hansson, Joshua Peek
2
+ Copyright (c) 2024 Peter Boling
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining
5
+ a copy of this software and associated documentation files (the
6
+ "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish,
8
+ distribute, sublicense, and/or sell copies of the Software, and to
9
+ permit persons to whom the Software is furnished to do so, subject to
10
+ the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,16 +1,67 @@
1
- OpenIdAuthentication [![Build Status](https://travis-ci.org/grosser/open_id_authentication.png)](https://travis-ci.org/grosser/open_id_authentication)
2
- ====================
3
-
4
- Provides a thin wrapper around the excellent ruby-openid gem from JanRan.
1
+ # OpenIdAuthentication
2
+
3
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
4
+ [![Version](https://img.shields.io/gem/v/gem_bench.svg)](https://rubygems.org/gems/open_id_authentication)
5
+ [![Downloads Today](https://img.shields.io/gem/rd/gem_bench.svg)](https://github.com/oauth-xx/open_id_authentication)
6
+ [![Depfu](https://badges.depfu.com/badges/0860845c093872a36ee51d1f7e9203db/overview.svg)](https://depfu.com/github/oauth-xx/open_id_authentication?project_id=46542)
7
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/f8810737ca8a04d8593b/test_coverage)](https://codeclimate.com/github/oauth-xx/open_id_authentication/test_coverage)
8
+ [![Maintainability](https://api.codeclimate.com/v1/badges/f8810737ca8a04d8593b/maintainability)](https://codeclimate.com/github/oauth-xx/open_id_authentication/maintainability)[![CI Supported Build][🚎s-wfi]][🚎s-wf]
9
+ [![CI Unsupported Build][🚎us-wfi]][🚎us-wf]
10
+ [![CI Style Build][🚎st-wfi]][🚎st-wf]
11
+ [![CI Coverage Build][🚎cov-wfi]][🚎cov-wf]
12
+ [![CI Heads Build][🚎hd-wfi]][🚎hd-wf]
13
+
14
+ -----
15
+
16
+ [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay]
17
+ [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
18
+ [![Polar Shield][🖇polar-img]][🖇polar]
19
+ [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
20
+ [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
21
+
22
+ [🚎s-wf]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/supported.yml
23
+ [🚎s-wfi]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/supported.yml/badge.svg
24
+ [🚎us-wf]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/unsupported.yml
25
+ [🚎us-wfi]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/unsupported.yml/badge.svg
26
+ [🚎st-wf]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/style.yml
27
+ [🚎st-wfi]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/style.yml/badge.svg
28
+ [🚎cov-wf]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/coverage.yml
29
+ [🚎cov-wfi]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/coverage.yml/badge.svg
30
+ [🚎hd-wf]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/heads.yml
31
+ [🚎hd-wfi]: https://github.com/oauth-xx/open_id_authentication/actions/workflows/heads.yml/badge.svg
32
+
33
+ [⛳liberapay-img]: https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay
34
+ [⛳liberapay]: https://liberapay.com/pboling/donate
35
+ [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
36
+ [🖇sponsor]: https://github.com/sponsors/pboling
37
+ [🖇polar-img]: https://polar.sh/embed/seeks-funding-shield.svg?org=pboling
38
+ [🖇polar]: https://polar.sh/pboling
39
+ [🖇kofi-img]: https://img.shields.io/badge/buy%20me%20coffee-donate-yellow.svg
40
+ [🖇kofi]: https://ko-fi.com/O5O86SNP4
41
+ [🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
42
+ [🖇patreon]: https://patreon.com/galtzo
43
+
44
+ Provides a thin wrapper around [`ruby-openid2`](https://github.com/oauth-xx/ruby-openid2), a modernized fork of the
45
+ ancient-and-archived `ruby-openid` gem from JanRan.
5
46
 
6
47
  To understand what OpenID is about and how it works, it helps to read the documentation for lib/openid/consumer.rb
7
48
  from that gem.
8
49
 
9
50
  The specification used is http://openid.net/specs/openid-authentication-2_0.html.
10
51
 
52
+ In the early days of Rails, this was an official Rails' plugin, written by DHH. See [Credits](#credits) for more information.
53
+
54
+ ## Installation
55
+
56
+ Install the gem and add to the application's Gemfile by executing:
57
+
58
+ $ bundle add open_id_authentication
11
59
 
12
- Prerequisites
13
- -------------
60
+ If bundler is not being used to manage dependencies, install the gem by executing:
61
+
62
+ $ gem install open_id_authentication
63
+
64
+ ## Setup
14
65
 
15
66
  OpenID authentication uses the session, so be sure that you haven't turned that off.
16
67
 
@@ -27,9 +78,7 @@ The plugin also expects to find a root_url method that points to the home page o
27
78
 
28
79
  This plugin relies on Rails Edge revision 6317 or newer.
29
80
 
30
-
31
- Example
32
- -------
81
+ ## Example
33
82
 
34
83
  This example is just to meant to demonstrate how you could use OpenID authentication. You might well want to add
35
84
  salted hash logins instead of plain text passwords and other requirements on top of this. Treat it as a starting point,
@@ -139,8 +188,6 @@ app/controllers/sessions_controller.rb
139
188
  end
140
189
  end
141
190
 
142
-
143
-
144
191
  If you're fine with the result messages above and don't need individual logic on a per-failure basis,
145
192
  you can collapse the case into a mere boolean:
146
193
 
@@ -154,9 +201,7 @@ you can collapse the case into a mere boolean:
154
201
  end
155
202
  end
156
203
 
157
-
158
- Simple Registration OpenID Extension
159
- ------------------------------------
204
+ ## Simple Registration OpenID Extension
160
205
 
161
206
  Some OpenID Providers support this lightweight profile exchange protocol. See more: http://www.openidenabled.com/openid/simple-registration-extension
162
207
 
@@ -209,8 +254,7 @@ You can support it in your app by changing #open_id_authentication
209
254
  { :login => 'nickname', :email => 'email', :display_name => 'fullname' }
210
255
  end
211
256
 
212
- Attribute Exchange OpenID Extension
213
- -----------------------------------
257
+ ## Attribute Exchange OpenID Extension
214
258
 
215
259
  Some OpenID providers also support the OpenID AX (attribute exchange) protocol for exchanging identity information between endpoints. See more: http://openid.net/specs/openid-attribute-exchange-1_0.html
216
260
 
@@ -222,17 +266,82 @@ Accessing AX data is very similar to the Simple Registration process, described
222
266
 
223
267
  This would provide the sreg data for :email via registration, and the AX data for http://schema.openid.net/birthDate via ax.
224
268
 
225
- TODO
226
- ----
227
- - tests
269
+ ## General Info
270
+
271
+ | Primary Namespace | `OpenIdAuthentication` |
272
+ |-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
273
+ | code triage | [![Open Source Helpers](https://www.codetriage.com/oauth-xx/open_id_authentication/badges/users.svg)](https://www.codetriage.com/oauth-xx/open_id_authentication) |
274
+ | documentation | [on Github.com][homepage], [on rubydoc.info][documentation] |
275
+ | expert support | [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) |
276
+ | `...` 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Follow Me on LinkedIn][🖇linkedin-img]][🖇linkedin] [![Find Me on WellFound:][✌️wellfound-img]][✌️wellfound] [![Find Me on CrunchBase][💲crunchbase-img]][💲crunchbase] [![My LinkTree][🌳linktree-img]][🌳linktree] [![Follow Me on Ruby.Social][🐘ruby-mast-img]][🐘ruby-mast] [![Tweet @ Peter][🐦tweet-img]][🐦tweet] [💻][coderme] [🌏][aboutme] |
277
+
278
+ <!-- 7️⃣ spread 💖 -->
279
+ [🐦tweet-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow%20%40galtzo
280
+ [🐦tweet]: http://twitter.com/galtzo
281
+ [🚎blog]: http://www.railsbling.com/tags/open_id_authentication/
282
+ [🚎blog-img]: https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat
283
+ [🖇linkedin]: http://www.linkedin.com/in/peterboling
284
+ [🖇linkedin-img]: https://img.shields.io/badge/PeterBoling-blue?style=plastic&logo=linkedin
285
+ [✌️wellfound]: https://angel.co/u/peter-boling
286
+ [✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=plastic&logo=wellfound
287
+ [💲crunchbase]: https://www.crunchbase.com/person/peter-boling
288
+ [💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=plastic&logo=crunchbase
289
+ [🐘ruby-mast]: https://ruby.social/@galtzo
290
+ [🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https%3A%2F%2Fruby.social&style=plastic&logo=mastodon&label=Ruby%20%40galtzo
291
+ [🌳linktree]: https://linktr.ee/galtzo
292
+ [🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=plastic&logo=linktree
293
+ [documentation]: https://rubydoc.info/github/oauth-xx/open_id_authentication
294
+ [homepage]: https://github.com/oauth-xx/open_id_authentication
295
+
296
+ <!-- Maintainer Contact Links -->
297
+ [aboutme]: https://about.me/peter.boling
298
+ [coderme]: https://coderwall.com/Peter%20Boling
299
+
300
+ ## Credits
301
+
302
+ ### 🌈 Contributors
303
+
304
+ Current maintainer(s):
305
+
306
+ - [Peter Boling](https://github.com/pboling)
307
+
308
+ Special thanks to:
309
+ - David Heinemeier Hansson - author of Rails' [original `open_id_authentication`](https://github.com/rails/open_id_authentication)
310
+ - [Joshua Peek](https://github.com/josh) maintainer of Rails' [original `open_id_authentication2`](https://github.com/rails/open_id_authentication)
311
+
312
+ And all the other contributors!
313
+
314
+ [![Contributors][🖐contributors-img]][🖐contributors]
315
+
316
+ Made with [contributors-img][🖐contrib-rocks].
317
+
318
+ [🖐contrib-rocks]: https://contrib.rocks
319
+ [🖐contributors]: https://github.com/oauth-xx/open_id_authentication/graphs/contributors
320
+ [🖐contributors-img]: https://contrib.rocks/image?repo=oauth-xx/open_id_authentication
321
+
322
+ ## 📄 License
323
+
324
+ The gem is available as open source under the terms of
325
+ the [MIT License][📄license] [![License: MIT][📄license-img]][📄license-ref].
326
+
327
+ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright-notice-explainer].
328
+
329
+ [comment]: <> ( 📄 LEGAL LINKS )
228
330
 
331
+ [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
332
+ [📄license]: LICENSE.txt
333
+ [📄license-ref]: https://opensource.org/licenses/MIT
334
+ [📄license-img]: https://img.shields.io/badge/License-MIT-green.svg
229
335
 
230
- Credits
231
- -------
336
+ ## 🤑 One more thing
232
337
 
233
- open_id_authentication was written by David Heinemeier Hansson with a number of other [contributors](https://github.com/Velir/open_id_authentication/contributors).
338
+ You made it to the bottom of the page!
339
+ If you think maintaining this gem is more difficult than parsing a README,
340
+ or if you think I've done a bang up job with this gem,
341
+ please consider supporting my efforts via this link,
342
+ or one of the others at the head.
234
343
 
344
+ [![Buy me a latte][🖇buyme-img]][🖇buyme]
235
345
 
236
- License
237
- -------
238
- Copyright (c) 2007-2011 David Heinemeier Hansson, released under the MIT license
346
+ [🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
347
+ [🖇buyme]: https://www.buymeacoffee.com/pboling
data/SECURITY.md ADDED
@@ -0,0 +1,14 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ | Version | Supported |
6
+ |---------|-----------|
7
+ | 2.x | ✅ |
8
+ | 1.x | ❌ |
9
+
10
+ ## Reporting a Vulnerability
11
+
12
+ Peter Boling is the primary maintainer of this gem. Please find a way
13
+ to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
14
+ possible.
@@ -1,4 +1,4 @@
1
- require "open_id_authentication/result"
1
+ require_relative "result"
2
2
 
3
3
  module OpenIdAuthentication
4
4
  module ControllerMethods
@@ -8,12 +8,12 @@ module OpenIdAuthentication
8
8
  # the Rails convention "open_id_identifier" because that's what
9
9
  # the specification dictates in order to get browser auto-complete
10
10
  # working across sites
11
- def using_open_id?(identifier = nil) #:doc:
11
+ def using_open_id?(identifier = nil) # :doc:
12
12
  identifier ||= open_id_identifier
13
13
  !identifier.blank? || request.env[Rack::OpenID::RESPONSE]
14
14
  end
15
15
 
16
- def authenticate_with_open_id(identifier = nil, options = {}, &block) #:doc:
16
+ def authenticate_with_open_id(identifier = nil, options = {}, &block) # :doc:
17
17
  identifier ||= open_id_identifier
18
18
 
19
19
  if request.env[Rack::OpenID::RESPONSE]
@@ -33,11 +33,11 @@ module OpenIdAuthentication
33
33
  options[:identifier] = identifier
34
34
  value = Rack::OpenID.build_header(options)
35
35
  response.headers[Rack::OpenID::AUTHENTICATE_HEADER] = value
36
- head :unauthorized
36
+ head(:unauthorized)
37
37
  end
38
38
 
39
39
  def complete_open_id_authentication
40
- response = request.env[Rack::OpenID::RESPONSE]
40
+ response = request.env[Rack::OpenID::RESPONSE]
41
41
  identifier = response.display_identifier
42
42
 
43
43
  case response.status
@@ -1,38 +1,43 @@
1
- require 'uri'
2
- require 'openid'
3
- require 'rack/openid'
1
+ # stdlib
2
+ require "uri"
3
+
4
+ # External libraries
5
+ require "openid" # gem ruby-openid2
6
+ require "rack/openid"
4
7
 
5
8
  module OpenIdAuthentication
6
- class Middleware
7
- # middleware creation
8
- def self.new(app)
9
- if store.nil?
10
- Rails.logger.warn "OpenIdAuthentication.store is nil. Using in-memory store."
11
- end
9
+ module Middleware
10
+ class << self
11
+ # middleware creation
12
+ def new(app)
13
+ if store.nil?
14
+ OpenID::Util.logger.warn("OpenIdAuthentication.store is nil. Using in-memory store.")
15
+ end
12
16
 
13
- ::Rack::OpenID.new(app, store)
14
- end
17
+ ::Rack::OpenID.new(app, store)
18
+ end
15
19
 
16
- def self.store
17
- @@store
18
- end
20
+ def store
21
+ @@store
22
+ end
19
23
 
20
- def self.store=(*store_option)
21
- store, *args = *([ store_option ].flatten)
24
+ def store=(*store_option)
25
+ storage, *args = *[store_option].flatten
22
26
 
23
- @@store = case store
24
- when :memory
25
- require 'openid/store/memory'
26
- OpenID::Store::Memory.new
27
- when :file
28
- require 'openid/store/filesystem'
29
- OpenID::Store::Filesystem.new(Rails.root.join('tmp/openids'))
30
- when :memcache
31
- require 'dalli'
32
- require 'openid/store/memcache'
33
- OpenID::Store::Memcache.new(Dalli::Client.new(args))
34
- else
35
- store
27
+ @@store = case storage
28
+ when :memory
29
+ require "openid/store/memory"
30
+ OpenID::Store::Memory.new
31
+ when :file
32
+ require "openid/store/filesystem"
33
+ OpenID::Store::Filesystem.new(Rails.root.join("tmp/openids"))
34
+ when :memcache
35
+ require "dalli"
36
+ require "openid/store/memcache"
37
+ OpenID::Store::Memcache.new(Dalli::Client.new(args))
38
+ else
39
+ storage
40
+ end
36
41
  end
37
42
  end
38
43
 
@@ -1,13 +1,13 @@
1
1
  module OpenIdAuthentication
2
2
  class Railtie < ::Rails::Railtie
3
- config.app_middleware.use OpenIdAuthentication::Middleware
3
+ config.app_middleware.use(OpenIdAuthentication::Middleware)
4
4
 
5
5
  config.after_initialize do
6
6
  OpenID::Util.logger = Rails.logger
7
7
  end
8
8
 
9
- ActiveSupport.on_load :action_controller do
10
- ActionController::Base.send :include, ControllerMethods
9
+ ActiveSupport.on_load(:action_controller) do
10
+ ActionController::Base.send(:include, ControllerMethods)
11
11
  end
12
12
  end
13
13
  end
@@ -1,15 +1,17 @@
1
1
  module OpenIdAuthentication
2
2
  class Result
3
3
  ERROR_MESSAGES = {
4
- :missing => "Sorry, the OpenID server couldn't be found",
5
- :invalid => "Sorry, but this does not appear to be a valid OpenID",
6
- :canceled => "OpenID verification was canceled",
7
- :failed => "OpenID verification failed",
8
- :setup_needed => "OpenID verification needs setup"
9
- }
4
+ missing: "Sorry, the OpenID server couldn't be found",
5
+ invalid: "Sorry, but this does not appear to be a valid OpenID",
6
+ canceled: "OpenID verification was canceled",
7
+ failed: "OpenID verification failed",
8
+ setup_needed: "OpenID verification needs setup",
9
+ }.freeze
10
10
 
11
- def self.[](code)
12
- new(code)
11
+ class << self
12
+ def [](code)
13
+ new(code)
14
+ end
13
15
  end
14
16
 
15
17
  def initialize(code)
@@ -20,7 +22,7 @@ module OpenIdAuthentication
20
22
  @code
21
23
  end
22
24
 
23
- ERROR_MESSAGES.keys.each { |state| define_method("#{state}?") { @code == state } }
25
+ ERROR_MESSAGES.keys.each { |state| define_method(:"#{state}?") { @code == state } }
24
26
 
25
27
  def successful?
26
28
  @code == :successful
@@ -1,4 +1,5 @@
1
1
  module OpenIdAuthentication
2
- VERSION = "1.3.0"
2
+ module Version
3
+ VERSION = "2.0.2"
4
+ end
3
5
  end
4
-
@@ -1,7 +1,11 @@
1
- require "open_id_authentication/version"
2
- require "open_id_authentication/middleware"
3
- require "open_id_authentication/controller_methods"
4
- require "open_id_authentication/railtie" if defined?(::Rails::Railtie)
1
+ # External Libraries
2
+ require "version_gem"
3
+
4
+ # This library
5
+ require_relative "open_id_authentication/version"
6
+ require_relative "open_id_authentication/middleware"
7
+ require_relative "open_id_authentication/controller_methods"
8
+ require_relative "open_id_authentication/railtie" if defined?(Rails::Railtie)
5
9
 
6
10
  module OpenIdAuthentication
7
11
  # deprecated middleware creation
@@ -17,3 +21,7 @@ module OpenIdAuthentication
17
21
  Middleware.store = *args
18
22
  end
19
23
  end
24
+
25
+ OpenIdAuthentication::Version.class_eval do
26
+ extend VersionGem::Basic
27
+ end
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,48 +1,302 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_id_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
+ - Peter Boling
7
8
  - Patrick Robertson
8
9
  - Michael Grosser
9
- autorequire:
10
+ - Joshua Peek
11
+ - David Heinemeier Hansson
12
+ autorequire:
10
13
  bindir: bin
11
- cert_chain: []
12
- date: 2016-11-04 00:00:00.000000000 Z
14
+ cert_chain:
15
+ - |
16
+ -----BEGIN CERTIFICATE-----
17
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
18
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
19
+ A2NvbTAeFw0yNDA5MjAwODU4NDJaFw0yNTA5MjAwODU4NDJaMEMxFTATBgNVBAMM
20
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
21
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAjrxsKObI
22
+ rFQjBpzvVfqnT6JlF8/pkpgEEjFh7ex3zIerfuHzZvSrx+sRDGxQ8koWWG0Wjx8s
23
+ wkBZ5dIqvl0g3sWP5asa28u/09opxkQTC1Ao77iYxcBcwoCe/Dpf1m4Q/m6oH0kL
24
+ 2AZVNJQL3UkqAcLS0tsj/s/jAKnVlsaZZE5gQiIIi8HtkvSsajtx+Cq2AxDvcWvV
25
+ /CliD+pmzYkTjvjwGm8yeyFGGGgrisJMryiZdZlkTwrQSjCzudIKbLeuG8Se4JTD
26
+ TAcT+rPubr27v1jwmtIjtiot3rf4nof7LHLb122a/0VR7cC7xPLnXw0Cq1BShvoq
27
+ /GKRdSwMNinTOGkFTK1gKnjN+3iD4zyXU3XO3CXoTr+Ju8fXPN1x4tpOMgbv8dme
28
+ WbcQMOH9ZjmA5w0bSVRL1c3NhRRpUzrKTNXBEvqOyWjUnintxWKj+cRXx+z+dUgI
29
+ dL3kj68fcsiTgl75In3C485pnCMmq1eLuVoiy3jkLNOn2lHeLt9ZK63LAgMBAAGj
30
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRhfc+2UaVYd74p
31
+ yJ1JclGiUYN8+jAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
32
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
33
+ ggGBAA4fLU2+mQ++jBhVM2IeyvQdw1nm+0thkH4Ldv8ZOBm5ZxCPGIMoYliDDzg4
34
+ 4JDFxZR1wR4sdrz/K5tWtEkN23SKzopwbNb1NIQRSLQ7nOoc+4bkuz9xwKinmIvF
35
+ D+5qsl2S27WLKFreMDtGoh0CREIMBUxU4rGTh0gtzmweGR+fnOShg4Jo0kxrjU5h
36
+ uYk/uVE+bn/jOEGs43GvKXZLyshpBrZjQ+ArbvxDht5t35zbSxerbUxUPZUbXUCW
37
+ tTyh38a9UYjAAHvnh6Y4Fi9wd4/pGNsektrzB3z/zlVj4YF2TMLX9XfNJWEGRGpO
38
+ sSkLYdtEX1WQAmuZtActVW2cL3HdQaRbiv7VbfpA0eSk0ZdZHvBCl516ZZu10uX6
39
+ 82W1mg6fuezdpeBOiXwrEbZSt/oGiF4V511F6nd55p0okwHc/6nS10F/3aKJ4gwC
40
+ I5o+DRfXQHqKucx1ldFHvI2rE/kSCWqGTHN2eyu1sqCPeOoIMxrltJhaejKPkxqj
41
+ zaF9Og==
42
+ -----END CERTIFICATE-----
43
+ date: 2024-09-25 00:00:00.000000000 Z
13
44
  dependencies:
14
45
  - !ruby/object:Gem::Dependency
15
- name: rack-openid
46
+ name: rack-openid2
16
47
  requirement: !ruby/object:Gem::Requirement
17
48
  requirements:
18
49
  - - "~>"
19
50
  - !ruby/object:Gem::Version
20
- version: '1.3'
51
+ version: '2.0'
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.2
21
55
  type: :runtime
22
56
  prerelease: false
23
57
  version_requirements: !ruby/object:Gem::Requirement
24
58
  requirements:
25
59
  - - "~>"
26
60
  - !ruby/object:Gem::Version
27
- version: '1.3'
28
- description:
29
- email: michael@grosser.it
61
+ version: '2.0'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 2.0.2
65
+ - !ruby/object:Gem::Dependency
66
+ name: version_gem
67
+ requirement: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.1'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.1.4
75
+ type: :runtime
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.1'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 1.1.4
85
+ - !ruby/object:Gem::Dependency
86
+ name: kettle-soup-cover
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '1.0'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 1.0.2
95
+ type: :development
96
+ prerelease: false
97
+ version_requirements: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '1.0'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 1.0.2
105
+ - !ruby/object:Gem::Dependency
106
+ name: rake
107
+ requirement: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '13'
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '13'
119
+ - !ruby/object:Gem::Dependency
120
+ name: rspec
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '3'
126
+ type: :development
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '3'
133
+ - !ruby/object:Gem::Dependency
134
+ name: rspec-block_is_expected
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '1.0'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 1.0.5
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '1.0'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 1.0.5
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-lts
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '18.2'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 18.2.1
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '18.2'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 18.2.1
173
+ - !ruby/object:Gem::Dependency
174
+ name: rubocop-minitest
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '0.36'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '0.36'
187
+ - !ruby/object:Gem::Dependency
188
+ name: rubocop-packaging
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '0.5'
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 0.5.2
197
+ type: :development
198
+ prerelease: false
199
+ version_requirements: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - "~>"
202
+ - !ruby/object:Gem::Version
203
+ version: '0.5'
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: 0.5.2
207
+ - !ruby/object:Gem::Dependency
208
+ name: rubocop-rspec
209
+ requirement: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - "~>"
212
+ - !ruby/object:Gem::Version
213
+ version: '2.10'
214
+ type: :development
215
+ prerelease: false
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - "~>"
219
+ - !ruby/object:Gem::Version
220
+ version: '2.10'
221
+ - !ruby/object:Gem::Dependency
222
+ name: standard
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: 1.35.1
228
+ type: :development
229
+ prerelease: false
230
+ version_requirements: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: 1.35.1
235
+ - !ruby/object:Gem::Dependency
236
+ name: yard
237
+ requirement: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - "~>"
240
+ - !ruby/object:Gem::Version
241
+ version: '0.9'
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: 0.9.34
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: '0.9'
252
+ - - ">="
253
+ - !ruby/object:Gem::Version
254
+ version: 0.9.34
255
+ - !ruby/object:Gem::Dependency
256
+ name: yard-junk
257
+ requirement: !ruby/object:Gem::Requirement
258
+ requirements:
259
+ - - "~>"
260
+ - !ruby/object:Gem::Version
261
+ version: 0.0.10
262
+ type: :development
263
+ prerelease: false
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ requirements:
266
+ - - "~>"
267
+ - !ruby/object:Gem::Version
268
+ version: 0.0.10
269
+ description:
270
+ email: peter.boling@gmail.com
30
271
  executables: []
31
272
  extensions: []
32
273
  extra_rdoc_files: []
33
274
  files:
275
+ - CHANGELOG.md
276
+ - CODE_OF_CONDUCT.md
277
+ - CONTRIBUTING.md
278
+ - LICENSE.txt
34
279
  - README.md
280
+ - SECURITY.md
35
281
  - lib/open_id_authentication.rb
36
282
  - lib/open_id_authentication/controller_methods.rb
37
283
  - lib/open_id_authentication/middleware.rb
38
284
  - lib/open_id_authentication/railtie.rb
39
285
  - lib/open_id_authentication/result.rb
40
286
  - lib/open_id_authentication/version.rb
41
- homepage: https://github.com/grosser/open_id_authentication
287
+ homepage: https://github.com/oauth-xx/open_id_authentication
42
288
  licenses:
43
289
  - MIT
44
- metadata: {}
45
- post_install_message:
290
+ metadata:
291
+ homepage_uri: https://github.com/oauth-xx/open_id_authentication
292
+ source_code_uri: https://github.com/oauth-xx/open_id_authentication/tree/v2.0.2
293
+ changelog_uri: https://github.com/oauth-xx/open_id_authentication/blob/v2.0.2/CHANGELOG.md
294
+ bug_tracker_uri: https://github.com/oauth-xx/open_id_authentication/issues
295
+ documentation_uri: https://www.rubydoc.info/gems/open_id_authentication/2.0.2
296
+ wiki_uri: https://github.com/oauth-xx/open_id_authentication/wiki
297
+ funding_uri: https://liberapay.com/pboling
298
+ rubygems_mfa_required: 'true'
299
+ post_install_message:
46
300
  rdoc_options: []
47
301
  require_paths:
48
302
  - lib
@@ -50,17 +304,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
304
  requirements:
51
305
  - - ">="
52
306
  - !ruby/object:Gem::Version
53
- version: 2.0.0
307
+ version: 2.7.0
54
308
  required_rubygems_version: !ruby/object:Gem::Requirement
55
309
  requirements:
56
310
  - - ">="
57
311
  - !ruby/object:Gem::Version
58
312
  version: '0'
59
313
  requirements: []
60
- rubyforge_project:
61
- rubygems_version: 2.5.1
62
- signing_key:
314
+ rubygems_version: 3.5.20
315
+ signing_key:
63
316
  specification_version: 4
64
- summary: open_id_authentication provides a thin wrapper around the excellent rack-openid
65
- gem.
317
+ summary: Provides a thin wrapper around the excellent rack-openid2 gem.
66
318
  test_files: []
metadata.gz.sig ADDED
Binary file