rack-openid2 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e20d1ffad12ca51d18f244bad5932c7eb45e1e3dc2f26d07f6ac3446d6d1fad
4
- data.tar.gz: 26ec20ac08847c203293a9d545ac8c7673ff219a8432e4537bac25e763cbea21
3
+ metadata.gz: 02d676ac90d3409abe2dc71e6f7e4d3349a2efcfb74e37e4678751f2b14d101b
4
+ data.tar.gz: ef608189c2bd772ecf20d4d05d6f42f17c9e4896d00615e461c208e4d6dd5278
5
5
  SHA512:
6
- metadata.gz: 53cba4e65ce7d4ffc3a6bf7da94088417df3789464cbe65a28e22432bba7d0fedac7d2156aaee4764672ec5ec0086c2df45ab2fc6e07c187f40407f31a5bf066
7
- data.tar.gz: a37b8bf96acda455f479dc0f5d9fbd8aadff4fdee2982b63c9c136c09110a10e8df2afac8179adf1b2c4964f12d8e00983eabaa8c8cef67d35d2172edb89450a
6
+ metadata.gz: 19d52facb3c448d8ab278fa3017ebb11ac5e36701f379396e194404a49cc4029b7ef871dc21f73f2bba5facff7e968be8ca6936d581102a3f50d6401fab7f448
7
+ data.tar.gz: 6d46b48c9a32e2b5fc658ee5c9def85200e95a2b080887f5b137b97cac9714f60415c572c948ac3c92aa20df36a34cc40039a221492ca30498864c27f2a68907
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
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.1 - 2024-09-05
14
+ ### Added
15
+ - CHANGELOG.md
16
+ - CODE_OF_CONDUCT.md
17
+ - CONTRIBUTING.md
18
+ - SECURITY.md
19
+ ### Fixed
20
+ - Typo in gemspec description
21
+
22
+ ## 2.0.0 - 2024-09-04
23
+ COVERAGE: 97.72% -- 214/219 lines in 3 files
24
+ BRANCH COVERAGE: 86.00% -- 43/50 branches in 3 branches
25
+ ### Changed
26
+ - Upgraded to rack v2+
27
+ - Switched ruby-openid => ruby-openid2
28
+ ### Fixed
29
+ - Compatibility with Ruby 2.7+
30
+ ### Removed
31
+ - Support for Ruby < 2.7
@@ -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/VitalConnectInc/rack-openid2][🚎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`][🔒️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/VitalConnectInc/rack-openid2/actions
48
+ [🤝conduct]: https://github.com/VitalConnectInc/rack-openid2/blob/main/CODE_OF_CONDUCT.md
49
+ [🖐contrib-rocks]: https://contrib.rocks
50
+ [🖐contributors]: https://github.com/VitalConnectInc/rack-openid2/graphs/contributors
51
+ [🖐contributors-img]: https://contrib.rocks/image?repo=VitalConnectInc/rack-openid2
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/VitalConnectInc/rack-openid2
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,7 +1,7 @@
1
1
  module Rack
2
2
  class OpenID
3
3
  module Version
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
6
6
  end
7
7
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-openid2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -272,8 +272,12 @@ executables: []
272
272
  extensions: []
273
273
  extra_rdoc_files: []
274
274
  files:
275
+ - CHANGELOG.md
276
+ - CODE_OF_CONDUCT.md
277
+ - CONTRIBUTING.md
275
278
  - LICENSE.txt
276
279
  - README.md
280
+ - SECURITY.md
277
281
  - lib/rack/openid.rb
278
282
  - lib/rack/openid/simple_auth.rb
279
283
  - lib/rack/openid/version.rb
@@ -282,10 +286,10 @@ licenses:
282
286
  - MIT
283
287
  metadata:
284
288
  homepage_uri: https://github.com/VitalConnectInc/rack-openid2
285
- source_code_uri: https://github.com/VitalConnectInc/rack-openid2/tree/v2.0.0
286
- changelog_uri: https://github.com/VitalConnectInc/rack-openid2/blob/v2.0.0/CHANGELOG.md
289
+ source_code_uri: https://github.com/VitalConnectInc/rack-openid2/tree/v2.0.1
290
+ changelog_uri: https://github.com/VitalConnectInc/rack-openid2/blob/v2.0.1/CHANGELOG.md
287
291
  bug_tracker_uri: https://github.com/VitalConnectInc/rack-openid2/issues
288
- documentation_uri: https://www.rubydoc.info/gems/rack-openid2/2.0.0
292
+ documentation_uri: https://www.rubydoc.info/gems/rack-openid2/2.0.1
289
293
  wiki_uri: https://github.com/VitalConnectInc/rack-openid2/wiki
290
294
  rubygems_mfa_required: 'true'
291
295
  post_install_message:
@@ -306,5 +310,5 @@ requirements: []
306
310
  rubygems_version: 3.4.22
307
311
  signing_key:
308
312
  specification_version: 4
309
- summary: Provides a more HTTPish API around the ruby-openid library
313
+ summary: Provides a more HTTPish API around the ruby-openid2 library
310
314
  test_files: []
metadata.gz.sig CHANGED
Binary file