activeadmin 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeadmin might be problematic. Click here for more details.

Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -1
  3. data/config/locales/ar.yml +3 -2
  4. data/config/locales/bg.yml +1 -0
  5. data/config/locales/bs.yml +1 -0
  6. data/config/locales/ca.yml +1 -0
  7. data/config/locales/cs.yml +1 -0
  8. data/config/locales/da.yml +1 -0
  9. data/config/locales/de-CH.yml +1 -0
  10. data/config/locales/de.yml +1 -0
  11. data/config/locales/el.yml +1 -0
  12. data/config/locales/en-CA.yml +1 -0
  13. data/config/locales/en-GB.yml +1 -0
  14. data/config/locales/en.yml +1 -0
  15. data/config/locales/eo.yml +1 -0
  16. data/config/locales/es-MX.yml +1 -0
  17. data/config/locales/es.yml +1 -0
  18. data/config/locales/fa.yml +1 -0
  19. data/config/locales/fi.yml +1 -0
  20. data/config/locales/fr.yml +2 -1
  21. data/config/locales/he.yml +1 -0
  22. data/config/locales/hr.yml +1 -0
  23. data/config/locales/hu.yml +1 -0
  24. data/config/locales/id.yml +1 -0
  25. data/config/locales/it.yml +1 -0
  26. data/config/locales/ja.yml +1 -0
  27. data/config/locales/ko.yml +1 -0
  28. data/config/locales/lt.yml +1 -0
  29. data/config/locales/lv.yml +1 -0
  30. data/config/locales/mk.yml +134 -0
  31. data/config/locales/nb.yml +1 -0
  32. data/config/locales/nl.yml +1 -0
  33. data/config/locales/pl.yml +1 -0
  34. data/config/locales/pt-BR.yml +1 -0
  35. data/config/locales/pt-PT.yml +1 -0
  36. data/config/locales/ro.yml +1 -0
  37. data/config/locales/ru.yml +1 -0
  38. data/config/locales/sk.yml +1 -0
  39. data/config/locales/sv-SE.yml +1 -0
  40. data/config/locales/tr.yml +1 -0
  41. data/config/locales/uk.yml +1 -0
  42. data/config/locales/vi.yml +1 -0
  43. data/config/locales/zh-CN.yml +1 -0
  44. data/config/locales/zh-TW.yml +1 -0
  45. data/docs/12-arbre-components.md +13 -0
  46. data/docs/13-authorization-adapter.md +2 -2
  47. data/lib/active_admin/application.rb +11 -2
  48. data/lib/active_admin/batch_actions/resource_extension.rb +5 -1
  49. data/lib/active_admin/controller_action.rb +2 -1
  50. data/lib/active_admin/csv_builder.rb +3 -1
  51. data/lib/active_admin/dependency.rb +0 -4
  52. data/lib/active_admin/error.rb +3 -1
  53. data/lib/active_admin/filters/active_filter.rb +2 -3
  54. data/lib/active_admin/page_presenter.rb +2 -1
  55. data/lib/active_admin/pundit_adapter.rb +7 -3
  56. data/lib/active_admin/resource.rb +2 -1
  57. data/lib/active_admin/resource/belongs_to.rb +3 -1
  58. data/lib/active_admin/router.rb +2 -1
  59. data/lib/active_admin/scope.rb +7 -3
  60. data/lib/active_admin/sidebar_section.rb +3 -1
  61. data/lib/active_admin/version.rb +1 -1
  62. data/lib/active_admin/view_helpers/breadcrumb_helper.rb +2 -2
  63. data/lib/active_admin/view_helpers/display_helper.rb +3 -2
  64. data/lib/active_admin/views/components/status_tag.rb +5 -1
  65. data/lib/generators/active_admin/resource/templates/admin.rb.erb +38 -37
  66. data/lib/ransack_ext.rb +2 -2
  67. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27d6666a21998778549c84482d06084a12eba6df461f4183215d34a47188fc09
4
- data.tar.gz: d1986d700254bf17ff146e04e3a4ded4a76685fb3a1f9eb3abfde12252c4551e
3
+ metadata.gz: e70a90d683c4af1876248495c8c055e9eb21669bac351b42dcdeb175f9003c62
4
+ data.tar.gz: 9f8029a8686ff5dd00932a248f620b1481c1d493f4d10594dc4549de07d269a8
5
5
  SHA512:
6
- metadata.gz: eaefb8c2b8866055feb7bab79b6be4708f3b8fcf678aee9c38e7df868b97c0e8d14dcbcadc7b400a8fbb9ab866e49a6524972dc02f017e86ec4122407b90e311
7
- data.tar.gz: 50f15d8ef7589802b84538579299d973d6822c8b4052a948a4b237859c1fa7f70ddbb9703c257ccdba910c73efefc775804d55e1ee3256cf9f6685fd1ed26333
6
+ metadata.gz: cdd5161de2dd77f1a01d4eae59f09c16c2f1aa356142a1add9fa7cfe8516bdff1676ebf98d0162c6ec736d0bdfaaba6a4f86b73664c734ac54b54a82d2808cd0
7
+ data.tar.gz: 4da12f46a43f27af9d4301520dfd337f31efe340890c8b255a0f11e92015996395d9a1f135a7f8a0f34534de493570ff065bff339b5e621837a06dcaf8985064
@@ -2,7 +2,22 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- ## 2.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.1.0..v2.0.0)
5
+ ## 2.2.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.1.0..v2.2.0)
6
+
7
+ ### Enhancements
8
+
9
+ #### Minor
10
+
11
+ * The `status_tag` component now supports different labels for `false` and `nil` boolean cases through the locale. Both default to display "No" for backwards compatibility. [#5794] by [@javierjulio]
12
+ * Add Macedonian locale. [#5710] by [@violeta-p]
13
+
14
+ ### Bug Fixes
15
+
16
+ * Fix pundit policy retrieving for static pages when the pundit namespace is :active_admin. [#5777] by [@kwent]
17
+ * Fix show page title not being properly escaped if title's content included HTML. [#5802] by [@deivid-rodriguez]
18
+ * Revert [21b6138f] from [#5740] since it actually caused the performance in development to regress. [#5801] by [@deivid-rodriguez]
19
+
20
+ ## 2.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.0.0..v2.1.0)
6
21
 
7
22
  ### Bug Fixes
8
23
 
@@ -355,6 +370,8 @@ Please check [0-6-stable] for previous changes.
355
370
  [#5043]: https://github.com/activeadmin/activeadmin/issues/5043
356
371
  [#5198]: https://github.com/activeadmin/activeadmin/issues/5198
357
372
 
373
+ [21b6138f]: https://github.com/activeadmin/activeadmin/pull/5740/commits/21b6138fdcf58cd54c3f1d3f60cb1127b174b40f
374
+
358
375
  [#3091]: https://github.com/activeadmin/activeadmin/pull/3091
359
376
  [#3435]: https://github.com/activeadmin/activeadmin/pull/3435
360
377
  [#4477]: https://github.com/activeadmin/activeadmin/pull/4477
@@ -449,11 +466,16 @@ Please check [0-6-stable] for previous changes.
449
466
  [#5650]: https://github.com/activeadmin/activeadmin/pull/5650
450
467
  [#5590]: https://github.com/activeadmin/activeadmin/pull/5590
451
468
  [#5662]: https://github.com/activeadmin/activeadmin/pull/5662
469
+ [#5710]: https://github.com/activeadmin/activeadmin/pull/5710
452
470
  [#5726]: https://github.com/activeadmin/activeadmin/pull/5726
453
471
  [#5738]: https://github.com/activeadmin/activeadmin/pull/5738
454
472
  [#5740]: https://github.com/activeadmin/activeadmin/pull/5740
455
473
  [#5751]: https://github.com/activeadmin/activeadmin/pull/5751
456
474
  [#5758]: https://github.com/activeadmin/activeadmin/pull/5758
475
+ [#5777]: https://github.com/activeadmin/activeadmin/pull/5777
476
+ [#5794]: https://github.com/activeadmin/activeadmin/pull/5794
477
+ [#5801]: https://github.com/activeadmin/activeadmin/pull/5801
478
+ [#5802]: https://github.com/activeadmin/activeadmin/pull/5802
457
479
 
458
480
  [@5t111111]: https://github.com/5t111111
459
481
  [@aarek]: https://github.com/aarek
@@ -490,6 +512,7 @@ Please check [0-6-stable] for previous changes.
490
512
  [@johnnyshields]: https://github.com/johnnyshields
491
513
  [@kjeldahl]: https://github.com/kjeldahl
492
514
  [@kobeumut]: https://github.com/kobeumut
515
+ [@kwent]: https://github.com/kwent
493
516
  [@leio10]: https://github.com/leio10
494
517
  [@markstory]: https://github.com/markstory
495
518
  [@mauriciopasquier]: https://github.com/mauriciopasquier
@@ -520,3 +543,4 @@ Please check [0-6-stable] for previous changes.
520
543
  [@bartoszkopinski]: https://github.com/bartoszkopinski
521
544
  [@panasyuk]: https://github.com/panasyuk
522
545
  [@jscheid]: https://github.com/jscheid
546
+ [@violeta-p]: https://github.com/violeta-p
@@ -37,8 +37,9 @@ ar:
37
37
  current_filters: "المُرشحات الحاليّة:"
38
38
  no_current_filters: "بدون"
39
39
  status_tag:
40
- 'yes': "نعم"
41
- 'no': "لا"
40
+ "yes": "نعم"
41
+ "no": "لا"
42
+ "unset": "لا"
42
43
  main_content: "الرجاء تنفيذ %{model}#main_content لعرض المحتوى."
43
44
  logout: "تسجيل الخروج"
44
45
  powered_by: "تنفيذ %{active_admin} %{version}"
@@ -34,6 +34,7 @@ bg:
34
34
  status_tag:
35
35
  "yes": "Да"
36
36
  "no": "не"
37
+ "unset": "не"
37
38
  main_content: "Добавете %{model}#main_content за да видите съдържание."
38
39
  logout: "Изход"
39
40
  powered_by: "Задвижва се от %{active_admin} %{version}"
@@ -34,6 +34,7 @@ bs:
34
34
  status_tag:
35
35
  "yes": "Da"
36
36
  "no": "Nema"
37
+ "unset": "Nema"
37
38
  main_content: "Molim Vas, implementirajte %{model}#main_content da biste prikazali sadržaj."
38
39
  logout: "Odjavi se"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -35,6 +35,7 @@ ca:
35
35
  status_tag:
36
36
  "yes": "Sí"
37
37
  "no": "No"
38
+ "unset": "No"
38
39
  main_content: "Implementa %{model}#main_content per mostrar contingut."
39
40
  logout: "Desconnecta't"
40
41
  powered_by: "Powered by %{active_admin} %{version}"
@@ -34,6 +34,7 @@ cs:
34
34
  status_tag:
35
35
  "yes": "Ano"
36
36
  "no": "Ne"
37
+ "unset": "Ne"
37
38
  main_content: "Implementujte prosím %{model}#main_content pro zobrazení obsahu."
38
39
  logout: "Odhlásit"
39
40
  powered_by: "%{active_admin} %{version}"
@@ -40,6 +40,7 @@ da:
40
40
  status_tag:
41
41
  "yes": "Ja"
42
42
  "no": "Nej"
43
+ "unset": "Nej"
43
44
  main_content: "Implementer venligst %{model}#main_content for at vise noget indhold."
44
45
  logout: "Log ud"
45
46
  powered_by: "Powered by %{active_admin} %{version}"
@@ -34,6 +34,7 @@
34
34
  status_tag:
35
35
  "yes": "Ja"
36
36
  "no": "Nicht"
37
+ "unset": "Nicht"
37
38
  main_content: "Bitte implementieren Sie %{model}#main_content, um Inhalte anzuzeigen."
38
39
  logout: "Abmelden"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -45,6 +45,7 @@ de:
45
45
  status_tag:
46
46
  "yes": "Ja"
47
47
  "no": "Nein"
48
+ "unset": "Nein"
48
49
  main_content: "Bitte implementieren Sie %{model}#main_content, um Inhalte anzuzeigen."
49
50
  logout: "Abmelden"
50
51
  powered_by: "Powered by %{active_admin} %{version}"
@@ -34,6 +34,7 @@ el:
34
34
  status_tag:
35
35
  "yes": "Ναι"
36
36
  "no": "Όχι"
37
+ "unset": "Όχι"
37
38
  main_content: "Παρακαλώ υλοποιήστε την %{model}#main_content για να εμφανίσετε περιεχόμενο."
38
39
  logout: "Αποσύνδεση"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -40,6 +40,7 @@
40
40
  status_tag:
41
41
  "yes": "Yes"
42
42
  "no": "No"
43
+ "unset": "No"
43
44
  main_content: "Please implement %{model}#main_content to display content."
44
45
  logout: "Logout"
45
46
  powered_by: "Powered by %{active_admin} %{version}"
@@ -40,6 +40,7 @@
40
40
  status_tag:
41
41
  "yes": "Yes"
42
42
  "no": "No"
43
+ "unset": "No"
43
44
  main_content: "Please implement %{model}#main_content to display content."
44
45
  logout: "Logout"
45
46
  powered_by: "Powered by %{active_admin} %{version}"
@@ -63,6 +63,7 @@ en:
63
63
  status_tag:
64
64
  "yes": "Yes"
65
65
  "no": "No"
66
+ "unset": "No"
66
67
  main_content: "Please implement %{model}#main_content to display content."
67
68
  logout: "Logout"
68
69
  powered_by: "Powered by %{active_admin} %{version}"
@@ -45,6 +45,7 @@ eo:
45
45
  status_tag:
46
46
  "yes": "Jes"
47
47
  "no": "Ne"
48
+ "unset": "Ne"
48
49
  main_content: "Aldonu %{model}#main_content por montri la enhavon."
49
50
  logout: "Elsaluti"
50
51
  powered_by: "Povigita de %{active_admin} %{version}"
@@ -34,6 +34,7 @@ es-MX:
34
34
  status_tag:
35
35
  "yes": "Sí"
36
36
  "no": "No"
37
+ "unset": "No"
37
38
  main_content: "Por favor implemente %{model}#main_content para mostrar contenido."
38
39
  logout: "Salir"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -63,6 +63,7 @@ es:
63
63
  status_tag:
64
64
  "yes": "Sí"
65
65
  "no": "No"
66
+ "unset": "No"
66
67
  main_content: "Por favor implemente %{model}#main_content para mostrar contenido."
67
68
  logout: "Salir"
68
69
  powered_by: "Funciona con %{active_admin} %{version}"
@@ -34,6 +34,7 @@ fa:
34
34
  status_tag:
35
35
  "yes": "بله"
36
36
  "no": "بدون"
37
+ "unset": "بدون"
37
38
  main_content: "لطفا %{model}#main_content را پیاده سازی کنید تا محتوی نمایش داده شود."
38
39
  logout: "خروج"
39
40
  powered_by: "قدرت گرفته از %{active_admin} %{version}"
@@ -34,6 +34,7 @@ fi:
34
34
  status_tag:
35
35
  "yes": "Kyllä"
36
36
  "no": "Ei"
37
+ "unset": "Ei"
37
38
  main_content: "Ole hyvä, käytä %{model}#main_content:ia nähdäksesi jotain."
38
39
  logout: "Kirjaudu ulos"
39
40
  powered_by: "Käyttää %{active_admin} %{version}:ia"
@@ -18,7 +18,7 @@ fr:
18
18
  previous: "Précédent"
19
19
  next: "Suivant"
20
20
  download: "Télécharger :"
21
- has_many_new: "Ajouter un nouveau %{model}"
21
+ has_many_new: "Ajouter un(e) %{model}"
22
22
  has_many_delete: "Supprimer"
23
23
  has_many_remove: "Enlever"
24
24
  filters:
@@ -44,6 +44,7 @@ fr:
44
44
  status_tag:
45
45
  "yes": "Oui"
46
46
  "no": "Non"
47
+ "unset": "Non"
47
48
  main_content: "Veuillez implémenter %{model}#main_content pour afficher le contenu."
48
49
  logout: "Déconnexion"
49
50
  powered_by: "Propulsé par %{active_admin} %{version}"
@@ -42,6 +42,7 @@ he:
42
42
  status_tag:
43
43
  "yes": "כן"
44
44
  "no": "לא"
45
+ "unset": "לא"
45
46
  main_content: "אנא הטמע את %{model}#main_content בכדי להציג תוכן."
46
47
  logout: "התנתקות"
47
48
  powered_by: "ממונע בעזרת %{active_admin} %{version}"
@@ -34,6 +34,7 @@ hr:
34
34
  status_tag:
35
35
  "yes": "Da"
36
36
  "no": "Nema"
37
+ "unset": "Nema"
37
38
  main_content: "Molim Vas, implementirajte %{model}#main_content da biste prikazali sadržaj."
38
39
  logout: "Odjavi se"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -38,6 +38,7 @@ hu:
38
38
  status_tag:
39
39
  "yes": "Igen"
40
40
  "no": "Nem"
41
+ "unset": "Nem"
41
42
  main_content: "Kérem, implementálja a %{model}#main_content metódust a tartalom megjelenítéséhez."
42
43
  logout: "Kilépés"
43
44
  powered_by: "Powered by %{active_admin} %{version}"
@@ -39,6 +39,7 @@ id:
39
39
  status_tag:
40
40
  "yes": "Ya"
41
41
  "no": "Tidak"
42
+ "unset": "Tidak"
42
43
  main_content: "Harap mengimplementasikan %{model}#main_content untuk menampilkan konten."
43
44
  logout: "Keluar"
44
45
  powered_by: "Dibuat dengan %{active_admin} %{version}"
@@ -45,6 +45,7 @@ it:
45
45
  status_tag:
46
46
  "yes": "Sì"
47
47
  "no": "No"
48
+ "unset": "No"
48
49
  main_content: "Devi implemetare %{model}#main_content per mostrarne il contenuto."
49
50
  logout: "Esci"
50
51
  powered_by: "Powered by %{active_admin} %{version}"
@@ -44,6 +44,7 @@ ja:
44
44
  status_tag:
45
45
  "yes": "はい"
46
46
  "no": "いいえ"
47
+ "unset": "いいえ"
47
48
  main_content: "内容を表示するために %{model}#main_content を実装してください。"
48
49
  logout: "ログアウト"
49
50
  powered_by: "Powered by %{active_admin} %{version}"
@@ -39,6 +39,7 @@ ko:
39
39
  status_tag:
40
40
  "yes": "있음"
41
41
  "no": "없음"
42
+ "unset": "없음"
42
43
  main_content: "내용을 보시려면 %{model}#main_content의 코드를 먼저 구현해 주시기 바랍니다."
43
44
  logout: "로그아웃"
44
45
  powered_by: "Powered by %{active_admin} %{version}"
@@ -43,6 +43,7 @@ lt:
43
43
  status_tag:
44
44
  "yes": "Taip"
45
45
  "no": "Nėra"
46
+ "unset": "Nėra"
46
47
  main_content: 'Prašome realizuoti %{model}#main_content turiniui vaizduoti.'
47
48
  logout: 'Išeiti'
48
49
  powered_by: "Powered by %{active_admin} %{version}"
@@ -34,6 +34,7 @@ lv:
34
34
  status_tag:
35
35
  "yes": "Jā"
36
36
  "no": "Nē"
37
+ "unset": "Nē"
37
38
  main_content: "Lūdzu implementēt %{model}#main_content, lai rādītos saturs."
38
39
  logout: "Iziet"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -0,0 +1,134 @@
1
+ mk:
2
+ activerecord:
3
+ models:
4
+ comment:
5
+ one: "Коментар"
6
+ other: "Коментари"
7
+ active_admin/comment:
8
+ one: "Коментар"
9
+ other: "Коментари"
10
+ active_admin:
11
+ dashboard: "Почетна"
12
+ dashboard_welcome:
13
+ welcome: "Добредојдовте во Active Admin. Ова е стандардна верзија на почетната страна."
14
+ call_to_action: "За да додадете секции на почетната страна, прегледајте го 'app/admin/dashboard.rb'."
15
+ view: "Прегледај"
16
+ edit: "Измени"
17
+ delete: "Избриши"
18
+ delete_confirmation: "Дали сте сигурни дека сакате да го избришете записот?"
19
+ create_another: "Креирај нов %{model}"
20
+ new_model: "Додај нов %{model}"
21
+ edit_model: "Измени %{model}"
22
+ delete_model: "Избриши %{model}"
23
+ details: "Детали за %{model}"
24
+ cancel: "Откажи"
25
+ empty: "Празно"
26
+ previous: "Претходно"
27
+ next: "Следно"
28
+ download: "Преземи во понудените формати:"
29
+ has_many_new: "Додај нов %{model}"
30
+ has_many_delete: "Избриши"
31
+ has_many_remove: "Отстрани"
32
+ move: "Премести"
33
+ filters:
34
+ buttons:
35
+ filter: "Пребарај"
36
+ clear: "Исчисти филтри"
37
+ predicates:
38
+ contains: "Содржи"
39
+ equals: "Е еднакво со"
40
+ starts_with: "Започнува со"
41
+ ends_with: "Завршува сo"
42
+ greater_than: "Е поголемо од"
43
+ less_than: "Е помало од"
44
+ gteq_datetime: "Е поголемо или еднакво со"
45
+ lteq_datetime: "Е помало или еднакво со"
46
+ from: "Од"
47
+ to: "До"
48
+ search_status:
49
+ headline: "Пронајдени резултати:"
50
+ current_filters: "Резултати врз основа на следниве филтри:"
51
+ no_current_filters: "Моментално нема филтри"
52
+ status_tag:
53
+ "yes": "Да"
54
+ "no": "Не"
55
+ "unset": "Не"
56
+ main_content: "Ве замолуваме имплементирајте %{model}#main_content за да прикажете содржина."
57
+ logout: "Одјави се"
58
+ powered_by: "Овозможено од %{active_admin} %{version}"
59
+ sidebars:
60
+ filters: "Филтри за пребарување"
61
+ search_status: "Резултати од пребарување"
62
+ pagination:
63
+ empty: "Нема пронајдени записи за %{model}"
64
+ one: "Прикажан <b>1</b> %{model}"
65
+ one_page: "Прикажани <b>сите %{n}</b> %{model}"
66
+ multiple: "Прикажани %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> од вкупно <b>%{total}</b>"
67
+ multiple_without_total: "Прикажани %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
68
+ per_page: "Прикази на записи по страна:"
69
+ entry:
70
+ one: "запис"
71
+ other: "записи"
72
+ any: "Било кој"
73
+ blank_slate:
74
+ content: "Не се креирани записи од типот на %{resource_name}."
75
+ link: "Креирај нов"
76
+ dropdown_actions:
77
+ button_label: "Активности"
78
+ batch_actions:
79
+ button_label: "Групни активности"
80
+ default_confirmation: "Дали сте сигурни?"
81
+ delete_confirmation: "Дали сте сигурни дека сакате да ги избришете %{plural_model}?"
82
+ succesfully_destroyed:
83
+ one: "Успешно е избришан 1 %{model}"
84
+ other: "Успешно се избришани %{count} %{plural_model}"
85
+ selection_toggle_explanation: "(Toggle Selection)"
86
+ action_label: "%{title} го селектираното"
87
+ labels:
88
+ destroy: "Избриши"
89
+ devise:
90
+ username:
91
+ title: "Корисничко име"
92
+ email:
93
+ title: "Е-маил"
94
+ password:
95
+ title: "Лозинка"
96
+ password_confirmation:
97
+ title: "Потврди Лозинка"
98
+ sign_up:
99
+ title: "Креирај профил"
100
+ submit: "Креирај"
101
+ login:
102
+ title: "Најави се"
103
+ remember_me: "Запомни ме"
104
+ submit: "Најави се"
105
+ reset_password:
106
+ title: "Ја заборавивте Вашата лозинка?"
107
+ submit: "Промени лозинка"
108
+ change_password:
109
+ title: "Променете ја лозинката"
110
+ submit: "Промени лозинка"
111
+ unlock:
112
+ title: "Повторно испраќање на инструкции за отклучување на профил"
113
+ submit: "Испрати инструкции"
114
+ resend_confirmation_instructions:
115
+ title: "Повторно испраќање на инструкции за потврдување на профил"
116
+ submit: "Инспрати инструкции"
117
+ links:
118
+ sign_up: "Креирај профил"
119
+ sign_in: "Најави се"
120
+ forgot_your_password: "Ја заборавивте Вашата лозинка?"
121
+ sign_in_with_omniauth_provider: "Најави се со %{provider}"
122
+ resend_unlock_instructions: "Повторно испрати инструкции за отклучување на профил"
123
+ resend_confirmation_instructions: "Повторно испрати инструкции за потврдување на профил"
124
+ unsupported_browser:
125
+ headline: "Ве замолуваме, имајте во предвид дека ActiveAdmin не нуди поддршка за Internet Explorer 8 верзијата или претходни верзии."
126
+ recommendation: "Ви порачуваме да го <a href=\"http://browsehappy.com/\"> ажурирате Вашиот пребарувач</a> за да си го подобрите пребарувањето."
127
+ turn_off_compatibility_view: "Доколку користите IE 9 или понова верзија, Ве замолуваме <a href=\"https://support.microsoft.com/en-us/help/17471\">да исклучите \"Compatibility View\"</a>."
128
+ access_denied:
129
+ message: "Немате овластување да ја извршите оваа активност."
130
+ index_list:
131
+ table: "Табела"
132
+ block: "Листа"
133
+ grid: "Грид"
134
+ blog: "Блог"
@@ -43,6 +43,7 @@ nb:
43
43
  status_tag:
44
44
  "yes": "Ja"
45
45
  "no": "Nei"
46
+ "unset": "Nei"
46
47
  main_content: "Vennligst implementer %{model}#main_content for å vise innhold."
47
48
  logout: "Logg ut"
48
49
  powered_by: "Powered by %{active_admin} %{version}"
@@ -45,6 +45,7 @@ nl:
45
45
  status_tag:
46
46
  "yes": "Ja"
47
47
  "no": "Geen"
48
+ "unset": "Geen"
48
49
  main_content: "Implementeer %{model}#main_content om de content weer te geven."
49
50
  logout: "Uitloggen"
50
51
  powered_by: "Mogelijk gemaakt door %{active_admin} %{version}"
@@ -67,6 +67,7 @@ pl:
67
67
  status_tag:
68
68
  "yes": "Tak"
69
69
  "no": "Nie"
70
+ "unset": "Nie"
70
71
  main_content: "Zaimplementuj %{model}#main_content aby wyświetlić treść."
71
72
  logout: "Wyloguj"
72
73
  powered_by: "Powered by %{active_admin} %{version}"
@@ -44,6 +44,7 @@ pt-BR:
44
44
  status_tag:
45
45
  "yes": "Sim"
46
46
  "no": "Não"
47
+ "unset": "Não"
47
48
  main_content: "Por favor implemente %{model}#main_content para exibir conteúdo."
48
49
  logout: "Sair"
49
50
  powered_by: "Powered by %{active_admin} %{version}"
@@ -34,6 +34,7 @@
34
34
  status_tag:
35
35
  "yes": "Sim"
36
36
  "no": "Não"
37
+ "unset": "Não"
37
38
  main_content: "Por favor implemente %{model}#main_content para mostrar o conteúdo."
38
39
  logout: "Sair"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -34,6 +34,7 @@ ro:
34
34
  status_tag:
35
35
  "yes": "Da"
36
36
  "no": "Nu"
37
+ "unset": "Nu"
37
38
  main_content: "Va rugam sa implementati %{model}#main_content pentru a afisa continut."
38
39
  logout: "Iesire"
39
40
  powered_by: "Powered by %{active_admin} %{version}"
@@ -41,6 +41,7 @@ ru:
41
41
  status_tag:
42
42
  "yes": "Да"
43
43
  "no": "Нет"
44
+ "unset": "Нет"
44
45
  main_content: "Создайте %{model}#main_content для отображения содержимого."
45
46
  logout: "Выйти"
46
47
  powered_by: "Работает на %{active_admin} %{version}"
@@ -34,6 +34,7 @@ sk:
34
34
  status_tag:
35
35
  "yes": "Áno"
36
36
  "no": "Nie"
37
+ "unset": "Nie"
37
38
  main_content: "Implementujte prosím %{model}#main_content pre zobrazenie obsahu."
38
39
  logout: "Odhlásiť"
39
40
  powered_by: "%{active_admin} %{version}"
@@ -41,6 +41,7 @@
41
41
  status_tag:
42
42
  "yes": "Ja"
43
43
  "no": "Nej"
44
+ "unset": "Nej"
44
45
  main_content: "Implementera %{model}#main_content för att kunna visa något."
45
46
  logout: "Logga ut"
46
47
  powered_by: "Powered by %{active_admin} %{version}"
@@ -45,6 +45,7 @@ tr:
45
45
  status_tag:
46
46
  "yes": "Evet"
47
47
  "no": "Hayır"
48
+ "unset": "Hayır"
48
49
  main_content: "İçeriği görüntülemek için lütfen %{model}#main_content metodunu ekleyin."
49
50
  logout: "Çıkış Yap"
50
51
  powered_by: "%{active_admin} %{version} tarafından desteklenmektedir."
@@ -41,6 +41,7 @@ uk:
41
41
  status_tag:
42
42
  "yes": "Так"
43
43
  "no": "Ні"
44
+ "unset": "Ні"
44
45
  main_content: "Створіть %{model}#main_content для відображення вмісту."
45
46
  logout: "Вийти"
46
47
  powered_by: "Powered by %{active_admin} %{version}"
@@ -43,6 +43,7 @@ vi:
43
43
  status_tag:
44
44
  "yes": "Có"
45
45
  "no": "Không Có"
46
+ "unset": "Không Có"
46
47
  main_content: "Xin bổ sung %{model}#main_content để hiển thị nội dung."
47
48
  logout: "Đăng xuất"
48
49
  powered_by: "Powered by %{active_admin} %{version}"
@@ -44,6 +44,7 @@
44
44
  status_tag:
45
45
  "yes": "是"
46
46
  "no": "否"
47
+ "unset": "否"
47
48
  main_content: "请执行 %{model}#main_content 来显示内容."
48
49
  logout: "退出"
49
50
  powered_by: "Powered by %{active_admin} %{version}"
@@ -39,6 +39,7 @@
39
39
  status_tag:
40
40
  "yes": "是"
41
41
  "no": "否"
42
+ "unset": "否"
42
43
  main_content: "請實作 %{model}#main_content 以顯示內容。"
43
44
  logout: "登出"
44
45
  powered_by: "Powered by %{active_admin} %{version}"
@@ -177,6 +177,19 @@ status_tag 'active', class: 'important', id: 'status_123', label: 'on'
177
177
  # => <span class='status_tag active important' id='status_123'>on</span>
178
178
  ```
179
179
 
180
+ When providing a `true` or `false` value, the `status_tag` will display "Yes"
181
+ or "No". This can be configured through the `"en.active_admin.status_tag"`
182
+ locale.
183
+
184
+ ```ruby
185
+ status_tag true
186
+ # => <span class='status_tag yes'>Yes</span>
187
+ ```
188
+
189
+ In the case that a boolean field is `nil`, it will display "No" as a default.
190
+ But using the `"en.active_admin.status_tag.unset"` locale key, it can be
191
+ configured to display something else.
192
+
180
193
  ## Tabs
181
194
 
182
195
  The Tabs component is helpful for saving page real estate. The first tab will be
@@ -244,7 +244,7 @@ To view more details about the API's, visit project pages of
244
244
  ## Using the Pundit Adapter
245
245
 
246
246
  Active Admin also provides an adapter out of the box for
247
- [Pundit](https://github.com/elabs/pundit).
247
+ [Pundit](https://github.com/varvet/pundit).
248
248
 
249
249
  To use the Pundit adapter, update the configuration in the Active Admin
250
250
  initializer:
@@ -255,7 +255,7 @@ config.authorization_adapter = ActiveAdmin::PunditAdapter
255
255
 
256
256
  Once that's done, Active Admin will pick up your Pundit policies, and use
257
257
  them for authorization. For more information about setting up Pundit, see
258
- [their documention](https://github.com/elabs/pundit#installation).
258
+ [their documentation](https://github.com/varvet/pundit#installation).
259
259
 
260
260
  Pundit also has [verify_authorized and/or verify_policy_scoped
261
261
  methods](https://github.com/varvet/pundit#ensuring-policies-and-scopes-are-used)
@@ -187,8 +187,17 @@ module ActiveAdmin
187
187
  # regenerate the routes as well.
188
188
  def attach_reloader
189
189
  Rails.application.config.after_initialize do |app|
190
- ActiveSupport::Reloader.after_class_unload do
191
- ActiveAdmin.application.unload!
190
+ unload_active_admin = -> { ActiveAdmin.application.unload! }
191
+
192
+ if app.config.reload_classes_only_on_change
193
+ # Rails is about to unload all the app files (e.g. models), so we
194
+ # should first unload the classes generated by Active Admin, otherwise
195
+ # they will contain references to the stale (unloaded) classes.
196
+ ActiveSupport::Reloader.to_prepare(prepend: true, &unload_active_admin)
197
+ else
198
+ # If the user has configured the app to always reload app files after
199
+ # each request, so we should unload the generated classes too.
200
+ ActiveSupport::Reloader.to_complete(&unload_active_admin)
192
201
  end
193
202
 
194
203
  admin_dirs = {}
@@ -112,7 +112,11 @@ module ActiveAdmin
112
112
  # => You can pass a hash of options to `:form` that will be rendered as form input fields for the user to fill out.
113
113
  #
114
114
  def initialize(sym, title, options = {}, &block)
115
- @sym, @title, @options, @block, @confirm = sym, title, options, block, options[:confirm]
115
+ @sym = sym
116
+ @title = title
117
+ @options = options
118
+ @block = block
119
+ @confirm = options[:confirm]
116
120
  @block ||= proc {}
117
121
  end
118
122
 
@@ -2,7 +2,8 @@ module ActiveAdmin
2
2
  class ControllerAction
3
3
  attr_reader :name
4
4
  def initialize(name, options = {})
5
- @name, @options = name, options
5
+ @name = name
6
+ @options = options
6
7
  end
7
8
 
8
9
  def http_verb
@@ -32,7 +32,9 @@ module ActiveAdmin
32
32
 
33
33
  def initialize(options = {}, &block)
34
34
  @resource = options.delete(:resource)
35
- @columns, @options, @block = [], options, block
35
+ @columns = []
36
+ @options = options
37
+ @block = block
36
38
  end
37
39
 
38
40
  def column(name, options = {}, &block)
@@ -55,10 +55,6 @@ module ActiveAdmin
55
55
  Matcher.new name.to_s
56
56
  end
57
57
 
58
- def self.rails_version
59
- rails.spec.version
60
- end
61
-
62
58
  def self.supports_zeitwerk?
63
59
  rails >= "6.0.0.beta3" && RUBY_ENGINE != "jruby"
64
60
  end
@@ -6,7 +6,9 @@ module ActiveAdmin
6
6
  attr_reader :user, :action, :subject
7
7
 
8
8
  def initialize(user, action, subject = nil)
9
- @user, @action, @subject = user, action, subject
9
+ @user = user
10
+ @action = action
11
+ @subject = subject
10
12
 
11
13
  super()
12
14
  end
@@ -26,8 +26,7 @@ module ActiveAdmin
26
26
  end
27
27
 
28
28
  def label
29
- # TODO: to remind us to go back to the simpler str.downcase once we support ruby >= 2.4 only.
30
- translated_predicate = predicate_name.mb_chars.downcase.to_s
29
+ translated_predicate = predicate_name.downcase
31
30
  if filter_label && filter_label.is_a?(Proc)
32
31
  "#{filter_label.call} #{translated_predicate}"
33
32
  elsif filter_label
@@ -67,7 +66,7 @@ module ActiveAdmin
67
66
  def filter_label
68
67
  return unless filter
69
68
 
70
- filter[:label]
69
+ filter[:label] || I18n.t(name, scope: ['formtastic', 'labels'], default: nil)
71
70
  end
72
71
 
73
72
  #@return Ransack::Nodes::Attribute
@@ -21,7 +21,8 @@ module ActiveAdmin
21
21
  delegate :has_key?, :fetch, to: :options
22
22
 
23
23
  def initialize(options = {}, &block)
24
- @options, @block = options, block
24
+ @options = options
25
+ @block = block
25
26
  end
26
27
 
27
28
  def [](key)
@@ -44,7 +44,7 @@ module ActiveAdmin
44
44
  end
45
45
 
46
46
  def format_action(action, subject)
47
- # https://github.com/elabs/pundit/blob/master/lib/generators/pundit/install/templates/application_policy.rb
47
+ # https://github.com/varvet/pundit/blob/master/lib/generators/pundit/install/templates/application_policy.rb
48
48
  case action
49
49
  when Auth::CREATE then :create?
50
50
  when Auth::UPDATE then :update?
@@ -57,8 +57,8 @@ module ActiveAdmin
57
57
  private
58
58
 
59
59
  def namespace(object)
60
- if ActiveAdmin.application.pundit_policy_namespace
61
- [ActiveAdmin.application.pundit_policy_namespace.to_sym, object]
60
+ if default_policy_namespace && !object.class.to_s.include?(default_policy_namespace.to_s.camelize)
61
+ [default_policy_namespace.to_sym, object]
62
62
  else
63
63
  object
64
64
  end
@@ -72,6 +72,10 @@ module ActiveAdmin
72
72
  default_policy_class.new(user, subject)
73
73
  end
74
74
 
75
+ def default_policy_namespace
76
+ ActiveAdmin.application.pundit_policy_namespace
77
+ end
78
+
75
79
  end
76
80
 
77
81
  end
@@ -71,7 +71,8 @@ module ActiveAdmin
71
71
  @resource_class_name = "::#{resource_class.name}"
72
72
  @options = options
73
73
  @sort_order = options[:sort_order]
74
- @member_actions, @collection_actions = [], []
74
+ @member_actions = []
75
+ @collection_actions = []
75
76
  end
76
77
  end
77
78
 
@@ -15,7 +15,9 @@ module ActiveAdmin
15
15
  attr_reader :owner
16
16
 
17
17
  def initialize(owner, target_name, options = {})
18
- @owner, @target_name, @options = owner, target_name, options
18
+ @owner = owner
19
+ @target_name = target_name
20
+ @options = options
19
21
  end
20
22
 
21
23
  # Returns the target resource class or raises an exception if it doesn't exist
@@ -4,7 +4,8 @@ module ActiveAdmin
4
4
  attr_reader :namespaces, :router
5
5
 
6
6
  def initialize(router:, namespaces:)
7
- @router, @namespaces = router, namespaces
7
+ @router = router
8
+ @namespaces = namespaces
8
9
  end
9
10
 
10
11
  def apply
@@ -28,7 +28,8 @@ module ActiveAdmin
28
28
  # # => Scope with the group :status
29
29
  #
30
30
  def initialize(name, method = nil, options = {}, &block)
31
- @name, @scope_method = name, method.try(:to_sym)
31
+ @name = name
32
+ @scope_method = method.try(:to_sym)
32
33
 
33
34
  if name.is_a? Proc
34
35
  raise "A string/symbol is required as the second argument if your label is a proc." unless method
@@ -38,8 +39,11 @@ module ActiveAdmin
38
39
  @id = name.to_s.parameterize(separator: "_")
39
40
  end
40
41
 
41
- @scope_method = nil if @scope_method == :all
42
- @scope_method, @scope_block = nil, block if block_given?
42
+ @scope_method = nil if @scope_method == :all
43
+ if block_given?
44
+ @scope_method = nil
45
+ @scope_block = block
46
+ end
43
47
 
44
48
  @localizer = options[:localizer]
45
49
  @show_count = options.fetch(:show_count, true)
@@ -6,7 +6,9 @@ module ActiveAdmin
6
6
  attr_accessor :name, :options, :block
7
7
 
8
8
  def initialize(name, options = {}, &block)
9
- @name, @options, @block = name.to_s, options, block
9
+ @name = name.to_s
10
+ @options = options
11
+ @block = block
10
12
  normalize_display_options!
11
13
  end
12
14
 
@@ -1,3 +1,3 @@
1
1
  module ActiveAdmin
2
- VERSION = '2.1.0'
2
+ VERSION = '2.2.0'
3
3
  end
@@ -12,9 +12,9 @@ module ActiveAdmin
12
12
  # 1. try using `display_name` if we can locate a DB object
13
13
  # 2. try using the model name translation
14
14
  # 3. default to calling `titlecase` on the URL fragment
15
- if part =~ /\A(\d+|[a-f0-9]{24}|(?:[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}))\z/ && parts[index-1]
15
+ if part =~ /\A(\d+|[a-f0-9]{24}|(?:[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}))\z/ && parts[index - 1]
16
16
  parent = active_admin_config.belongs_to_config.try :target
17
- config = parent && parent.resource_name.route_key == parts[index-1] ? parent : active_admin_config
17
+ config = parent && parent.resource_name.route_key == parts[index - 1] ? parent : active_admin_config
18
18
  name = display_name config.find_resource part
19
19
  end
20
20
  name ||= I18n.t "activerecord.models.#{part.singularize}", count: ::ActiveAdmin::Helpers::I18n::PLURAL_MANY_COUNT, default: part.titlecase
@@ -3,7 +3,8 @@ module ActiveAdmin
3
3
  module DisplayHelper
4
4
 
5
5
  DISPLAY_NAME_FALLBACK = -> {
6
- name, klass = "", self.class
6
+ name = ""
7
+ klass = self.class
7
8
  name << klass.model_name.human if klass.respond_to? :model_name
8
9
  name << " ##{send(klass.primary_key)}" if klass.respond_to? :primary_key
9
10
  name.present? ? name : to_s
@@ -15,7 +16,7 @@ module ActiveAdmin
15
16
  # Attempts to call any known display name methods on the resource.
16
17
  # See the setting in `application.rb` for the list of methods and their priority.
17
18
  def display_name(resource)
18
- sanitize(render_in_context(resource, display_name_method_for(resource)).to_s) unless resource.nil?
19
+ ERB::Util.html_escape(render_in_context(resource, display_name_method_for(resource))) unless resource.nil?
19
20
  end
20
21
 
21
22
  # Looks up and caches the first available display name method.
@@ -51,8 +51,10 @@ module ActiveAdmin
51
51
  case status
52
52
  when true, 'true'
53
53
  'Yes'
54
- when false, 'false', nil
54
+ when false, 'false'
55
55
  'No'
56
+ when nil
57
+ 'Unset'
56
58
  else
57
59
  status
58
60
  end
@@ -60,6 +62,8 @@ module ActiveAdmin
60
62
 
61
63
  def status_to_class(status)
62
64
  case status
65
+ when 'Unset'
66
+ 'unset no'
63
67
  when String, Symbol
64
68
  status.to_s.titleize.gsub(/\s/, '').underscore
65
69
  else
@@ -1,43 +1,44 @@
1
1
  ActiveAdmin.register <%= class_name %> do
2
- # See permitted parameters documentation:
3
- # https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
4
- #
5
- # permit_params :list, :of, :attributes, :on, :model
6
- #
7
- # or
8
- #
9
- # permit_params do
10
- # permitted = [:permitted, :attributes]
11
- # permitted << :other if params[:action] == 'create' && current_user.admin?
12
- # permitted
13
- # end
14
- <% if options.include_boilerplate? %>
15
- # Limit actions available to your users by adding them to the 'except' array
16
- # actions :all, except: []
17
2
 
18
- # Add or remove filters (you can use any ActiveRecord scope) to toggle their
19
- # visibility in the sidebar
20
- <%= @boilerplate.filters %>
3
+ # See permitted parameters documentation:
4
+ # https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
5
+ #
6
+ # permit_params :list, :of, :attributes, :on, :model
7
+ #
8
+ # or
9
+ #
10
+ # permit_params do
11
+ # permitted = [:permitted, :attributes]
12
+ # permitted << :other if params[:action] == 'create' && current_user.admin?
13
+ # permitted
14
+ # end
15
+ <% if options.include_boilerplate? %>
16
+ # Limit actions available to your users by adding them to the 'except' array
17
+ # actions :all, except: []
21
18
 
22
- # Add or remove columns to toggle their visiblity in the index action
23
- # index do
24
- # selectable_column
25
- # id_column
26
- <%= @boilerplate.columns %>
27
- # actions
28
- # end
19
+ # Add or remove filters (you can use any ActiveRecord scope) to toggle their
20
+ # visibility in the sidebar
21
+ <%= @boilerplate.filters %>
29
22
 
30
- # Add or remove rows to toggle their visiblity in the show action
31
- # show do |<%= class_name.downcase %>|
32
- <%= @boilerplate.rows %>
33
- # end
23
+ # Add or remove columns to toggle their visiblity in the index action
24
+ # index do
25
+ # selectable_column
26
+ # id_column
27
+ <%= @boilerplate.columns %>
28
+ # actions
29
+ # end
34
30
 
35
- # Add or remove fields to toggle their visibility in the form
36
- # form do |f|
37
- # f.inputs do
38
- <%= @boilerplate.form_inputs %>
39
- # end
40
- # f.actions
41
- # end
42
- <% end %>
31
+ # Add or remove rows to toggle their visiblity in the show action
32
+ # show do |<%= class_name.downcase %>|
33
+ <%= @boilerplate.rows %>
34
+ # end
35
+
36
+ # Add or remove fields to toggle their visibility in the form
37
+ # form do |f|
38
+ # f.inputs do
39
+ <%= @boilerplate.form_inputs %>
40
+ # end
41
+ # f.actions
42
+ # end
43
+ <% end %>
43
44
  end
@@ -2,11 +2,11 @@
2
2
  # identically to the versions given in Ransack.
3
3
  #
4
4
  Ransack.configure do |config|
5
- { 'contains'=>'cont', 'starts_with'=>'start', 'ends_with'=>'end' }.each do |old, current|
5
+ { 'contains' => 'cont', 'starts_with' => 'start', 'ends_with' => 'end' }.each do |old, current|
6
6
  config.add_predicate old, Ransack::Constants::DERIVED_PREDICATES.detect { |q, _| q == current }[1]
7
7
  end
8
8
 
9
- { 'equals'=>'eq', 'greater_than'=>'gt', 'less_than'=>'lt' }.each do |old, current|
9
+ { 'equals' => 'eq', 'greater_than' => 'gt', 'less_than' => 'lt' }.each do |old, current|
10
10
  config.add_predicate old, arel_predicate: current
11
11
  end
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Maresh
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2019-06-10 00:00:00.000000000 Z
18
+ date: 2019-07-15 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: arbre
@@ -122,7 +122,7 @@ dependencies:
122
122
  version: '5.0'
123
123
  - - "<"
124
124
  - !ruby/object:Gem::Version
125
- version: '6.0'
125
+ version: '6.1'
126
126
  type: :runtime
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
@@ -132,7 +132,7 @@ dependencies:
132
132
  version: '5.0'
133
133
  - - "<"
134
134
  - !ruby/object:Gem::Version
135
- version: '6.0'
135
+ version: '6.1'
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: ransack
138
138
  requirement: !ruby/object:Gem::Requirement
@@ -331,6 +331,7 @@ files:
331
331
  - config/locales/ko.yml
332
332
  - config/locales/lt.yml
333
333
  - config/locales/lv.yml
334
+ - config/locales/mk.yml
334
335
  - config/locales/nb.yml
335
336
  - config/locales/nl.yml
336
337
  - config/locales/pl.yml
@@ -606,7 +607,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
606
607
  - !ruby/object:Gem::Version
607
608
  version: '0'
608
609
  requirements: []
609
- rubygems_version: 3.0.3
610
+ rubygems_version: 3.0.4
610
611
  signing_key:
611
612
  specification_version: 4
612
613
  summary: Active Admin is a Ruby on Rails plugin for generating administration style