ama_layout 4.8.6 → 4.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 604bd375c8a1f57e5e0a1c6dc1b70f9bd9541e1b
4
- data.tar.gz: cd9f3abcf74d801784c1d7e1eb804a956233ef54
3
+ metadata.gz: c1d2ea386ffcdbd3758f002ea03243002d4e8ccd
4
+ data.tar.gz: 19c93be92bbdd7ded7f8460f508869460c9f0475
5
5
  SHA512:
6
- metadata.gz: 39f6108545e658aff4706aa6dcb81bb31f1017a089242dbd427b53097d17f3b88456e7b71f00ed954248c24e0e39be29fa3e51c37d68a0dd5abdd35bdad63af2
7
- data.tar.gz: 5ed98173cdf4fcac46d5690fc21df6c5ca2326d3f416ea7d334199ca1106bede5900d467db4cd7eda7ba04311ac2b8896edd8499bca458051812f164e9084893
6
+ metadata.gz: 1769177f42704573c735e2859571abd5e02f8ac6fb801a86955070937f1a4b968e32238fe5829187d97a2a77aa26dad3751b864c1ea80e78dd11c2d2806cb90a
7
+ data.tar.gz: dd284b94e125db0fa0d2e227fc8f1cc28877791adef7e49d5e6dff403b0963473e205b6fac06ef428f5096725ea4b3eb9e363c6f9baff0a3238f0172a529d018
@@ -48,6 +48,11 @@ member:
48
48
  link: "<%= Rails.configuration.registries_site %>/"
49
49
  - text: "Vehicle Registration Auto-Renew"
50
50
  link: "<%= Rails.configuration.registries_site %>/order/registrations/new"
51
+ - text: "My Travel"
52
+ link: "<%= Rails.configuration.travel_site %>"
53
+ sub_nav:
54
+ - text: "Pin & Win Contest"
55
+ link: "<%= Rails.configuration.travel_site %>/travel-promotions-contests/pin-and-win/dashboard"
51
56
  - text: "My Account Settings"
52
57
  link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
53
58
  icon: "fa-cogs"
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = '4.8.6'
2
+ VERSION = '4.8.7'
3
3
  end
@@ -8,6 +8,7 @@ describe AmaLayout::NavigationDecorator do
8
8
  let(:driveredonline_site) { "http://driveredonline.waffles.ca" }
9
9
  let(:registries_site) { "http://registries.waffles.ca" }
10
10
  let(:automotive_site) { "http://automotive.waffles.ca"}
11
+ let(:travel_site) { "http://travel.waffles.ca"}
11
12
 
12
13
  before(:each) do
13
14
  allow(Rails.configuration).to receive(:gatekeeper_site).and_return(gatekeeper_site)
@@ -17,6 +18,7 @@ describe AmaLayout::NavigationDecorator do
17
18
  allow(Rails.configuration).to receive(:driveredonline_site).and_return(driveredonline_site)
18
19
  allow(Rails.configuration).to receive(:registries_site).and_return(registries_site)
19
20
  allow(Rails.configuration).to receive(:automotive_site).and_return(automotive_site)
21
+ allow(Rails.configuration).to receive(:travel_site).and_return(travel_site)
20
22
  end
21
23
 
22
24
  describe "#display_name_text" do
@@ -6,6 +6,7 @@ describe AmaLayout::Navigation do
6
6
  let(:driveredonline_site) { "http://driveredonline.waffles.ca" }
7
7
  let(:registries_site) { "http://registries.waffles.ca" }
8
8
  let(:automotive_site) { "http://automotive.waffles.ca"}
9
+ let(:travel_site) { "http://travel.waffles.ca"}
9
10
 
10
11
  before(:each) do
11
12
  allow(Rails.configuration).to receive(:gatekeeper_site).and_return(gatekeeper_site)
@@ -15,6 +16,7 @@ describe AmaLayout::Navigation do
15
16
  allow(Rails.configuration).to receive(:driveredonline_site).and_return(driveredonline_site)
16
17
  allow(Rails.configuration).to receive(:registries_site).and_return(registries_site)
17
18
  allow(Rails.configuration).to receive(:automotive_site).and_return(automotive_site)
19
+ allow(Rails.configuration).to receive(:travel_site).and_return(travel_site)
18
20
  end
19
21
 
20
22
  describe "#nav_file_path" do
@@ -4,6 +4,7 @@ describe AmaLayoutPathHelper do
4
4
  let(:insurance_site) { "http://insurance.waffles.ca" }
5
5
  let(:membership_site) { "http://membership.waffles.ca" }
6
6
  let(:driveredonline_site) { "http://driveredonline.waffles.ca" }
7
+ let(:travel_site) { "http://travel.waffles.ca" }
7
8
 
8
9
  before(:each) do
9
10
  allow(Rails.configuration).to receive(:gatekeeper_site).and_return(gatekeeper_site)
@@ -11,6 +12,7 @@ describe AmaLayoutPathHelper do
11
12
  allow(Rails.configuration).to receive(:insurance_site).and_return(insurance_site)
12
13
  allow(Rails.configuration).to receive(:membership_site).and_return(membership_site)
13
14
  allow(Rails.configuration).to receive(:driveredonline_site).and_return(driveredonline_site)
15
+ allow(Rails.configuration).to receive(:travel_site).and_return(travel_site)
14
16
  end
15
17
 
16
18
  describe "#gatekeeper_profile_path" do
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.8.6
4
+ version: 4.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2017-01-10 00:00:00.000000000 Z
21
+ date: 2017-01-19 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: foundation-rails