Skip to content

Commit c3cb6d6

Browse files
committed
📝 Upgrade CoC to v2.1
1 parent d20f3ba commit c3cb6d6

31 files changed

+117
-111
lines changed

.yardopts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
'lib/**/*.rb'
99
-
1010
'*.md'
11-
'*.txt'
11+
'*.txt'
12+
'*.cff'

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
77
## [Unreleased]
88
### Added
99
### Changed
10+
- Upgrade Code of Conduct to Contributor Covenant 2.1 by @pboling
1011
### Deprecated
1112
### Removed
1213
### Fixed

CODE_OF_CONDUCT.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ We as members, contributors, and leaders pledge to make participation in our
77
community a harassment-free experience for everyone, regardless of age, body
88
size, visible or invisible disability, ethnicity, sex characteristics, gender
99
identity and expression, level of experience, education, socio-economic status,
10-
nationality, personal appearance, race, religion, or sexual identity
11-
and orientation.
10+
nationality, personal appearance, race, caste, color, religion, or sexual
11+
identity and orientation.
1212

1313
We pledge to act and interact in ways that contribute to an open, welcoming,
1414
diverse, inclusive, and healthy community.
@@ -23,17 +23,17 @@ community include:
2323
* Giving and gracefully accepting constructive feedback
2424
* Accepting responsibility and apologizing to those affected by our mistakes,
2525
and learning from the experience
26-
* Focusing on what is best not just for us as individuals, but for the
27-
overall community
26+
* Focusing on what is best not just for us as individuals, but for the overall
27+
community
2828

2929
Examples of unacceptable behavior include:
3030

31-
* The use of sexualized language or imagery, and sexual attention or
32-
advances of any kind
31+
* The use of sexualized language or imagery, and sexual attention or advances of
32+
any kind
3333
* Trolling, insulting or derogatory comments, and personal or political attacks
3434
* Public or private harassment
35-
* Publishing others' private information, such as a physical or email
36-
address, without their explicit permission
35+
* Publishing others' private information, such as a physical or email address,
36+
without their explicit permission
3737
* Other conduct which could reasonably be considered inappropriate in a
3838
professional setting
3939

@@ -53,15 +53,15 @@ decisions when appropriate.
5353

5454
This Code of Conduct applies within all community spaces, and also applies when
5555
an individual is officially representing the community in public spaces.
56-
Examples of representing our community include using an official e-mail address,
56+
Examples of representing our community include using an official email address,
5757
posting via an official social media account, or acting as an appointed
5858
representative at an online or offline event.
5959

6060
## Enforcement
6161

6262
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6363
reported to the community leaders responsible for enforcement at
64-
[INSERT CONTACT METHOD].
64+
[![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact].
6565
All complaints will be reviewed and investigated promptly and fairly.
6666

6767
All community leaders are obligated to respect the privacy and security of the
@@ -83,15 +83,15 @@ behavior was inappropriate. A public apology may be requested.
8383

8484
### 2. Warning
8585

86-
**Community Impact**: A violation through a single incident or series
87-
of actions.
86+
**Community Impact**: A violation through a single incident or series of
87+
actions.
8888

8989
**Consequence**: A warning with consequences for continued behavior. No
9090
interaction with the people involved, including unsolicited interaction with
9191
those enforcing the Code of Conduct, for a specified period of time. This
9292
includes avoiding interactions in community spaces as well as external channels
93-
like social media. Violating these terms may lead to a temporary or
94-
permanent ban.
93+
like social media. Violating these terms may lead to a temporary or permanent
94+
ban.
9595

9696
### 3. Temporary Ban
9797

@@ -107,27 +107,29 @@ Violating these terms may lead to a permanent ban.
107107
### 4. Permanent Ban
108108

109109
**Community Impact**: Demonstrating a pattern of violation of community
110-
standards, including sustained inappropriate behavior, harassment of an
110+
standards, including sustained inappropriate behavior, harassment of an
111111
individual, or aggression toward or disparagement of classes of individuals.
112112

113-
**Consequence**: A permanent ban from any sort of public interaction within
114-
the community.
113+
**Consequence**: A permanent ban from any sort of public interaction within the
114+
community.
115115

116116
## Attribution
117117

118118
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119-
version 2.0, available at
120-
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
119+
version 2.1, available at
120+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
121121

122122
Community Impact Guidelines were inspired by
123123
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124124

125125
For answers to common questions about this code of conduct, see the FAQ at
126-
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
127-
at [https://www.contributor-covenant.org/translations][translations].
126+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
127+
[https://www.contributor-covenant.org/translations][translations].
128128

129129
[homepage]: https://www.contributor-covenant.org
130-
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
130+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
131131
[Mozilla CoC]: https://github.com/mozilla/diversity
132132
[FAQ]: https://www.contributor-covenant.org/faq
133133
[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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ One of these might be what you are looking for:
162162
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
163163
| Works with MRI Ruby 2 | [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎13-cbs-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
164164
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
165-
| Documentation | [![Discussion][⛳gg-discussions-img]][⛳gg-discussions] [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![HEAD on RubyDoc.info][📜docs-head-rd-img]][🚎yard-head] [![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog] [![Wiki][📜wiki-img]][📜wiki] |
165+
| Documentation | [![Discussion][⛳gg-discussions-img]][⛳gg-discussions] [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog] [![Wiki][📜wiki-img]][📜wiki] |
166166
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
167167
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] |
168168
| Support | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
@@ -737,8 +737,8 @@ See [CONTRIBUTING.md][🤝contributing].
737737

738738
### 🪇 Code of Conduct
739739

740-
Everyone interacting in this project's codebases, issue trackers,
741-
chat rooms and mailing lists is expected to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
740+
Everyone interacting with this project's codebases, issue trackers,
741+
chat rooms and mailing lists agrees to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
742742

743743
## 🌈 Contributors
744744

docs/OAuth2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ <h3 class="signature first" id="configure-class_method">
326326
</div>
327327

328328
<div id="footer">
329-
Generated on Sat Jun 7 07:41:46 2025 by
329+
Generated on Sat Jun 7 13:38:10 2025 by
330330
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
331331
0.9.37 (ruby-3.4.3).
332332
</div>

docs/OAuth2/AccessToken.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3069,7 +3069,7 @@ <h3 class="signature " id="to_hash-instance_method">
30693069
</div>
30703070

30713071
<div id="footer">
3072-
Generated on Sat Jun 7 07:41:46 2025 by
3072+
Generated on Sat Jun 7 13:38:10 2025 by
30733073
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
30743074
0.9.37 (ruby-3.4.3).
30753075
</div>

docs/OAuth2/Authenticator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ <h3 class="signature first" id="apply-instance_method">
631631
</div>
632632

633633
<div id="footer">
634-
Generated on Sat Jun 7 07:41:46 2025 by
634+
Generated on Sat Jun 7 13:38:10 2025 by
635635
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
636636
0.9.37 (ruby-3.4.3).
637637
</div>

docs/OAuth2/Client.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2651,7 +2651,7 @@ <h3 class="signature " id="token_url-instance_method">
26512651
</div>
26522652

26532653
<div id="footer">
2654-
Generated on Sat Jun 7 07:41:46 2025 by
2654+
Generated on Sat Jun 7 13:38:10 2025 by
26552655
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
26562656
0.9.37 (ruby-3.4.3).
26572657
</div>

docs/OAuth2/Error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ <h3 class="signature " id="response-instance_method">
518518
</div>
519519

520520
<div id="footer">
521-
Generated on Sat Jun 7 07:41:46 2025 by
521+
Generated on Sat Jun 7 13:38:10 2025 by
522522
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
523523
0.9.37 (ruby-3.4.3).
524524
</div>

docs/OAuth2/FilteredAttributes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ <h3 class="signature first" id="inspect-instance_method">
268268
</div>
269269

270270
<div id="footer">
271-
Generated on Sat Jun 7 07:41:46 2025 by
271+
Generated on Sat Jun 7 13:38:10 2025 by
272272
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
273273
0.9.37 (ruby-3.4.3).
274274
</div>

0 commit comments

Comments
 (0)