coconductor 0.8.2 → 0.8.3

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: e05bf7d17d5b42745715db08f27e650150208b03e7452318a0d6ba8a5008faf2
4
- data.tar.gz: e7009c3ef47dacd37d622400dc9ed2aba6c1793aebd920d8fa09a0733e903c48
3
+ metadata.gz: fb8c8fc5b15b69abac508b7760ecf97b7a407da9afade75ffc6dbb9379441832
4
+ data.tar.gz: e6a8229720bd964c96fc44811d99ba49ea217a5a3d200d6db08d87e96a5af95d
5
5
  SHA512:
6
- metadata.gz: 4097f1aa8b661ef6da3f7fe76f65c3150c1f17a42353a2548b70201a4378f8cd2f7763b6e71e9eed0bfc8ace2ecac8f97096118228dfb00a8ba485bac6cb4d2c
7
- data.tar.gz: ec97081a9d6a67e508a1c64b5ac5ac88cbdee226f2d6446959658ec149a0e5fb3802a47fa91264ff827dd8ddcd56a877be0412ce29c68ba95daf453893e9b728
6
+ metadata.gz: 5994ee69cf976ef579f1834ef146b985874c20f72ceb2bc11cff97971dcd5870cf4cd9a8a578c7cd911344203a36dccd7839d23f196dd6a01830a56414c77a68
7
+ data.tar.gz: a0c75ecfdabb7bc483697961baede66367d7769b594ca9b36d06d410c8ab4e3116be424fb855c398bc1cac9a6cad0846a2ace57cc0a8e9ad86cb64c212fd0f9b
data/coconductor.gemspec CHANGED
@@ -32,5 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'reverse_markdown', '~> 1.1'
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
34
34
  spec.add_development_dependency 'rubocop', '~> 0.50'
35
+ spec.add_development_dependency 'twitter-text', '< 2.0'
35
36
  spec.add_development_dependency 'webmock', '~> 3.1'
37
+ spec.add_development_dependency 'wikicloth', '~> 0.8'
36
38
  end
@@ -40,7 +40,7 @@ module Coconductor
40
40
  def initialize(raw_text, name: nil, description: nil)
41
41
  @raw_text = raw_text
42
42
  @name = name
43
- @description = description
43
+ @description = description if description && description != ''
44
44
  end
45
45
 
46
46
  # The unformatted field name as found in the code of conduct text
@@ -60,7 +60,9 @@ module Coconductor
60
60
 
61
61
  def description
62
62
  @description ||= begin
63
- return parts[:description] if parts && parts[:description] != ''
63
+ if parts && parts[:description] && parts[:description] != ''
64
+ return parts[:description]
65
+ end
64
66
 
65
67
  DESCRIPTIONS[key]
66
68
  end
@@ -3,6 +3,8 @@ require 'open-uri'
3
3
  require 'toml'
4
4
  require 'reverse_markdown'
5
5
  require 'logger'
6
+ require 'wikicloth'
7
+ require 'twitter-text'
6
8
 
7
9
  # Used in development to vendor codes of conduct
8
10
  module Coconductor
@@ -10,7 +12,7 @@ module Coconductor
10
12
  attr_reader :family, :repo
11
13
  attr_writer :ref, :raw_content
12
14
 
13
- OPTIONS = %i[filename url repo replacements html source_path].freeze
15
+ OPTIONS = %i[filename url repo replacements html source_path wiki].freeze
14
16
  INVALID_CHARS = ["\u202D", "\u202C", "\u200E", "\u200F"].freeze
15
17
  UPPERCASE_WORD_REGEX = /(?:[A-Z]{3,}+ ?)+[A-Z_]+/
16
18
  UNMARKED_FIELD_REGEX = /(?<= |^)#{UPPERCASE_WORD_REGEX}(?= |\.|,)/
@@ -103,7 +105,7 @@ module Coconductor
103
105
 
104
106
  def content_normalized
105
107
  content = raw_content.dup.gsub(Regexp.union(INVALID_CHARS), '')
106
- content = ReverseMarkdown.convert content if html?
108
+ content = to_markdown(content)
107
109
  replacements.each { |from, to| content.gsub!(from, to) }
108
110
  content = normalize_implicit_fields(content)
109
111
  content.gsub!(/ ?{% .* %} ?/, '')
@@ -117,8 +119,19 @@ module Coconductor
117
119
  content.gsub(UNMARKED_FIELD_REGEX) { |m| "[#{m}]" }
118
120
  end
119
121
 
122
+ def to_markdown(content)
123
+ options = { data: content, noedit: true, fast: false }
124
+ content = WikiCloth::Parser.new(options).to_html if wiki?
125
+ content = ReverseMarkdown.convert content if html? || wiki?
126
+ content
127
+ end
128
+
120
129
  def html?
121
130
  @html == true
122
131
  end
132
+
133
+ def wiki?
134
+ @wiki == true
135
+ end
123
136
  end
124
137
  end
@@ -1,3 +1,3 @@
1
1
  module Coconductor
2
- VERSION = '0.8.2'.freeze
2
+ VERSION = '0.8.3'.freeze
3
3
  end
@@ -31,6 +31,8 @@ end
31
31
  Coconductor::Vendorer.new('no-code-of-conduct', repo: 'domgetter/NCoC').vendor
32
32
 
33
33
  # Django
34
+ reporting_link = "[Reporting Guidelines]({% url 'conduct_reporting' %})"
35
+ faq_link = "[the FAQ]({% url 'conduct_faq' %})"
34
36
  Coconductor::Vendorer.new('django',
35
37
  repo: 'django/djangoproject.com',
36
38
  source_path: 'djangoproject/templates/conduct/index.html',
@@ -39,16 +41,38 @@ Coconductor::Vendorer.new('django',
39
41
  'Django Software Foundation' => '[GOVERNING_BODY]',
40
42
  'Django' => '[COMMUNITY_NAME]',
41
43
  'conduct@djangoproject.com' => '[EMAIL_ADDRESS]',
42
- "{% url 'conduct_reporting' %}" => '[LINK_TO_REPORTING_GUIDELINES]',
43
- "{% url 'conduct_faq' %}" => '[LINK_TO_FAQ]'
44
+ reporting_link => '[LINK_TO_REPORTING_GUIDELINES]',
45
+ faq_link => '[LINK_TO_FAQ]',
46
+ /([a-z])\[/i => '\1 ['
44
47
  }).vendor
45
48
 
46
49
  # Geek Feminism
47
- url = 'http://geekfeminism.wikia.com/wiki/Community_anti-harassment/Policy?action=edit'
48
- vendorer = Coconductor::Vendorer.new('geek-feminism', url: url)
49
- content = vendorer.content.split('==Anti-harassment policy text==')[1]
50
- content = content.split('</textarea').first
51
- versions = content.split('===Longer version===')
52
- versions = versions.map { |v| v.gsub('===Shorter version===', '').strip }
50
+ url = 'http://geekfeminism.wikia.com/wiki/Community_anti-harassment/Policy?action=raw'
51
+ replacements = {
52
+ '[give]' => '[LIST_OF_SPACES - e.g. "our mailing lists and IRC channel"]',
53
+ '[list,]' => '[LIST_OF_SPACES - e.g. "our mailing lists and IRC channel"]'
54
+ }
55
+ vendorer = Coconductor::Vendorer.new('geek-feminism', url: url, wiki: true, replacements: replacements)
56
+ content = vendorer.content.split('## Anti-harassment policy text')[1]
57
+ versions = content.split('### Longer version')
58
+ versions = versions.map { |v| v.gsub('### Shorter version', '').strip }
53
59
  vendorer.write_with_meta(versions.first, version: 'shorter')
54
60
  vendorer.write_with_meta(versions.last, version: 'longer')
61
+
62
+ # Go
63
+ replacements = {
64
+ '(“Gophers”)' => '',
65
+ 'Gopher' => 'Go',
66
+ ' Go ' => ' [COMMUNITY_NAME] ',
67
+ 'conduct@golang.org' => '[EMAIL_ADDRESS]',
68
+ 'Cassandra Salisbury, ' => '',
69
+ 'the Open Source Programs Office' => '[GOVERNING_BODY]',
70
+ 'the Google Open Source Programs Office' => '[GOVERNING_BODY]',
71
+ ' and the Google Open Source Strategy team' => '',
72
+ 'opensource@google.com' => '[GOVERNING_BODY_EMAIL_ADDRESS]'
73
+ }
74
+ Coconductor::Vendorer.new('go',
75
+ repo: 'golang/go',
76
+ source_path: 'doc/conduct.html',
77
+ html: true,
78
+ replacements: replacements).vendor
@@ -12,7 +12,7 @@ This isn’t an exhaustive list of things that you can’t do. Rather, take it i
12
12
 
13
13
  This code of conduct applies to all spaces managed by the [COMMUNITY_NAME] project or [GOVERNING_BODY]. This includes IRC, the mailing lists, the issue tracker, DSF events, and any other forums created by the project team which the community uses for communication. In addition, violations of this code outside these spaces may affect a person's ability to participate within them.
14
14
 
15
- If you believe someone is violating the code of conduct, we ask that you report it by emailing[[EMAIL_ADDRESS]](mailto:[EMAIL_ADDRESS]). For more details please see our[Reporting Guidelines]([LINK_TO_REPORTING_GUIDELINES])
15
+ If you believe someone is violating the code of conduct, we ask that you report it by emailing [[EMAIL_ADDRESS]](mailto:[EMAIL_ADDRESS]). For more details please see our [LINK_TO_REPORTING_GUIDELINES]
16
16
 
17
17
  - **Be friendly and patient.**
18
18
  - **Be welcoming.** We strive to be a community that welcomes and supports people of all backgrounds and identities. This includes, but is not limited to members of any race, ethnicity, culture, national origin, colour, immigration status, social and economic class, educational level, sex, sexual orientation, gender identity and expression, age, size, family status, political belief, religion, and mental and physical ability.
@@ -29,8 +29,8 @@ If you believe someone is violating the code of conduct, we ask that you report
29
29
  - Repeated harassment of others. In general, if someone asks you to stop, then stop.
30
30
  - **When we disagree, try to understand why.** Disagreements, both social and technical, happen all the time and [COMMUNITY_NAME] is no exception. It is important that we resolve disagreements and differing views constructively. Remember that we’re different. The strength of [COMMUNITY_NAME] comes from its varied community, people from a wide range of backgrounds. Different people have different perspectives on issues. Being unable to understand why someone holds a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is human to err and blaming each other doesn’t get us anywhere. Instead, focus on helping to resolve issues and learning from mistakes.
31
31
 
32
- Original text courtesy of the[Speak Up! project](http://web.archive.org/web/20141109123859/http://speakup.io/coc.html).
32
+ Original text courtesy of the [Speak Up! project](http://web.archive.org/web/20141109123859/http://speakup.io/coc.html).
33
33
 
34
34
  ## Questions?
35
35
 
36
- If you have questions, please see [the FAQ]([LINK_TO_FAQ]). If that doesn't answer your questions, feel free to[contact us](mailto:[EMAIL_ADDRESS]).
36
+ If you have questions, please see [LINK_TO_FAQ]. If that doesn't answer your questions, feel free to [contact us](mailto:[EMAIL_ADDRESS]).
@@ -4,49 +4,54 @@ version = "longer"
4
4
 
5
5
  [COMMUNITY_NAME] is dedicated to providing a harassment-free experience for everyone. We do not tolerate harassment of participants in any form.
6
6
 
7
- This code of conduct applies to all [COMMUNITY_NAME] spaces, including [give a list of your spaces, eg "our mailing lists and IRC channel"], both online and off. Anyone who violates this code of conduct may be sanctioned or expelled from these spaces at the discretion of the [RESPONSE_TEAM].
7
+ This code of conduct applies to all [COMMUNITY_NAME] spaces, including [LIST_OF_SPACES - e.g. "our mailing lists and IRC channel"], both online and off. Anyone who violates this code of conduct may be sanctioned or expelled from these spaces at the discretion of the [RESPONSE_TEAM].
8
8
 
9
9
  Some [COMMUNITY_NAME] spaces may have additional rules in place, which will be made clearly available to participants. Participants are responsible for knowing and abiding by these rules.
10
10
 
11
11
  Harassment includes:
12
- *Offensive comments related to gender, gender identity and expression, sexual orientation, disability, mental illness, neuro(a)typicality, physical appearance, body size, age, race, or religion.
13
- *Unwelcome comments regarding a person’s lifestyle choices and practices, including those related to food, health, parenting, drugs, and employment.
14
- *Deliberate misgendering or use of ‘deador rejected names.
15
- *Gratuitous or off-topic sexual images or behaviour  in spaces where theyre not appropriate.
16
- *Physical contact and simulated physical contact (eg, textual descriptions like “*hug*” or “*backrub*”) without consent or after a request to stop.
17
- *Threats of violence.
18
- *Incitement of violence towards any individual, including encouraging a person to commit suicide or to engage in self-harm.
19
- *Deliberate intimidation.
20
- *Stalking or following.
21
- *Harassing photography or recording, including logging online activity for harassment purposes.
22
- *Sustained disruption of discussion.
23
- *Unwelcome sexual attention.
24
- *Pattern of inappropriate social contact, such as requesting/assuming inappropriate levels of intimacy with others
25
- *Continued one-on-one communication after requests to cease.
26
- *Deliberate “outing” of any aspect of a person’s identity without their consent except as necessary to protect vulnerable people from intentional abuse.
27
- *Publication of non-harassing private communication.
12
+
13
+ - Offensive comments related to gender, gender identity and expression, sexual orientation, disability, mental illness, neuro(a)typicality, physical appearance, body size, age, race, or religion.
14
+ - Unwelcome comments regarding a persons lifestyle choices and practices, including those related to food, health, parenting, drugs, and employment.
15
+ - Deliberate misgendering or use of ‘deador rejected names.
16
+ - Gratuitous or off-topic sexual images or behaviour &nbsp;in spaces where they’re not appropriate.
17
+ - Physical contact and simulated physical contact (eg, textual descriptions like “\*hug\*” or “\*backrub\*”) without consent or after a request to stop.
18
+ - Threats of violence.
19
+ - Incitement of violence towards any individual, including encouraging a person to commit suicide or to engage in self-harm.
20
+ - Deliberate intimidation.
21
+ - Stalking or following.
22
+ - Harassing photography or recording, including logging online activity for harassment purposes.
23
+ - Sustained disruption of discussion.
24
+ - Unwelcome sexual attention.
25
+ - Pattern of inappropriate social contact, such as requesting/assuming inappropriate levels of intimacy with others
26
+ - Continued one-on-one communication after requests to cease.
27
+ - Deliberate “outing” of any aspect of a person’s identity without their consent except as necessary to protect vulnerable people from intentional abuse.
28
+ - Publication of non-harassing private communication.
28
29
  [COMMUNITY_NAME] prioritizes marginalized people’s safety over privileged people’s comfort. [RESPONSE_TEAM] reserves the right not to act on complaints regarding:
29
- *‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’
30
- *Reasonable communication of boundaries, such as “leave me alone,” “go away,” or “I’m not discussing this with you.”
31
- *Communicating in a ‘tone’ you don’t find congenial
32
- *Criticizing racist, sexist, cissexist, or otherwise oppressive behavior or assumptions
33
- ====Reporting====
34
- If you are being harassed by a member of [COMMUNITY_NAME], notice that someone else is being harassed, or have any other concerns, please contact the [RESPONSE_TEAM] at [email address or other contact point]. If the person who is harassing you is on the team, they will recuse themselves from handling your incident. We will respond as promptly as we can.
30
+ - ‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’
31
+ - Reasonable communication of boundaries, such as “leave me alone,” “go away,” or “I’m not discussing this with you.”
32
+ - Communicating in a ‘tone’ you don’t find congenial
33
+ - Criticizing racist, sexist, cissexist, or otherwise oppressive behavior or assumptions
34
+
35
+ #### Reporting
36
+
37
+ If you are being harassed by a member of [COMMUNITY_NAME], notice that someone else is being harassed, or have any other concerns, please contact the [RESPONSE_TEAM] at [email]. If the person who is harassing you is on the team, they will recuse themselves from handling your incident. We will respond as promptly as we can.
35
38
 
36
39
  This code of conduct applies to [COMMUNITY_NAME] spaces, but if you are being harassed by a member of [COMMUNITY_NAME] outside our spaces, we still want to know about it. We will take all good-faith reports of harassment by [COMMUNITY_NAME] members, especially [LEADERSHIP_TEAM], seriously. This includes harassment outside our spaces and harassment that took place at any point in time. The abuse team reserves the right to exclude people from [COMMUNITY_NAME] based on their past behavior, including behavior outside [COMMUNITY_NAME] spaces and behavior towards people who are not in [COMMUNITY_NAME].
37
40
 
38
41
  In order to protect volunteers from abuse and burnout, we reserve the right to reject any report we believe to have been made in bad faith. Reports intended to silence legitimate criticism may be deleted without response.
39
42
 
40
43
  We will respect confidentiality requests for the purpose of protecting victims of abuse. At our discretion, we may publicly name a person about whom we’ve received harassment complaints, or privately warn third parties about them, if we believe that doing so will increase the safety of [COMMUNITY_NAME] members or the general public. We will not name harassment victims without their affirmative consent.
41
- ====Consequences====
44
+
45
+ #### Consequences
46
+
42
47
  Participants asked to stop any harassing behavior are expected to comply immediately.
43
48
 
44
49
  If a participant engages in harassing behavior, [RESPONSE_TEAM] may take any action they deem appropriate, up to and including expulsion from all [COMMUNITY_NAME] spaces and identification of the participant as a harasser to other [COMMUNITY_NAME] members or the general public.
45
50
 
46
- ==License and attribution==
47
- This policy is licensed under the [http://creativecommons.org/publicdomain/zero/1.0/ Creative Commons Zero license] . It is '''public domain''''', ''no credit and no open licencing of your version is required.
51
+ ## License and attribution
52
+
53
+ This policy is licensed under the [Creative Commons Zero license](http://creativecommons.org/publicdomain/zero/1.0/) . It is **public domain** _,_ no credit and no open licencing of your version is required.
48
54
 
49
- If you would like to optionally attribute it, you could use the below text and link to http://geekfeminism.wikia.com/wiki/Community_anti-harassment:
50
- :This anti-harassment policy is based on the example policy from the Geek Feminism wiki, created by the Geek Feminism community.
55
+ If you would like to optionally attribute it, you could use the below text and link to [http://geekfeminism.wikia.com/wiki/Community\_anti-harassment](http://geekfeminism.wikia.com/wiki/Community_anti-harassment):
51
56
 
52
- The policy is based on the [[Conference anti-harassment/Policy|conference anti-harassment policy]], and is the work of Annalee Flower Horne with assistance from Valerie Aurora, Alex Skud Bayley, Tim Chevalier, and Mary Gardiner.
57
+ <dl><dd>This anti-harassment policy is based on the example policy from the Geek Feminism wiki, created by the Geek Feminism community.</dd></dl>The policy is based on the [conference anti-harassment policy](Conference%20anti-harassment/Policy), and is the work of Annalee Flower Horne with assistance from Valerie Aurora, Alex Skud Bayley, Tim Chevalier, and Mary Gardiner.
@@ -4,6 +4,6 @@ version = "shorter"
4
4
 
5
5
  [COMMUNITY_NAME] is dedicated to providing a harassment-free experience for everyone, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, age, race, or religion. We do not tolerate harassment of participants in any form.
6
6
 
7
- This code of conduct applies to all [COMMUNITY_NAME] spaces, including [list, eg "our mailing lists and IRC channel"], both online and off. Anyone who violates this code of conduct may be sanctioned or expelled from these spaces at the discretion of the [RESPONSE_TEAM].
7
+ This code of conduct applies to all [COMMUNITY_NAME] spaces, including [LIST_OF_SPACES - e.g. "our mailing lists and IRC channel"], both online and off. Anyone who violates this code of conduct may be sanctioned or expelled from these spaces at the discretion of the [RESPONSE_TEAM].
8
8
 
9
9
  Some [COMMUNITY_NAME] spaces may have additional rules in place, which will be made clearly available to participants. Participants are responsible for knowing and abiding by these rules.
@@ -0,0 +1,96 @@
1
+ +++
2
+ version = "1.0"
3
+ +++
4
+
5
+ ## About
6
+
7
+ Online communities include people from many different backgrounds. The [COMMUNITY_NAME] contributors are committed to providing a friendly, safe and welcoming environment for all, regardless of gender identity and expression, sexual orientation, disabilities, neurodiversity, physical appearance, body size, ethnicity, nationality, race, age, religion, or similar personal characteristics.
8
+
9
+ The first goal of the Code of Conduct is to specify a baseline standard of behavior so that people with different social values and communication styles can talk about [COMMUNITY_NAME] effectively, productively, and respectfully.
10
+
11
+ The second goal is to provide a mechanism for resolving conflicts in the community when they arise.
12
+
13
+ The third goal of the Code of Conduct is to make our community welcoming to people from different backgrounds. Diversity is critical to the project; for [COMMUNITY_NAME] to be successful, it needs contributors and users from all backgrounds. (See [Go, Open Source, Community](https://blog.golang.org/open-source).)
14
+
15
+ We believe that healthy debate and disagreement are essential to a healthy project and community. However, it is never ok to be disrespectful. We value diverse opinions, but we value respectful behavior more.
16
+
17
+ ## [COMMUNITY_NAME] values
18
+
19
+ These are the values to which people in the [COMMUNITY_NAME] community should aspire.
20
+
21
+ - Be friendly and welcoming
22
+ - Be patient
23
+ - Remember that people have varying communication styles and that not everyone is using their native language. (Meaning and tone can be lost in translation.)
24
+ - Be thoughtful
25
+ - Productive communication requires effort. Think about how your words will be interpreted.
26
+ - Remember that sometimes it is best to refrain entirely from commenting.
27
+ - Be respectful
28
+ - In particular, respect differences of opinion.
29
+ - Be charitable
30
+ - Interpret the arguments of others in good faith, do not seek to disagree.
31
+ - When we do disagree, try to understand why.
32
+ - Avoid destructive behavior:
33
+ - Derailing: stay on topic; if you want to talk about something else, start a new conversation.
34
+ - Unconstructive criticism: don't merely decry the current state of affairs; offer—or at least solicit—suggestions as to how things may be improved.
35
+ - Snarking (pithy, unproductive, sniping comments)
36
+ - Discussing potentially offensive or sensitive issues; this all too often leads to unnecessary conflict.
37
+ - Microaggressions: brief and commonplace verbal, behavioral and environmental indignities that communicate hostile, derogatory or negative slights and insults to a person or group.
38
+
39
+ People are complicated. You should expect to be misunderstood and to misunderstand others; when this inevitably occurs, resist the urge to be defensive or assign blame. Try not to take offense where no offense was intended. Give people the benefit of the doubt. Even if the intent was to provoke, do not rise to it. It is the responsibility of _all parties_ to de-escalate conflict when it arises.
40
+
41
+ ## Code of Conduct
42
+
43
+ ### Our Pledge
44
+
45
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
46
+
47
+ ### Our Standards
48
+
49
+ Examples of behavior that contributes to creating a positive environment include:
50
+
51
+ - Using welcoming and inclusive language
52
+ - Being respectful of differing viewpoints and experiences
53
+ - Gracefully accepting constructive criticism
54
+ - Focusing on what is best for the community
55
+ - Showing empathy towards other community members
56
+
57
+ Examples of unacceptable behavior by participants include:
58
+
59
+ - The use of sexualized language or imagery and unwelcome sexual attention or advances
60
+ - Trolling, insulting/derogatory comments, and personal or political attacks
61
+ - Public or private harassment
62
+ - Publishing others’ private information, such as a physical or electronic address, without explicit permission
63
+ - Other conduct which could reasonably be considered inappropriate in a professional setting
64
+
65
+ ### Our Responsibilities
66
+
67
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
68
+
69
+ Project maintainers 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, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
70
+
71
+ ### Scope
72
+
73
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
74
+
75
+ This Code of Conduct also applies outside the project spaces when the Project Steward has a reasonable belief that an individual’s behavior may have a negative impact on the project or its community.
76
+
77
+ ### Conflict Resolution
78
+
79
+ We do not believe that all conflict is bad; healthy debate and disagreement often yield positive results. However, it is never okay to be disrespectful or to engage in behavior that violates the project’s code of conduct.
80
+
81
+ If you see someone violating the code of conduct, you are encouraged to address the behavior directly with those involved. Many issues can be resolved quickly and easily, and this gives people more control over the outcome of their dispute. If you are unable to resolve the matter for any reason, or if the behavior is threatening or harassing, report it. We are dedicated to providing an environment where participants feel welcome and safe.
82
+
83
+ Reports should be directed to the [COMMUNITY_NAME] Project Steward, at _[EMAIL_ADDRESS]_. It is the Project Steward’s duty to receive and address reported violations of the code of conduct. They will then work with a committee consisting of representatives from [GOVERNING_BODY]. If for any reason you are uncomfortable reaching out the Project Steward, please email [GOVERNING_BODY] at _[GOVERNING_BODY_EMAIL_ADDRESS]_.
84
+
85
+ We will investigate every complaint, but you may not receive a direct response. We will use our discretion in determining when and how to follow up on reported incidents, which may range from not taking action to permanent expulsion from the project and project-sponsored spaces. We will notify the accused of the report and provide them an opportunity to discuss it before any action is taken. The identity of the reporter will be omitted from the details of the report supplied to the accused. In potentially harmful situations, such as ongoing harassment or threats to anyone’s safety, we may take action without notice.
86
+
87
+ ### Attribution
88
+
89
+ This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at[https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
90
+
91
+ ## Summary
92
+
93
+ - Treat everyone with respect and kindness.
94
+ - Be thoughtful in how you communicate.
95
+ - Don’t be destructive or inflammatory.
96
+ - If you encounter an issue, please mail [[EMAIL_ADDRESS]](mailto:[EMAIL_ADDRESS]).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coconductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
@@ -128,6 +128,20 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0.50'
131
+ - !ruby/object:Gem::Dependency
132
+ name: twitter-text
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "<"
136
+ - !ruby/object:Gem::Version
137
+ version: '2.0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "<"
143
+ - !ruby/object:Gem::Version
144
+ version: '2.0'
131
145
  - !ruby/object:Gem::Dependency
132
146
  name: webmock
133
147
  requirement: !ruby/object:Gem::Requirement
@@ -142,6 +156,20 @@ dependencies:
142
156
  - - "~>"
143
157
  - !ruby/object:Gem::Version
144
158
  version: '3.1'
159
+ - !ruby/object:Gem::Dependency
160
+ name: wikicloth
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '0.8'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '0.8'
145
173
  description:
146
174
  email:
147
175
  - ben.balter@github.com
@@ -248,6 +276,7 @@ files:
248
276
  - vendor/django/version/1/0/CODE_OF_CONDUCT.md
249
277
  - vendor/geek-feminism/version/longer/CODE_OF_CONDUCT.md
250
278
  - vendor/geek-feminism/version/shorter/CODE_OF_CONDUCT.md
279
+ - vendor/go/version/1/0/CODE_OF_CONDUCT.md
251
280
  - vendor/no-code-of-conduct/version/1/0/CODE_OF_CONDUCT.md
252
281
  homepage: https://github.com/benbalter/coconductor
253
282
  licenses: