faithteams-api 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +11 -0
- data/.github/CODEOWNERS +1 -0
- data/.github/CONTRIBUTING.md +35 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +8 -0
- data/.github/workflows/jeweler.yml +11 -0
- data/.github/workflows/puller.yml +17 -0
- data/.gitignore +16 -0
- data/.rspec +2 -0
- data/.rubocop.yml +227 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +70 -0
- data/CODE_OF_CONDUCT.md +128 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +171 -0
- data/Guardfile +50 -0
- data/LICENSE +21 -0
- data/README.md +85 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/faithteams-api.gemspec +47 -0
- data/guides/api_client_interface.md +18 -0
- data/guides/release-process.md +11 -0
- data/lib/faithteams/api/v2/connection.rb +142 -0
- data/lib/faithteams/api/v2/entity/base.rb +36 -0
- data/lib/faithteams/api/v2/entity/batch.rb +68 -0
- data/lib/faithteams/api/v2/entity/contribution.rb +19 -0
- data/lib/faithteams/api/v2/entity/contribution_record.rb +137 -0
- data/lib/faithteams/api/v2/entity/contribution_type.rb +37 -0
- data/lib/faithteams/api/v2/entity/fund.rb +52 -0
- data/lib/faithteams/api/v2/entity/person.rb +77 -0
- data/lib/faithteams/api/v2/entity.rb +17 -0
- data/lib/faithteams/api/v2/error/no_search_parameter_provided.rb +12 -0
- data/lib/faithteams/api/v2/error/request.rb +46 -0
- data/lib/faithteams/api/v2/error.rb +13 -0
- data/lib/faithteams/api/v2/gateway.rb +51 -0
- data/lib/faithteams/api/v2/gateway_base.rb +25 -0
- data/lib/faithteams/api/v2/resource/base.rb +46 -0
- data/lib/faithteams/api/v2/resource/batch.rb +58 -0
- data/lib/faithteams/api/v2/resource/contribution.rb +39 -0
- data/lib/faithteams/api/v2/resource/contribution_type.rb +38 -0
- data/lib/faithteams/api/v2/resource/fund.rb +22 -0
- data/lib/faithteams/api/v2/resource/person.rb +48 -0
- data/lib/faithteams/api/v2/resource/user.rb +40 -0
- data/lib/faithteams/api/v2/resource.rb +18 -0
- data/lib/faithteams/api/v2.rb +15 -0
- data/lib/faithteams/api.rb +8 -0
- data/lib/faithteams/version.rb +6 -0
- data/lib/faithteams.rb +7 -0
- data/thunder-tests/.gitignore +2 -0
- data/thunder-tests/collections/tc_col_faithteams.json +2390 -0
- data/thunder-tests/environments/tc_env_faithteams.json +59 -0
- data/thunder-tests/faithteams.env.template +5 -0
- metadata +283 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5cc2b7c415987619e7ebcc699f37790daeb0c7c730904c6a42fd6433a7fe72cb
|
4
|
+
data.tar.gz: 2cb6331d07e910eeb623c5274f6e3737a335a0be39c6c1c1a68efb2badada2fe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 057231fb75f6b1f0bb493698abbd877fbf137c38b8ed43dbbf746ef7a7d04e477fbfd615b09aa3d3d4915ebd70cc4f51817c1849f6e93385a9c1809660eb6936
|
7
|
+
data.tar.gz: 5b18767dbed31ac0d292c29819834fa7e367ee242243487c992e6c3f32be1da7a9956a8eb660cddc1b7586747c3eab9ccfc1f6c5b91ffb066c7df6fcf15ce395
|
data/.editorconfig
ADDED
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @tithely/integrations
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Introduction
|
2
|
+
|
3
|
+
First off, thank you for considering contributing to Tithely open source. We strive to be the best platform for developers to build tools for the church and want to thank you for your bug report or pull requests.
|
4
|
+
|
5
|
+
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
|
6
|
+
|
7
|
+
## What We Look For
|
8
|
+
|
9
|
+
We welcome any bug reports and documentation corrections or additions. If you have a fix or a bit of functionality you would like to see introduced, please follow our guidelines for submitting a PR. We will work with you to determine if we can incorporate your work right now or plan for it in the future.
|
10
|
+
|
11
|
+
# Ground Rules
|
12
|
+
|
13
|
+
* We respect all members and welcome diverse viewpoints and contributions. For more information, check out our [Code of Conduct](https://github.com/tithely/tithely-transaction-gem/blob/master/CODE_OF_CONDUCT.md).
|
14
|
+
* Keep pull requests as short and direct as possible.
|
15
|
+
* Tests must accompany any pull request to show additional or changed behavior.
|
16
|
+
|
17
|
+
# Reporting a Bug
|
18
|
+
|
19
|
+
If you find a security vulnerability, do NOT open an issue. Email integrations@tithe.ly instead.
|
20
|
+
|
21
|
+
For any other bug report, please open an issue [here](https://github.com/tithely/tithely-transaction-gem/issues/new?assignees=&labels=fix&template=bug_report.md&title=).
|
22
|
+
|
23
|
+
Follow along with the template and please provide as much information as possible.
|
24
|
+
|
25
|
+
# Suggesting a Feature
|
26
|
+
|
27
|
+
Before submitting a feature request, check out our [Roadmap](https://github.com/tithely/tithely-transaction-gem/wiki/2020-Roadmap) and active [Projects](https://github.com/tithely/tithely-transaction-gem/projects) to make sure that we aren't currently working on it.
|
28
|
+
|
29
|
+
For any other requests, please open an issue [here](https://github.com/tithely/tithely-transaction-gem/issues/new?assignees=&labels=new&template=feature_request.md&title=).
|
30
|
+
|
31
|
+
Follow along with the template and please provide as much information as possible.
|
32
|
+
|
33
|
+
# Submitting a Pull Request
|
34
|
+
|
35
|
+
When submitting a pull request, please follow along with our template and ensure that everything is passing. As a rule, we generally will not take a look at code before all checks have passed.
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Pulls in multiple workflows into a single file for use with PRs.
|
2
|
+
name: Puller
|
3
|
+
|
4
|
+
on:
|
5
|
+
pull_request:
|
6
|
+
types: [ opened, reopened, synchronize ]
|
7
|
+
workflow_dispatch:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
tester:
|
11
|
+
uses: tithely/gem-workflows/.github/workflows/tester.yml@master
|
12
|
+
editorconfig:
|
13
|
+
uses: tithely/gem-workflows/.github/workflows/editorconfig.yml@master
|
14
|
+
rubocop:
|
15
|
+
uses: tithely/gem-workflows/.github/workflows/rubocop.yml@master
|
16
|
+
yard:
|
17
|
+
uses: tithely/gem-workflows/.github/workflows/yard.yml@master
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rake
|
4
|
+
- rubocop-rspec
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
8
|
+
# to ignore them, so only the ones explicitly set in this file are enabled.
|
9
|
+
DisabledByDefault: true
|
10
|
+
TargetRubyVersion: 3.0
|
11
|
+
|
12
|
+
Performance:
|
13
|
+
Exclude:
|
14
|
+
- "**/test/**/*"
|
15
|
+
|
16
|
+
# Prefer &&/|| over and/or.
|
17
|
+
Style/AndOr:
|
18
|
+
Enabled: true
|
19
|
+
EnforcedStyle: conditionals
|
20
|
+
|
21
|
+
# Align `when` with `case`.
|
22
|
+
Layout/CaseIndentation:
|
23
|
+
Enabled: true
|
24
|
+
EnforcedStyle: end
|
25
|
+
|
26
|
+
Layout/ClosingHeredocIndentation:
|
27
|
+
Enabled: true
|
28
|
+
|
29
|
+
# Align comments with method definitions.
|
30
|
+
Layout/CommentIndentation:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
Layout/ElseAlignment:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
# Align `end` with the matching keyword or starting expression except for
|
37
|
+
# assignments, where it should be aligned with the LHS.
|
38
|
+
Layout/EndAlignment:
|
39
|
+
Enabled: true
|
40
|
+
EnforcedStyleAlignWith: variable
|
41
|
+
AutoCorrect: true
|
42
|
+
|
43
|
+
Layout/EmptyLineAfterMagicComment:
|
44
|
+
Enabled: true
|
45
|
+
|
46
|
+
Layout/EmptyLinesAroundAccessModifier:
|
47
|
+
Enabled: false
|
48
|
+
EnforcedStyle: only_before
|
49
|
+
|
50
|
+
Layout/EmptyLinesAroundBlockBody:
|
51
|
+
Enabled: true
|
52
|
+
|
53
|
+
# In a regular class definition, no empty lines around the body.
|
54
|
+
Layout/EmptyLinesAroundClassBody:
|
55
|
+
Enabled: true
|
56
|
+
|
57
|
+
# In a regular method definition, no empty lines around the body.
|
58
|
+
Layout/EmptyLinesAroundMethodBody:
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
# In a regular module definition, no empty lines around the body.
|
62
|
+
Layout/EmptyLinesAroundModuleBody:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
66
|
+
Style/HashSyntax:
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
Layout/FirstArgumentIndentation:
|
70
|
+
Enabled: true
|
71
|
+
|
72
|
+
# Method definitions after `private` or `protected` isolated calls need one
|
73
|
+
# extra level of indentation.
|
74
|
+
Layout/IndentationConsistency:
|
75
|
+
Enabled: false
|
76
|
+
|
77
|
+
# Two spaces, no tabs (for indentation).
|
78
|
+
Layout/IndentationWidth:
|
79
|
+
Enabled: true
|
80
|
+
|
81
|
+
Layout/LeadingCommentSpace:
|
82
|
+
Enabled: true
|
83
|
+
|
84
|
+
Layout/SpaceAfterColon:
|
85
|
+
Enabled: true
|
86
|
+
|
87
|
+
Layout/SpaceAfterComma:
|
88
|
+
Enabled: true
|
89
|
+
|
90
|
+
Layout/SpaceAfterSemicolon:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
Layout/SpaceAroundKeyword:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Layout/SpaceBeforeComma:
|
100
|
+
Enabled: true
|
101
|
+
|
102
|
+
Layout/SpaceBeforeComment:
|
103
|
+
Enabled: true
|
104
|
+
|
105
|
+
Layout/SpaceBeforeFirstArg:
|
106
|
+
Enabled: true
|
107
|
+
|
108
|
+
Style/DefWithParentheses:
|
109
|
+
Enabled: true
|
110
|
+
|
111
|
+
# Defining a method with parameters needs parentheses.
|
112
|
+
Style/MethodDefParentheses:
|
113
|
+
Enabled: true
|
114
|
+
|
115
|
+
Style/FrozenStringLiteralComment:
|
116
|
+
Enabled: true
|
117
|
+
EnforcedStyle: always
|
118
|
+
|
119
|
+
Style/RedundantFreeze:
|
120
|
+
Enabled: true
|
121
|
+
|
122
|
+
# Use `foo {}` not `foo{}`.
|
123
|
+
Layout/SpaceBeforeBlockBraces:
|
124
|
+
Enabled: true
|
125
|
+
|
126
|
+
# Use `foo { bar }` not `foo {bar}`.
|
127
|
+
Layout/SpaceInsideBlockBraces:
|
128
|
+
Enabled: true
|
129
|
+
EnforcedStyleForEmptyBraces: space
|
130
|
+
|
131
|
+
# Use `{ a: 1 }` not `{a:1}`.
|
132
|
+
Layout/SpaceInsideHashLiteralBraces:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
Layout/SpaceInsideParens:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
# Check quotes usage according to lint rule below.
|
139
|
+
Style/StringLiterals:
|
140
|
+
Enabled: true
|
141
|
+
EnforcedStyle: double_quotes
|
142
|
+
|
143
|
+
# Detect hard tabs, no hard tabs.
|
144
|
+
Layout/IndentationStyle:
|
145
|
+
Enabled: true
|
146
|
+
|
147
|
+
# Empty lines should not have any spaces.
|
148
|
+
Layout/TrailingEmptyLines:
|
149
|
+
Enabled: true
|
150
|
+
|
151
|
+
# No trailing whitespace.
|
152
|
+
Layout/TrailingWhitespace:
|
153
|
+
Enabled: true
|
154
|
+
|
155
|
+
# Use quotes for string literals when they are enough.
|
156
|
+
Style/RedundantPercentQ:
|
157
|
+
Enabled: true
|
158
|
+
|
159
|
+
Lint/AmbiguousOperator:
|
160
|
+
Enabled: true
|
161
|
+
|
162
|
+
Lint/AmbiguousRegexpLiteral:
|
163
|
+
Enabled: true
|
164
|
+
|
165
|
+
Lint/ErbNewArguments:
|
166
|
+
Enabled: true
|
167
|
+
|
168
|
+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
169
|
+
Lint/RequireParentheses:
|
170
|
+
Enabled: true
|
171
|
+
|
172
|
+
Lint/ShadowingOuterLocalVariable:
|
173
|
+
Enabled: true
|
174
|
+
|
175
|
+
Lint/RedundantStringCoercion:
|
176
|
+
Enabled: true
|
177
|
+
|
178
|
+
Lint/UriEscapeUnescape:
|
179
|
+
Enabled: true
|
180
|
+
|
181
|
+
Lint/UselessAssignment:
|
182
|
+
Enabled: true
|
183
|
+
|
184
|
+
Lint/DeprecatedClassMethods:
|
185
|
+
Enabled: true
|
186
|
+
|
187
|
+
Style/ParenthesesAroundCondition:
|
188
|
+
Enabled: true
|
189
|
+
|
190
|
+
Style/RedundantBegin:
|
191
|
+
Enabled: true
|
192
|
+
|
193
|
+
Style/RedundantReturn:
|
194
|
+
Enabled: true
|
195
|
+
AllowMultipleReturnValues: true
|
196
|
+
|
197
|
+
Style/Semicolon:
|
198
|
+
Enabled: true
|
199
|
+
AllowAsExpressionSeparator: true
|
200
|
+
|
201
|
+
# Prefer Foo.method over Foo::method
|
202
|
+
Style/ColonMethodCall:
|
203
|
+
Enabled: true
|
204
|
+
|
205
|
+
Style/TrivialAccessors:
|
206
|
+
Enabled: true
|
207
|
+
|
208
|
+
Performance/FlatMap:
|
209
|
+
Enabled: true
|
210
|
+
|
211
|
+
Performance/RedundantMerge:
|
212
|
+
Enabled: true
|
213
|
+
|
214
|
+
Performance/StartWith:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
Performance/EndWith:
|
218
|
+
Enabled: true
|
219
|
+
|
220
|
+
Performance/RegexpMatch:
|
221
|
+
Enabled: true
|
222
|
+
|
223
|
+
Performance/ReverseEach:
|
224
|
+
Enabled: true
|
225
|
+
|
226
|
+
Performance/UnfreezeString:
|
227
|
+
Enabled: true
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.0.6
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- markdownlint-disable MD024 -->
|
2
|
+
|
3
|
+
# Changelog
|
4
|
+
|
5
|
+
All notable changes to this project will be documented in this file.
|
6
|
+
|
7
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
9
|
+
|
10
|
+
## [Unreleased]
|
11
|
+
|
12
|
+
### Changed
|
13
|
+
|
14
|
+
1. *BREAKING CHANGE* Allowed for newer versions of ActiveSupport for use in projects that are targeting a higher version of Rails.
|
15
|
+
|
16
|
+
## [1.1.0] - 2023-11-01
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
|
20
|
+
1. Rename faithteams-gem to faithteams-api. (IN-2274)
|
21
|
+
|
22
|
+
## [1.0.1] - 2023-10-30
|
23
|
+
|
24
|
+
### Fixed
|
25
|
+
|
26
|
+
1. Fix missing info in code of conduct. (IN-2274)
|
27
|
+
|
28
|
+
## [1.0.0] - 2023-10-27
|
29
|
+
|
30
|
+
### Changed
|
31
|
+
|
32
|
+
1. Prep for publishing publicly. (IN-2274)
|
33
|
+
|
34
|
+
## [0.4.1] - 2023-08-31
|
35
|
+
|
36
|
+
### Fixed
|
37
|
+
|
38
|
+
1. Skip deleted batches when doing a `Batch#find_by_batch`.
|
39
|
+
|
40
|
+
## [0.4.0] - 2023-08-29
|
41
|
+
|
42
|
+
### Added
|
43
|
+
|
44
|
+
1. Add `Resource::ContributionType#find`. (IN-2192)
|
45
|
+
1. Split `Connection#request`` into two separate methods: 1) returns the response and 2) makes the request and parses the response. (IN-2192)
|
46
|
+
1. Remove duplicate `Connection#authenticate`` in favor of `Resource::User#authenticate`. (IN-2192)
|
47
|
+
1. `Deposit#search` now takes any parameter that can be sent to the API. (IN-2192)
|
48
|
+
1. `Funds#search` now takes any parameter that can be sent to the API. (IN-2192)
|
49
|
+
1. Import and build out ThunderClient tests. (IN-2192)
|
50
|
+
|
51
|
+
## [0.3.0] - 2023-06-12
|
52
|
+
|
53
|
+
### Added
|
54
|
+
|
55
|
+
1. Add contribution type resource and entity. (IN-2108)
|
56
|
+
1. Added header? and detail? predicates on ContributionRecords. (IN-2108)
|
57
|
+
|
58
|
+
## [0.2.0] - 2023-06-01
|
59
|
+
|
60
|
+
### Changed
|
61
|
+
|
62
|
+
1. Use activesupport 7.0.5. (IN-2109)
|
63
|
+
|
64
|
+
## [0.1.0] - 2023-05-24
|
65
|
+
|
66
|
+
### Added
|
67
|
+
|
68
|
+
1. Add faithteams api v2 functionality (IN-2110)
|
69
|
+
|
70
|
+
<!-- markdownlint-enable MD024 -->
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
8
|
+
identity and expression, level of experience, education, socioeconomic status,
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
10
|
+
identity and orientation.
|
11
|
+
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
13
|
+
diverse, inclusive, and healthy community.
|
14
|
+
|
15
|
+
## Our Standards
|
16
|
+
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
18
|
+
community include:
|
19
|
+
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
24
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
25
|
+
|
26
|
+
Examples of unacceptable behavior include:
|
27
|
+
|
28
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
29
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
30
|
+
* Public or private harassment
|
31
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
32
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
33
|
+
|
34
|
+
## Enforcement Responsibilities
|
35
|
+
|
36
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
37
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
38
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
39
|
+
or harmful.
|
40
|
+
|
41
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
42
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
43
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
44
|
+
decisions when appropriate.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
49
|
+
an individual is officially representing the community in public spaces.
|
50
|
+
Examples of representing our community include using an official e-mail address,
|
51
|
+
posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event.
|
53
|
+
|
54
|
+
## Enforcement
|
55
|
+
|
56
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
57
|
+
reported to the community leaders responsible for enforcement through [Github
|
58
|
+
Reporting](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)
|
59
|
+
or by emailing [integrations@tithe.ly](mailto:integrations@tithe.ly?subject=Code of Conduct violation).
|
60
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
61
|
+
|
62
|
+
All community leaders are obligated to respect the privacy and security of the
|
63
|
+
reporter of any incident.
|
64
|
+
|
65
|
+
## Enforcement Guidelines
|
66
|
+
|
67
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
68
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
69
|
+
|
70
|
+
### 1. Correction
|
71
|
+
|
72
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
73
|
+
unprofessional or unwelcome in the community.
|
74
|
+
|
75
|
+
**Consequence**: A private, written warning from community leaders, providing
|
76
|
+
clarity around the nature of the violation and an explanation of why the
|
77
|
+
behavior was inappropriate. A public apology may be requested.
|
78
|
+
|
79
|
+
### 2. Warning
|
80
|
+
|
81
|
+
**Community Impact**: A violation through a single incident or series of
|
82
|
+
actions.
|
83
|
+
|
84
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
85
|
+
interaction with the people involved, including unsolicited interaction with
|
86
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
87
|
+
includes avoiding interactions in community spaces as well as external channels
|
88
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
89
|
+
ban.
|
90
|
+
|
91
|
+
### 3. Temporary Ban
|
92
|
+
|
93
|
+
**Community Impact**: A serious violation of community standards, including
|
94
|
+
sustained inappropriate behavior.
|
95
|
+
|
96
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
97
|
+
communication with the community for a specified period of time. No public or
|
98
|
+
private interaction with the people involved, including unsolicited interaction
|
99
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
100
|
+
Violating these terms may lead to a permanent ban.
|
101
|
+
|
102
|
+
### 4. Permanent Ban
|
103
|
+
|
104
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
105
|
+
standards, including sustained inappropriate behavior, harassment of an
|
106
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
107
|
+
|
108
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
109
|
+
community.
|
110
|
+
|
111
|
+
## Attribution
|
112
|
+
|
113
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
114
|
+
version 2.1, available at
|
115
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
116
|
+
|
117
|
+
Community Impact Guidelines were inspired by
|
118
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
119
|
+
|
120
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
121
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
122
|
+
[https://www.contributor-covenant.org/translations][translations].
|
123
|
+
|
124
|
+
[homepage]: https://www.contributor-covenant.org
|
125
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
126
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
127
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
128
|
+
[translations]: https://www.contributor-covenant.org/translations
|