persistent-dmnd 2.0.5 → 3.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b1ef59195df38b2f9917b1658df26919a05d83e468503bff403c1a25a86bc60
4
- data.tar.gz: 2cec412562e9fb3979af2c28013d8ff34ad513f0391d3afdf7b3f38e84b6bef8
3
+ metadata.gz: f0960914486fd0d32657f0a2ac0bc39fac7939e6334a6fccddc0276643dc9872
4
+ data.tar.gz: beffd955c885fc84848b3ae6e712290773c62d1a7f88d852c78d26ddbe8f69ad
5
5
  SHA512:
6
- metadata.gz: 5fb069cf98a5e675bfadf4b6b66111987a73bfb67a72cac1ccd8ed1487ce072b152d9ef4793b18ebd186dbe06f572fb6677f456a31c78b1ba4b990e75429ccfe
7
- data.tar.gz: 4910cd473c5b81184a775172003b1bf242d4a4b8367e932c75a2ed871184e8bd4779bdecd473b2c5f0db7f14c2f200001bdbf2ea658b038659919188e3e167e5
6
+ metadata.gz: 897d9bfc154865911c0be282ce3bb2cc19161b265e0c7244e39c52db5c1b40a92b188122233117404e636ef562509627366aabbbf54b8a55e206dccd8979d88f
7
+ data.tar.gz: 25aa9be4e63456038a288d6d6155c63306714102516d143d6f393a442778d164e01bc2ce8c40028de96eb919cf551f847d307cf8f893c3189207d745b47d4ef2
data/.gitlab-ci.yml CHANGED
@@ -1,132 +1,7 @@
1
- # MRI Ruby version list:
2
- # https://hub.docker.com/r/library/ruby/tags/
3
-
4
- testruby_1_9_3:
5
- image: "ruby:1.9.3"
6
-
7
- # Cache gems in between builds
8
- cache:
9
- paths:
10
- - vendor/ruby
11
-
12
- before_script:
13
- - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50 7638D0442B90D010 8B48AD6246925553
14
- - echo "deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-free" | tee /etc/apt/sources.list
15
- - apt-get update # Add UTF-8 support
16
- - apt-get install -y locales >/dev/null # |
17
- - echo "en_US UTF-8" > /etc/locale.gen # |
18
- - locale-gen en_US.UTF-8 # |
19
- - export LANG=en_US.UTF-8 # |
20
- - export LANGUAGE=en_US:en # |
21
- - export LC_ALL=en_US.UTF-8 # v
22
- - ruby -v # Print out ruby version for debugging
23
- - gem install bundler -v '< 2' # Bundler is not installed with the image
24
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
25
-
26
- script:
27
- - bin/rspec
28
-
29
- testruby_2_0:
30
- image: "ruby:2.0"
31
-
32
- # Cache gems in between builds
33
- cache:
34
- paths:
35
- - vendor/ruby
36
-
37
- before_script:
38
- - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50 7638D0442B90D010 8B48AD6246925553
39
- - echo "deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-free" | tee /etc/apt/sources.list
40
- - apt-get update # Add UTF-8 support
41
- - apt-get install -y locales >/dev/null # |
42
- - echo "en_US UTF-8" > /etc/locale.gen # |
43
- - locale-gen en_US.UTF-8 # |
44
- - export LANG=en_US.UTF-8 # |
45
- - export LANGUAGE=en_US:en # |
46
- - export LC_ALL=en_US.UTF-8 # v
47
- - ruby -v # Print out ruby version for debugging
48
- - gem install bundler:'< 2' # Bundler is not installed with the image
49
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
50
-
51
- script:
52
- - bin/rspec
53
-
54
- testruby_2_1:
55
- image: "ruby:2.1"
56
-
57
- # Cache gems in between builds
58
- cache:
59
- paths:
60
- - vendor/ruby
61
-
62
- before_script:
63
- - printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
64
- - apt-get update >/dev/null # Add UTF-8 support
65
- - apt-get install -y locales >/dev/null # |
66
- - echo "en_US UTF-8" > /etc/locale.gen # |
67
- - locale-gen en_US.UTF-8 # |
68
- - export LANG=en_US.UTF-8 # |
69
- - export LANGUAGE=en_US:en # |
70
- - export LC_ALL=en_US.UTF-8 # v
71
- - ruby -v # Print out ruby version for debugging
72
- - gem install bundler:'< 2' # Bundler is not installed with the image
73
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
74
-
75
- script:
76
- - bin/rspec
77
-
78
- testruby_2_2:
79
- image: "ruby:2.2"
80
-
81
- # Cache gems in between builds
82
- cache:
83
- paths:
84
- - vendor/ruby
85
-
86
- before_script:
87
- - printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
88
- - apt-get update >/dev/null # Add UTF-8 support
89
- - apt-get install -y locales >/dev/null # |
90
- - echo "en_US UTF-8" > /etc/locale.gen # |
91
- - locale-gen en_US.UTF-8 # |
92
- - export LANG=en_US.UTF-8 # |
93
- - export LANGUAGE=en_US:en # |
94
- - export LC_ALL=en_US.UTF-8 # v
95
- - ruby -v # Print out ruby version for debugging
96
- - gem install bundler:'< 2' # Bundler is not installed with the image
97
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
98
-
99
- script:
100
- - bin/rspec
101
-
102
- testruby_2_3:
103
- image: "ruby:2.3"
104
-
105
- # Cache gems in between builds
106
- cache:
107
- paths:
108
- - vendor/ruby
109
-
110
- before_script:
111
- - apt-get update >/dev/null # Add UTF-8 support
112
- - apt-get install -y locales >/dev/null # |
113
- - echo "en_US UTF-8" > /etc/locale.gen # |
114
- - locale-gen en_US.UTF-8 # |
115
- - export LANG=en_US.UTF-8 # |
116
- - export LANGUAGE=en_US:en # |
117
- - export LC_ALL=en_US.UTF-8 # v
118
- - ruby -v # Print out ruby version for debugging
119
- - gem install bundler:'< 2' # Bundler is not installed with the image
120
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
121
-
122
- script:
123
- - bin/rspec
124
-
125
1
  testruby_2_4:
126
2
  image: "ruby:2.4"
127
3
 
128
- # Cache gems in between builds
129
- cache:
4
+ cache: # Cache gems in between builds
130
5
  paths:
131
6
  - vendor/ruby
132
7
 
@@ -148,21 +23,12 @@ testruby_2_4:
148
23
  testruby_2_5:
149
24
  image: "ruby:2.5"
150
25
 
151
- # Cache gems in between builds
152
- cache:
26
+ cache: # Cache gems in between builds
153
27
  paths:
154
28
  - vendor/ruby
155
29
 
156
30
  before_script:
157
- - apt-get update >/dev/null # Add UTF-8 support
158
- - apt-get install -y locales >/dev/null # |
159
- - echo "en_US UTF-8" > /etc/locale.gen # |
160
- - locale-gen en_US.UTF-8 # |
161
- - export LANG=en_US.UTF-8 # |
162
- - export LANGUAGE=en_US:en # |
163
- - export LC_ALL=en_US.UTF-8 # v
164
31
  - ruby -v # Print out ruby version for debugging
165
- - gem install bundler:'< 2' # Bundler is not installed with the image
166
32
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
167
33
 
168
34
  script:
@@ -171,21 +37,12 @@ testruby_2_5:
171
37
  testruby_2_6:
172
38
  image: "ruby:2.6"
173
39
 
174
- # Cache gems in between builds
175
- cache:
40
+ cache: # Cache gems in between builds
176
41
  paths:
177
42
  - vendor/ruby
178
43
 
179
44
  before_script:
180
- - apt-get update >/dev/null # Add UTF-8 support
181
- - apt-get install -y locales >/dev/null # |
182
- - echo "en_US UTF-8" > /etc/locale.gen # |
183
- - locale-gen en_US.UTF-8 # |
184
- - export LANG=en_US.UTF-8 # |
185
- - export LANGUAGE=en_US:en # |
186
- - export LC_ALL=en_US.UTF-8 # v
187
45
  - ruby -v # Print out ruby version for debugging
188
- - gem install bundler:'< 2' # Bundler is not installed with the image
189
46
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
190
47
 
191
48
  script:
@@ -194,19 +51,11 @@ testruby_2_6:
194
51
  testruby_2_7:
195
52
  image: "ruby:2.7"
196
53
 
197
- # Cache gems in between builds
198
- cache:
54
+ cache: # Cache gems in between builds
199
55
  paths:
200
56
  - vendor/ruby
201
57
 
202
58
  before_script:
203
- - apt-get update >/dev/null # Add UTF-8 support
204
- - apt-get install -y locales >/dev/null # |
205
- - echo "en_US UTF-8" > /etc/locale.gen # |
206
- - locale-gen en_US.UTF-8 # |
207
- - export LANG=en_US.UTF-8 # |
208
- - export LANGUAGE=en_US:en # |
209
- - export LC_ALL=en_US.UTF-8 # v
210
59
  - ruby -v # Print out ruby version for debugging
211
60
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
212
61
 
@@ -214,21 +63,13 @@ testruby_2_7:
214
63
  - bin/rspec
215
64
 
216
65
  testruby_3_0:
217
- image: "ruby:3.0.0"
66
+ image: "ruby:3.0"
218
67
 
219
- # Cache gems in between builds
220
- cache:
68
+ cache: # Cache gems in between builds
221
69
  paths:
222
70
  - vendor/ruby
223
71
 
224
72
  before_script:
225
- - apt-get update >/dev/null # Add UTF-8 support
226
- - apt-get install -y locales >/dev/null # |
227
- - echo "en_US UTF-8" > /etc/locale.gen # |
228
- - locale-gen en_US.UTF-8 # |
229
- - export LANG=en_US.UTF-8 # |
230
- - export LANGUAGE=en_US:en # |
231
- - export LC_ALL=en_US.UTF-8 # v
232
73
  - ruby -v # Print out ruby version for debugging
233
74
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
234
75
 
@@ -236,21 +77,13 @@ testruby_3_0:
236
77
  - bin/rspec
237
78
 
238
79
  testruby_3_1:
239
- image: "ruby:3.1.0"
80
+ image: "ruby:3.1"
240
81
 
241
- # Cache gems in between builds
242
- cache:
82
+ cache: # Cache gems in between builds
243
83
  paths:
244
84
  - vendor/ruby
245
85
 
246
86
  before_script:
247
- - apt-get update >/dev/null # Add UTF-8 support
248
- - apt-get install -y locales >/dev/null # |
249
- - echo "en_US UTF-8" > /etc/locale.gen # |
250
- - locale-gen en_US.UTF-8 # |
251
- - export LANG=en_US.UTF-8 # |
252
- - export LANGUAGE=en_US:en # |
253
- - export LC_ALL=en_US.UTF-8 # v
254
87
  - ruby -v # Print out ruby version for debugging
255
88
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
256
89
 
@@ -258,104 +91,28 @@ testruby_3_1:
258
91
  - bin/rspec
259
92
 
260
93
  testruby_3_2:
261
- image: "ruby:3.2.0"
262
-
263
- # Cache gems in between builds
264
- cache:
265
- paths:
266
- - vendor/ruby
267
-
268
- before_script:
269
- - apt-get update >/dev/null # Add UTF-8 support
270
- - apt-get install -y locales >/dev/null # |
271
- - echo "en_US UTF-8" > /etc/locale.gen # |
272
- - locale-gen en_US.UTF-8 # |
273
- - export LANG=en_US.UTF-8 # |
274
- - export LANGUAGE=en_US:en # |
275
- - export LC_ALL=en_US.UTF-8 # v
276
- - ruby -v # Print out ruby version for debugging
277
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
278
-
279
- script:
280
- - bin/rspec
281
-
282
- testjruby_1_7:
283
- image: "jruby:1.7"
94
+ image: "ruby:3.2"
284
95
 
285
- # Cache gems in between builds
286
- cache:
96
+ cache: # Cache gems in between builds
287
97
  paths:
288
98
  - vendor/ruby
289
99
 
290
100
  before_script:
291
- - apt-get update >/dev/null # Add UTF-8 support
292
- - apt-get install -y locales >/dev/null # |
293
- - echo "en_US UTF-8" > /etc/locale.gen # |
294
- - locale-gen en_US.UTF-8 # |
295
- - export LANG=en_US.UTF-8 # |
296
- - export LANGUAGE=en_US:en # |
297
- - export LC_ALL=en_US.UTF-8 # v
298
- - apt-get install -y git >/dev/null # Add git binary
299
- - export JRUBY_OPTS=--dev # Faster test runs
300
- - ruby -v # Print out ruby version for debugging
301
- - gem install bundler:'< 2' # Bundler is not installed with the image
302
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
303
-
304
- script:
305
- - bin/rspec
306
-
307
- testjruby_9_0:
308
- image: "jruby:9.0"
309
-
310
- # Cache gems in between builds
311
- cache:
312
- paths:
313
- - vendor/ruby
314
-
315
- before_script:
316
- - rm /etc/apt/sources.list.d/jessie-backports.list
317
- - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50 7638D0442B90D010 8B48AD6246925553
318
- - echo "deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-free" | tee /etc/apt/sources.list
319
- - apt-get update # Add UTF-8 support
320
- - apt-get install -y locales >/dev/null # |
321
- - echo "en_US UTF-8" > /etc/locale.gen # |
322
- - locale-gen en_US.UTF-8 # |
323
- - export LANG=en_US.UTF-8 # |
324
- - export LANGUAGE=en_US:en # |
325
- - export LC_ALL=en_US.UTF-8 # v
326
- - apt-get install -y git >/dev/null # Add git binary
327
- - export JRUBY_OPTS=--dev # Faster test runs
328
101
  - ruby -v # Print out ruby version for debugging
329
- - wget https://rubygems.org/downloads/jruby-openssl-0.9.21-java.gem # Needed to support newer ciphers when connecting to rubygems.org (otherwise gem downloads fail)
330
- - gem install jruby-openssl-0.9.21-java.gem # Install the newer gem
331
- - gem uninstall -x -i /opt/jruby/lib/ruby/gems/shared bundler # Remove any pre-existing bundler
332
- - gem install bundler:'< 2' # Install latest bundler 1.x
333
102
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
334
103
 
335
104
  script:
336
105
  - bin/rspec
337
106
 
338
- testjruby_9_1:
339
- image: "jruby:9.1"
107
+ testruby_3_3:
108
+ image: "ruby:3.3"
340
109
 
341
- # Cache gems in between builds
342
- cache:
110
+ cache: # Cache gems in between builds
343
111
  paths:
344
112
  - vendor/ruby
345
113
 
346
114
  before_script:
347
- - apt-get update >/dev/null # Add UTF-8 support
348
- - apt-get install -y locales >/dev/null # |
349
- - echo "en_US UTF-8" > /etc/locale.gen # |
350
- - locale-gen en_US.UTF-8 # |
351
- - export LANG=en_US.UTF-8 # |
352
- - export LANGUAGE=en_US:en # |
353
- - export LC_ALL=en_US.UTF-8 # v
354
- - apt-get install -y git >/dev/null # Add git binary
355
- - export JRUBY_OPTS=--dev # Faster test runs
356
115
  - ruby -v # Print out ruby version for debugging
357
- - gem uninstall -x -i /opt/jruby/lib/ruby/gems/shared bundler # Remove any pre-existing bundler
358
- - gem install bundler:'< 2' # Bundler is not installed with the image
359
116
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
360
117
 
361
118
  script:
@@ -366,12 +123,12 @@ testjruby_9_1:
366
123
  testjruby9_2_0_0:
367
124
  image: "jruby:9.2.0.0"
368
125
 
369
- # Cache gems in between builds
370
- cache:
126
+ cache: # Cache gems in between builds
371
127
  paths:
372
128
  - vendor/ruby
373
129
 
374
130
  before_script:
131
+ - echo "deb [trusted=yes] http://archive.debian.org/debian/ stretch main contrib non-free" | tee /etc/apt/sources.list
375
132
  - apt-get update >/dev/null # Add UTF-8 support
376
133
  - apt-get install -y locales >/dev/null # |
377
134
  - echo "en_US UTF-8" > /etc/locale.gen # |
@@ -391,19 +148,12 @@ testjruby9_2_0_0:
391
148
  testjruby_9_2:
392
149
  image: "jruby:9.2"
393
150
 
394
- # Cache gems in between builds
395
- cache:
151
+ cache: # Cache gems in between builds
396
152
  paths:
397
153
  - vendor/ruby
398
154
 
399
155
  before_script:
400
- - apt-get update >/dev/null # Add UTF-8 support
401
- - apt-get install -y locales >/dev/null # |
402
- - echo "en_US UTF-8" > /etc/locale.gen # |
403
- - locale-gen en_US.UTF-8 # |
404
- - export LANG=en_US.UTF-8 # |
405
- - export LANGUAGE=en_US:en # |
406
- - export LC_ALL=en_US.UTF-8 # v
156
+ - apt-get update >/dev/null
407
157
  - apt-get install -y git >/dev/null # Add git binary
408
158
  - export JRUBY_OPTS=--dev # Faster test runs
409
159
  - ruby -v # Print out ruby version for debugging
@@ -417,19 +167,12 @@ testjruby_9_2:
417
167
  testjruby_9_3:
418
168
  image: "jruby:9.3"
419
169
 
420
- # Cache gems in between builds
421
- cache:
170
+ cache: # Cache gems in between builds
422
171
  paths:
423
172
  - vendor/ruby
424
173
 
425
174
  before_script:
426
- - apt-get update >/dev/null # Add UTF-8 support
427
- - apt-get install -y locales >/dev/null # |
428
- - echo "en_US UTF-8" > /etc/locale.gen # |
429
- - locale-gen en_US.UTF-8 # |
430
- - export LANG=en_US.UTF-8 # |
431
- - export LANGUAGE=en_US:en # |
432
- - export LC_ALL=en_US.UTF-8 # v
175
+ - apt-get update >/dev/null
433
176
  - apt-get install -y git >/dev/null # Add git binary
434
177
  - export JRUBY_OPTS=--dev # Faster test runs
435
178
  - ruby -v # Print out ruby version for debugging
@@ -441,19 +184,12 @@ testjruby_9_3:
441
184
  testjruby_9_4:
442
185
  image: "jruby:9.4"
443
186
 
444
- # Cache gems in between builds
445
- cache:
187
+ cache: # Cache gems in between builds
446
188
  paths:
447
189
  - vendor/ruby
448
190
 
449
191
  before_script:
450
- - apt-get update >/dev/null # Add UTF-8 support
451
- - apt-get install -y locales >/dev/null # |
452
- - echo "en_US UTF-8" > /etc/locale.gen # |
453
- - locale-gen en_US.UTF-8 # |
454
- - export LANG=en_US.UTF-8 # |
455
- - export LANGUAGE=en_US:en # |
456
- - export LC_ALL=en_US.UTF-8 # v
192
+ - apt-get update >/dev/null
457
193
  - apt-get install -y git >/dev/null # Add git binary
458
194
  - export JRUBY_OPTS=--dev # Faster test runs
459
195
  - ruby -v # Print out ruby version for debugging
@@ -462,36 +198,15 @@ testjruby_9_4:
462
198
  script:
463
199
  - bin/rspec
464
200
 
465
- testtruffleruby_20_2_0:
466
- image: "flavorjones/truffleruby:20.2.0-buster"
201
+ testtruffleruby_23_1_2:
202
+ image: "ghcr.io/graalvm/truffleruby-community:23.1.2-debian"
467
203
 
468
- before_script:
469
- - apt-get update >/dev/null # Add UTF-8 support
470
- - apt-get install -y locales >/dev/null # |
471
- - echo "en_US UTF-8" > /etc/locale.gen # |
472
- - locale-gen en_US.UTF-8 # |
473
- - export LANG=en_US.UTF-8 # |
474
- - export LANGUAGE=en_US:en # |
475
- - export LC_ALL=en_US.UTF-8 # v
476
- - apt-get install -y git >/dev/null # Add git binary
477
- - ruby -v # Print out ruby version for debugging
478
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
479
-
480
- script:
481
- - bin/rspec
482
-
483
-
484
- testtruffleruby_21_3_0:
485
- image: "ghcr.io/flavorjones/truffleruby:21.3.0"
204
+ cache: # Cache gems in between builds
205
+ paths:
206
+ - vendor/ruby
486
207
 
487
208
  before_script:
488
- - apt-get update >/dev/null # Add UTF-8 support
489
- - apt-get install -y locales >/dev/null # |
490
- - echo "en_US UTF-8" > /etc/locale.gen # |
491
- - locale-gen en_US.UTF-8 # |
492
- - export LANG=en_US.UTF-8 # |
493
- - export LANGUAGE=en_US:en # |
494
- - export LC_ALL=en_US.UTF-8 # v
209
+ - apt-get update >/dev/null
495
210
  - apt-get install -y git >/dev/null # Add git binary
496
211
  - ruby -v # Print out ruby version for debugging
497
212
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
data/.standard.yml ADDED
@@ -0,0 +1,4 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ fix: true
4
+ ruby_version: 2.4
data/CODE_OF_CONDUCT.adoc CHANGED
@@ -2,71 +2,125 @@
2
2
 
3
3
  == Our Pledge
4
4
 
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
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.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
11
14
 
12
15
  == Our Standards
13
16
 
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
16
19
 
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
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,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
22
27
 
23
- Examples of unacceptable behavior by participants include:
28
+ Examples of unacceptable behavior include:
24
29
 
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
28
33
  * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
31
36
  * Other conduct which could reasonably be considered inappropriate in a
32
37
  professional setting
33
38
 
34
- == Our Responsibilities
39
+ == Enforcement Responsibilities
35
40
 
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
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.
39
45
 
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
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.
45
50
 
46
51
  == Scope
47
52
 
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
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.
54
58
 
55
59
  == Enforcement
56
60
 
57
61
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at ivo@ivoanjo.me. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
62
+ reported to the community leaders responsible for enforcement at
63
+ ivo@ivoanjo.me.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ == Enforcement Guidelines
70
+
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:
73
+
74
+ === 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
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.
82
+
83
+ === 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
63
87
 
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
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.
94
+
95
+ === 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
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.
105
+
106
+ === 4. Permanent Ban
107
+
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.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
67
114
 
68
115
  == Attribution
69
116
 
70
- This Code of Conduct is adapted from the
71
- http://contributor-covenant.org[Contributor Covenant], version 1.4, available at
72
- http://contributor-covenant.org/version/1/4/.
117
+ This Code of Conduct is adapted from the Contributor Covenant,
118
+ version 2.1, available at
119
+ https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by
122
+ Mozilla's code of conduct enforcement ladder.
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ https://www.contributor-covenant.org/faq. Translations are available at
126
+ https://www.contributor-covenant.org/translations.