navigator 4.1.4 → 5.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
  SHA256:
3
- metadata.gz: 41fba6d98edc033438390ff3cbd0d599f69e3c1eb8f0409cda14615159f50926
4
- data.tar.gz: 581293eb1f4639d220ef83031f64bf5ca3dc5059ffbdffe48f9dd63330dd5149
3
+ metadata.gz: dab0eb7d2e4617c732442bd2f4c2eaa415c27937695986fb29a039e1a15cc5fa
4
+ data.tar.gz: d0961b802f500a2d42bb56581c167521a875f28e18b1d40e6779481de2d74723
5
5
  SHA512:
6
- metadata.gz: ae6a8de1fe47749c61077637add1ea77e73e3d8d8e5ec434a361440f3d9a200124308591dbb307fb4aca456c08e653319ee9e9c836ffe5a58ca48665d4e6ab8c
7
- data.tar.gz: 4ca2f8bd9e8e8b5eb598b14d4cf7f24e6ae8efc4b55a1b9351b6cc6312d677a6da17a72252e4563b8a7872423c712b9c7e0549ac5ddd74d9fc81ee0382534ce0
6
+ metadata.gz: b50a6d57c7786456eb72202d59ff0eaaa2148aa6c27cdf627598f96b090d742e31dfc9804bb61f767c59b637647d9e816c7dabebba690df71cf156aec879a238
7
+ data.tar.gz: 28ae9627d9cfe4f257a5ceeaa00395fa51f449038952db0c5cd3dff254140aef3f8788622550bc49b06cb7de4db632040ca0358e48ab0a7341d9e7645ad83011
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -4,12 +4,12 @@ module Navigator
4
4
  # Navigation helper methods for the view layer.
5
5
  module NavigationHelper
6
6
  # rubocop:disable Metrics/ParameterLists
7
- # rubocop:disable Metrics/LineLength
8
7
  def navigation tag = "ul", attributes: {}, activator: navigation_activator, &block
9
- raw Navigator::Menu.new(self, tag: tag, attributes: attributes, activator: activator, &block).render
8
+ Navigator::Menu.new(self, tag: tag, attributes: attributes, activator: activator, &block)
9
+ .render
10
+ .then { |html| raw html }
10
11
  end
11
12
  # rubocop:enable Metrics/ParameterLists
12
- # rubocop:enable Metrics/LineLength
13
13
 
14
14
  module_function
15
15
 
@@ -12,7 +12,7 @@ module Navigator
12
12
  end
13
13
 
14
14
  def self.version
15
- "4.1.4"
15
+ "5.0.0"
16
16
  end
17
17
 
18
18
  def self.version_label
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navigator
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  dKvURM+1PwDCzC5tvRwjhUJIizau6+MtkFCvJHmaAj1aZL3odcPejHj5Hxt/0CUW
29
29
  y84=
30
30
  -----END CERTIFICATE-----
31
- date: 2019-11-01 00:00:00.000000000 Z
31
+ date: 2020-01-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rails
@@ -36,42 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '5.0'
39
+ version: '6.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '5.0'
47
- - !ruby/object:Gem::Dependency
48
- name: awesome_print
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '1.8'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '1.8'
61
- - !ruby/object:Gem::Dependency
62
- name: bond
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '0.5'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '0.5'
46
+ version: '6.0'
75
47
  - !ruby/object:Gem::Dependency
76
48
  name: bundler-audit
77
49
  requirement: !ruby/object:Gem::Requirement
@@ -106,28 +78,28 @@ dependencies:
106
78
  requirements:
107
79
  - - "~>"
108
80
  - !ruby/object:Gem::Version
109
- version: '13.5'
81
+ version: '14.0'
110
82
  type: :development
111
83
  prerelease: false
112
84
  version_requirements: !ruby/object:Gem::Requirement
113
85
  requirements:
114
86
  - - "~>"
115
87
  - !ruby/object:Gem::Version
116
- version: '13.5'
88
+ version: '14.0'
117
89
  - !ruby/object:Gem::Dependency
118
90
  name: git-cop
119
91
  requirement: !ruby/object:Gem::Requirement
120
92
  requirements:
121
93
  - - "~>"
122
94
  - !ruby/object:Gem::Version
123
- version: '3.5'
95
+ version: '4.0'
124
96
  type: :development
125
97
  prerelease: false
126
98
  version_requirements: !ruby/object:Gem::Requirement
127
99
  requirements:
128
100
  - - "~>"
129
101
  - !ruby/object:Gem::Version
130
- version: '3.5'
102
+ version: '4.0'
131
103
  - !ruby/object:Gem::Dependency
132
104
  name: guard-rspec
133
105
  requirement: !ruby/object:Gem::Requirement
@@ -142,62 +114,48 @@ dependencies:
142
114
  - - "~>"
143
115
  - !ruby/object:Gem::Version
144
116
  version: '4.7'
145
- - !ruby/object:Gem::Dependency
146
- name: hirb
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.7'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.7'
159
117
  - !ruby/object:Gem::Dependency
160
118
  name: pg
161
119
  requirement: !ruby/object:Gem::Requirement
162
120
  requirements:
163
121
  - - "~>"
164
122
  - !ruby/object:Gem::Version
165
- version: '1.0'
123
+ version: '1.2'
166
124
  type: :development
167
125
  prerelease: false
168
126
  version_requirements: !ruby/object:Gem::Requirement
169
127
  requirements:
170
128
  - - "~>"
171
129
  - !ruby/object:Gem::Version
172
- version: '1.0'
130
+ version: '1.2'
173
131
  - !ruby/object:Gem::Dependency
174
132
  name: pry
175
133
  requirement: !ruby/object:Gem::Requirement
176
134
  requirements:
177
135
  - - "~>"
178
136
  - !ruby/object:Gem::Version
179
- version: '0.10'
137
+ version: '0.12'
180
138
  type: :development
181
139
  prerelease: false
182
140
  version_requirements: !ruby/object:Gem::Requirement
183
141
  requirements:
184
142
  - - "~>"
185
143
  - !ruby/object:Gem::Version
186
- version: '0.10'
144
+ version: '0.12'
187
145
  - !ruby/object:Gem::Dependency
188
146
  name: pry-byebug
189
147
  requirement: !ruby/object:Gem::Requirement
190
148
  requirements:
191
149
  - - "~>"
192
150
  - !ruby/object:Gem::Version
193
- version: '3.5'
151
+ version: '3.7'
194
152
  type: :development
195
153
  prerelease: false
196
154
  version_requirements: !ruby/object:Gem::Requirement
197
155
  requirements:
198
156
  - - "~>"
199
157
  - !ruby/object:Gem::Version
200
- version: '3.5'
158
+ version: '3.7'
201
159
  - !ruby/object:Gem::Dependency
202
160
  name: rake
203
161
  requirement: !ruby/object:Gem::Requirement
@@ -246,112 +204,70 @@ dependencies:
246
204
  requirements:
247
205
  - - "~>"
248
206
  - !ruby/object:Gem::Version
249
- version: '0.76'
207
+ version: '0.78'
250
208
  type: :development
251
209
  prerelease: false
252
210
  version_requirements: !ruby/object:Gem::Requirement
253
211
  requirements:
254
212
  - - "~>"
255
213
  - !ruby/object:Gem::Version
256
- version: '0.76'
214
+ version: '0.78'
257
215
  - !ruby/object:Gem::Dependency
258
216
  name: rubocop-performance
259
217
  requirement: !ruby/object:Gem::Requirement
260
218
  requirements:
261
219
  - - "~>"
262
220
  - !ruby/object:Gem::Version
263
- version: '1.4'
221
+ version: '1.5'
264
222
  type: :development
265
223
  prerelease: false
266
224
  version_requirements: !ruby/object:Gem::Requirement
267
225
  requirements:
268
226
  - - "~>"
269
227
  - !ruby/object:Gem::Version
270
- version: '1.4'
228
+ version: '1.5'
271
229
  - !ruby/object:Gem::Dependency
272
230
  name: rubocop-rake
273
231
  requirement: !ruby/object:Gem::Requirement
274
232
  requirements:
275
233
  - - "~>"
276
234
  - !ruby/object:Gem::Version
277
- version: '0.3'
235
+ version: '0.5'
278
236
  type: :development
279
237
  prerelease: false
280
238
  version_requirements: !ruby/object:Gem::Requirement
281
239
  requirements:
282
240
  - - "~>"
283
241
  - !ruby/object:Gem::Version
284
- version: '0.3'
242
+ version: '0.5'
285
243
  - !ruby/object:Gem::Dependency
286
244
  name: rubocop-rspec
287
245
  requirement: !ruby/object:Gem::Requirement
288
246
  requirements:
289
247
  - - "~>"
290
248
  - !ruby/object:Gem::Version
291
- version: '1.33'
249
+ version: '1.37'
292
250
  type: :development
293
251
  prerelease: false
294
252
  version_requirements: !ruby/object:Gem::Requirement
295
253
  requirements:
296
254
  - - "~>"
297
255
  - !ruby/object:Gem::Version
298
- version: '1.33'
299
- - !ruby/object:Gem::Dependency
300
- name: sass
301
- requirement: !ruby/object:Gem::Requirement
302
- requirements:
303
- - - "~>"
304
- - !ruby/object:Gem::Version
305
- version: '3.5'
306
- type: :development
307
- prerelease: false
308
- version_requirements: !ruby/object:Gem::Requirement
309
- requirements:
310
- - - "~>"
311
- - !ruby/object:Gem::Version
312
- version: '3.5'
256
+ version: '1.37'
313
257
  - !ruby/object:Gem::Dependency
314
258
  name: simplecov
315
259
  requirement: !ruby/object:Gem::Requirement
316
260
  requirements:
317
261
  - - "~>"
318
262
  - !ruby/object:Gem::Version
319
- version: '0.13'
320
- type: :development
321
- prerelease: false
322
- version_requirements: !ruby/object:Gem::Requirement
323
- requirements:
324
- - - "~>"
325
- - !ruby/object:Gem::Version
326
- version: '0.13'
327
- - !ruby/object:Gem::Dependency
328
- name: slim
329
- requirement: !ruby/object:Gem::Requirement
330
- requirements:
331
- - - "~>"
332
- - !ruby/object:Gem::Version
333
- version: '4.0'
334
- type: :development
335
- prerelease: false
336
- version_requirements: !ruby/object:Gem::Requirement
337
- requirements:
338
- - - "~>"
339
- - !ruby/object:Gem::Version
340
- version: '4.0'
341
- - !ruby/object:Gem::Dependency
342
- name: wirb
343
- requirement: !ruby/object:Gem::Requirement
344
- requirements:
345
- - - "~>"
346
- - !ruby/object:Gem::Version
347
- version: '2.1'
263
+ version: '0.17'
348
264
  type: :development
349
265
  prerelease: false
350
266
  version_requirements: !ruby/object:Gem::Requirement
351
267
  requirements:
352
268
  - - "~>"
353
269
  - !ruby/object:Gem::Version
354
- version: '2.1'
270
+ version: '0.17'
355
271
  description:
356
272
  email:
357
273
  - brooke@alchemists.io
@@ -385,14 +301,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
385
301
  requirements:
386
302
  - - "~>"
387
303
  - !ruby/object:Gem::Version
388
- version: '2.6'
304
+ version: '2.7'
389
305
  required_rubygems_version: !ruby/object:Gem::Requirement
390
306
  requirements:
391
307
  - - ">="
392
308
  - !ruby/object:Gem::Version
393
309
  version: '0'
394
310
  requirements: []
395
- rubygems_version: 3.0.6
311
+ rubygems_version: 3.1.2
396
312
  signing_key:
397
313
  specification_version: 4
398
314
  summary: Enhances Rails with a DSL for menu navigation.
metadata.gz.sig CHANGED
Binary file