Adopt Ruby Community Conduct Guideline for Code of Conduct #9029
+20
−264
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was the end-user or developer problem that led to this PR?
rubygems
andbundler
are now maintained by Ruby core.The current Code of Conduct (Contributor Covenant) for these have been rejected by Ruby, who created the Ruby Community Conduct Guideline to be used instead.
See: https://bugs.ruby-lang.org/issues/12004
Result: https://www.ruby-lang.org/en/conduct/
The Contributor Covenant puts contributors' personal lives under scrutiny and allows users to be punished for actions they take outside of the project. This is governance over-reach. It is also very long and changes with version. :/
It was a decision made by previous maintainers, which we should now re-evaluate.
Problem 1: bundler and rubygems needs Ruby Community Conduct Guideline
These should be unified for same developer experience and community governance which has served Ruby well.
Problem 2. The default Code of Conduct for a new gem is out of sync with Ruby
Currently, the default supplied Code of Conduct (CODE_OF_CONDUCT.md) when creating a gem with bundler puts the Contributor Covenant as a markdown file in your project.
If we fix Problem 1, then Ruby, rubygems, bundler (and even Rails) all use the Ruby Community Conduct Guideline.
Then it would make no sense to distribute the Contributor Covenant when creating a Ruby gem.
We must therefore adopt the Ruby Community Conduct Guideline as default CODE_OF_CONDUCT.md file for a new gem.
What is your fix for the problem, implemented in this PR?
Please help check wording in the files
I am not a good writer, but I tried my best. Please ask Ruby Core to review this version to see if it's ok for project and distribution:
CODE_OF_CONDUCT.md
and copybundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt
Thank you!
Make sure the following tasks are checked