ama_layout 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,12 +23,16 @@ member:
23
23
  link: "<%= Rails.configuration.driveredonline_site %>/"
24
24
  - text: "New Driver Online Program"
25
25
  link: "<%= Rails.configuration.driveredonline_site %>/dashboard"
26
- - text: "My Reward Dollars"
27
- link: "<%= Rails.configuration.youraccount_site %>/reward_dollars"
26
+ - text: "My AMA Rewards"
27
+ link: "#"
28
28
  icon: "fa-usd"
29
- - text: "Reload Esso Gift Cards"
30
- link: "<%= Rails.configuration.membership_site %>/reward_cards"
31
- icon: "fa-arrow-up"
29
+ sub_nav:
30
+ - text: "Rewards Overview"
31
+ link: "<%= Rails.configuration.youraccount_site %>/rewards"
32
+ - text: "Reload Esso Cards"
33
+ link: "<%= Rails.configuration.membership_site %>/reward_cards"
34
+ - text: "Transaction History"
35
+ link: "<%= Rails.configuration.youraccount_site %>/reward_dollars"
32
36
  - text: "My Account Settings"
33
37
  link: "#"
34
38
  icon: "fa-cogs"
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = "2.1.3"
2
+ VERSION = "2.2.0"
3
3
  end
@@ -33,17 +33,13 @@ describe AmaLayout::Navigation do
33
33
  expect(subject.items[2].link).to eq "#"
34
34
  expect(subject.items[2].icon).to eq "fa-car"
35
35
 
36
- expect(subject.items[3].text).to eq "My Reward Dollars"
37
- expect(subject.items[3].link).to eq "#{youraccount_site}/reward_dollars"
36
+ expect(subject.items[3].text).to eq "My AMA Rewards"
37
+ expect(subject.items[3].link).to eq "#"
38
38
  expect(subject.items[3].icon).to eq "fa-usd"
39
39
 
40
- expect(subject.items[4].text).to eq "Reload Esso Gift Cards"
41
- expect(subject.items[4].link).to eq "#{membership_site}/reward_cards"
42
- expect(subject.items[4].icon).to eq "fa-arrow-up"
43
-
44
- expect(subject.items[5].text).to eq "My Account Settings"
45
- expect(subject.items[5].link).to eq "#"
46
- expect(subject.items[5].icon).to eq "fa-cogs"
40
+ expect(subject.items[4].text).to eq "My Account Settings"
41
+ expect(subject.items[4].link).to eq "#"
42
+ expect(subject.items[4].icon).to eq "fa-cogs"
47
43
  end
48
44
 
49
45
  context "subnavs" do
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Michael van den Beuken
@@ -22,6 +23,7 @@ dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: foundation-rails
24
25
  requirement: !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - '='
27
29
  - !ruby/object:Gem::Version
@@ -29,6 +31,7 @@ dependencies:
29
31
  type: :runtime
30
32
  prerelease: false
31
33
  version_requirements: !ruby/object:Gem::Requirement
34
+ none: false
32
35
  requirements:
33
36
  - - '='
34
37
  - !ruby/object:Gem::Version
@@ -36,172 +39,196 @@ dependencies:
36
39
  - !ruby/object:Gem::Dependency
37
40
  name: rails
38
41
  requirement: !ruby/object:Gem::Requirement
42
+ none: false
39
43
  requirements:
40
- - - ">="
44
+ - - ! '>='
41
45
  - !ruby/object:Gem::Version
42
46
  version: '4'
43
47
  type: :runtime
44
48
  prerelease: false
45
49
  version_requirements: !ruby/object:Gem::Requirement
50
+ none: false
46
51
  requirements:
47
- - - ">="
52
+ - - ! '>='
48
53
  - !ruby/object:Gem::Version
49
54
  version: '4'
50
55
  - !ruby/object:Gem::Dependency
51
56
  name: sass-rails
52
57
  requirement: !ruby/object:Gem::Requirement
58
+ none: false
53
59
  requirements:
54
- - - ">="
60
+ - - ! '>='
55
61
  - !ruby/object:Gem::Version
56
62
  version: '0'
57
63
  type: :runtime
58
64
  prerelease: false
59
65
  version_requirements: !ruby/object:Gem::Requirement
66
+ none: false
60
67
  requirements:
61
- - - ">="
68
+ - - ! '>='
62
69
  - !ruby/object:Gem::Version
63
70
  version: '0'
64
71
  - !ruby/object:Gem::Dependency
65
72
  name: font-awesome-sass
66
73
  requirement: !ruby/object:Gem::Requirement
74
+ none: false
67
75
  requirements:
68
- - - ">="
76
+ - - ! '>='
69
77
  - !ruby/object:Gem::Version
70
78
  version: '0'
71
79
  type: :runtime
72
80
  prerelease: false
73
81
  version_requirements: !ruby/object:Gem::Requirement
82
+ none: false
74
83
  requirements:
75
- - - ">="
84
+ - - ! '>='
76
85
  - !ruby/object:Gem::Version
77
86
  version: '0'
78
87
  - !ruby/object:Gem::Dependency
79
88
  name: draper
80
89
  requirement: !ruby/object:Gem::Requirement
90
+ none: false
81
91
  requirements:
82
- - - ">="
92
+ - - ! '>='
83
93
  - !ruby/object:Gem::Version
84
94
  version: '0'
85
95
  type: :runtime
86
96
  prerelease: false
87
97
  version_requirements: !ruby/object:Gem::Requirement
98
+ none: false
88
99
  requirements:
89
- - - ">="
100
+ - - ! '>='
90
101
  - !ruby/object:Gem::Version
91
102
  version: '0'
92
103
  - !ruby/object:Gem::Dependency
93
104
  name: bundler
94
105
  requirement: !ruby/object:Gem::Requirement
106
+ none: false
95
107
  requirements:
96
- - - "~>"
108
+ - - ~>
97
109
  - !ruby/object:Gem::Version
98
110
  version: '1.7'
99
111
  type: :development
100
112
  prerelease: false
101
113
  version_requirements: !ruby/object:Gem::Requirement
114
+ none: false
102
115
  requirements:
103
- - - "~>"
116
+ - - ~>
104
117
  - !ruby/object:Gem::Version
105
118
  version: '1.7'
106
119
  - !ruby/object:Gem::Dependency
107
120
  name: rake
108
121
  requirement: !ruby/object:Gem::Requirement
122
+ none: false
109
123
  requirements:
110
- - - "~>"
124
+ - - ~>
111
125
  - !ruby/object:Gem::Version
112
126
  version: '10.0'
113
127
  type: :development
114
128
  prerelease: false
115
129
  version_requirements: !ruby/object:Gem::Requirement
130
+ none: false
116
131
  requirements:
117
- - - "~>"
132
+ - - ~>
118
133
  - !ruby/object:Gem::Version
119
134
  version: '10.0'
120
135
  - !ruby/object:Gem::Dependency
121
136
  name: rspec-rails
122
137
  requirement: !ruby/object:Gem::Requirement
138
+ none: false
123
139
  requirements:
124
- - - ">="
140
+ - - ! '>='
125
141
  - !ruby/object:Gem::Version
126
142
  version: '0'
127
143
  type: :development
128
144
  prerelease: false
129
145
  version_requirements: !ruby/object:Gem::Requirement
146
+ none: false
130
147
  requirements:
131
- - - ">="
148
+ - - ! '>='
132
149
  - !ruby/object:Gem::Version
133
150
  version: '0'
134
151
  - !ruby/object:Gem::Dependency
135
152
  name: factory_girl
136
153
  requirement: !ruby/object:Gem::Requirement
154
+ none: false
137
155
  requirements:
138
- - - ">="
156
+ - - ! '>='
139
157
  - !ruby/object:Gem::Version
140
158
  version: '0'
141
159
  type: :development
142
160
  prerelease: false
143
161
  version_requirements: !ruby/object:Gem::Requirement
162
+ none: false
144
163
  requirements:
145
- - - ">="
164
+ - - ! '>='
146
165
  - !ruby/object:Gem::Version
147
166
  version: '0'
148
167
  - !ruby/object:Gem::Dependency
149
168
  name: simplecov
150
169
  requirement: !ruby/object:Gem::Requirement
170
+ none: false
151
171
  requirements:
152
- - - ">="
172
+ - - ! '>='
153
173
  - !ruby/object:Gem::Version
154
174
  version: '0'
155
175
  type: :development
156
176
  prerelease: false
157
177
  version_requirements: !ruby/object:Gem::Requirement
178
+ none: false
158
179
  requirements:
159
- - - ">="
180
+ - - ! '>='
160
181
  - !ruby/object:Gem::Version
161
182
  version: '0'
162
183
  - !ruby/object:Gem::Dependency
163
184
  name: pry
164
185
  requirement: !ruby/object:Gem::Requirement
186
+ none: false
165
187
  requirements:
166
- - - ">="
188
+ - - ! '>='
167
189
  - !ruby/object:Gem::Version
168
190
  version: '0'
169
191
  type: :development
170
192
  prerelease: false
171
193
  version_requirements: !ruby/object:Gem::Requirement
194
+ none: false
172
195
  requirements:
173
- - - ">="
196
+ - - ! '>='
174
197
  - !ruby/object:Gem::Version
175
198
  version: '0'
176
199
  - !ruby/object:Gem::Dependency
177
200
  name: combustion
178
201
  requirement: !ruby/object:Gem::Requirement
202
+ none: false
179
203
  requirements:
180
- - - ">="
204
+ - - ! '>='
181
205
  - !ruby/object:Gem::Version
182
206
  version: '0'
183
207
  type: :development
184
208
  prerelease: false
185
209
  version_requirements: !ruby/object:Gem::Requirement
210
+ none: false
186
211
  requirements:
187
- - - ">="
212
+ - - ! '>='
188
213
  - !ruby/object:Gem::Version
189
214
  version: '0'
190
215
  - !ruby/object:Gem::Dependency
191
216
  name: sqlite3
192
217
  requirement: !ruby/object:Gem::Requirement
218
+ none: false
193
219
  requirements:
194
- - - ">="
220
+ - - ! '>='
195
221
  - !ruby/object:Gem::Version
196
222
  version: '0'
197
223
  type: :development
198
224
  prerelease: false
199
225
  version_requirements: !ruby/object:Gem::Requirement
226
+ none: false
200
227
  requirements:
201
- - - ">="
228
+ - - ! '>='
202
229
  - !ruby/object:Gem::Version
203
230
  version: '0'
204
- description: ".ama.ab.ca site layouts"
231
+ description: .ama.ab.ca site layouts
205
232
  email:
206
233
  - michael.beuken@gmail.com
207
234
  - ruben.a.estevez@gmail.com
@@ -217,10 +244,10 @@ executables: []
217
244
  extensions: []
218
245
  extra_rdoc_files: []
219
246
  files:
220
- - ".gitignore"
221
- - ".rspec"
222
- - ".simplecov"
223
- - ".travis.yml"
247
+ - .gitignore
248
+ - .rspec
249
+ - .simplecov
250
+ - .travis.yml
224
251
  - Gemfile
225
252
  - LICENSE.txt
226
253
  - README.md
@@ -319,27 +346,34 @@ files:
319
346
  homepage: ''
320
347
  licenses:
321
348
  - MIT
322
- metadata: {}
323
349
  post_install_message:
324
350
  rdoc_options: []
325
351
  require_paths:
326
352
  - lib
327
353
  required_ruby_version: !ruby/object:Gem::Requirement
354
+ none: false
328
355
  requirements:
329
- - - ">="
356
+ - - ! '>='
330
357
  - !ruby/object:Gem::Version
331
358
  version: '0'
359
+ segments:
360
+ - 0
361
+ hash: -1498531326553105982
332
362
  required_rubygems_version: !ruby/object:Gem::Requirement
363
+ none: false
333
364
  requirements:
334
- - - ">="
365
+ - - ! '>='
335
366
  - !ruby/object:Gem::Version
336
367
  version: '0'
368
+ segments:
369
+ - 0
370
+ hash: -1498531326553105982
337
371
  requirements: []
338
372
  rubyforge_project:
339
- rubygems_version: 2.4.5.1
373
+ rubygems_version: 1.8.23
340
374
  signing_key:
341
- specification_version: 4
342
- summary: ".ama.ab.ca site layouts"
375
+ specification_version: 3
376
+ summary: .ama.ab.ca site layouts
343
377
  test_files:
344
378
  - spec/ama_layout/decorators/moneris_decorator_spec.rb
345
379
  - spec/ama_layout/decorators/navigation_decorator_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: f36ee0b7d4f4f82c3c8b6fc452267bc68d9cb238
4
- data.tar.gz: 4135633c27d206600e16e76fc35b4e700e9a4eab
5
- SHA512:
6
- metadata.gz: f5ff62ce1a34a0254a1663c652b2349b89a676721153db7a30c41de9b6222e39a9c5ffe937484391791c41045b8bf1658c2f193baa5e1fb44eeee4b4869ff886
7
- data.tar.gz: 892e96c6fad99b96a2a066e15bc68483122f8b3ad71a6c3e70bc7bbf80c3ca97c76ecd05706ebf9c17252f9e24765073bd9ec38e427290462670a7abffad8e1d