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 +4 -4
- data/.gitlab-ci.yml +27 -312
- data/.standard.yml +4 -0
- data/CODE_OF_CONDUCT.adoc +99 -45
- data/README.adoc +17 -17
- data/Rakefile +4 -3
- data/UPSTREAM_TODO.adoc +0 -10
- data/gems.rb +1 -4
- data/lib/persistent-dmnd.rb +0 -3
- data/lib/persistent-/360/237/222/216.rb +1 -7
- data/lib/persistent_dmnd/array.rb +5 -10
- data/lib/persistent_dmnd/concurrent_ruby_support.rb +1 -6
- data/lib/persistent_dmnd/dmndifier.rb +17 -19
- data/lib/persistent_dmnd/everywhere.rb +1 -3
- data/lib/persistent_dmnd/hash.rb +5 -30
- data/lib/persistent_dmnd/is_persistent.rb +0 -3
- data/lib/persistent_dmnd/jruby_9_2_set_workaround.rb +32 -32
- data/lib/persistent_dmnd/self_conversion.rb +0 -7
- data/lib/persistent_dmnd/set.rb +9 -12
- data/lib/persistent_dmnd/version.rb +1 -4
- data/persistent-dmnd.gemspec +11 -15
- metadata +25 -35
- data/.ruby-version +0 -1
- data/lib/persistent_dmnd/jruby_workaround.rb +0 -107
- data/lib/persistent_dmnd/ruby_1_9_and_2_0_support.rb +0 -48
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1660
- data/sorbet/rbi/gems/hamster.rbi +0 -683
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -2552
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -4180
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -1891
- data/sorbet/rbi/todo.rbi +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0960914486fd0d32657f0a2ac0bc39fac7939e6334a6fccddc0276643dc9872
|
|
4
|
+
data.tar.gz: beffd955c885fc84848b3ae6e712290773c62d1a7f88d852c78d26ddbe8f69ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
339
|
-
image: "
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
466
|
-
image: "
|
|
201
|
+
testtruffleruby_23_1_2:
|
|
202
|
+
image: "ghcr.io/graalvm/truffleruby-community:23.1.2-debian"
|
|
467
203
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
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
|
|
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
data/CODE_OF_CONDUCT.adoc
CHANGED
|
@@ -2,71 +2,125 @@
|
|
|
2
2
|
|
|
3
3
|
== Our Pledge
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
nationality, personal appearance, race, religion, or sexual
|
|
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
|
|
15
|
-
include:
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
16
19
|
|
|
17
|
-
*
|
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
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
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
24
29
|
|
|
25
|
-
* The use of sexualized language or imagery and
|
|
26
|
-
|
|
27
|
-
* Trolling, insulting
|
|
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
|
|
30
|
-
|
|
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
|
-
==
|
|
39
|
+
== Enforcement Responsibilities
|
|
35
40
|
|
|
36
|
-
|
|
37
|
-
behavior and
|
|
38
|
-
response to any
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
representative at an online or offline event.
|
|
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
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
|
|
72
|
-
|
|
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.
|