File tree Expand file tree Collapse file tree 9 files changed +37
-106
lines changed Expand file tree Collapse file tree 9 files changed +37
-106
lines changed Original file line number Diff line number Diff line change
1
+ name : I18n health
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ env :
7
+ RUBY_VERSION : ${{ vars.I18N_RUBY_VERSION || '3.4' }}
8
+
9
+ jobs :
10
+ i18n_health :
11
+ name : Run i18n-tasks health
12
+ runs-on : ubuntu-latest
13
+ env :
14
+ BUNDLE_ONLY : ${{ vars.I18N_BUNDLE_ONLY || 'translations' }}
15
+ steps :
16
+ - uses : actions/checkout@v4
<
D7AE
/td>17
+ - uses : tj-actions/changed-files@v45
18
+ id : changed-files
19
+ with :
20
+ files : |
21
+ .github/workflows/i18n-health.yml
22
+ app
23
+ config/i18n-tasks.yml
24
+ config/locales/*.yml
25
+ lib
26
+ - uses : ruby/setup-ruby@v1
27
+ if : steps.changed-files.outputs.any_changed == 'true'
28
+ with :
29
+ ruby-version : ${{ env.RUBY_VERSION }}
30
+ bundler-cache : true
31
+ - name : Run i18n-tasks health
32
+ if : steps.changed-files.outputs.any_changed == 'true'
33
+ run : bin/i18n-tasks health
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ group :test do
36
36
gem "sqlite3" , platform : :mri
37
37
38
38
# Translations
39
- gem "i18n-tasks"
40
- gem "i18n-spec"
41
39
gem "rails-i18n" # Provides default i18n for many languages
42
40
end
43
41
@@ -50,4 +48,8 @@ group :rubocop do
50
48
gem "rubocop-rails"
51
49
end
52
50
51
+ group :translations do
52
+ gem "i18n-tasks"
53
+ end
54
+
53
55
gemspec path : "."
Original file line number Diff line number Diff line change 192
192
reline
193
193
i18n (1.14.7 )
194
194
concurrent-ruby (~> 1.0 )
195
- i18n-spec (0.6.0 )
196
- iso
197
195
i18n-tasks (1.0.15 )
198
196
activesupport (>= 4.0.2 )
199
197
ast (>= 2.1.0 )
219
217
pp (>= 0.6.0 )
220
218
rdoc (>= 4.0.0 )
221
219
reline (>= 0.4.2 )
222
- iso (0.4.0 )
223
- i18n
224
220
json (2.11.3 )
225
221
kaminari (1.2.2 )
226
222
activesupport (>= 4.1.0 )
@@ -464,7 +460,6 @@ DEPENDENCIES
464
460
devise
465
461
draper
466
462
formtastic (>= 5.0.0 )
467
- i18n-spec
468
463
i18n-tasks
469
464
importmap-rails
470
465
launchy
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ group :test do
39
39
gem "sqlite3" , "~> 1.7" , platform : :mri
40
40
41
41
# Translations
42
- gem "i18n-tasks"
43
- gem "i18n-spec"
44
42
gem "rails-i18n" # Provides default i18n for many languages
45
43
end
46
44
Original file line number Diff line number Diff line change 87
87
public_suffix (>= 2.0.2 , < 7.0 )
88
88
arbre (2.2.0 )
89
89
activesupport (>= 7.0 )
90
- ast (2.4.3 )
91
90
base64 (0.2.0 )
92
91
bcrypt (3.1.20 )
93
92
bigdecimal (3.1.9 )
178
177
has_scope (0.8.2 )
179
178
actionpack (>= 5.2 )
180
179
activesupport (>= 5.2 )
181
- highline (3.1.2 )
182
- reline
183
180
i18n (1.14.7 )
184
181
concurrent-ruby (~> 1.0 )
185
- i18n-spec (0.6.0 )
186
- iso
187
- i18n-tasks (1.0.15 )
188
- activesupport (>= 4.0.2 )
189
- ast (>= 2.1.0 )
190
- erubi
191
- highline (>= 2.0.0 )
192
- i18n
193
- parser (>= 3.2.2.1 )
194
- rails-i18n
195
- rainbow (>= 2.2.2 , < 4.0 )
196
- ruby-progressbar (~> 1.8 , >= 1.8.1 )
197
- terminal-table (>= 1.5.1 )
198
182
importmap-rails (2.1.0 )
199
183
actionpack (>= 6.0.0 )
200
184
activesupport (>= 6.0.0 )
204
188
has_scope (>= 0.6 )
205
189
railties (>= 7.0 )
206
190
responders (>= 2 )
207
- io-console (0.8.0 )
208
- iso (0.4.0 )
209
- i18n
210
191
kaminari (1.2.2 )
211
192
activesupport (>= 4.1.0 )
212
193
kaminari-actionview (= 1.2.2 )
260
241
parallel (1.27.0 )
261
242
parallel_tests (4.10.1 )
262
243
parallel
263
- parser (3.3.8.0 )
264
- ast (~> 2.4.1 )
265
- racc
266
244
public_suffix (6.0.2 )
267
245
pundit (2.5.0 )
268
246
activesupport (>= 3.0.0 )
@@ -301,15 +279,12 @@ GEM
301
279
rake (>= 12.2 )
302
280
thor (~> 1.0 )
303
281
zeitwerk (~> 2.5 )
304
- rainbow (3.1.1 )
305
282
rake (13.2.1 )
306
283
ransack (4.3.0 )
307
284
activerecord (>= 6.1.5 )
308
285
activesupport (>= 6.1.5 )
309
286
i18n
310
287
regexp_parser (2.10.0 )
311
- reline (0.6.1 )
312
- io-console (~> 0.5 )
313
288
request_store (1.7.0 )
314
289
rack (>= 1.4 )
315
290
responders (3.1.1 )
333
308
rspec-mocks (~> 3.13 )
334
309
rspec-support (~> 3.13 )
335
310
rspec-support (3.13.3 )
336
- ruby-progressbar (1.13.0 )
337
311
ruby2_keywords (0.0.5 )
338
312
simplecov (0.22.0 )
339
313
docile (~> 1.1 )
@@ -358,15 +332,10 @@ GEM
358
332
sqlite3 (1.7.3-x86_64-linux )
359
333
sys-uname (1.3.1 )
360
334
ffi (~> 1.1 )
361
- terminal-table (4.0.0 )
362
- unicode-display_width (>= 1.1.1 , < 4 )
363
335
thor (1.3.2 )
364
336
timeout (0.4.3 )
365
337
tzinfo (2.0.6 )
366
338
concurrent-ruby (~> 1.0 )
367
- unicode-display_width (3.1.4 )
368
- unicode-emoji (~> 4.0 , >= 4.0.4 )
369
- unicode-emoji (4.0.4 )
370
339
warden (1.2.9 )
371
340
rack (>= 2.0.9 )
372
341
webrick (1.9.1 )
@@ -395,8 +364,6 @@ DEPENDENCIES
395
364
database_cleaner-active_record
396
365
devise
397
366
draper
398
- i18n-spec
399
- i18n-tasks
400
367
importmap-rails
401
368
launchy
402
369
parallel_tests (~> 4.9 )
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ group :test do
39
39
gem "sqlite3" , platform : :mri
40
40
41
41
# Translations
42
- gem "i18n-tasks"
43
- gem "i18n-spec"
44
42
gem "rails-i18n" # Provides default i18n for many languages
45
43
end
46
44
Original file line number Diff line number Diff line change 99
99
public_suffix (>= 2.0.2 , < 7.0 )
100
100
arbre (2.2.0 )
101
101
741A
activesupport (>= 7.0 )
102
- ast (2.4.3 )
103
102
base64 (0.2.0 )
104
103
bcrypt (3.1.20 )
105
104
benchmark (0.4.0 )
193
192
has_scope (0.8.2 )
194
193
actionpack (>= 5.2 )
195
194
activesupport (>= 5.2 )
196
- highline (3.1.2 )
197
- reline
198
195
i18n (1.14.7 )
199
196
concurrent-ruby (~> 1.0 )
200
- i18n-spec (0.6.0 )
201
- iso
202
- i18n-tasks (1.0.15 )
203
- activesupport (>= 4.0.2 )
204
- ast (>= 2.1.0 )
205
- erubi
206
- highline (>= 2.0.0 )
207
- i18n
208
- parser (>= 3.2.2.1 )
209
- rails-i18n
210
- rainbow (>= 2.2.2 , < 4.0 )
211
- ruby-progressbar (~> 1.8 , >= 1.8.1 )
212
- terminal-table (>= 1.5.1 )
213
197
importmap-rails (2.1.0 )
214
198
actionpack (>= 6.0.0 )
215
199
activesupport (>= 6.0.0 )
224
208
pp (>= 0.6.0 )
225
209
rdoc (>= 4.0.0 )
226
210
reline (>= 0.4.2 )
227
- iso (0.4.0 )
228
- i18n
229
211
kaminari (1.2.2 )
230
212
activesupport (>= 4.1.0 )
231
213
kaminari-actionview (= 1.2.2 )
279
261
parallel (1.27.0 )
280
262
parallel_tests (4.10.1 )
281
263
parallel
282
- parser (3.3.8.0 )
283
- ast (~> 2.4.1 )
284
- racc
285
264
pp (0.6.2 )
286
265
prettyprint
287
266
prettyprint (0.2.0 )
332
311
rake (>= 12.2 )
333
312
thor (~> 1.0 , >= 1.2.2 )
334
313
zeitwerk (~> 2.6 )
335
- rainbow (3.1.1 )
336
314
rake (13.2.1 )
337
315
ransack (4.3.0 )
338
316
activerecord (>= 6.1.5 )
366
344
rspec-mocks (~> 3.13 )
367
345
rspec-support (~> 3.13 )
368
346
rspec-support (3.13.3 )
369
- ruby-progressbar (1.13.0 )
370
347
ruby2_keywords (0.0.5 )
371
348
securerandom (0.4.1 )
372
349
simplecov (0.22.0 )
@@ -393,15 +370,10 @@ GEM
393
370
stringio (3.1.7 )
394
371
sys-uname (1.3.1 )
395
372
ffi (~> 1.1 )
396
- terminal-table (4.0.0 )
397
- unicode-display_width (>= 1.1.1 , < 4 )
398
373
thor (1.3.2 )
399
374
timeout (0.4.3 )
400
375
tzinfo (2.0.6 )
401
376
concurrent-ruby (~> 1.0 )
402
- unicode-display_width (3.1.4 )
403
- unicode-emoji (~> 4.0 , >= 4.0.4 )
404
- unicode-emoji (4.0.4 )
405
377
warden (1.2.9 )
406
378
rack (>= 2.0.9 )
407
379
webrick (1.9.1 )
@@ -430,8 +402,6 @@ DEPENDENCIES
430
402
devise
431
403
draper
432
404
formtastic (>= 5.0.0 )
433
- i18n-spec
434
- i18n-tasks
435
405
importmap-rails
436
406
launchy
437
407
parallel_tests (~> 4.9 )
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ group :test do
39
39
gem "sqlite3" , platform : :mri
40
40
41
41
# Translations
42
- gem "i18n-tasks"
43
- gem "i18n-spec"
44
42
gem "rails-i18n" # Provides default i18n for many languages
45
43
end
46
44
Original file line number Diff line number Diff line change 93
93
public_suffix
10000
span> (>= 2.0.2 , < 7.0 )
94
94
arbre (2.2.0 )
95
95
activesupport (>= 7.0 )
96
- ast (2.4.3 )
97
96
base64 (0.2.0 )
98
97
bcrypt (3.1.20 )
99
98
benchmark (0.4.0 )
187
186
has_scope (0.8.2 )
188
187
actionpack (>= 5.2 )
189
188
activesupport (>= 5.2 )
190
- highline (3.1.2 )
191
- reline
192
189
i18n (1.14.7 )
193
190
concurrent-ruby (~> 1.0 )
194
- i18n-spec (0.6.0 )
195
- iso
196
- i18n-tasks (1.0.15 )
197
- activesupport (>= 4.0.2 )
198
- ast (>= 2.1.0 )
199
- erubi
200
- highline (>= 2.0.0 )
201
- i18n
202
- parser (>= 3.2.2.1 )
203
- rails-i18n
204
- rainbow (>= 2.2.2 , < 4.0 )
205
- ruby-progressbar (~> 1.8 , >= 1.8.1 )
206
- terminal-table (>= 1.5.1 )
207
191
importmap-rails (2.1.0 )
208
192
actionpack (>= 6.0.0 )
209
193
activesupport (>= 6.0.0 )
218
202
pp (>= 0.6.0 )
219
203
rdoc (>= 4.0.0 )
220
204
reline (>= 0.4.2 )
221
- iso (0.4.0 )
222
- i18n
223
205
kaminari (1.2.2 )
224
206
activesupport (>= 4.1.0 )
225
207
kaminari-actionview (= 1.2.2 )
272
254
parallel (1.27.0 )
273
255
parallel_tests (4.10.1 )
274
256
parallel
275
- parser (3.3.8.0 )
276
- ast (~> 2.4.1 )
277
- racc
278
257
pp (0.6.2 )
279
258
prettyprint
280
259
prettyprint (0.2.0 )
325
304
rake (>= 12.2 )
326
305
thor (~> 1.0 , >= 1.2.2 )
327
306
zeitwerk (~> 2.6 )
328
- rainbow (3.1.1 )
329
307
rake (13.2.1 )
330
308
ransack (4.3.0 )
331
309
activerecord (>= 6.1.5 )
359
337
rspec-mocks (~> 3.13 )
360
338
rspec-support (~> 3.13 )
361
339
rspec-support (3.13.3 )
362
- ruby-progressbar (1.13.0 )
363
340
ruby2_keywords (0.0.5 )
364
341
securerandom (0.4.1 )
365
342
simplecov (0.22.0 )
@@ -386,15 +363,10 @@ GEM
386
363
stringio (3.1.7 )
387
364
sys-uname (1.3.1 )
388
365
ffi (~> 1.1 )
389
- terminal-table (4.0.0 )
390
- unicode-display_width (>= 1.1.1 , < 4 )
391
366
thor (1.3.2 )
392
367
timeout (0.4.3 )
393
368
tzinfo (2.0.6 )
394
369
concurrent-ruby (~> 1.0 )
395
- unicode-display_width (3.1.4 )
396
- unicode-emoji (~> 4.0 , >= 4.0.4 )
397
- unicode-emoji (4.0.4 )
398
370
useragent (0.16.11 )
399
371
warden (1.2.9 )
400
372
rack (>= 2.0.9 )
@@ -424,8 +396,6 @@ DEPENDENCIES
424
396
devise
425
397
draper
426
398
formtastic (>= 5.0.0 )
427
- i18n-spec
428
- i18n-tasks
429
399
importmap-rails
430
400
launchy
431
401
parallel_tests (~> 4.9 )
You can’t perform that action at this time.
0 commit comments