navigator 3.2.0 → 4.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: d51996ae70500a5d802eeb9c4ea3a182c0529dfe79abf90ef488f93ff45bbb19
4
- data.tar.gz: '0824057220eddf17ca2780239399855ae13e8121e5d2f1d783ad93ccd3aae7ec'
3
+ metadata.gz: d19f601c3047413e9c49bffbe7f420b784b30decd0e8622724c4f5d2ad095e16
4
+ data.tar.gz: 2f4f0db44a11d8d4cff6f10fb510bdbd3b1072ca0c615815d9d2a195d76e48b9
5
5
  SHA512:
6
- metadata.gz: 1e89863488349f6823e114c48c3b0943548a8861e5599086111bddc7cb47793e1bb018a9b13d9913f661ceaa24c577deadd5eeb3d5f960b58f729570f2a70257
7
- data.tar.gz: 5186242cf600ab232512b6d358277accd0f6eab2aaaac58e48065ffc932d5db0190bc67882a69c0d5a56da14034d8c2f69bf878d6eb18a4e5d917848a4d827d1
6
+ metadata.gz: b7b962a053cc96f374672a68e48db3ef94f65a2e9c6d1b79e7155931386870819d8a6157726a56852131fd3bad6b117f10764369fd8bb58852d61dac9a608a91
7
+ data.tar.gz: 33054f97b1f7ce1c37a66e3acda77c7c93d4ae3cb10e84e87804e5a9c86f446b64603dd3fc80eb966ffeea4faf8fd28eabd812338178505e196368b549fefd51
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -68,8 +68,8 @@ Enhances Rails with a DSL for menu navigation.
68
68
 
69
69
  ## Requirements
70
70
 
71
- 0. [Ruby 2.5.x](https://www.ruby-lang.org).
72
- 0. [Ruby on Rails 5.x.x](http://rubyonrails.org).
71
+ 1. [Ruby 2.6.x](https://www.ruby-lang.org).
72
+ 1. [Ruby on Rails 5.x.x](http://rubyonrails.org).
73
73
 
74
74
  ## Setup
75
75
 
@@ -12,7 +12,7 @@ module Navigator
12
12
  end
13
13
 
14
14
  def self.version
15
- "3.2.0"
15
+ "4.0.0"
16
16
  end
17
17
 
18
18
  def self.version_label
@@ -40,6 +40,7 @@ module Navigator
40
40
 
41
41
  def expand_data_attributes! attrs
42
42
  return unless attrs.key? :data
43
+
43
44
  attrs.delete(:data).each { |key, value| attrs["data-#{key}"] = value }
44
45
  end
45
46
 
@@ -23,6 +23,7 @@ module Navigator
23
23
 
24
24
  if current_search_value.is_a?(Regexp) || search_value.is_a?(Regexp)
25
25
  return false if current_search_value.blank?
26
+
26
27
  current_search_value.match? search_value
27
28
  else
28
29
  current_search_value == search_value
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: 3.2.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -29,7 +29,7 @@ cert_chain:
29
29
  4Zrsxi713z6sndd9JBAm4G7mJiV93MsuCM5N4ZDY7XaxIhvctNSNhX/Yn8LLdtGI
30
30
  b4jw5t40FKyNUvLPPXYAvQALBtk=
31
31
  -----END CERTIFICATE-----
32
- date: 2018-07-02 00:00:00.000000000 Z
32
+ date: 2019-01-01 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rails
@@ -101,48 +101,34 @@ dependencies:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '3.1'
104
- - !ruby/object:Gem::Dependency
105
- name: codeclimate-test-reporter
106
- requirement: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1.0'
111
- type: :development
112
- prerelease: false
113
- version_requirements: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.0'
118
104
  - !ruby/object:Gem::Dependency
119
105
  name: gemsmith
120
106
  requirement: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: '12.0'
110
+ version: '13.0'
125
111
  type: :development
126
112
  prerelease: false
127
113
  version_requirements: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: '12.0'
117
+ version: '13.0'
132
118
  - !ruby/object:Gem::Dependency
133
119
  name: git-cop
134
120
  requirement: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: '2.2'
124
+ version: '3.0'
139
125
  type: :development
140
126
  prerelease: false
141
127
  version_requirements: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: '2.2'
131
+ version: '3.0'
146
132
  - !ruby/object:Gem::Dependency
147
133
  name: guard-rspec
148
134
  requirement: !ruby/object:Gem::Requirement
@@ -247,28 +233,42 @@ dependencies:
247
233
  requirements:
248
234
  - - "~>"
249
235
  - !ruby/object:Gem::Version
250
- version: '3.7'
236
+ version: '3.8'
251
237
  type: :development
252
238
  prerelease: false
253
239
  version_requirements: !ruby/object:Gem::Requirement
254
240
  requirements:
255
241
  - - "~>"
256
242
  - !ruby/object:Gem::Version
257
- version: '3.7'
243
+ version: '3.8'
258
244
  - !ruby/object:Gem::Dependency
259
245
  name: rubocop
260
246
  requirement: !ruby/object:Gem::Requirement
261
247
  requirements:
262
248
  - - "~>"
263
249
  - !ruby/object:Gem::Version
264
- version: '0.57'
250
+ version: '0.62'
265
251
  type: :development
266
252
  prerelease: false
267
253
  version_requirements: !ruby/object:Gem::Requirement
268
254
  requirements:
269
255
  - - "~>"
270
256
  - !ruby/object:Gem::Version
271
- version: '0.57'
257
+ version: '0.62'
258
+ - !ruby/object:Gem::Dependency
259
+ name: rubocop-rspec
260
+ requirement: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: '1.30'
265
+ type: :development
266
+ prerelease: false
267
+ version_requirements: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '1.30'
272
272
  - !ruby/object:Gem::Dependency
273
273
  name: sass
274
274
  requirement: !ruby/object:Gem::Requirement
@@ -283,20 +283,34 @@ dependencies:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
285
  version: '3.5'
286
+ - !ruby/object:Gem::Dependency
287
+ name: simplecov
288
+ requirement: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: '0.13'
293
+ type: :development
294
+ prerelease: false
295
+ version_requirements: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - "~>"
298
+ - !ruby/object:Gem::Version
299
+ version: '0.13'
286
300
  - !ruby/object:Gem::Dependency
287
301
  name: slim
288
302
  requirement: !ruby/object:Gem::Requirement
289
303
  requirements:
290
304
  - - "~>"
291
305
  - !ruby/object:Gem::Version
292
- version: '3.0'
306
+ version: '4.0'
293
307
  type: :development
294
308
  prerelease: false
295
309
  version_requirements: !ruby/object:Gem::Requirement
296
310
  requirements:
297
311
  - - "~>"
298
312
  - !ruby/object:Gem::Version
299
- version: '3.0'
313
+ version: '4.0'
300
314
  - !ruby/object:Gem::Dependency
301
315
  name: wirb
302
316
  requirement: !ruby/object:Gem::Requirement
@@ -344,15 +358,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
344
358
  requirements:
345
359
  - - "~>"
346
360
  - !ruby/object:Gem::Version
347
- version: '2.5'
361
+ version: '2.6'
348
362
  required_rubygems_version: !ruby/object:Gem::Requirement
349
363
  requirements:
350
364
  - - ">="
351
365
  - !ruby/object:Gem::Version
352
366
  version: '0'
353
367
  requirements: []
354
- rubyforge_project:
355
- rubygems_version: 2.7.7
368
+ rubygems_version: 3.0.2
356
369
  signing_key:
357
370
  specification_version: 4
358
371
  summary: Enhances Rails with a DSL for menu navigation.
metadata.gz.sig CHANGED
Binary file