ama_layout 7.0.2 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1a9ad2f7ef87e3b1464aa180876d6d204053473
4
- data.tar.gz: df05f8193fb1540b9e3d1082dbb6862ac307d5a4
3
+ metadata.gz: 5e719b1f4c15f4797330387b87499a87ee792912
4
+ data.tar.gz: 79c3e62574dffa1f18688ba0f9fb3f3b0dc2ec04
5
5
  SHA512:
6
- metadata.gz: 6f000569a3ab7c8bac593ab429cd1b2051e02bc9f1aea6cd371946e28319b033175e3a32aa5701de2a7bb406ecc0f4164b41fd78410ff96268fc9f7062834998
7
- data.tar.gz: ec90b510eaeb659fb231e0187d7cbdcd1616bc2737ab106cd57ce470497bcf5a1cb1a62dcfffcf2d8248fd7207a7ca032bbaad8420e650afd684a0727d5ad6aa
6
+ metadata.gz: bdde9b2cc442ca9d1aabbe204feec3183b99ab80e13d397fb822bde49eb283b00fc85e2691be4bd56f272bb41cf636e3669ae06d8b589103d55d0ce0865bc475
7
+ data.tar.gz: 9ce06e94a4886e2965637f6ba78ee8734811effffc934cd21a7d8d8a634b2356b7d161168f6c8b354f91e7c6b3000710ae5fb6fe711de03ebd64cab15bff8477
@@ -49,7 +49,7 @@ member:
49
49
  - text: "Vehicle Registration Auto-Renew"
50
50
  link: "<%= Rails.configuration.registries_site %>/order/registrations/new"
51
51
  - text: "My Travel"
52
- link: "<%= Rails.configuration.travel_site %>"
52
+ link: "<%= Rails.configuration.travel_login_url %>"
53
53
  - text: "My Account Settings"
54
54
  link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
55
55
  icon: "fa-cogs"
@@ -134,7 +134,7 @@ member-in-renewal:
134
134
  - text: "Vehicle Registration Auto-Renew"
135
135
  link: "<%= Rails.configuration.registries_site %>/order/registrations/new"
136
136
  - text: "My Travel"
137
- link: "<%= Rails.configuration.travel_site %>"
137
+ link: "<%= Rails.configuration.travel_login_url %>"
138
138
  - text: "My Account Settings"
139
139
  link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
140
140
  icon: "fa-cogs"
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = '7.0.2'
2
+ VERSION = '8.0.0'
3
3
  end
@@ -9,6 +9,7 @@ describe AmaLayout::NavigationDecorator do
9
9
  let(:registries_site) { "http://registries.waffles.ca" }
10
10
  let(:automotive_site) { "http://automotive.waffles.ca" }
11
11
  let(:travel_site) { "http://travel.waffles.ca" }
12
+ let(:travel_login_url) { "http://travel.waffles.ca/MyAccount" }
12
13
 
13
14
  before(:each) do
14
15
  allow(Rails.configuration).to receive(:gatekeeper_site).and_return(gatekeeper_site)
@@ -19,6 +20,7 @@ describe AmaLayout::NavigationDecorator do
19
20
  allow(Rails.configuration).to receive(:registries_site).and_return(registries_site)
20
21
  allow(Rails.configuration).to receive(:automotive_site).and_return(automotive_site)
21
22
  allow(Rails.configuration).to receive(:travel_site).and_return(travel_site)
23
+ allow(Rails.configuration).to receive(:travel_login_url).and_return(travel_login_url)
22
24
  end
23
25
 
24
26
  describe "#display_name_text" do
@@ -5,8 +5,9 @@ describe AmaLayout::Navigation do
5
5
  let(:membership_site) { "http://membership.waffles.ca" }
6
6
  let(:driveredonline_site) { "http://driveredonline.waffles.ca" }
7
7
  let(:registries_site) { "http://registries.waffles.ca" }
8
- let(:automotive_site) { "http://automotive.waffles.ca"}
9
- let(:travel_site) { "http://travel.waffles.ca"}
8
+ let(:automotive_site) { "http://automotive.waffles.ca" }
9
+ let(:travel_site) { "http://travel.waffles.ca" }
10
+ let(:travel_login_url) { "http://travel.waffles.ca/MyAccount" }
10
11
 
11
12
  before(:each) do
12
13
  allow(Rails.configuration).to receive(:gatekeeper_site).and_return(gatekeeper_site)
@@ -17,6 +18,7 @@ describe AmaLayout::Navigation do
17
18
  allow(Rails.configuration).to receive(:registries_site).and_return(registries_site)
18
19
  allow(Rails.configuration).to receive(:automotive_site).and_return(automotive_site)
19
20
  allow(Rails.configuration).to receive(:travel_site).and_return(travel_site)
21
+ allow(Rails.configuration).to receive(:travel_login_url).and_return(travel_login_url)
20
22
  end
21
23
 
22
24
  describe "#nav_file_path" do
@@ -5,6 +5,7 @@ describe AmaLayoutPathHelper do
5
5
  let(:membership_site) { "http://membership.waffles.ca" }
6
6
  let(:driveredonline_site) { "http://driveredonline.waffles.ca" }
7
7
  let(:travel_site) { "http://travel.waffles.ca" }
8
+ let(:travel_login_url) { "http://travel.waffles.ca/MyAccount" }
8
9
 
9
10
  before(:each) do
10
11
  allow(Rails.configuration).to receive(:gatekeeper_site).and_return(gatekeeper_site)
@@ -13,6 +14,7 @@ describe AmaLayoutPathHelper do
13
14
  allow(Rails.configuration).to receive(:membership_site).and_return(membership_site)
14
15
  allow(Rails.configuration).to receive(:driveredonline_site).and_return(driveredonline_site)
15
16
  allow(Rails.configuration).to receive(:travel_site).and_return(travel_site)
17
+ allow(Rails.configuration).to receive(:travel_login_url).and_return(travel_login_url)
16
18
  end
17
19
 
18
20
  describe "#gatekeeper_profile_path" do
@@ -81,7 +81,7 @@ shared_examples 'member_navigation' do
81
81
  context 'travel' do
82
82
  it 'has the correct travel text and url' do
83
83
  expect(subject.items[6].text).to eq 'My Travel'
84
- expect(subject.items[6].link).to eq "#{travel_site}"
84
+ expect(subject.items[6].link).to eq "#{travel_login_url}"
85
85
  end
86
86
  end
87
87
 
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: 7.0.2
4
+ version: 8.0.0
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-08-31 00:00:00.000000000 Z
21
+ date: 2017-09-11 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: foundation-rails
@@ -377,7 +377,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
377
377
  version: '0'
378
378
  requirements: []
379
379
  rubyforge_project:
380
- rubygems_version: 2.5.1
380
+ rubygems_version: 2.6.13
381
381
  signing_key:
382
382
  specification_version: 4
383
383
  summary: ".ama.ab.ca site layouts"