good_job 3.12.1 → 3.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f74b72eb186eb125e6a130824094f5629124f4a99bcfecbc7e24e3e8b6b0efa
4
- data.tar.gz: 31c6b7d98d2d33146794b3c41b25a7ed434f3f7610a427658bc51aa958815057
3
+ metadata.gz: caa82da35ecdc7a40488de110b0e52b0a0e073abd8ca6e0cf877b3df4f770fce
4
+ data.tar.gz: 2bb351a541183ccd8f5b5d58209c09813ecc09cebafd4cea1daad462a66337fc
5
5
  SHA512:
6
- metadata.gz: '08d92a2c384a0950749e191bacaa495f120f52a4ce9dfba8e07100d494323dd5692e784565fa301623bb2ec7d378a75a84a76414022a1feeb22cb1362f38fc04'
7
- data.tar.gz: e7942e4dbd92be5635d38a6f77722317ee9fa5b1f4f6fac53cf3029230192fa6fc928e97d98f86653dc2f0a41d75223806e1b66492d44f64731ebb48016c6715
6
+ metadata.gz: a15ac0a81f3efcc6184ed7717430f67aa59d857a873ced5824922e36f499a275ec141636edbb80a3a7c587a9fdd64c3b98c3c189d09d4db45807829957259ca6
7
+ data.tar.gz: 3b948c09db4ca2a60a90770937960db944e2569b3f54fc570e597f97a3b8da3ee247b96d734e0d593be87eac9de0b3a75c20e08daa77590dd94be9d6b3219f36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.12.2](https://github.com/bensheldon/good_job/tree/v3.12.2) (2023-02-16)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.1...v3.12.2)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Ensure all i18n locale keys are under `good_job` namespace [\#850](https://github.com/bensheldon/good_job/pull/850) ([bensheldon](https://github.com/bensheldon))
10
+
11
+ **Closed issues:**
12
+
13
+ - Override locales and conflict with rails-i18n [\#847](https://github.com/bensheldon/good_job/issues/847)
14
+
15
+ **Merged pull requests:**
16
+
17
+ - Add rack-mini-profiler to development [\#848](https://github.com/bensheldon/good_job/pull/848) ([bensheldon](https://github.com/bensheldon))
18
+ - Fix typo of "class" in README [\#845](https://github.com/bensheldon/good_job/pull/845) ([mthadley](https://github.com/mthadley))
19
+ - spelling: add n to 'not' [\#841](https://github.com/bensheldon/good_job/pull/841) ([michaelglass](https://github.com/michaelglass))
20
+
3
21
  ## [v3.12.1](https://github.com/bensheldon/good_job/tree/v3.12.1) (2023-02-09)
4
22
 
5
23
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.0...v3.12.1)
data/README.md CHANGED
@@ -834,7 +834,7 @@ might also be configured to use (deprecated now) `ActionMailer::DeliveryJob`.
834
834
 
835
835
  Jobs will be automatically retried if the process is interrupted while performing a job, for example as the result of a `SIGKILL` or power failure.
836
836
 
837
- If you need more control over interrupt-caused retries, include the `GoodJob::ActiveJobExtensions::InterruptErrors` extension in your job closs. When an interrupted job is retried, the extension will raise a `GoodJob::InterruptError` exception within the job, which allows you to use ActiveJob's `retry_on` and `discard_on` to control the behavior of the job.
837
+ If you need more control over interrupt-caused retries, include the `GoodJob::ActiveJobExtensions::InterruptErrors` extension in your job class. When an interrupted job is retried, the extension will raise a `GoodJob::InterruptError` exception within the job, which allows you to use ActiveJob's `retry_on` and `discard_on` to control the behavior of the job.
838
838
 
839
839
  ```ruby
840
840
  class MyJob < ApplicationJob
@@ -5,20 +5,21 @@ module GoodJob
5
5
  return unless sec
6
6
 
7
7
  if sec < 1
8
- t 'duration.milliseconds', ms: (sec * 1000).floor
8
+ t 'good_job.duration.milliseconds', ms: (sec * 1000).floor
9
9
  elsif sec < 10
10
- t 'duration.less_than_10_seconds', sec: sec.floor
10
+ t 'good_job.duration.less_than_10_seconds', sec: sec.floor
11
11
  elsif sec < 60
12
- t 'duration.seconds', sec: sec.floor
12
+ t 'good_job.duration.seconds', sec: sec.floor
13
13
  elsif sec < 3600
14
- t 'duration.minutes', min: (sec / 60).floor, sec: (sec % 60).floor
14
+ t 'good_job.duration.minutes', min: (sec / 60).floor, sec: (sec % 60).floor
15
15
  else
16
- t 'duration.hours', hour: (sec / 3600).floor, min: ((sec % 3600) / 60).floor
16
+ t 'good_job.duration.hours', hour: (sec / 3600).floor, min: ((sec % 3600) / 60).floor
17
17
  end
18
18
  end
19
19
 
20
- def relative_time(timestamp, **args)
21
- text = timestamp.future? ? "in #{time_ago_in_words(timestamp, **args)}" : "#{time_ago_in_words(timestamp, **args)} ago"
20
+ def relative_time(timestamp, **options)
21
+ options = options.reverse_merge({ scope: "good_job.datetime.distance_in_words" })
22
+ text = timestamp.future? ? "in #{time_ago_in_words(timestamp, **options)}" : "#{time_ago_in_words(timestamp, **options)} ago"
22
23
  tag.time(text, datetime: timestamp, title: timestamp)
23
24
  end
24
25
 
@@ -11,7 +11,7 @@
11
11
  <%= link_to jobs_path, class: ["nav-link", ("active" if controller_name == 'jobs')] do %>
12
12
  <%= t(".jobs") %>
13
13
  <% jobs_count = GoodJob::Job.count %>
14
- <span class="badge bg-secondary rounded-pill"><%= number_to_human(jobs_count) %></span>
14
+ <span class="badge bg-secondary rounded-pill"><%= number_to_human(jobs_count, unit: "good_job.number") %></span>
15
15
  <% end %>
16
16
  </li>
17
17
  <li class="nav-item">
@@ -1,51 +1,69 @@
1
1
  ---
2
2
  en:
3
- datetime:
4
- distance_in_words:
5
- about_x_hours:
6
- one: about 1 hour
7
- other: about %{count} hours
8
- about_x_months:
9
- one: about 1 month
10
- other: about %{count} months
11
- about_x_years:
12
- one: about 1 year
13
- other: about %{count} years
14
- almost_x_years:
15
- one: almost 1 year
16
- other: almost %{count} years
17
- half_a_minute: half a minute
18
- less_than_x_minutes:
19
- one: less than a minute
20
- other: less than %{count} minutes
21
- less_than_x_seconds:
22
- one: less than 1 second
23
- other: less than %{count} seconds
24
- over_x_years:
25
- one: over 1 year
26
- other: over %{count} years
27
- x_days:
28
- one: 1 day
29
- other: "%{count} days"
30
- x_minutes:
31
- one: 1 minute
32
- other: "%{count} minutes"
33
- x_months:
34
- one: 1 month
35
- other: "%{count} months"
36
- x_seconds:
37
- one: 1 second
38
- other: "%{count} seconds"
39
- x_years:
40
- one: 1 year
41
- other: "%{count} years"
42
- duration:
43
- hours: "%{hour}h %{min}m"
44
- less_than_10_seconds: "%{sec}s"
45
- milliseconds: "%{ms}ms"
46
- minutes: "%{min}m %{sec}s"
47
- seconds: "%{sec}s"
48
3
  good_job:
4
+ datetime:
5
+ distance_in_words:
6
+ about_x_hours:
7
+ one: about 1 hour
8
+ other: about %{count} hours
9
+ about_x_months:
10
+ one: about 1 month
11
+ other: about %{count} months
12
+ about_x_years:
13
+ one: about 1 year
14
+ other: about %{count} years
15
+ almost_x_years:
16
+ one: almost 1 year
17
+ other: almost %{count} years
18
+ half_a_minute: half a minute
19
+ less_than_x_minutes:
20
+ one: less than a minute
21
+ other: less than %{count} minutes
22
+ less_than_x_seconds:
23
+ one: less than 1 second
24
+ other: less than %{count} seconds
25
+ over_x_years:
26
+ one: over 1 year
27
+ other: over %{count} years
28
+ x_days:
29
+ one: 1 day
30
+ other: "%{count} days"
31
+ x_minutes:
32
+ one: 1 minute
33
+ other: "%{count} minutes"
34
+ x_months:
35
+ one: 1 month
36
+ other: "%{count} months"
37
+ x_seconds:
38
+ one: 1 second
39
+ other: "%{count} seconds"
40
+ x_years:
41
+ one: 1 year
42
+ other: "%{count} years"
43
+ duration:
44
+ hours: "%{hour}h %{min}m"
45
+ less_than_10_seconds: "%{sec}s"
46
+ milliseconds: "%{ms}ms"
47
+ minutes: "%{min}m %{sec}s"
48
+ seconds: "%{sec}s"
49
+ number:
50
+ format:
51
+ delimiter: ","
52
+ separator: "."
53
+ human:
54
+ decimal_units:
55
+ format: "%n%u"
56
+ units:
57
+ billion: B
58
+ million: M
59
+ quadrillion: Q
60
+ thousand: K
61
+ trillion: T
62
+ unit: ''
63
+ format:
64
+ delimiter: ","
65
+ precision: 3
66
+ separator: "."
49
67
  shared:
50
68
  footer:
51
69
  last_update_html: Last updated <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -63,21 +81,3 @@ en:
63
81
  running: Running
64
82
  scheduled: Scheduled
65
83
  succeeded: Succeeded
66
- number:
67
- format:
68
- delimiter: ","
69
- separator: "."
70
- human:
71
- decimal_units:
72
- format: "%n%u"
73
- units:
74
- billion: B
75
- million: M
76
- quadrillion: Q
77
- thousand: K
78
- trillion: T
79
- unit: ''
80
- format:
81
- delimiter: ","
82
- precision: 3
83
- separator: "."
@@ -1,51 +1,69 @@
1
1
  ---
2
2
  es:
3
- datetime:
4
- distance_in_words:
5
- about_x_hours:
6
- one: alrededor de 1 hora
7
- other: alrededor de %{count} horas
8
- about_x_months:
9
- one: alrededor de 1 mes
10
- other: alrededor de %{count} meses
11
- about_x_years:
12
- one: alrededor de 1 año
13
- other: alrededor de %{count} años
14
- almost_x_years:
15
- one: casi 1 año
16
- other: casi %{count} años
17
- half_a_minute: medio minuto
18
- less_than_x_minutes:
19
- one: menos de un minuto
20
- other: menos de %{count} minutos
21
- less_than_x_seconds:
22
- one: menos de 1 segundo
23
- other: menos de %{count} segundos
24
- over_x_years:
25
- one: más de 1 año
26
- other: durante %{count} años
27
- x_days:
28
- one: 1 día
29
- other: "%{count} días"
30
- x_minutes:
31
- one: 1 minuto
32
- other: "%{count} minutos"
33
- x_months:
34
- one: 1 mes
35
- other: "%{count} meses"
36
- x_seconds:
37
- one: 1 segundo
38
- other: "%{count} segundos"
39
- x_years:
40
- one: 1 año
41
- other: "%{count} años"
42
- duration:
43
- hours: "%{hour}h %{min}m"
44
- less_than_10_seconds: "%{sec}s"
45
- milliseconds: "%{ms}ms"
46
- minutes: "%{min}m %{sec}s"
47
- seconds: "%{sec}s"
48
3
  good_job:
4
+ datetime:
5
+ distance_in_words:
6
+ about_x_hours:
7
+ one: alrededor de 1 hora
8
+ other: alrededor de %{count} horas
9
+ about_x_months:
10
+ one: alrededor de 1 mes
11
+ other: alrededor de %{count} meses
12
+ about_x_years:
13
+ one: alrededor de 1 año
14
+ other: alrededor de %{count} años
15
+ almost_x_years:
16
+ one: casi 1 año
17
+ other: casi %{count} años
18
+ half_a_minute: medio minuto
19
+ less_than_x_minutes:
20
+ one: menos de un minuto
21
+ other: menos de %{count} minutos
22
+ less_than_x_seconds:
23
+ one: menos de 1 segundo
24
+ other: menos de %{count} segundos
25
+ over_x_years:
26
+ one: más de 1 año
27
+ other: durante %{count} años
28
+ x_days:
29
+ one: 1 día
30
+ other: "%{count} días"
31
+ x_minutes:
32
+ one: 1 minuto
33
+ other: "%{count} minutos"
34
+ x_months:
35
+ one: 1 mes
36
+ other: "%{count} meses"
37
+ x_seconds:
38
+ one: 1 segundo
39
+ other: "%{count} segundos"
40
+ x_years:
41
+ one: 1 año
42
+ other: "%{count} años"
43
+ duration:
44
+ hours: "%{hour}h %{min}m"
45
+ less_than_10_seconds: "%{sec}s"
46
+ milliseconds: "%{ms}ms"
47
+ minutes: "%{min}m %{sec}s"
48
+ seconds: "%{sec}s"
49
+ number:
50
+ format:
51
+ delimiter: " "
52
+ separator: ","
53
+ human:
54
+ decimal_units:
55
+ format: "%n%u"
56
+ units:
57
+ billion: B
58
+ million: M
59
+ quadrillion: q
60
+ thousand: k
61
+ trillion: T
62
+ unit: ''
63
+ format:
64
+ delimiter: " "
65
+ precision: 3
66
+ separator: ","
49
67
  shared:
50
68
  footer:
51
69
  last_update_html: Última actualización <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -63,21 +81,3 @@ es:
63
81
  running: Corriendo
64
82
  scheduled: Programado
65
83
  succeeded: Acierto
66
- number:
67
- format:
68
- delimiter: " "
69
- separator: ","
70
- human:
71
- decimal_units:
72
- format: "%n%u"
73
- units:
74
- billion: B
75
- million: M
76
- quadrillion: q
77
- thousand: k
78
- trillion: T
79
- unit: ''
80
- format:
81
- delimiter: " "
82
- precision: 3
83
- separator: ","
@@ -1,51 +1,69 @@
1
1
  ---
2
2
  fr:
3
- datetime:
4
- distance_in_words:
5
- about_x_hours:
6
- one: environ 1 heure
7
- other: environ %{count} heures
8
- about_x_months:
9
- one: environ 1 heure
10
- other: environ %{count} heures
11
- about_x_years:
12
- one: environ 1 an
13
- other: environ %{count} ans
14
- almost_x_years:
15
- one: presque 1 an
16
- other: presque %{count} ans
17
- half_a_minute: une demi-minute
18
- less_than_x_minutes:
19
- one: moins d'une minute
20
- other: moins de %{count} minutes
21
- less_than_x_seconds:
22
- one: moins d'une seconde
23
- other: moins de %{count} secondes
24
- over_x_years:
25
- one: plus d'un an
26
- other: plus de %{count} ans
27
- x_days:
28
- one: 1 jour
29
- other: "%{count} jours"
30
- x_minutes:
31
- one: 1 minute
32
- other: "%{count} minutes"
33
- x_months:
34
- one: 1 mois
35
- other: "%{count} mois"
36
- x_seconds:
37
- one: 1 seconde
38
- other: "%{count} secondes"
39
- x_years:
40
- one: 1 an
41
- other: "%{count} ans"
42
- duration:
43
- hours: "%{hour}h %{min}m"
44
- less_than_10_seconds: "%{sec}s"
45
- milliseconds: "%{ms}ms"
46
- minutes: "%{min}m %{sec}s"
47
- seconds: "%{sec}s"
48
3
  good_job:
4
+ datetime:
5
+ distance_in_words:
6
+ about_x_hours:
7
+ one: environ 1 heure
8
+ other: environ %{count} heures
9
+ about_x_months:
10
+ one: environ 1 heure
11
+ other: environ %{count} heures
12
+ about_x_years:
13
+ one: environ 1 an
14
+ other: environ %{count} ans
15
+ almost_x_years:
16
+ one: presque 1 an
17
+ other: presque %{count} ans
18
+ half_a_minute: une demi-minute
19
+ less_than_x_minutes:
20
+ one: moins d'une minute
21
+ other: moins de %{count} minutes
22
+ less_than_x_seconds:
23
+ one: moins d'une seconde
24
+ other: moins de %{count} secondes
25
+ over_x_years:
26
+ one: plus d'un an
27
+ other: plus de %{count} ans
28
+ x_days:
29
+ one: 1 jour
30
+ other: "%{count} jours"
31
+ x_minutes:
32
+ one: 1 minute
33
+ other: "%{count} minutes"
34
+ x_months:
35
+ one: 1 mois
36
+ other: "%{count} mois"
37
+ x_seconds:
38
+ one: 1 seconde
39
+ other: "%{count} secondes"
40
+ x_years:
41
+ one: 1 an
42
+ other: "%{count} ans"
43
+ duration:
44
+ hours: "%{hour}h %{min}m"
45
+ less_than_10_seconds: "%{sec}s"
46
+ milliseconds: "%{ms}ms"
47
+ minutes: "%{min}m %{sec}s"
48
+ seconds: "%{sec}s"
49
+ number:
50
+ format:
51
+ delimiter: " "
52
+ separator: ","
53
+ human:
54
+ decimal_units:
55
+ format: "%n%u"
56
+ units:
57
+ billion: B
58
+ million: M
59
+ quadrillion: q
60
+ thousand: k
61
+ trillion: T
62
+ unit: ''
63
+ format:
64
+ delimiter: " "
65
+ precision: 3
66
+ separator: ","
49
67
  shared:
50
68
  footer:
51
69
  last_update_html: Dernière mise à jour <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -63,21 +81,3 @@ fr:
63
81
  running: En cours
64
82
  scheduled: Programmés
65
83
  succeeded: Réussis
66
- number:
67
- format:
68
- delimiter: " "
69
- separator: ","
70
- human:
71
- decimal_units:
72
- format: "%n%u"
73
- units:
74
- billion: B
75
- million: M
76
- quadrillion: q
77
- thousand: k
78
- trillion: T
79
- unit: ''
80
- format:
81
- delimiter: " "
82
- precision: 3
83
- separator: ","
@@ -1,51 +1,69 @@
1
1
  ---
2
2
  nl:
3
- datetime:
4
- distance_in_words:
5
- about_x_hours:
6
- one: ongeveer 1 uur
7
- other: ongeveer %{count} uren
8
- about_x_months:
9
- one: ongeveer 1 maand
10
- other: ongeveer %{count} maanden
11
- about_x_years:
12
- one: ongeveer 1 jaar
13
- other: ongeveer %{count} jaren
14
- almost_x_years:
15
- one: bijna 1 jaar
16
- other: bijna %{count} jaren
17
- half_a_minute: halve minuut
18
- less_than_x_minutes:
19
- one: minder dan één minuut
20
- other: minder dan %{count} minuten
21
- less_than_x_seconds:
22
- one: minder dan 1 seconde
23
- other: minder dan %{count} seconden
24
- over_x_years:
25
- one: meer dan 1 jaar
26
- other: meer dan %{count} jaren
27
- x_days:
28
- one: 1 dag
29
- other: "%{count} dagen"
30
- x_minutes:
31
- one: 1 minuut
32
- other: "%{count} minuten"
33
- x_months:
34
- one: 1 maand
35
- other: "%{count} maanden"
36
- x_seconds:
37
- one: 1 seconde
38
- other: "%{count} seconden"
39
- x_years:
40
- one: 1 jaar
41
- other: "%{count} jaren"
42
- duration:
43
- hours: "%{hour}h %{min}m"
44
- less_than_10_seconds: "%{sec}s"
45
- milliseconds: "%{ms}ms"
46
- minutes: "%{min}m %{sec}s"
47
- seconds: "%{sec}s"
48
3
  good_job:
4
+ datetime:
5
+ distance_in_words:
6
+ about_x_hours:
7
+ one: ongeveer 1 uur
8
+ other: ongeveer %{count} uren
9
+ about_x_months:
10
+ one: ongeveer 1 maand
11
+ other: ongeveer %{count} maanden
12
+ about_x_years:
13
+ one: ongeveer 1 jaar
14
+ other: ongeveer %{count} jaren
15
+ almost_x_years:
16
+ one: bijna 1 jaar
17
+ other: bijna %{count} jaren
18
+ half_a_minute: halve minuut
19
+ less_than_x_minutes:
20
+ one: minder dan één minuut
21
+ other: minder dan %{count} minuten
22
+ less_than_x_seconds:
23
+ one: minder dan 1 seconde
24
+ other: minder dan %{count} seconden
25
+ over_x_years:
26
+ one: meer dan 1 jaar
27
+ other: meer dan %{count} jaren
28
+ x_days:
29
+ one: 1 dag
30
+ other: "%{count} dagen"
31
+ x_minutes:
32
+ one: 1 minuut
33
+ other: "%{count} minuten"
34
+ x_months:
35
+ one: 1 maand
36
+ other: "%{count} maanden"
37
+ x_seconds:
38
+ one: 1 seconde
39
+ other: "%{count} seconden"
40
+ x_years:
41
+ one: 1 jaar
42
+ other: "%{count} jaren"
43
+ duration:
44
+ hours: "%{hour}h %{min}m"
45
+ less_than_10_seconds: "%{sec}s"
46
+ milliseconds: "%{ms}ms"
47
+ minutes: "%{min}m %{sec}s"
48
+ seconds: "%{sec}s"
49
+ number:
50
+ format:
51
+ delimiter: "."
52
+ separator: ","
53
+ human:
54
+ decimal_units:
55
+ format: "%n%u"
56
+ units:
57
+ billion: B
58
+ million: M
59
+ quadrillion: Q
60
+ thousand: K
61
+ trillion: T
62
+ unit: ''
63
+ format:
64
+ delimiter: "."
65
+ precision: 3
66
+ separator: ","
49
67
  shared:
50
68
  footer:
51
69
  last_update_html: Laatst bijgewerkt <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -63,21 +81,3 @@ nl:
63
81
  running: Rennen
64
82
  scheduled: Gepland
65
83
  succeeded: Geslaagd
66
- number:
67
- format:
68
- delimiter: "."
69
- separator: ","
70
- human:
71
- decimal_units:
72
- format: "%n%u"
73
- units:
74
- billion: B
75
- million: M
76
- quadrillion: Q
77
- thousand: K
78
- trillion: T
79
- unit: ''
80
- format:
81
- delimiter: "."
82
- precision: 3
83
- separator: ","
@@ -1,75 +1,93 @@
1
1
  ---
2
2
  ru:
3
- datetime:
4
- distance_in_words:
5
- about_x_hours:
6
- few: около %{count} часов
7
- many: около %{count} часов
8
- one: около 1 часа
9
- other: около %{count} часа
10
- about_x_months:
11
- few: около %{count} месяцев
12
- many: около %{count} месяцев
13
- one: около 1 месяца
14
- other: около %{count} месяца
15
- about_x_years:
16
- few: около %{count} лет
17
- many: около %{count} лет
18
- one: около 1 года
19
- other: около %{count} лет
20
- almost_x_years:
21
- few: почти %{count} года
22
- many: почти %{count} лет
23
- one: почти 1 год
24
- other: почти %{count} лет
25
- half_a_minute: полминуты
26
- less_than_x_minutes:
27
- few: меньше %{count} минут
28
- many: меньше %{count} минут
29
- one: меньше 1 минуты
30
- other: меньше %{count} минуты
31
- less_than_x_seconds:
32
- few: меньше %{count} секунд
33
- many: меньше %{count} секунд
34
- one: меньше 1 секунды
35
- other: меньше %{count} секунды
36
- over_x_years:
37
- few: больше %{count} лет
38
- many: больше %{count} лет
39
- one: больше 1 года
40
- other: больше %{count} лет
41
- x_days:
42
- few: "%{count} дня"
43
- many: "%{count} дней"
44
- one: 1 день
45
- other: "%{count} дня"
46
- x_minutes:
47
- few: "%{count} минуты"
48
- many: "%{count} минут"
49
- one: 1 минуту
50
- other: "%{count} минуты"
51
- x_months:
52
- few: "%{count} месяца"
53
- many: "%{count} месяцев"
54
- one: 1 месяц
55
- other: "%{count} месяца"
56
- x_seconds:
57
- few: "%{count} секунды"
58
- many: "%{count} секунд"
59
- one: 1 секунду
60
- other: "%{count} секунды"
61
- x_years:
62
- few: "%{count} года"
63
- many: "%{count} лет"
64
- one: 1 год
65
- other: "%{count} года"
66
- duration:
67
- hours: "%{hour}h %{min}m"
68
- less_than_10_seconds: "%{sec}s"
69
- milliseconds: "%{ms}мс"
70
- minutes: "%{min}м %{sec}с"
71
- seconds: "%{sec}s"
72
3
  good_job:
4
+ datetime:
5
+ distance_in_words:
6
+ about_x_hours:
7
+ few: около %{count} часов
8
+ many: около %{count} часов
9
+ one: около 1 часа
10
+ other: около %{count} часа
11
+ about_x_months:
12
+ few: около %{count} месяцев
13
+ many: около %{count} месяцев
14
+ one: около 1 месяца
15
+ other: около %{count} месяца
16
+ about_x_years:
17
+ few: около %{count} лет
18
+ many: около %{count} лет
19
+ one: около 1 года
20
+ other: около %{count} лет
21
+ almost_x_years:
22
+ few: почти %{count} года
23
+ many: почти %{count} лет
24
+ one: почти 1 год
25
+ other: почти %{count} лет
26
+ half_a_minute: полминуты
27
+ less_than_x_minutes:
28
+ few: меньше %{count} минут
29
+ many: меньше %{count} минут
30
+ one: меньше 1 минуты
31
+ other: меньше %{count} минуты
32
+ less_than_x_seconds:
33
+ few: меньше %{count} секунд
34
+ many: меньше %{count} секунд
35
+ one: меньше 1 секунды
36
+ other: меньше %{count} секунды
37
+ over_x_years:
38
+ few: больше %{count} лет
39
+ many: больше %{count} лет
40
+ one: больше 1 года
41
+ other: больше %{count} лет
42
+ x_days:
43
+ few: "%{count} дня"
44
+ many: "%{count} дней"
45
+ one: 1 день
46
+ other: "%{count} дня"
47
+ x_minutes:
48
+ few: "%{count} минуты"
49
+ many: "%{count} минут"
50
+ one: 1 минуту
51
+ other: "%{count} минуты"
52
+ x_months:
53
+ few: "%{count} месяца"
54
+ many: "%{count} месяцев"
55
+ one: 1 месяц
56
+ other: "%{count} месяца"
57
+ x_seconds:
58
+ few: "%{count} секунды"
59
+ many: "%{count} секунд"
60
+ one: 1 секунду
61
+ other: "%{count} секунды"
62
+ x_years:
63
+ few: "%{count} года"
64
+ many: "%{count} лет"
65
+ one: 1 год
66
+ other: "%{count} года"
67
+ duration:
68
+ hours: "%{hour}h %{min}m"
69
+ less_than_10_seconds: "%{sec}s"
70
+ milliseconds: "%{ms}мс"
71
+ minutes: "%{min}м %{sec}с"
72
+ seconds: "%{sec}s"
73
+ number:
74
+ format:
75
+ delimiter: " "
76
+ separator: ","
77
+ human:
78
+ decimal_units:
79
+ format: "%n%u"
80
+ units:
81
+ billion: Б
82
+ million: М
83
+ quadrillion: Q
84
+ thousand: К
85
+ trillion: Т
86
+ unit: ''
87
+ format:
88
+ delimiter: " "
89
+ precision: 3
90
+ separator: ","
73
91
  shared:
74
92
  footer:
75
93
  last_update_html: Последнее обновление <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -87,21 +105,3 @@ ru:
87
105
  running: Бег
88
106
  scheduled: по расписанию
89
107
  succeeded: удалось
90
- number:
91
- format:
92
- delimiter: " "
93
- separator: ","
94
- human:
95
- decimal_units:
96
- format: "%n%u"
97
- units:
98
- billion: Б
99
- million: М
100
- quadrillion: Q
101
- thousand: К
102
- trillion: Т
103
- unit: ''
104
- format:
105
- delimiter: " "
106
- precision: 3
107
- separator: ","
@@ -1,75 +1,93 @@
1
1
  ---
2
2
  ua:
3
- datetime:
4
- distance_in_words:
5
- about_x_hours:
6
- few: близько %{count} години
7
- many: близько %{count} годин
8
- one: близько 1 години
9
- other: близько %{count} години
10
- about_x_months:
11
- few: близько %{count} місяців
12
- many: близько %{count} місяців
13
- one: близько 1 місяцю
14
- other: близько %{count} місяцю
15
- about_x_years:
16
- few: близько %{count} років
17
- many: близько %{count} років
18
- one: близько 1 року
19
- other: близько %{count} років
20
- almost_x_years:
21
- few: майже %{count} роки
22
- many: майже %{count} років
23
- one: майже 1 рік
24
- other: майже %{count} років
25
- half_a_minute: пів хвилини
26
- less_than_x_minutes:
27
- few: менше %{count} хвилин
28
- many: менше %{count} хвилин
29
- one: менше 1 хвилини
30
- other: менше %{count} хвилини
31
- less_than_x_seconds:
32
- few: менше %{count} секунд
33
- many: менше %{count} секунд
34
- one: менше 1 секунди
35
- other: менше %{count} секунди
36
- over_x_years:
37
- few: більше %{count} років
38
- many: більше %{count} років
39
- one: більше 1 року
40
- other: більше %{count} років
41
- x_days:
42
- few: "%{count} дня"
43
- many: "%{count} днів"
44
- one: 1 день
45
- other: "%{count} дня"
46
- x_minutes:
47
- few: "%{count} хвилини"
48
- many: "%{count} хвилин"
49
- one: 1 хвилину
50
- other: "%{count} хвилини"
51
- x_months:
52
- few: "%{count} місяцю"
53
- many: "%{count} місяців"
54
- one: 1 місяць
55
- other: "%{count} місяцю"
56
- x_seconds:
57
- few: "%{count} секунди"
58
- many: "%{count} секунд"
59
- one: 1 секунду
60
- other: "%{count} секунди"
61
- x_years:
62
- few: "%{count} року"
63
- many: "%{count} років"
64
- one: 1 рік
65
- other: "%{count} року"
66
- duration:
67
- hours: "%{hour}h %{min}m"
68
- less_than_10_seconds: "%{sec}s"
69
- milliseconds: "%{ms}мс"
70
- minutes: "%{min}м %{sec}с"
71
- seconds: "%{sec}s"
72
3
  good_job:
4
+ datetime:
5
+ distance_in_words:
6
+ about_x_hours:
7
+ few: близько %{count} години
8
+ many: близько %{count} годин
9
+ one: близько 1 години
10
+ other: близько %{count} години
11
+ about_x_months:
12
+ few: близько %{count} місяців
13
+ many: близько %{count} місяців
14
+ one: близько 1 місяцю
15
+ other: близько %{count} місяцю
16
+ about_x_years:
17
+ few: близько %{count} років
18
+ many: близько %{count} років
19
+ one: близько 1 року
20
+ other: близько %{count} років
21
+ almost_x_years:
22
+ few: майже %{count} роки
23
+ many: майже %{count} років
24
+ one: майже 1 рік
25
+ other: майже %{count} років
26
+ half_a_minute: пів хвилини
27
+ less_than_x_minutes:
28
+ few: менше %{count} хвилин
29
+ many: менше %{count} хвилин
30
+ one: менше 1 хвилини
31
+ other: менше %{count} хвилини
32
+ less_than_x_seconds:
33
+ few: менше %{count} секунд
34
+ many: менше %{count} секунд
35
+ one: менше 1 секунди
36
+ other: менше %{count} секунди
37
+ over_x_years:
38
+ few: більше %{count} років
39
+ many: більше %{count} років
40
+ one: більше 1 року
41
+ other: більше %{count} років
42
+ x_days:
43
+ few: "%{count} дня"
44
+ many: "%{count} днів"
45
+ one: 1 день
46
+ other: "%{count} дня"
47
+ x_minutes:
48
+ few: "%{count} хвилини"
49
+ many: "%{count} хвилин"
50
+ one: 1 хвилину
51
+ other: "%{count} хвилини"
52
+ x_months:
53
+ few: "%{count} місяцю"
54
+ many: "%{count} місяців"
55
+ one: 1 місяць
56
+ other: "%{count} місяцю"
57
+ x_seconds:
58
+ few: "%{count} секунди"
59
+ many: "%{count} секунд"
60
+ one: 1 секунду
61
+ other: "%{count} секунди"
62
+ x_years:
63
+ few: "%{count} року"
64
+ many: "%{count} років"
65
+ one: 1 рік
66
+ other: "%{count} року"
67
+ duration:
68
+ hours: "%{hour}h %{min}m"
69
+ less_than_10_seconds: "%{sec}s"
70
+ milliseconds: "%{ms}мс"
71
+ minutes: "%{min}м %{sec}с"
72
+ seconds: "%{sec}s"
73
+ number:
74
+ format:
75
+ delimiter: " "
76
+ separator: ","
77
+ human:
78
+ decimal_units:
79
+ format: "%n%u"
80
+ units:
81
+ billion: Блн
82
+ million: Млн
83
+ quadrillion: Q
84
+ thousand: Тис
85
+ trillion: Трил
86
+ unit: ''
87
+ format:
88
+ delimiter: " "
89
+ precision: 3
90
+ separator: ","
73
91
  shared:
74
92
  footer:
75
93
  last_update_html: Оснаннє оновлення <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -87,21 +105,3 @@ ua:
87
105
  running: Біг
88
106
  scheduled: за розкладом
89
107
  succeeded: вдалося
90
- number:
91
- format:
92
- delimiter: " "
93
- separator: ","
94
- human:
95
- decimal_units:
96
- format: "%n%u"
97
- units:
98
- billion: Блн
99
- million: Млн
100
- quadrillion: Q
101
- thousand: Тис
102
- trillion: Трил
103
- unit: ''
104
- format:
105
- delimiter: " "
106
- precision: 3
107
- separator: ","
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module GoodJob
3
3
  # GoodJob gem version.
4
- VERSION = '3.12.1'
4
+ VERSION = '3.12.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.1
4
+ version: 3.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-09 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob