ama_layout 10.0.1 → 11.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +45 -0
  3. data/Dangerfile +19 -0
  4. data/ama_layout.gemspec +1 -1
  5. data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +1 -0
  6. data/app/helpers/ama_layout_breadcrumb_helper.rb +7 -1
  7. data/app/helpers/ama_layout_content_helper.rb +28 -17
  8. data/app/helpers/ama_layout_partial_helper.rb +11 -0
  9. data/app/views/ama_layout/{_alert.html.erb → v2/_alert.html.erb} +0 -0
  10. data/app/views/ama_layout/{_applogo.html.erb → v2/_applogo.html.erb} +0 -0
  11. data/app/views/ama_layout/{_breadcrumbs.html.erb → v2/_breadcrumbs.html.erb} +0 -0
  12. data/app/views/ama_layout/{_custom_nav_links.html.erb → v2/_custom_nav_links.html.erb} +0 -0
  13. data/app/views/ama_layout/{_custom_sidebar.html.erb → v2/_custom_sidebar.html.erb} +0 -0
  14. data/app/views/ama_layout/v2/_font.html.erb +1 -0
  15. data/app/views/ama_layout/v2/_font_awesome_pro_kit.html.erb +3 -0
  16. data/app/views/ama_layout/{_footer.html.erb → v2/_footer.html.erb} +0 -0
  17. data/app/views/ama_layout/{_main_nav_item.html.erb → v2/_main_nav_item.html.erb} +0 -0
  18. data/app/views/ama_layout/{_main_top_nav_item.html.erb → v2/_main_top_nav_item.html.erb} +0 -0
  19. data/app/views/ama_layout/{_manage_credit_card_link.html.erb → v2/_member_links.html.erb} +3 -0
  20. data/app/views/ama_layout/{_mobile_links.html.erb → v2/_mobile_links.html.erb} +0 -0
  21. data/app/views/ama_layout/{_mobile_notification_icon.html.erb → v2/_mobile_notification_icon.html.erb} +0 -0
  22. data/app/views/ama_layout/{_notice.html.erb → v2/_notice.html.erb} +0 -0
  23. data/app/views/ama_layout/{_notices.html.erb → v2/_notices.html.erb} +0 -0
  24. data/app/views/ama_layout/{_notification.html.erb → v2/_notification.html.erb} +0 -0
  25. data/app/views/ama_layout/{_notification_icon.html.erb → v2/_notification_icon.html.erb} +0 -0
  26. data/app/views/ama_layout/{_notification_sidebar.html.erb → v2/_notification_sidebar.html.erb} +1 -1
  27. data/app/views/ama_layout/{_sidebar.html.erb → v2/_sidebar.html.erb} +0 -0
  28. data/app/views/ama_layout/{_sign_out_link.html.erb → v2/_sign_out_link.html.erb} +0 -0
  29. data/app/views/ama_layout/{_siteheader.html.erb → v2/_siteheader.html.erb} +0 -0
  30. data/app/views/ama_layout/{_sub_nav.html.erb → v2/_sub_nav.html.erb} +0 -0
  31. data/app/views/ama_layout/{_sub_nav_item.html.erb → v2/_sub_nav_item.html.erb} +0 -0
  32. data/app/views/ama_layout/{_success.html.erb → v2/_success.html.erb} +0 -0
  33. data/app/views/ama_layout/{_top_nav.html.erb → v2/_top_nav.html.erb} +2 -5
  34. data/app/views/ama_layout/{_top_sub_nav.html.erb → v2/_top_sub_nav.html.erb} +0 -0
  35. data/app/views/ama_layout/{_top_sub_nav_item.html.erb → v2/_top_sub_nav_item.html.erb} +0 -0
  36. data/app/views/ama_layout/v3/_alert.html.erb +5 -0
  37. data/app/views/ama_layout/v3/_applogo.html.erb +3 -0
  38. data/app/views/ama_layout/v3/_breadcrumbs.html.erb +3 -0
  39. data/app/views/ama_layout/v3/_custom_nav_links.html.erb +0 -0
  40. data/app/views/ama_layout/v3/_custom_sidebar.html.erb +1 -0
  41. data/app/views/ama_layout/v3/_font.html.erb +2 -0
  42. data/app/views/ama_layout/v3/_font_awesome_pro_kit.html.erb +3 -0
  43. data/app/views/ama_layout/v3/_footer.html.erb +69 -0
  44. data/app/views/ama_layout/v3/_main_nav_item.html.erb +6 -0
  45. data/app/views/ama_layout/v3/_main_top_nav_item.html.erb +4 -0
  46. data/app/views/ama_layout/v3/_member_links.html.erb +6 -0
  47. data/app/views/ama_layout/v3/_mobile_links.html.erb +19 -0
  48. data/app/views/ama_layout/v3/_mobile_notification_icon.html.erb +4 -0
  49. data/app/views/ama_layout/v3/_notice.html.erb +5 -0
  50. data/app/views/ama_layout/v3/_notices.html.erb +3 -0
  51. data/app/views/ama_layout/v3/_notification.html.erb +10 -0
  52. data/app/views/ama_layout/v3/_notification_icon.html.erb +6 -0
  53. data/app/views/ama_layout/v3/_notification_sidebar.html.erb +22 -0
  54. data/app/views/ama_layout/v3/_sidebar.html.erb +8 -0
  55. data/app/views/ama_layout/v3/_sign_out_link.html.erb +3 -0
  56. data/app/views/ama_layout/v3/_siteheader.html.erb +37 -0
  57. data/app/views/ama_layout/v3/_sub_nav.html.erb +3 -0
  58. data/app/views/ama_layout/v3/_sub_nav_item.html.erb +3 -0
  59. data/app/views/ama_layout/v3/_success.html.erb +5 -0
  60. data/app/views/ama_layout/v3/_top_nav.html.erb +16 -0
  61. data/app/views/ama_layout/v3/_top_sub_nav.html.erb +3 -0
  62. data/app/views/ama_layout/v3/_top_sub_nav_item.html.erb +3 -0
  63. data/config.ru +1 -1
  64. data/lib/ama_layout/ama_layout_view.rb +6 -0
  65. data/lib/ama_layout/decorators/agent/navigation_decorator.rb +5 -3
  66. data/lib/ama_layout/decorators/navigation_decorator.rb +9 -9
  67. data/lib/ama_layout/draper_replacement.rb +6 -0
  68. data/lib/ama_layout/moneris.rb +10 -1
  69. data/lib/ama_layout/moneris/{textbox.txt → v2/textbox.txt} +0 -0
  70. data/lib/ama_layout/moneris/v3/textbox.txt +62 -0
  71. data/lib/ama_layout/navigation.yml +2 -2
  72. data/lib/ama_layout/version.rb +1 -1
  73. data/spec/ama_layout/decorators/moneris_decorator_spec.rb +10 -7
  74. data/spec/ama_layout/decorators/navigation_decorator_spec.rb +8 -7
  75. data/spec/ama_layout/moneris_spec.rb +22 -3
  76. data/spec/helpers/ama_layout_content_helper_spec.rb +64 -62
  77. data/spec/spec_helper.rb +3 -1
  78. metadata +65 -33
  79. data/.travis.yml +0 -6
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5.5
4
- sudo: false
5
- services:
6
- - redis-server