ama_layout 10.2.0 → 11.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +45 -0
- data/Dangerfile +19 -0
- data/ama_layout.gemspec +1 -1
- data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +1 -0
- data/app/helpers/ama_layout_breadcrumb_helper.rb +7 -1
- data/app/helpers/ama_layout_content_helper.rb +28 -17
- data/app/helpers/ama_layout_partial_helper.rb +11 -0
- data/app/views/ama_layout/{_alert.html.erb → v2/_alert.html.erb} +0 -0
- data/app/views/ama_layout/{_applogo.html.erb → v2/_applogo.html.erb} +0 -0
- data/app/views/ama_layout/{_breadcrumbs.html.erb → v2/_breadcrumbs.html.erb} +0 -0
- data/app/views/ama_layout/{_custom_nav_links.html.erb → v2/_custom_nav_links.html.erb} +0 -0
- data/app/views/ama_layout/{_custom_sidebar.html.erb → v2/_custom_sidebar.html.erb} +0 -0
- data/app/views/ama_layout/v2/_font.html.erb +1 -0
- data/app/views/ama_layout/{_footer.html.erb → v2/_footer.html.erb} +0 -0
- data/app/views/ama_layout/{_main_nav_item.html.erb → v2/_main_nav_item.html.erb} +0 -0
- data/app/views/ama_layout/{_main_top_nav_item.html.erb → v2/_main_top_nav_item.html.erb} +0 -0
- data/app/views/ama_layout/{_member_links.html.erb → v2/_member_links.html.erb} +0 -0
- data/app/views/ama_layout/{_mobile_links.html.erb → v2/_mobile_links.html.erb} +0 -0
- data/app/views/ama_layout/{_mobile_notification_icon.html.erb → v2/_mobile_notification_icon.html.erb} +0 -0
- data/app/views/ama_layout/{_notice.html.erb → v2/_notice.html.erb} +0 -0
- data/app/views/ama_layout/{_notices.html.erb → v2/_notices.html.erb} +0 -0
- data/app/views/ama_layout/{_notification.html.erb → v2/_notification.html.erb} +0 -0
- data/app/views/ama_layout/{_notification_icon.html.erb → v2/_notification_icon.html.erb} +0 -0
- data/app/views/ama_layout/{_notification_sidebar.html.erb → v2/_notification_sidebar.html.erb} +1 -1
- data/app/views/ama_layout/{_sidebar.html.erb → v2/_sidebar.html.erb} +0 -0
- data/app/views/ama_layout/{_sign_out_link.html.erb → v2/_sign_out_link.html.erb} +0 -0
- data/app/views/ama_layout/{_siteheader.html.erb → v2/_siteheader.html.erb} +0 -0
- data/app/views/ama_layout/{_sub_nav.html.erb → v2/_sub_nav.html.erb} +0 -0
- data/app/views/ama_layout/{_sub_nav_item.html.erb → v2/_sub_nav_item.html.erb} +0 -0
- data/app/views/ama_layout/{_success.html.erb → v2/_success.html.erb} +0 -0
- data/app/views/ama_layout/{_top_nav.html.erb → v2/_top_nav.html.erb} +0 -0
- data/app/views/ama_layout/{_top_sub_nav.html.erb → v2/_top_sub_nav.html.erb} +0 -0
- data/app/views/ama_layout/{_top_sub_nav_item.html.erb → v2/_top_sub_nav_item.html.erb} +0 -0
- data/app/views/ama_layout/v3/_alert.html.erb +5 -0
- data/app/views/ama_layout/v3/_applogo.html.erb +3 -0
- data/app/views/ama_layout/v3/_breadcrumbs.html.erb +3 -0
- data/app/views/ama_layout/v3/_custom_nav_links.html.erb +0 -0
- data/app/views/ama_layout/v3/_custom_sidebar.html.erb +1 -0
- data/app/views/ama_layout/v3/_font.html.erb +2 -0
- data/app/views/ama_layout/v3/_footer.html.erb +69 -0
- data/app/views/ama_layout/v3/_main_nav_item.html.erb +6 -0
- data/app/views/ama_layout/v3/_main_top_nav_item.html.erb +4 -0
- data/app/views/ama_layout/v3/_member_links.html.erb +6 -0
- data/app/views/ama_layout/v3/_mobile_links.html.erb +22 -0
- data/app/views/ama_layout/v3/_mobile_notification_icon.html.erb +4 -0
- data/app/views/ama_layout/v3/_notice.html.erb +5 -0
- data/app/views/ama_layout/v3/_notices.html.erb +3 -0
- data/app/views/ama_layout/v3/_notification.html.erb +10 -0
- data/app/views/ama_layout/v3/_notification_icon.html.erb +6 -0
- data/app/views/ama_layout/v3/_notification_sidebar.html.erb +22 -0
- data/app/views/ama_layout/v3/_sidebar.html.erb +8 -0
- data/app/views/ama_layout/v3/_sign_out_link.html.erb +3 -0
- data/app/views/ama_layout/v3/_siteheader.html.erb +37 -0
- data/app/views/ama_layout/v3/_sub_nav.html.erb +3 -0
- data/app/views/ama_layout/v3/_sub_nav_item.html.erb +3 -0
- data/app/views/ama_layout/v3/_success.html.erb +5 -0
- data/app/views/ama_layout/v3/_top_nav.html.erb +16 -0
- data/app/views/ama_layout/v3/_top_sub_nav.html.erb +3 -0
- data/app/views/ama_layout/v3/_top_sub_nav_item.html.erb +3 -0
- data/config.ru +1 -1
- data/lib/ama_layout/ama_layout_view.rb +6 -0
- data/lib/ama_layout/decorators/agent/navigation_decorator.rb +5 -3
- data/lib/ama_layout/decorators/navigation_decorator.rb +8 -8
- data/lib/ama_layout/draper_replacement.rb +6 -0
- data/lib/ama_layout/moneris.rb +10 -1
- data/lib/ama_layout/moneris/{textbox.txt → v2/textbox.txt} +0 -0
- data/lib/ama_layout/moneris/v3/textbox.txt +58 -0
- data/lib/ama_layout/version.rb +1 -1
- data/spec/ama_layout/decorators/moneris_decorator_spec.rb +4 -4
- data/spec/ama_layout/moneris_spec.rb +22 -3
- data/spec/helpers/ama_layout_content_helper_spec.rb +64 -62
- data/spec/spec_helper.rb +3 -1
- metadata +68 -37
- data/.travis.yml +0 -6
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ama_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 11.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darko Dosenovic
|
@@ -10,10 +10,10 @@ authors:
|
|
10
10
|
- Michael van den Beuken
|
11
11
|
- Sinead Errity
|
12
12
|
- Zoie Carnegie
|
13
|
-
autorequire:
|
13
|
+
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2020-
|
16
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: breadcrumbs_on_rails
|
@@ -89,16 +89,16 @@ dependencies:
|
|
89
89
|
name: bundler
|
90
90
|
requirement: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- - "
|
92
|
+
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
94
|
+
version: '0'
|
95
95
|
type: :development
|
96
96
|
prerelease: false
|
97
97
|
version_requirements: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- - "
|
99
|
+
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: '0'
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: combustion
|
104
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -223,11 +223,12 @@ executables: []
|
|
223
223
|
extensions: []
|
224
224
|
extra_rdoc_files: []
|
225
225
|
files:
|
226
|
+
- ".github/workflows/ci.yml"
|
226
227
|
- ".gitignore"
|
227
228
|
- ".rspec"
|
228
229
|
- ".ruby-version"
|
229
230
|
- ".simplecov"
|
230
|
-
-
|
231
|
+
- Dangerfile
|
231
232
|
- Gemfile
|
232
233
|
- LICENSE.txt
|
233
234
|
- PULL_REQUEST_TEMPLATE.md
|
@@ -256,35 +257,63 @@ files:
|
|
256
257
|
- app/controllers/ama_layout/api/v1/notifications_controller.rb
|
257
258
|
- app/helpers/ama_layout_breadcrumb_helper.rb
|
258
259
|
- app/helpers/ama_layout_content_helper.rb
|
260
|
+
- app/helpers/ama_layout_partial_helper.rb
|
259
261
|
- app/helpers/ama_layout_path_helper.rb
|
260
|
-
- app/views/ama_layout/_alert.html.erb
|
261
|
-
- app/views/ama_layout/_applogo.html.erb
|
262
|
-
- app/views/ama_layout/_breadcrumbs.html.erb
|
263
|
-
- app/views/ama_layout/_custom_nav_links.html.erb
|
264
|
-
- app/views/ama_layout/_custom_sidebar.html.erb
|
265
|
-
- app/views/ama_layout/_footer.html.erb
|
266
|
-
- app/views/ama_layout/_main_nav_item.html.erb
|
267
|
-
- app/views/ama_layout/_main_top_nav_item.html.erb
|
268
|
-
- app/views/ama_layout/_member_links.html.erb
|
269
|
-
- app/views/ama_layout/_mobile_links.html.erb
|
270
|
-
- app/views/ama_layout/_mobile_notification_icon.html.erb
|
271
|
-
- app/views/ama_layout/_notice.html.erb
|
272
|
-
- app/views/ama_layout/_notices.html.erb
|
273
|
-
- app/views/ama_layout/_notification.html.erb
|
274
|
-
- app/views/ama_layout/_notification_icon.html.erb
|
275
|
-
- app/views/ama_layout/_notification_sidebar.html.erb
|
276
|
-
- app/views/ama_layout/_sidebar.html.erb
|
277
|
-
- app/views/ama_layout/_sign_out_link.html.erb
|
278
|
-
- app/views/ama_layout/_siteheader.html.erb
|
279
|
-
- app/views/ama_layout/_sub_nav.html.erb
|
280
|
-
- app/views/ama_layout/_sub_nav_item.html.erb
|
281
|
-
- app/views/ama_layout/_success.html.erb
|
282
|
-
- app/views/ama_layout/_top_nav.html.erb
|
283
|
-
- app/views/ama_layout/_top_sub_nav.html.erb
|
284
|
-
- app/views/ama_layout/_top_sub_nav_item.html.erb
|
285
262
|
- app/views/ama_layout/agent/_sidebar.html.erb
|
286
263
|
- app/views/ama_layout/agent/_siteheader.html.erb
|
287
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
|
288
317
|
- app/views/application/_account_toggle.html.erb
|
289
318
|
- config.ru
|
290
319
|
- config/routes.rb
|
@@ -301,7 +330,8 @@ files:
|
|
301
330
|
- lib/ama_layout/decorators/notification_decorator.rb
|
302
331
|
- lib/ama_layout/draper_replacement.rb
|
303
332
|
- lib/ama_layout/moneris.rb
|
304
|
-
- lib/ama_layout/moneris/textbox.txt
|
333
|
+
- lib/ama_layout/moneris/v2/textbox.txt
|
334
|
+
- lib/ama_layout/moneris/v3/textbox.txt
|
305
335
|
- lib/ama_layout/navigation.rb
|
306
336
|
- lib/ama_layout/navigation.yml
|
307
337
|
- lib/ama_layout/navigation_helper.rb
|
@@ -358,7 +388,7 @@ homepage: https://github.com/amaabca/ama_layout
|
|
358
388
|
licenses:
|
359
389
|
- MIT
|
360
390
|
metadata: {}
|
361
|
-
post_install_message:
|
391
|
+
post_install_message:
|
362
392
|
rdoc_options: []
|
363
393
|
require_paths:
|
364
394
|
- lib
|
@@ -373,8 +403,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
373
403
|
- !ruby/object:Gem::Version
|
374
404
|
version: '0'
|
375
405
|
requirements: []
|
376
|
-
|
377
|
-
|
406
|
+
rubyforge_project:
|
407
|
+
rubygems_version: 2.7.6.2
|
408
|
+
signing_key:
|
378
409
|
specification_version: 4
|
379
410
|
summary: ".ama.ab.ca site layouts"
|
380
411
|
test_files:
|