rubocop-ruby2_7 3.0.1 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +146 -3
- data/CITATION.cff +20 -0
- data/CODE_OF_CONDUCT.md +79 -29
- data/CONTRIBUTING.md +260 -27
- data/FUNDING.md +70 -0
- data/LICENSE.md +10 -0
- data/README.md +423 -344
- data/RUBOCOP.md +71 -0
- data/SECURITY.md +3 -4
- data/certs/pboling.pem +27 -0
- data/lib/rubocop/ruby2_7/version.rb +2 -1
- data/lib/rubocop/ruby2_7.rb +2 -2
- data/sig/rubocop/ruby2_7/version.rbs +8 -0
- data/sig/rubocop/ruby2_7.rbs +0 -1
- data.tar.gz.sig +0 -0
- metadata +279 -85
- metadata.gz.sig +0 -0
- data/LICENSE.txt +0 -21
- data/rubocop-lts/rails.yml +0 -20
- data/rubocop-lts/rails_rspec.yml +0 -6
- data/rubocop-lts/rspec.yml +0 -15
- data/rubocop-lts/ruby.yml +0 -47
- data/rubocop-lts/ruby_rspec.yml +0 -6
- data/rubocop-lts/rubygem.yml +0 -6
- data/rubocop-lts/rubygem_rspec.yml +0 -4
- data/rubocop-lts/strict/rails.yml +0 -22
- data/rubocop-lts/strict/rspec.yml +0 -14
- data/rubocop-lts/strict/ruby.yml +0 -14
- data/rubocop.yml +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79d3ca2ce05c09263b37865eb729297da11115a6b95385e73a0caff669ce46f0
|
|
4
|
+
data.tar.gz: 2b4c231dd71d647fe733c3f58115c53e341d47661829dd6cc5cfbc490c612a59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 527ce60820026237ff8fa3582f98af9e6ed474e72b00dcea088a65295cebed62e294709bd3a46a95bf10f4d1725bbb60807f287d8d1da8c99748d88dce0bf061
|
|
7
|
+
data.tar.gz: '0957d2818e08af2d26809e82baf169dbff60cc36f58425ebf31765f05f5d7200a1ca85f3ecc1e9c66d4bc9eecdc42a164ea70d7af84965fb44bee93fdf9651ba'
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,36 +1,126 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
3
|
+
[![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
|
|
4
|
+
|
|
2
5
|
All notable changes to this project will be documented in this file.
|
|
3
6
|
|
|
4
|
-
The format is based on [Keep a Changelog]
|
|
5
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
7
|
+
The format is based on [Keep a Changelog][📗keep-changelog],
|
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|
9
|
+
and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
|
|
10
|
+
Please file a bug if you notice a violation of semantic versioning.
|
|
11
|
+
|
|
12
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
13
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
|
14
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
15
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
16
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
17
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
6
18
|
|
|
7
19
|
## [Unreleased]
|
|
20
|
+
|
|
8
21
|
### Added
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
### Deprecated
|
|
26
|
+
|
|
27
|
+
### Removed
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
### Security
|
|
32
|
+
|
|
33
|
+
## [3.0.4] - 2026-06-25
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.0.4][3.0.4t]
|
|
36
|
+
- COVERAGE: 55.17% -- 16/29 lines in 5 files
|
|
37
|
+
- BRANCH COVERAGE: 0.00% -- 0/2 branches in 5 files
|
|
38
|
+
- 42.86% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- Restored `docs/CNAME` so the generated documentation site keeps its custom domain.
|
|
51
|
+
- Corrected misspelled contact metadata to use `galtzo.com`.
|
|
52
|
+
|
|
53
|
+
## [3.0.2] 2026-06-01
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
|
|
9
57
|
### Changed
|
|
58
|
+
|
|
59
|
+
- Corrected gem metadata to declare the Ruby 3.2 runtime floor that has been implicit since the last major release.
|
|
60
|
+
- Updated dependency floors:
|
|
61
|
+
- `version_gem` to `~> 1.1`, `>= 1.1.9`.
|
|
62
|
+
- `rubocop-gradual` to `~> 0.3`, `>= 0.3.6`.
|
|
63
|
+
- `rubocop-md` to `~> 2.0`, `>= 2.0.4`.
|
|
64
|
+
- `rubocop-rake` to `~> 0.7`, `>= 0.7.1`.
|
|
65
|
+
- `rubocop-thread_safety` to `~> 0.7`, `>= 0.7.3`.
|
|
66
|
+
- `standard-rubocop-lts` to `~> 2.0`, `>= 2.0.3`.
|
|
67
|
+
- Release, lint, documentation, and test dependencies to their latest compatible floors.
|
|
68
|
+
- Updated direct dependency floors and moved `rubocop-md` to plugin loading.
|
|
69
|
+
|
|
70
|
+
### Fixed
|
|
71
|
+
|
|
72
|
+
### Removed
|
|
73
|
+
|
|
74
|
+
## [3.0.1] 2026-06-01
|
|
75
|
+
|
|
76
|
+
### Added
|
|
77
|
+
|
|
78
|
+
### Changed
|
|
79
|
+
|
|
10
80
|
- Load `rubocop-thread_safety` through RuboCop's plugin API.
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
|
|
84
|
+
### Removed
|
|
85
|
+
|
|
86
|
+
## [3.0.0] 2026-05-30
|
|
87
|
+
|
|
88
|
+
### Added
|
|
89
|
+
|
|
90
|
+
### Changed
|
|
91
|
+
|
|
11
92
|
- Tidelift for Reporting Security vulnerabilities
|
|
12
93
|
- Updated `standard-rubocop-lts` dependency to the `2.x` series.
|
|
94
|
+
|
|
13
95
|
### Fixed
|
|
96
|
+
|
|
14
97
|
### Removed
|
|
98
|
+
|
|
15
99
|
- rubocop-shopify because they boiled the ocean
|
|
16
100
|
- turning cops off isn't copacetic with the goal of strict compatibility
|
|
17
101
|
|
|
18
102
|
## [2.0.6] 2023-06-13
|
|
103
|
+
|
|
19
104
|
### Changed
|
|
105
|
+
|
|
20
106
|
- Moved development dependencies out of gemspec
|
|
21
107
|
- rubocop to 1.52.1
|
|
22
108
|
- rubocop-shopify to 2.14
|
|
23
109
|
- standard-custom to 1.0.1
|
|
24
110
|
- standard-rubocop-lts to 1.0.7
|
|
25
111
|
- version_gem to 1.1.3
|
|
112
|
+
|
|
26
113
|
### Fixed
|
|
114
|
+
|
|
27
115
|
- rubocop/rails.yml config
|
|
28
116
|
- betterlint integration
|
|
29
117
|
- standard-rails integration
|
|
30
118
|
- bin/pry now pre-loads this library
|
|
31
119
|
|
|
32
120
|
## [2.0.5] 2023-06-05
|
|
121
|
+
|
|
33
122
|
### Added
|
|
123
|
+
|
|
34
124
|
- Dependencies
|
|
35
125
|
- yard-junk
|
|
36
126
|
- redcarpet
|
|
@@ -40,28 +130,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
40
130
|
- Some rules should ignore specs/tests
|
|
41
131
|
- Style/MethodCallWithArgsParentheses
|
|
42
132
|
- Style/ClassAndModuleChildren
|
|
133
|
+
|
|
43
134
|
### Fixed
|
|
135
|
+
|
|
44
136
|
- `yard` documentation task
|
|
137
|
+
|
|
45
138
|
### Changed
|
|
139
|
+
|
|
46
140
|
- Added Include to inherit_mode: merge
|
|
47
141
|
- Updated dependency on standard-rubocop-lts
|
|
48
142
|
|
|
49
143
|
## [2.0.4] 2023-05-22
|
|
144
|
+
|
|
50
145
|
### Fixed
|
|
146
|
+
|
|
51
147
|
- install_tasks and Railtie loading of rake tasks
|
|
148
|
+
|
|
52
149
|
### Changed
|
|
150
|
+
|
|
53
151
|
- tasks.rake => tasks.rb
|
|
54
152
|
|
|
55
153
|
## [2.0.3] 2023-05-21
|
|
154
|
+
|
|
56
155
|
### Fixed
|
|
156
|
+
|
|
57
157
|
- Ship rake tasks in gem package
|
|
58
158
|
|
|
59
159
|
## [2.0.2] 2023-05-19
|
|
160
|
+
|
|
60
161
|
### Fixed
|
|
162
|
+
|
|
61
163
|
- Fix rake_tasks hook on Railtie
|
|
62
164
|
|
|
63
165
|
## [2.0.1] 2023-05-17 [YANKED]
|
|
166
|
+
|
|
64
167
|
### Added
|
|
168
|
+
|
|
65
169
|
- Configs added for:
|
|
66
170
|
- standard-performance
|
|
67
171
|
- standard-custom
|
|
@@ -72,7 +176,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
72
176
|
- version_gem
|
|
73
177
|
|
|
74
178
|
## [2.0.0] 2023-05-09 [YANKED]
|
|
179
|
+
|
|
75
180
|
### Changed
|
|
181
|
+
|
|
76
182
|
- New/Better configs for:
|
|
77
183
|
- rubocop
|
|
78
184
|
- rubocop-gradual
|
|
@@ -86,73 +192,110 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
86
192
|
- rubocop-rspec
|
|
87
193
|
- And optionally, if you are using building a RubyGem:
|
|
88
194
|
- rubocop-packaging
|
|
195
|
+
|
|
89
196
|
### Removed
|
|
197
|
+
|
|
90
198
|
- Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
|
|
91
199
|
|
|
92
200
|
## [1.1.3] 2023-03-14
|
|
201
|
+
|
|
93
202
|
### Added
|
|
203
|
+
|
|
94
204
|
- GitLab CI config
|
|
205
|
+
|
|
95
206
|
### Changed
|
|
207
|
+
|
|
96
208
|
- Upgraded to RuboCop v1.48.1
|
|
97
209
|
|
|
98
210
|
## [1.1.2] 2023-02-01
|
|
211
|
+
|
|
99
212
|
### Fixed
|
|
213
|
+
|
|
100
214
|
- Stop defining global variable in version.rb
|
|
215
|
+
|
|
101
216
|
### Changed
|
|
217
|
+
|
|
102
218
|
- Upgraded to RuboCop v1.44.1
|
|
103
219
|
- Compatible with rubocop-packaging ~> 0.5.2
|
|
104
220
|
- Improved development documentation
|
|
105
221
|
- Improved documentation on SemVer adherence
|
|
106
222
|
|
|
107
223
|
## [1.1.1] 2022-12-20
|
|
224
|
+
|
|
108
225
|
### Fixed
|
|
226
|
+
|
|
109
227
|
- Documentation
|
|
228
|
+
|
|
110
229
|
### Changed
|
|
230
|
+
|
|
111
231
|
- Minimum code coverage == 100%
|
|
112
232
|
|
|
113
233
|
## [1.1.0] 2022-12-19
|
|
234
|
+
|
|
114
235
|
### Added
|
|
236
|
+
|
|
115
237
|
- More Linting Rules
|
|
116
238
|
- Improved Rakefile for YARD docs
|
|
117
239
|
- Improved Documentation related to Three Guarantees
|
|
118
240
|
- Updated Ruby Version Support in Readme
|
|
119
241
|
- Improved documentation
|
|
242
|
+
|
|
120
243
|
### Changed
|
|
244
|
+
|
|
121
245
|
- Rubocop => RuboCop typo repair in documentation
|
|
122
246
|
|
|
123
247
|
## [1.0.6] 2022-06-08
|
|
248
|
+
|
|
124
249
|
### Changed
|
|
250
|
+
|
|
125
251
|
- Update to rubocop 1.30.1
|
|
126
252
|
- Removed test_files from gemspec
|
|
127
253
|
- Add binstubs for bundle, rake, rspec, and rubocop
|
|
128
254
|
|
|
129
255
|
## [1.0.5] 2022-06-05
|
|
256
|
+
|
|
130
257
|
### Changed
|
|
258
|
+
|
|
131
259
|
- Update to rubocop 1.30.0
|
|
132
260
|
|
|
133
261
|
## [1.0.4] 2022-05-23
|
|
262
|
+
|
|
134
263
|
### Changed
|
|
264
|
+
|
|
135
265
|
- Update to rubocop 1.29.1
|
|
136
266
|
|
|
137
267
|
## [1.0.3] 2022-05-23
|
|
268
|
+
|
|
138
269
|
### Added
|
|
270
|
+
|
|
139
271
|
- Rubocop => RuboCop typo repair
|
|
140
272
|
- Ruby Version Support Matrix
|
|
141
273
|
- Improved documentation
|
|
142
274
|
|
|
143
275
|
## [1.0.2] 2022-05-03
|
|
276
|
+
|
|
144
277
|
### Fixed
|
|
278
|
+
|
|
145
279
|
- Added missing rubocop.yml for inherit_gem directive
|
|
146
280
|
|
|
147
281
|
## [1.0.1] 2022-05-02
|
|
282
|
+
|
|
148
283
|
### Added
|
|
284
|
+
|
|
149
285
|
- Documentation
|
|
150
286
|
|
|
151
287
|
## [1.0.0] 2022-05-01
|
|
288
|
+
|
|
152
289
|
### Added
|
|
290
|
+
|
|
153
291
|
- Initial release
|
|
154
292
|
|
|
155
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/
|
|
293
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v3.0.4...HEAD
|
|
294
|
+
[3.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v3.0.2...v3.0.4
|
|
295
|
+
[3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby2_7/releases/tag/v3.0.4
|
|
296
|
+
[3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v3.0.1...v3.0.2
|
|
297
|
+
[3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v3.0.0...v3.0.1
|
|
298
|
+
[3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v2.0.6...v3.0.0
|
|
156
299
|
[2.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.5...v2.0.6
|
|
157
300
|
[2.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.4...v2.0.5
|
|
158
301
|
[2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.3...v2.0.4
|
data/CITATION.cff
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
title: "rubocop-ruby2_7"
|
|
3
|
+
message: >-
|
|
4
|
+
If you use this work and you want to cite it,
|
|
5
|
+
then you can use the metadata from this file.
|
|
6
|
+
type: software
|
|
7
|
+
authors:
|
|
8
|
+
- given-names: "Peter H."
|
|
9
|
+
family-names: "Boling"
|
|
10
|
+
email: "floss@galtzo.com"
|
|
11
|
+
affiliation: "galtzo.com"
|
|
12
|
+
orcid: 'https://orcid.org/0009-0008-8519-441X'
|
|
13
|
+
identifiers:
|
|
14
|
+
- type: url
|
|
15
|
+
value: 'https://github.com/rubocop-lts/rubocop-ruby2_7'
|
|
16
|
+
description: "rubocop-ruby2_7"
|
|
17
|
+
repository-code: 'https://github.com/rubocop-lts/rubocop-ruby2_7'
|
|
18
|
+
abstract: >-
|
|
19
|
+
rubocop-ruby2_7
|
|
20
|
+
license: See license file
|
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -2,83 +2,133 @@
|
|
|
2
2
|
|
|
3
3
|
## Our Pledge
|
|
4
4
|
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
|
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, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
6
11
|
|
|
7
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
8
14
|
|
|
9
15
|
## Our Standards
|
|
10
16
|
|
|
11
|
-
Examples of behavior that contributes to a positive environment for our
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
12
19
|
|
|
13
20
|
* Demonstrating empathy and kindness toward other people
|
|
14
21
|
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
22
|
* Giving and gracefully accepting constructive feedback
|
|
16
|
-
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
17
|
-
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
+
community
|
|
18
27
|
|
|
19
28
|
Examples of unacceptable behavior include:
|
|
20
29
|
|
|
21
|
-
* The use of sexualized language or imagery, and sexual attention or
|
|
22
|
-
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
+
any kind
|
|
23
32
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
24
33
|
* Public or private harassment
|
|
25
|
-
* Publishing others' private information, such as a physical or email
|
|
26
|
-
|
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
|
35
|
+
without their explicit permission
|
|
27
36
|
* Other conduct which could reasonably be considered inappropriate in a
|
|
28
37
|
professional setting
|
|
29
38
|
|
|
30
39
|
## Enforcement Responsibilities
|
|
31
40
|
|
|
32
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
33
45
|
|
|
34
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
35
50
|
|
|
36
51
|
## Scope
|
|
37
52
|
|
|
38
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official email address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
39
58
|
|
|
40
59
|
## Enforcement
|
|
41
60
|
|
|
42
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
[![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact].
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
43
65
|
|
|
44
|
-
All community leaders are obligated to respect the privacy and security of the
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
45
68
|
|
|
46
69
|
## Enforcement Guidelines
|
|
47
70
|
|
|
48
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
49
73
|
|
|
50
74
|
### 1. Correction
|
|
51
75
|
|
|
52
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
+
unprofessional or unwelcome in the community.
|
|
53
78
|
|
|
54
|
-
**Consequence**: A private, written warning from community leaders, providing
|
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
|
55
82
|
|
|
56
83
|
### 2. Warning
|
|
57
84
|
|
|
58
|
-
**Community Impact**: A violation through a single incident or series of
|
|
85
|
+
**Community Impact**: A violation through a single incident or series of
|
|
86
|
+
actions.
|
|
59
87
|
|
|
60
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
|
93
|
+
ban.
|
|
61
94
|
|
|
62
95
|
### 3. Temporary Ban
|
|
63
96
|
|
|
64
|
-
**Community Impact**: A serious violation of community standards, including
|
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
|
98
|
+
sustained inappropriate behavior.
|
|
65
99
|
|
|
66
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
+
communication with the community for a specified period of time. No public or
|
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
+
Violating these terms may lead to a permanent ban.
|
|
67
105
|
|
|
68
106
|
### 4. Permanent Ban
|
|
69
107
|
|
|
70
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
71
111
|
|
|
72
|
-
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
113
|
+
community.
|
|
73
114
|
|
|
74
115
|
## Attribution
|
|
75
116
|
|
|
76
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
77
|
-
available at
|
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
+
version 2.1, available at
|
|
119
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
78
120
|
|
|
79
|
-
Community Impact Guidelines were inspired by
|
|
80
|
-
|
|
81
|
-
[homepage]: https://www.contributor-covenant.org
|
|
121
|
+
Community Impact Guidelines were inspired by
|
|
122
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
82
123
|
|
|
83
124
|
For answers to common questions about this code of conduct, see the FAQ at
|
|
84
|
-
https://www.contributor-covenant.org/faq. Translations are available at
|
|
125
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
|
126
|
+
[https://www.contributor-covenant.org/translations][translations].
|
|
127
|
+
|
|
128
|
+
[homepage]: https://www.contributor-covenant.org
|
|
129
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
130
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
131
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
132
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
133
|
+
[🚂maint-contact]: http://www.railsbling.com/contact
|
|
134
|
+
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|