ama_layout 2.0.6 → 2.1.0

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: 9de9d6155bac4545d1df48cfca439e501443538e
4
- data.tar.gz: 39fc4fa9d4e00cf6ac9f48f2c971bda229cfb510
3
+ metadata.gz: e4d7400a5ba3c1ee589a630bff13866ddb1e8ff8
4
+ data.tar.gz: 9c42b307528f3eacb1c9d17aafdb04369d304437
5
5
  SHA512:
6
- metadata.gz: 134eb628e34b02c129510cbe5609aa89e16b7fdb46861b037782ef7b4ea0292509d744b9439103a4b29e0e1ecb4093cc5f24bd4750eb5e1a8d97bb02363c29fe
7
- data.tar.gz: d8aa35482db57106bfe48631134548c4dd31f3edfb68ff4c63fa3d319233458137598e7094b6b43b5e4205d0c2391ce9098a90d26490471b9ef1bf6a3d383726
6
+ metadata.gz: 567c42c2dc1eefd73e8129001898225d0c764b9eefe4bfee999cff40211d27512831c306de75c97327125129f5bc135b88ea05e72562ee3d482d258b0da1324d
7
+ data.tar.gz: ca2beabb1260b56a6bae0947c5415f63a95c610b028ac3111e72d2f9da1fc4c04542517249b9d7155e78895db7529146a1c47843abf6b45f5f944249c2e028b4
@@ -15,9 +15,12 @@ member:
15
15
  link: "<%= Rails.configuration.youraccount_site %>/billing"
16
16
  - text: "Print/Request New Card"
17
17
  link: "<%= Rails.configuration.youraccount_site %>/membership"
18
- - text: "My Driver Education"
19
- link: "<%= Rails.configuration.driveredonline_site %>"
18
+ - text: "Driver Education"
19
+ link: "#"
20
20
  icon: "fa-car"
21
+ sub_nav:
22
+ - text: "New Driver Online Course"
23
+ link: "<%= Rails.configuration.driveredonline_site %>"
21
24
  - text: "My Reward Dollars"
22
25
  link: "<%= Rails.configuration.youraccount_site %>/reward_dollars"
23
26
  icon: "fa-usd"
@@ -46,8 +49,11 @@ non-member:
46
49
  link: "<%= Rails.configuration.membership_site %>"
47
50
  icon: "fa-credit-card"
48
51
  - text: "Driver Education"
49
- link: "<%= Rails.configuration.driveredonline_site %>"
52
+ link: "#"
50
53
  icon: "fa-car"
54
+ sub_nav:
55
+ - text: "New Driver Online Course"
56
+ link: "<%= Rails.configuration.driveredonline_site %>"
51
57
  - text: "Change Email/Password"
52
58
  link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
53
59
  icon: "fa-cogs"
@@ -60,8 +66,11 @@ member-in-renewal:
60
66
  link: "<%= Rails.configuration.youraccount_site %>/renew"
61
67
  icon: "fa-credit-card"
62
68
  - text: "Driver Education"
63
- link: "<%= Rails.configuration.driveredonline_site %>"
69
+ link: "#"
64
70
  icon: "fa-car"
71
+ sub_nav:
72
+ - text: "New Driver Online Course"
73
+ link: "<%= Rails.configuration.driveredonline_site %>"
65
74
  member-in-renewal-late:
66
75
  - text: "Account Dashboard"
67
76
  alt: "Back to my dashboard"
@@ -71,5 +80,8 @@ member-in-renewal-late:
71
80
  link: "<%= Rails.configuration.youraccount_site %>/renew"
72
81
  icon: "fa-credit-card"
73
82
  - text: "Driver Education"
74
- link: "<%= Rails.configuration.driveredonline_site %>"
83
+ link: "#"
75
84
  icon: "fa-car"
85
+ sub_nav:
86
+ - text: "New Driver Online Course"
87
+ link: "<%= Rails.configuration.driveredonline_site %>"
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = "2.0.6"
2
+ VERSION = "2.1.0"
3
3
  end
@@ -29,8 +29,8 @@ describe AmaLayout::Navigation do
29
29
  expect(subject.items[1].link).to eq "#"
30
30
  expect(subject.items[1].icon).to eq "fa-credit-card"
31
31
 
32
- expect(subject.items[2].text).to eq "My Driver Education"
33
- expect(subject.items[2].link).to eq "#{driveredonline_site}"
32
+ expect(subject.items[2].text).to eq "Driver Education"
33
+ expect(subject.items[2].link).to eq "#"
34
34
  expect(subject.items[2].icon).to eq "fa-car"
35
35
 
36
36
  expect(subject.items[3].text).to eq "My Reward Dollars"
@@ -64,7 +64,7 @@ describe AmaLayout::Navigation do
64
64
  expect(subject.items[1].icon).to eq "fa-credit-card"
65
65
 
66
66
  expect(subject.items[2].text).to eq "Driver Education"
67
- expect(subject.items[2].link).to eq "#{driveredonline_site}"
67
+ expect(subject.items[2].link).to eq "#"
68
68
  expect(subject.items[2].icon).to eq "fa-car"
69
69
 
70
70
  expect(subject.items[3].text).to eq "Change Email/Password"
@@ -89,7 +89,7 @@ describe AmaLayout::Navigation do
89
89
  expect(subject.items[1].icon).to eq "fa-credit-card"
90
90
 
91
91
  expect(subject.items[2].text).to eq "Driver Education"
92
- expect(subject.items[2].link).to eq "#{driveredonline_site}"
92
+ expect(subject.items[2].link).to eq "#"
93
93
  expect(subject.items[2].icon).to eq "fa-car"
94
94
  end
95
95
  end
@@ -110,7 +110,7 @@ describe AmaLayout::Navigation do
110
110
  expect(subject.items[1].icon).to eq "fa-credit-card"
111
111
 
112
112
  expect(subject.items[2].text).to eq "Driver Education"
113
- expect(subject.items[2].link).to eq driveredonline_site
113
+ expect(subject.items[2].link).to eq "#"
114
114
  expect(subject.items[2].icon).to eq "fa-car"
115
115
  end
116
116
  end
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: 2.0.6
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
- date: 2015-11-25 00:00:00.000000000 Z
20
+ date: 2015-11-26 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: foundation-rails
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  version: '0'
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 2.2.2
339
+ rubygems_version: 2.2.0
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: ".ama.ab.ca site layouts"