Skip to content

Commit 9651aba

Browse files
committed
fix: update openjsf tests to CoC v2.1
1 parent 5662d8f commit 9651aba

File tree

5 files changed

+17
-52
lines changed

5 files changed

+17
-52
lines changed

test/openjsf/expected.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code of Conduct
22

3-
The OpenJS Foundation and its member projects use a modified version of the Contributor Covenant as their code of conduct, and the translations from the original script will not reflect all modifications. The full text is included below in English, and [the original translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
3+
The OpenJS Foundation and its member projects use [Contributor Covenant v2.1](https://contributor-covenant.org/version/2/1/code_of_conduct) as their code of conduct. The full text is included below in English, and [translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
44

55
## Commitment
66

@@ -43,15 +43,15 @@ For more information, refer to the full
4343

4444
---
4545

46-
_Contributor Covenant Code of Conduct v2.0, from [commit 8001bf8](https://github.com/EthicalSource/contributor_covenant/blob/8001bf8c6e7cd2606657e2816710770d8a79b7dc/content/version/2/0/code_of_conduct.md)_
46+
_Contributor Covenant Code of Conduct v2.1, from [commit 8a3be13](https://github.com/EthicalSource/contributor_covenant/blob/8a3be1350b07f38b53bbc7073f765a48c4c53ce1/content/version/2/1/code_of_conduct.md)_
4747

4848
## Our Pledge
4949

5050
We as members, contributors, and leaders pledge to make participation in our
5151
community a harassment-free experience for everyone, regardless of age, body
5252
size, visible or invisible disability, ethnicity, sex characteristics, gender
5353
identity and expression, level of experience, education, socio-economic status,
54-
nationality, personal appearance, race, religion, or sexual
54+
nationality, personal appearance, race, caste, color, religion, or sexual
5555
identity and orientation.
5656

5757
We pledge to act and interact in ways that contribute to an open, welcoming,
@@ -157,13 +157,13 @@ standards, including sustained inappropriate behavior, harassment of an
157157
individual, or aggression toward or disparagement of classes of individuals.
158158

159159
**Consequence**: A permanent ban from any sort of public interaction within the
160-
project community.
160+
community.
161161

162162
## Attribution
163163

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

168168
Community Impact Guidelines were inspired by
169169
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
@@ -173,7 +173,7 @@ For answers to common questions about this code of conduct, see the FAQ at
173173
[https://www.contributor-covenant.org/translations][translations].
174174

175175
[homepage]: https://www.contributor-covenant.org
176-
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
176+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
177177
[Mozilla CoC]: https://github.com/mozilla/diversity
178178
[FAQ]: https://www.contributor-covenant.org/faq
179179
[translations]: https://www.contributor-covenant.org/translations

test/openjsf/original-expected.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code of Conduct
22

3-
The OpenJS Foundation and its member projects use a modified version of the Contributor Covenant as their code of conduct, and the translations from the original script will not reflect all modifications. The full text is included below in English, and [the original translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
3+
The OpenJS Foundation and its member projects use [Contributor Covenant v2.1](https://contributor-covenant.org/version/2/1/code_of_conduct) as their code of conduct. The full text is included below in English, and [translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
44

55
## Commitment
66

@@ -43,15 +43,15 @@ For more information, refer to the full
4343

4444
---
4545

46-
_Contributor Covenant Code of Conduct v2.0, from [commit 8001bf8](https://github.com/EthicalSource/contributor_covenant/blob/8001bf8c6e7cd2606657e2816710770d8a79b7dc/content/version/2/0/code_of_conduct.md)_
46+
_Contributor Covenant Code of Conduct v2.1, from [commit 8a3be13](https://github.com/EthicalSource/contributor_covenant/blob/8a3be1350b07f38b53bbc7073f765a48c4c53ce1/content/version/2/1/code_of_conduct.md)_
4747

4848
## Our Pledge
4949

5050
We as members, contributors, and leaders pledge to make participation in our
5151
community a harassment-free experience for everyone, regardless of age, body
5252
size, visible or invisible disability, ethnicity, sex characteristics, gender
5353
identity and expression, level of experience, education, socio-economic status,
54-
nationality, personal appearance, race, religion, or sexual
54+
nationality, personal appearance, race, caste, color, religion, or sexual
5555
identity and orientation.
5656

5757
We pledge to act and interact in ways that contribute to an open, welcoming,
@@ -157,13 +157,13 @@ standards, including sustained inappropriate behavior, harassment of an
157157
individual, or aggression toward or disparagement of classes of individuals.
158158

159159
**Consequence**: A permanent ban from any sort of public interaction within the
160-
project community.
160+
community.
161161

162162
## Attribution
163163

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

168168
Community Impact Guidelines were inspired by
169169
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
@@ -173,7 +173,7 @@ For answers to common questions about this code of conduct, see the FAQ at
173173
[https://www.contributor-covenant.org/translations][translations].
174174

175175
[homepage]: https://www.contributor-covenant.org
176-
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
176+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
177177
[Mozilla CoC]: https://github.com/mozilla/diversity
178178
[FAQ]: https://www.contributor-covenant.org/faq
179179
[translations]: https://www.contributor-covenant.org/translations

test/openjsf/patch

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,10 @@
55
---
66

77
-# Contributor Covenant Code of Conduct
8-
+_Contributor Covenant Code of Conduct v2.0, from [commit 8001bf8](https://github.com/EthicalSource/contributor_covenant/blob/8001bf8c6e7cd2606657e2816710770d8a79b7dc/content/version/2/0/code_of_conduct.md)_
8+
+_Contributor Covenant Code of Conduct v2.1, from [commit 8a3be13](https://github.com/EthicalSource/contributor_covenant/blob/8a3be1350b07f38b53bbc7073f765a48c4c53ce1/content/version/2/1/code_of_conduct.md)_
99

1010
## Our Pledge
1111

12-
@@ -51,7 +51,7 @@
13-
community a harassment-free experience for everyone, regardless of age, body
14-
size, visible or invisible disability, ethnicity, sex characteristics, gender
15-
identity and expression, level of experience, education, socio-economic status,
16-
-nationality, personal appearance, race, caste, color, religion, or sexual
17-
+nationality, personal appearance, race, religion, or sexual
18-
identity and orientation.
19-
20-
We pledge to act and interact in ways that contribute to an open, welcoming,
2112
@@ -105,7 +105,9 @@
2213

2314
Instances of abusive, harassing, or otherwise unacceptable behavior may be
@@ -29,29 +20,3 @@
2920
All complaints will be reviewed and investigated promptly and fairly.
3021

3122
All community leaders are obligated to respect the privacy and security of the
32-
@@ -155,13 +157,13 @@
33-
individual, or aggression toward or disparagement of classes of individuals.
34-
35-
**Consequence**: A permanent ban from any sort of public interaction within the
36-
-community.
37-
+project community.
38-
39-
## Attribution
40-
41-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
42-
-version 2.1, available at
43-
-[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
44-
+version 2.0, available at
45-
+[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
46-
47-
Community Impact Guidelines were inspired by
48-
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
49-
@@ -171,7 +173,7 @@
50-
[https://www.contributor-covenant.org/translations][translations].
51-
52-
[homepage]: https://www.contributor-covenant.org
53-
-[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
54-
+[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
55-
[Mozilla CoC]: https://github.com/mozilla/diversity
56-
[FAQ]: https://www.contributor-covenant.org/faq
57-
[translations]: https://www.contributor-covenant.org/translations

test/openjsf/preamble+template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code of Conduct
22

3-
The OpenJS Foundation and its member projects use a modified version of the Contributor Covenant as their code of conduct, and the translations from the original script will not reflect all modifications. The full text is included below in English, and [the original translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
3+
The OpenJS Foundation and its member projects use [Contributor Covenant v2.1](https://contributor-covenant.org/version/2/1/code_of_conduct) as their code of conduct. The full text is included below in English, and [translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
44

55
## Commitment
66

test/openjsf/preamble.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code of Conduct
22

3-
The OpenJS Foundation and its member projects use a modified version of the Contributor Covenant as their code of conduct, and the translations from the original script will not reflect all modifications. The full text is included below in English, and [the original translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
3+
The OpenJS Foundation and its member projects use [Contributor Covenant v2.1](https://contributor-covenant.org/version/2/1/code_of_conduct) as their code of conduct. The full text is included below in English, and [translations](https://www.contributor-covenant.org/translations) are available on the Contributor Covenant website.
44

55
## Commitment
66

0 commit comments

Comments
 (0)