good_job 2.12.0 → 2.12.1

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: 398864eebf8f617924967bf2a73679bd0584493299570c20ea6dbc9598d23ff3
4
- data.tar.gz: d781885d188ec4b3dab51f9609ba7a3935027426edf6cbf8147ae2b11a51ac72
3
+ metadata.gz: 53c32b60d9ee966dd7dcb05f5add8f3ab7bcd666a224019d91b0e07e54a366b4
4
+ data.tar.gz: 7abcb16ceb51272d9fc6297491c55500b97a2839c6158c24d9779841b179c721
5
5
  SHA512:
6
- metadata.gz: e9830078953d473bb48ec24cfcd4841029614be85c910b493d670eb1cfbbad287e95ce854a65aec609dd97954d6bb19f3a30c6a95cfd5d18c6913d777bab4d0f
7
- data.tar.gz: ba0beb2c46d7f7044d1a7f2d5b1cb006ee67433432fb18e7bb04c7d4452df2e10ad45eff884c66bd7c1069ec47fee4fa18d776814dde4adf5b8a5bb4fb722904
6
+ metadata.gz: a65fc3d71709b9c4ee611f79e3678b9ef910d8480757037fd25f83f9d783eff40134b0b15fad873d31fb60c576872a93fd64bc2c7f0f2ba9b4ce0d751984925c
7
+ data.tar.gz: eea513879d7cdbb872938469a62672d886156a92f63a61c88e8a62c816a218bc325be1b705d1e1f7f7a43626ba2910bd108ea14303b6a15b59674a85eddf1f58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [v2.12.1](https://github.com/bensheldon/good_job/tree/v2.12.1) (2022-04-18)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.12.0...v2.12.1)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Dashboard: adding Russian translation [\#565](https://github.com/bensheldon/good_job/pull/565) ([skatkov](https://github.com/skatkov))
10
+
11
+ **Fixed bugs:**
12
+
13
+ - I18n::InvalidLocale \(:en is not a valid locale\): [\#549](https://github.com/bensheldon/good_job/issues/549)
14
+ - FIX: make 'default\_url\_options' method private [\#562](https://github.com/bensheldon/good_job/pull/562) ([friendlyantz](https://github.com/friendlyantz))
15
+
16
+ **Closed issues:**
17
+
18
+ - Exponential backoff by default? [\#563](https://github.com/bensheldon/good_job/issues/563)
19
+ - Finished without Error [\#552](https://github.com/bensheldon/good_job/issues/552)
20
+ - Track processes in the database [\#421](https://github.com/bensheldon/good_job/issues/421)
21
+
22
+ **Merged pull requests:**
23
+
24
+ - Remove WIP comments from dashboard [\#566](https://github.com/bensheldon/good_job/pull/566) ([bkeepers](https://github.com/bkeepers))
25
+ - Add i18n-tasks to linter, add binstub and move config to project root [\#559](https://github.com/bensheldon/good_job/pull/559) ([bensheldon](https://github.com/bensheldon))
26
+
3
27
  ## [v2.12.0](https://github.com/bensheldon/good_job/tree/v2.12.0) (2022-04-05)
4
28
 
5
29
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.11.3...v2.12.0)
@@ -24,12 +24,12 @@ module GoodJob
24
24
  request.content_security_policy_nonce_generator = ->(_request) { SecureRandom.base64(16) }
25
25
  end
26
26
 
27
+ private
28
+
27
29
  def default_url_options(options = {})
28
30
  { locale: I18n.locale }.merge(options)
29
31
  end
30
32
 
31
- private
32
-
33
33
  def switch_locale(&action)
34
34
  I18n.with_locale(current_locale, &action)
35
35
  end
@@ -19,11 +19,6 @@
19
19
  <li class="nav-item">
20
20
  <%= link_to t(".processes"), processes_path, class: ["nav-link", ("active" if current_page?(processes_path))] %>
21
21
  </li>
22
- <li class="nav-item">
23
- <div class="nav-link">
24
- <span class="badge bg-secondary"><%= t(".coming_soon") %></span>
25
- </div>
26
- </li>
27
22
  </ul>
28
23
  <div class="nav-item pe-2">
29
24
  <div class="form-check">
@@ -21,7 +21,6 @@
21
21
  <%= render "good_job/shared/navbar" %>
22
22
 
23
23
  <div class="container-fluid">
24
- <%= render "good_job/shared/announcement" %>
25
24
  <%= render "good_job/shared/alert" %>
26
25
 
27
26
  <%= yield %>
@@ -41,13 +41,10 @@ en:
41
41
  other: "%{count} years"
42
42
  good_job:
43
43
  shared:
44
- announcement:
45
- work_in_progress_html: "🚧 GoodJob's dashboard is a work in progress. Please contribute ideas and code on <a href=\"https://github.com/bensheldon/good_job/issues\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Github</a>."
46
44
  footer:
47
45
  last_update_html: Last updated <time id="page-updated-at" datetime="%{time}">%{time}</time>
48
46
  wording: Remember, you're doing a Good Job too!
49
47
  navbar:
50
- coming_soon: More views coming soon
51
48
  cron_schedules: Cron Schedules
52
49
  executions: All Executions
53
50
  jobs: All Jobs
@@ -41,13 +41,10 @@ es:
41
41
  other: "%{count} años"
42
42
  good_job:
43
43
  shared:
44
- announcement:
45
- work_in_progress_html: "🚧 GoodJob se encuentra en desarrollo. Por favor contribuya en <a href=\"https://github.com/bensheldon/good_job/issues\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">GoodJob</a> con ideas y código."
46
44
  footer:
47
45
  last_update_html: Última actualización <time id="page-updated-at" datetime="%{time}">%{time}</time>
48
46
  wording: "¡Recuerda, también tú estás haciendo un buen trabajo!"
49
47
  navbar:
50
- coming_soon: Próximamente más vistas
51
48
  cron_schedules: Tareas Programadas
52
49
  executions: Ejecuciones
53
50
  jobs: Tareas
@@ -0,0 +1,53 @@
1
+ ---
2
+ ru:
3
+ datetime:
4
+ distance_in_words:
5
+ about_x_hours:
6
+ one: около 1 часа
7
+ other: около %{count} часов
8
+ about_x_months:
9
+ one: около 1 месяца
10
+ other: около %{count} месяцев
11
+ about_x_years:
12
+ one: около 1 года
13
+ other: около %{count} лет
14
+ almost_x_years:
15
+ one: почти 1 год
16
+ other: почти %{count} года
17
+ half_a_minute: пол минуты
18
+ less_than_x_minutes:
19
+ one: меньше 1 минуты
20
+ other: меньше %{count} минут
21
+ less_than_x_seconds:
22
+ one: меньше 1 секунды
23
+ other: меньше %{count} секунд
24
+ over_x_years:
25
+ one: больше 1 года
26
+ other: больше %{count} лет
27
+ x_days:
28
+ one: 1 день
29
+ other: "%{count} дней"
30
+ x_minutes:
31
+ one: 1 минута
32
+ other: "%{count} минут"
33
+ x_months:
34
+ one: 1 месяц
35
+ other: "%{count} месяца"
36
+ x_seconds:
37
+ one: 1 секунда
38
+ other: "%{count} секунд"
39
+ x_years:
40
+ one: 1 год
41
+ other: "%{count} года"
42
+ good_job:
43
+ shared:
44
+ footer:
45
+ last_update_html: Последнее обновление <time id="page-updated-at" datetime="%{time}">%{time}</time>
46
+ wording: Запомни, ты делаешь Good Job тоже!
47
+ navbar:
48
+ cron_schedules: Cron Расписания
49
+ executions: Все Исполнения
50
+ jobs: Все Задачи
51
+ live_poll: Живой Опрос
52
+ name: "GoodJob 👍"
53
+ processes: Процессы
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module GoodJob
3
3
  # GoodJob gem version.
4
- VERSION = '2.12.0'
4
+ VERSION = '2.12.1'
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: 2.12.0
4
+ version: 2.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-05 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob
@@ -386,7 +386,6 @@ files:
386
386
  - engine/app/views/good_job/jobs/show.html.erb
387
387
  - engine/app/views/good_job/processes/index.html.erb
388
388
  - engine/app/views/good_job/shared/_alert.erb
389
- - engine/app/views/good_job/shared/_announcement.erb
390
389
  - engine/app/views/good_job/shared/_chart.erb
391
390
  - engine/app/views/good_job/shared/_filter.erb
392
391
  - engine/app/views/good_job/shared/_footer.erb
@@ -401,6 +400,7 @@ files:
401
400
  - engine/app/views/layouts/good_job/application.html.erb
402
401
  - engine/config/locales/en.yml
403
402
  - engine/config/locales/es.yml
403
+ - engine/config/locales/ru.yaml
404
404
  - engine/config/routes.rb
405
405
  - engine/lib/good_job/engine.rb
406
406
  - exe/good_job
@@ -1,7 +0,0 @@
1
- <div class="card border-warning text-dark my-3">
2
- <div class="card-body">
3
- <p class="card-text">
4
- <%= t(".work_in_progress_html") %>
5
- </p>
6
- </div>
7
- </div>