ama_layout 9.5.3 → 11.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ci.yml +45 -0
  3. data/.ruby-version +1 -0
  4. data/Dangerfile +19 -0
  5. data/ama_layout.gemspec +33 -18
  6. data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +1 -0
  7. data/app/helpers/ama_layout_breadcrumb_helper.rb +7 -1
  8. data/app/helpers/ama_layout_content_helper.rb +28 -17
  9. data/app/helpers/ama_layout_partial_helper.rb +11 -0
  10. data/app/views/ama_layout/{_alert.html.erb → v2/_alert.html.erb} +0 -0
  11. data/app/views/ama_layout/{_applogo.html.erb → v2/_applogo.html.erb} +0 -0
  12. data/app/views/ama_layout/{_breadcrumbs.html.erb → v2/_breadcrumbs.html.erb} +0 -0
  13. data/app/views/ama_layout/{_custom_nav_links.html.erb → v2/_custom_nav_links.html.erb} +0 -0
  14. data/app/views/ama_layout/{_custom_sidebar.html.erb → v2/_custom_sidebar.html.erb} +0 -0
  15. data/app/views/ama_layout/v2/_font.html.erb +1 -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/v2/_member_links.html.erb +6 -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/v2/_top_nav.html.erb +16 -0
  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/_footer.html.erb +69 -0
  43. data/app/views/ama_layout/v3/_main_nav_item.html.erb +6 -0
  44. data/app/views/ama_layout/v3/_main_top_nav_item.html.erb +4 -0
  45. data/app/views/ama_layout/v3/_member_links.html.erb +6 -0
  46. data/app/views/ama_layout/v3/_mobile_links.html.erb +19 -0
  47. data/app/views/ama_layout/v3/_mobile_notification_icon.html.erb +4 -0
  48. data/app/views/ama_layout/v3/_notice.html.erb +5 -0
  49. data/app/views/ama_layout/v3/_notices.html.erb +3 -0
  50. data/app/views/ama_layout/v3/_notification.html.erb +10 -0
  51. data/app/views/ama_layout/v3/_notification_icon.html.erb +6 -0
  52. data/app/views/ama_layout/v3/_notification_sidebar.html.erb +22 -0
  53. data/app/views/ama_layout/v3/_sidebar.html.erb +8 -0
  54. data/app/views/ama_layout/v3/_sign_out_link.html.erb +3 -0
  55. data/app/views/ama_layout/v3/_siteheader.html.erb +37 -0
  56. data/app/views/ama_layout/v3/_sub_nav.html.erb +3 -0
  57. data/app/views/ama_layout/v3/_sub_nav_item.html.erb +3 -0
  58. data/app/views/ama_layout/v3/_success.html.erb +5 -0
  59. data/app/views/ama_layout/v3/_top_nav.html.erb +16 -0
  60. data/app/views/ama_layout/v3/_top_sub_nav.html.erb +3 -0
  61. data/app/views/ama_layout/v3/_top_sub_nav_item.html.erb +3 -0
  62. data/config.ru +9 -0
  63. data/lib/ama_layout/ama_layout_view.rb +6 -0
  64. data/lib/ama_layout/decorators/agent/navigation_decorator.rb +11 -6
  65. data/lib/ama_layout/decorators/navigation_decorator.rb +41 -26
  66. data/lib/ama_layout/draper_replacement.rb +6 -0
  67. data/lib/ama_layout/moneris.rb +10 -1
  68. data/lib/ama_layout/moneris/{textbox.txt → v2/textbox.txt} +0 -0
  69. data/lib/ama_layout/moneris/v3/textbox.txt +62 -0
  70. data/lib/ama_layout/navigation.rb +16 -9
  71. data/lib/ama_layout/navigation.yml +2 -2
  72. data/lib/ama_layout/version.rb +3 -1
  73. data/spec/ama_layout/decorators/moneris_decorator_spec.rb +10 -7
  74. data/spec/ama_layout/decorators/navigation_decorator_spec.rb +115 -60
  75. data/spec/ama_layout/moneris_spec.rb +22 -3
  76. data/spec/factories/agent_navigation.rb +3 -1
  77. data/spec/factories/navigation.rb +3 -1
  78. data/spec/factories/navigation_item.rb +6 -4
  79. data/spec/factories/users.rb +20 -13
  80. data/spec/helpers/ama_layout_content_helper_spec.rb +64 -62
  81. data/spec/internal/app/assets/config/manifest.js +0 -0
  82. data/spec/internal/db/schema.rb +4 -1
  83. data/spec/spec_helper.rb +3 -1
  84. metadata +104 -80
  85. data/.travis.yml +0 -6
  86. data/app/views/ama_layout/_top_nav.html.erb +0 -11
@@ -1,35 +1,42 @@
1
+ # frozen_string_literal: true
2
+
1
3
  FactoryBot.define do
2
4
  factory :user, class: Class.new(OpenStruct) do
3
- in_renewal false
4
- member_type 'P'
5
- renew_type 'R'
6
- status 'A'
7
- has_outstanding_balance false
8
- member? true
5
+ in_renewal { false }
6
+ member_type { 'P' }
7
+ renew_type { 'R' }
8
+ status { 'A' }
9
+ has_outstanding_balance { false }
10
+ member? { true }
11
+ menu_key { 'member' }
9
12
 
10
13
  trait :non_member do
11
- member? false
14
+ member? { false }
15
+ menu_key { 'non_member' }
12
16
  end
13
17
 
14
18
  trait :with_accr do
15
- renew_type 'A'
19
+ renew_type { 'A' }
16
20
  end
17
21
 
18
22
  trait :with_mpp do
19
- renew_type 'M'
23
+ renew_type { 'M' }
20
24
  end
21
25
 
22
26
  trait :in_renewal do
23
- in_renewal true
27
+ in_renewal { true }
28
+ menu_key { 'member_renewal' }
24
29
  end
25
30
 
26
31
  trait :in_renewal_late do
27
- in_renewal true
28
- status 'AL'
32
+ in_renewal { true }
33
+ status { 'AL' }
34
+ menu_key { 'member_renewal_late' }
29
35
  end
30
36
 
31
37
  trait :outstanding_balance do
32
- has_outstanding_balance true
38
+ has_outstanding_balance { true }
39
+ menu_key { 'member_outstanding_balance' }
33
40
  end
34
41
  end
35
42
  end
@@ -1,159 +1,161 @@
1
+ # frozen_string_literal: true
2
+
1
3
  describe AmaLayoutContentHelper do
2
- let(:greeting) { "DJ Funky Fresh" }
3
- let(:site_name) { "Waffle Emporium" }
4
- let(:site_domain) { "http://waffleemporium.ca" }
4
+ let(:greeting) { 'DJ Funky Fresh' }
5
+ let(:site_name) { 'Waffle Emporium' }
6
+ let(:site_domain) { 'http://waffleemporium.ca' }
5
7
  let(:site_url) { "#{site_domain}/wafflesauce" }
6
8
  let(:nav_item) { FactoryBot.build(:navigation_item) }
7
9
 
8
- describe "#greeting" do
9
- it "returns the greeting set in the domain cookie" do
10
+ describe '#greeting' do
11
+ it 'returns the greeting set in the domain cookie' do
10
12
  helper.request.cookies[:logged_in_meta] = greeting
11
13
  expect(helper.greeting).to eq greeting
12
14
  end
13
15
  end
14
16
 
15
- describe "#utm_source" do
16
- it "returns the downcased character-only representation of the site name" do
17
+ describe '#utm_source' do
18
+ it 'returns the downcased character-only representation of the site name' do
17
19
  allow(Rails.configuration).to receive(:site_name).and_return(site_name)
18
- expect(helper.utm_source).to eq site_name.downcase.gsub(/\W/, "")
20
+ expect(helper.utm_source).to eq site_name.downcase.gsub(/\W/, '')
19
21
  end
20
22
  end
21
23
 
22
- describe "#active_section" do
23
- it "returns active if request include the path" do
24
+ describe '#active_section' do
25
+ it 'returns active if request include the path' do
24
26
  allow_any_instance_of(ActionController::TestRequest).to receive(:fullpath).and_return("#{site_domain}/gotica")
25
- expect(helper.active_section(nav_item)).to eq "activepage"
27
+ expect(helper.active_section(nav_item)).to eq 'activepage'
26
28
  end
27
29
 
28
- it "returns nil if request does not include the path" do
30
+ it 'returns nil if request does not include the path' do
29
31
  expect(helper.active_section(nav_item)).to eq nil
30
32
  end
31
33
  end
32
34
 
33
- describe "#active_page" do
35
+ describe '#active_page' do
34
36
  before(:each) do
35
37
  allow(helper.request).to receive(:fullpath).and_return(site_url)
36
38
  end
37
39
 
38
- it "returns active if the given path matches the request path" do
39
- expect(helper.active_page(site_url)).to eq "activepage"
40
+ it 'returns active if the given path matches the request path' do
41
+ expect(helper.active_page(site_url)).to eq 'activepage'
40
42
  end
41
43
 
42
- it "returns nothing if the given patch does not match the request path" do
43
- expect(helper.active_page("http://waffleemporium.ca/ecuaselffaw")).to be_nil
44
+ it 'returns nothing if the given patch does not match the request path' do
45
+ expect(helper.active_page('http://waffleemporium.ca/ecuaselffaw')).to be_nil
44
46
  end
45
47
  end
46
48
 
47
- describe "#active_domain" do
49
+ describe '#active_domain' do
48
50
  before(:each) do
49
51
  allow(helper.request).to receive(:url).and_return(site_url)
50
52
  end
51
53
 
52
- it "returns active if the request domain matches the given domain" do
53
- expect(helper.active_domain(site_domain)).to eq "active"
54
+ it 'returns active if the request domain matches the given domain' do
55
+ expect(helper.active_domain(site_domain)).to eq 'active'
54
56
  end
55
57
 
56
- it "returns nothing if the request domain does not match the given domain" do
57
- expect(helper.active_domain("http://pancakeemporium.ca")).to be_nil
58
+ it 'returns nothing if the request domain does not match the given domain' do
59
+ expect(helper.active_domain('http://pancakeemporium.ca')).to be_nil
58
60
  end
59
61
  end
60
62
 
61
- describe "#renew_or_join_path" do
62
- it "returns nothing if the visitor is logged in" do
63
- expect(helper.renew_or_join_path(true)).to eq ""
63
+ describe '#renew_or_join_path' do
64
+ it 'returns nothing if the visitor is logged in' do
65
+ expect(helper.renew_or_join_path(true)).to eq ''
64
66
  end
65
67
 
66
- it "returns the join link if the visitor is not logged in" do
67
- expect(helper.renew_or_join_path(false)).to include "Become a Member"
68
+ it 'returns the join link if the visitor is not logged in' do
69
+ expect(helper.renew_or_join_path(false)).to include 'Become a Member'
68
70
  end
69
71
  end
70
72
 
71
- describe "#gift_or_pricing_path" do
72
- it "returns nothing if the visitor is logged in" do
73
- expect(helper.gift_or_pricing_path(true)).to eq ""
73
+ describe '#gift_or_pricing_path' do
74
+ it 'returns nothing if the visitor is logged in' do
75
+ expect(helper.gift_or_pricing_path(true)).to eq ''
74
76
  end
75
77
 
76
- it "returns the gift link if the visitor is not logged in" do
77
- expect(helper.gift_or_pricing_path(false)).to include "Gift Membership"
78
+ it 'returns the gift link if the visitor is not logged in' do
79
+ expect(helper.gift_or_pricing_path(false)).to include 'Gift Membership'
78
80
  end
79
81
  end
80
82
 
81
- describe "#dropdown_menu" do
83
+ describe '#dropdown_menu' do
82
84
  let(:render_args) do
83
- { partial: "ama_layout/dropdown_menu", locals: { logged_in: true, greeting: greeting } }
85
+ { partial: 'ama_layout/v3/dropdown_menu', locals: { logged_in: true, greeting: greeting } }
84
86
  end
85
87
 
86
- it "renders the dropdown menu if the visitor is logged in" do
88
+ it 'renders the dropdown menu if the visitor is logged in' do
87
89
  expect(helper).to receive(:render).with(render_args)
88
90
  helper.dropdown_menu(true, greeting)
89
91
  end
90
92
 
91
- it "does not render the dropdown menu if the visitor is not logged in" do
92
- expect(helper.dropdown_menu(false, greeting)).to eq ""
93
+ it 'does not render the dropdown menu if the visitor is not logged in' do
94
+ expect(helper.dropdown_menu(false, greeting)).to eq ''
93
95
  end
94
96
  end
95
97
 
96
- describe "#tablet_menu" do
98
+ describe '#tablet_menu' do
97
99
  let(:render_args) do
98
- { partial: "ama_layout/tablet_menu", locals: { logged_in: true, greeting: greeting } }
100
+ { partial: 'ama_layout/v3/tablet_menu', locals: { logged_in: true, greeting: greeting } }
99
101
  end
100
102
 
101
- it "renders the tablet menu if the visitor is logged in" do
103
+ it 'renders the tablet menu if the visitor is logged in' do
102
104
  expect(helper).to receive(:render).with(render_args)
103
105
  helper.tablet_menu(true, greeting)
104
106
  end
105
107
 
106
- it "does not render the tablet menu if the visitor is not logged in" do
107
- expect(helper.tablet_menu(false, greeting)).to eq ""
108
+ it 'does not render the tablet menu if the visitor is not logged in' do
109
+ expect(helper.tablet_menu(false, greeting)).to eq ''
108
110
  end
109
111
  end
110
112
 
111
- describe "#tablet_signout" do
112
- it "renders a signout link if the visitor is logged in" do
113
- expect(helper).to receive(:render).with("ama_layout/tablet_signout")
113
+ describe '#tablet_signout' do
114
+ it 'renders a signout link if the visitor is logged in' do
115
+ expect(helper).to receive(:render).with('ama_layout/v3/tablet_signout')
114
116
  helper.tablet_signout(true)
115
117
  end
116
118
 
117
- it "does not render the tablet menu if the visitor is not logged in" do
118
- expect(helper.tablet_signout(false)).to eq ""
119
+ it 'does not render the tablet menu if the visitor is not logged in' do
120
+ expect(helper.tablet_signout(false)).to eq ''
119
121
  end
120
122
  end
121
123
 
122
- describe "#notice" do
123
- let(:message) { "This is a notice." }
124
+ describe '#notice' do
125
+ let(:message) { 'This is a notice.' }
124
126
 
125
- it "renders the notice partial if a notice is present" do
126
- expect(helper).to receive(:render).with partial: "ama_layout/notice", locals: { message: message }
127
+ it 'renders the notice partial if a notice is present' do
128
+ expect(helper).to receive(:render).with partial: 'ama_layout/v3/notice', locals: { message: message }
127
129
  helper.notice(message)
128
130
  end
129
131
 
130
- it "does not render the notice partial if a notice is not present" do
132
+ it 'does not render the notice partial if a notice is not present' do
131
133
  expect(helper.notice(nil)).to be_nil
132
134
  end
133
135
  end
134
136
 
135
- describe "#alert" do
136
- let(:message) { "This is an alert." }
137
+ describe '#alert' do
138
+ let(:message) { 'This is an alert.' }
137
139
 
138
- it "renders the alert partial if a alert is present" do
139
- expect(helper).to receive(:render).with partial: "ama_layout/alert", locals: { message: message }
140
+ it 'renders the alert partial if a alert is present' do
141
+ expect(helper).to receive(:render).with partial: 'ama_layout/v3/alert', locals: { message: message }
140
142
  helper.alert(message)
141
143
  end
142
144
 
143
- it "does not render the alert partial if a alert is not present" do
145
+ it 'does not render the alert partial if a alert is not present' do
144
146
  expect(helper.notice(nil)).to be_nil
145
147
  end
146
148
  end
147
149
 
148
- describe "#success_message" do
149
- let(:message) { "This is a success message" }
150
+ describe '#success_message' do
151
+ let(:message) { 'This is a success message' }
150
152
 
151
- it "renders the success partial if a success message is present" do
152
- expect(helper).to receive(:render).with partial: "ama_layout/success", locals: { message: message }
153
+ it 'renders the success partial if a success message is present' do
154
+ expect(helper).to receive(:render).with partial: 'ama_layout/v3/success', locals: { message: message }
153
155
  helper.success_message(message)
154
156
  end
155
157
 
156
- it "does not render the success partial if the success message is not present" do
158
+ it 'does not render the success partial if the success message is not present' do
157
159
  expect(helper.success_message(nil)).to be_nil
158
160
  end
159
161
  end
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ActiveRecord::Schema.define do
2
- #
4
+ # Set up any tables you need to exist for your test suite that don't belong
5
+ # in migrations.
3
6
  end
@@ -8,7 +8,9 @@ require 'timecop'
8
8
 
9
9
  ENV['RAILS_ENV'] = 'test'
10
10
 
11
- Combustion.initialize! :all
11
+ Combustion.initialize!(:all) do
12
+ config.stylesheet_resolver = OpenStruct.new(version: 'v3')
13
+ end
12
14
 
13
15
  Dir['./spec/support/**/*.rb'].sort.each { |file| require file }
14
16
 
metadata CHANGED
@@ -1,81 +1,76 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.5.3
4
+ version: 11.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - Michael van den Beuken
8
- - Ruben Estevez
9
- - Jordan Babe
10
- - Mathieu Gilbert
11
- - Ryan Jones
12
7
  - Darko Dosenovic
13
- - Jonathan Weyermann
14
- - Adam Melnyk
15
- - Kayt Campbell
16
- - Kathleen Robertson
17
8
  - Jesse Doyle
9
+ - Kayt Wilson
10
+ - Michael van den Beuken
11
+ - Sinead Errity
12
+ - Zoie Carnegie
18
13
  autorequire:
19
14
  bindir: bin
20
15
  cert_chain: []
21
- date: 2019-04-22 00:00:00.000000000 Z
16
+ date: 2020-08-17 00:00:00.000000000 Z
22
17
  dependencies:
23
18
  - !ruby/object:Gem::Dependency
24
- name: foundation-rails
19
+ name: breadcrumbs_on_rails
25
20
  requirement: !ruby/object:Gem::Requirement
26
21
  requirements:
27
- - - "<="
22
+ - - ">="
28
23
  - !ruby/object:Gem::Version
29
- version: 6.4.3.0
24
+ version: '3'
30
25
  type: :runtime
31
26
  prerelease: false
32
27
  version_requirements: !ruby/object:Gem::Requirement
33
28
  requirements:
34
- - - "<="
29
+ - - ">="
35
30
  - !ruby/object:Gem::Version
36
- version: 6.4.3.0
31
+ version: '3'
37
32
  - !ruby/object:Gem::Dependency
38
- name: rails
33
+ name: browser
39
34
  requirement: !ruby/object:Gem::Requirement
40
35
  requirements:
41
- - - ">="
36
+ - - "~>"
42
37
  - !ruby/object:Gem::Version
43
- version: '4.2'
38
+ version: '2.0'
44
39
  type: :runtime
45
40
  prerelease: false
46
41
  version_requirements: !ruby/object:Gem::Requirement
47
42
  requirements:
48
- - - ">="
43
+ - - "~>"
49
44
  - !ruby/object:Gem::Version
50
- version: '4.2'
45
+ version: '2.0'
51
46
  - !ruby/object:Gem::Dependency
52
- name: browser
47
+ name: foundation-rails
53
48
  requirement: !ruby/object:Gem::Requirement
54
49
  requirements:
55
- - - "~>"
50
+ - - "<="
56
51
  - !ruby/object:Gem::Version
57
- version: '2.0'
52
+ version: 6.4.3.0
58
53
  type: :runtime
59
54
  prerelease: false
60
55
  version_requirements: !ruby/object:Gem::Requirement
61
56
  requirements:
62
- - - "~>"
57
+ - - "<="
63
58
  - !ruby/object:Gem::Version
64
- version: '2.0'
59
+ version: 6.4.3.0
65
60
  - !ruby/object:Gem::Dependency
66
- name: breadcrumbs_on_rails
61
+ name: rails
67
62
  requirement: !ruby/object:Gem::Requirement
68
63
  requirements:
69
64
  - - ">="
70
65
  - !ruby/object:Gem::Version
71
- version: '3'
66
+ version: '4.2'
72
67
  type: :runtime
73
68
  prerelease: false
74
69
  version_requirements: !ruby/object:Gem::Requirement
75
70
  requirements:
76
71
  - - ">="
77
72
  - !ruby/object:Gem::Version
78
- version: '3'
73
+ version: '4.2'
79
74
  - !ruby/object:Gem::Dependency
80
75
  name: redis-rails
81
76
  requirement: !ruby/object:Gem::Requirement
@@ -94,32 +89,32 @@ dependencies:
94
89
  name: bundler
95
90
  requirement: !ruby/object:Gem::Requirement
96
91
  requirements:
97
- - - "~>"
92
+ - - ">="
98
93
  - !ruby/object:Gem::Version
99
- version: '1.11'
94
+ version: '0'
100
95
  type: :development
101
96
  prerelease: false
102
97
  version_requirements: !ruby/object:Gem::Requirement
103
98
  requirements:
104
- - - "~>"
99
+ - - ">="
105
100
  - !ruby/object:Gem::Version
106
- version: '1.11'
101
+ version: '0'
107
102
  - !ruby/object:Gem::Dependency
108
- name: rake
103
+ name: combustion
109
104
  requirement: !ruby/object:Gem::Requirement
110
105
  requirements:
111
106
  - - ">="
112
107
  - !ruby/object:Gem::Version
113
- version: '11.0'
108
+ version: '0'
114
109
  type: :development
115
110
  prerelease: false
116
111
  version_requirements: !ruby/object:Gem::Requirement
117
112
  requirements:
118
113
  - - ">="
119
114
  - !ruby/object:Gem::Version
120
- version: '11.0'
115
+ version: '0'
121
116
  - !ruby/object:Gem::Dependency
122
- name: rspec-rails
117
+ name: factory_bot
123
118
  requirement: !ruby/object:Gem::Requirement
124
119
  requirements:
125
120
  - - ">="
@@ -133,7 +128,7 @@ dependencies:
133
128
  - !ruby/object:Gem::Version
134
129
  version: '0'
135
130
  - !ruby/object:Gem::Dependency
136
- name: factory_bot
131
+ name: pry
137
132
  requirement: !ruby/object:Gem::Requirement
138
133
  requirements:
139
134
  - - ">="
@@ -147,21 +142,21 @@ dependencies:
147
142
  - !ruby/object:Gem::Version
148
143
  version: '0'
149
144
  - !ruby/object:Gem::Dependency
150
- name: simplecov
145
+ name: rake
151
146
  requirement: !ruby/object:Gem::Requirement
152
147
  requirements:
153
148
  - - ">="
154
149
  - !ruby/object:Gem::Version
155
- version: '0'
150
+ version: '11.0'
156
151
  type: :development
157
152
  prerelease: false
158
153
  version_requirements: !ruby/object:Gem::Requirement
159
154
  requirements:
160
155
  - - ">="
161
156
  - !ruby/object:Gem::Version
162
- version: '0'
157
+ version: '11.0'
163
158
  - !ruby/object:Gem::Dependency
164
- name: pry
159
+ name: rspec-rails
165
160
  requirement: !ruby/object:Gem::Requirement
166
161
  requirements:
167
162
  - - ">="
@@ -175,7 +170,7 @@ dependencies:
175
170
  - !ruby/object:Gem::Version
176
171
  version: '0'
177
172
  - !ruby/object:Gem::Dependency
178
- name: combustion
173
+ name: simplecov
179
174
  requirement: !ruby/object:Gem::Requirement
180
175
  requirements:
181
176
  - - ">="
@@ -218,25 +213,22 @@ dependencies:
218
213
  version: '0'
219
214
  description: ".ama.ab.ca site layouts"
220
215
  email:
221
- - michael.beuken@gmail.com
222
- - ruben.a.estevez@gmail.com
223
- - jorbabe@gmail.com
224
- - mathieu.gilbert@ama.ab.ca
225
- - ryan.michael.jones@gmail.com
226
216
  - darko.dosenovic@ama.ab.ca
227
- - jonathan.weyermann@ama.ab.ca
228
- - adam.melnyk@ama.ab.ca
229
- - kayt.campbell@ama.ab.ca
230
- - kathleen.robertson@ama.ab.ca
231
217
  - jesse.doyle@ama.ab.ca
218
+ - kayt.wilson@ama.ab.ca
219
+ - michael.beuken@gmail.com
220
+ - sinead.errity@ama.ab.ca
221
+ - zoie.carnegie@ama.ab.ca
232
222
  executables: []
233
223
  extensions: []
234
224
  extra_rdoc_files: []
235
225
  files:
226
+ - ".github/workflows/ci.yml"
236
227
  - ".gitignore"
237
228
  - ".rspec"
229
+ - ".ruby-version"
238
230
  - ".simplecov"
239
- - ".travis.yml"
231
+ - Dangerfile
240
232
  - Gemfile
241
233
  - LICENSE.txt
242
234
  - PULL_REQUEST_TEMPLATE.md
@@ -265,35 +257,65 @@ files:
265
257
  - app/controllers/ama_layout/api/v1/notifications_controller.rb
266
258
  - app/helpers/ama_layout_breadcrumb_helper.rb
267
259
  - app/helpers/ama_layout_content_helper.rb
260
+ - app/helpers/ama_layout_partial_helper.rb
268
261
  - app/helpers/ama_layout_path_helper.rb
269
- - app/views/ama_layout/_alert.html.erb
270
- - app/views/ama_layout/_applogo.html.erb
271
- - app/views/ama_layout/_breadcrumbs.html.erb
272
- - app/views/ama_layout/_custom_nav_links.html.erb
273
- - app/views/ama_layout/_custom_sidebar.html.erb
274
- - app/views/ama_layout/_footer.html.erb
275
- - app/views/ama_layout/_main_nav_item.html.erb
276
- - app/views/ama_layout/_main_top_nav_item.html.erb
277
- - app/views/ama_layout/_mobile_links.html.erb
278
- - app/views/ama_layout/_mobile_notification_icon.html.erb
279
- - app/views/ama_layout/_notice.html.erb
280
- - app/views/ama_layout/_notices.html.erb
281
- - app/views/ama_layout/_notification.html.erb
282
- - app/views/ama_layout/_notification_icon.html.erb
283
- - app/views/ama_layout/_notification_sidebar.html.erb
284
- - app/views/ama_layout/_sidebar.html.erb
285
- - app/views/ama_layout/_sign_out_link.html.erb
286
- - app/views/ama_layout/_siteheader.html.erb
287
- - app/views/ama_layout/_sub_nav.html.erb
288
- - app/views/ama_layout/_sub_nav_item.html.erb
289
- - app/views/ama_layout/_success.html.erb
290
- - app/views/ama_layout/_top_nav.html.erb
291
- - app/views/ama_layout/_top_sub_nav.html.erb
292
- - app/views/ama_layout/_top_sub_nav_item.html.erb
293
262
  - app/views/ama_layout/agent/_sidebar.html.erb
294
263
  - app/views/ama_layout/agent/_siteheader.html.erb
295
264
  - app/views/ama_layout/agent/_top_nav.html.erb
265
+ - app/views/ama_layout/v2/_alert.html.erb
266
+ - app/views/ama_layout/v2/_applogo.html.erb
267
+ - app/views/ama_layout/v2/_breadcrumbs.html.erb
268
+ - app/views/ama_layout/v2/_custom_nav_links.html.erb
269
+ - app/views/ama_layout/v2/_custom_sidebar.html.erb
270
+ - app/views/ama_layout/v2/_font.html.erb
271
+ - app/views/ama_layout/v2/_footer.html.erb
272
+ - app/views/ama_layout/v2/_main_nav_item.html.erb
273
+ - app/views/ama_layout/v2/_main_top_nav_item.html.erb
274
+ - app/views/ama_layout/v2/_member_links.html.erb
275
+ - app/views/ama_layout/v2/_mobile_links.html.erb
276
+ - app/views/ama_layout/v2/_mobile_notification_icon.html.erb
277
+ - app/views/ama_layout/v2/_notice.html.erb
278
+ - app/views/ama_layout/v2/_notices.html.erb
279
+ - app/views/ama_layout/v2/_notification.html.erb
280
+ - app/views/ama_layout/v2/_notification_icon.html.erb
281
+ - app/views/ama_layout/v2/_notification_sidebar.html.erb
282
+ - app/views/ama_layout/v2/_sidebar.html.erb
283
+ - app/views/ama_layout/v2/_sign_out_link.html.erb
284
+ - app/views/ama_layout/v2/_siteheader.html.erb
285
+ - app/views/ama_layout/v2/_sub_nav.html.erb
286
+ - app/views/ama_layout/v2/_sub_nav_item.html.erb
287
+ - app/views/ama_layout/v2/_success.html.erb
288
+ - app/views/ama_layout/v2/_top_nav.html.erb
289
+ - app/views/ama_layout/v2/_top_sub_nav.html.erb
290
+ - app/views/ama_layout/v2/_top_sub_nav_item.html.erb
291
+ - app/views/ama_layout/v3/_alert.html.erb
292
+ - app/views/ama_layout/v3/_applogo.html.erb
293
+ - app/views/ama_layout/v3/_breadcrumbs.html.erb
294
+ - app/views/ama_layout/v3/_custom_nav_links.html.erb
295
+ - app/views/ama_layout/v3/_custom_sidebar.html.erb
296
+ - app/views/ama_layout/v3/_font.html.erb
297
+ - app/views/ama_layout/v3/_footer.html.erb
298
+ - app/views/ama_layout/v3/_main_nav_item.html.erb
299
+ - app/views/ama_layout/v3/_main_top_nav_item.html.erb
300
+ - app/views/ama_layout/v3/_member_links.html.erb
301
+ - app/views/ama_layout/v3/_mobile_links.html.erb
302
+ - app/views/ama_layout/v3/_mobile_notification_icon.html.erb
303
+ - app/views/ama_layout/v3/_notice.html.erb
304
+ - app/views/ama_layout/v3/_notices.html.erb
305
+ - app/views/ama_layout/v3/_notification.html.erb
306
+ - app/views/ama_layout/v3/_notification_icon.html.erb
307
+ - app/views/ama_layout/v3/_notification_sidebar.html.erb
308
+ - app/views/ama_layout/v3/_sidebar.html.erb
309
+ - app/views/ama_layout/v3/_sign_out_link.html.erb
310
+ - app/views/ama_layout/v3/_siteheader.html.erb
311
+ - app/views/ama_layout/v3/_sub_nav.html.erb
312
+ - app/views/ama_layout/v3/_sub_nav_item.html.erb
313
+ - app/views/ama_layout/v3/_success.html.erb
314
+ - app/views/ama_layout/v3/_top_nav.html.erb
315
+ - app/views/ama_layout/v3/_top_sub_nav.html.erb
316
+ - app/views/ama_layout/v3/_top_sub_nav_item.html.erb
296
317
  - app/views/application/_account_toggle.html.erb
318
+ - config.ru
297
319
  - config/routes.rb
298
320
  - lib/ama_layout.rb
299
321
  - lib/ama_layout/agent/navigation.rb
@@ -308,7 +330,8 @@ files:
308
330
  - lib/ama_layout/decorators/notification_decorator.rb
309
331
  - lib/ama_layout/draper_replacement.rb
310
332
  - lib/ama_layout/moneris.rb
311
- - lib/ama_layout/moneris/textbox.txt
333
+ - lib/ama_layout/moneris/v2/textbox.txt
334
+ - lib/ama_layout/moneris/v3/textbox.txt
312
335
  - lib/ama_layout/navigation.rb
313
336
  - lib/ama_layout/navigation.yml
314
337
  - lib/ama_layout/navigation_helper.rb
@@ -350,6 +373,7 @@ files:
350
373
  - spec/helpers/ama_layout_breadcrumb_helper_spec.rb
351
374
  - spec/helpers/ama_layout_content_helper_spec.rb
352
375
  - spec/helpers/ama_layout_path_helper_spec.rb
376
+ - spec/internal/app/assets/config/manifest.js
353
377
  - spec/internal/app/controllers/application_controller.rb
354
378
  - spec/internal/app/controllers/pages_controller.rb
355
379
  - spec/internal/config/database.yml
@@ -379,8 +403,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
379
403
  - !ruby/object:Gem::Version
380
404
  version: '0'
381
405
  requirements: []
382
- rubyforge_project:
383
- rubygems_version: 2.5.2.3
406
+ rubygems_version: 3.1.4
384
407
  signing_key:
385
408
  specification_version: 4
386
409
  summary: ".ama.ab.ca site layouts"
@@ -415,6 +438,7 @@ test_files:
415
438
  - spec/helpers/ama_layout_breadcrumb_helper_spec.rb
416
439
  - spec/helpers/ama_layout_content_helper_spec.rb
417
440
  - spec/helpers/ama_layout_path_helper_spec.rb
441
+ - spec/internal/app/assets/config/manifest.js
418
442
  - spec/internal/app/controllers/application_controller.rb
419
443
  - spec/internal/app/controllers/pages_controller.rb
420
444
  - spec/internal/config/database.yml