navigator 1.4.0 → 2.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: 901fe36b917fe74821492def2f73fdd4719be8cb
4
- data.tar.gz: 00ad7dc0af942727f310e22cfc79a7275c228c53
3
+ metadata.gz: 13a96c660b10bff646957a58675335b09440fb79
4
+ data.tar.gz: f11a45418d928ed5b0572a505cf09e045ec7a0b1
5
5
  SHA512:
6
- metadata.gz: cdd19345525e161d78c063a0d12ffb090365381ca1982b6e007596d683697f64d195f1461570d59739b8d38ad59a2c8f4932cbf601ff4c26848225dace13108a
7
- data.tar.gz: 08b0b6426e00689a7479c0ca29ffbb0b01f0134134b1acae72be1a38e68f0ca8daae9a272fb6dc7eb49324f16e234789edcdeb6bec8555dee79263ad6e9ed067
6
+ metadata.gz: 6f19b629adc8aea3b6f5188f7f57cda60a0f5c6df82c3f79d4c0d82e5314e306b05e9060c5c2ce66b6ed8acbd695eda218c59ba12ba993bbfd5bb6d2b6409c64
7
+ data.tar.gz: 6619644b086ffb7f4cfe4341c8a5b19f2f83ce95de8a9dc246c119f2bf82ea2b9e235578e325a4f3c892948a1b677f59ed989422e97fd370f61889a9c7e428dc
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
Binary file
data/README.md CHANGED
@@ -38,7 +38,8 @@ Enhances Rails with a DSL for menu navigation.
38
38
  # Features
39
39
 
40
40
  - Provides a DSL for building navigation menus.
41
- - Supports auto-detection/highlighting of active menu items based on current path (customizable for non-path usage too).
41
+ - Supports auto-detection/highlighting of active menu items based on current path (customizable for
42
+ non-path usage too).
42
43
  - Supports sub-menus, nested tags, HTML attributes, etc.
43
44
  - Supports the following HTML tags:
44
45
  - div
@@ -64,22 +65,24 @@ Enhances Rails with a DSL for menu navigation.
64
65
  - option
65
66
  - input
66
67
  - button
67
- - Provides `link`, `image`, and `item` convenience methods for succinct ways to build commonly used menu elements.
68
+ - Provides `link`, `image`, and `item` convenience methods for succinct ways to build commonly used
69
+ menu elements.
68
70
 
69
71
  # Requirements
70
72
 
71
- 0. [MRI 2.x.x](https://www.ruby-lang.org).
72
- 0. [Ruby on Rails 4.1.x](http://rubyonrails.org).
73
+ 0. [Ruby 2.x.x](https://www.ruby-lang.org).
74
+ 0. [Ruby on Rails 5.x.x](http://rubyonrails.org).
73
75
 
74
76
  # Setup
75
77
 
76
78
  For a secure install, type the following from the command line (recommended):
77
79
 
78
- gem cert --add <(curl -Ls https://www.alchemists.io/gem-public.pem)
80
+ gem cert --add <(curl --location --silent https://www.alchemists.io/gem-public.pem)
79
81
  gem install navigator --trust-policy MediumSecurity
80
82
 
81
- NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
82
- allowing the installation of unsigned dependencies since they are beyond the scope of this gem.
83
+ NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification
84
+ while allowing the installation of unsigned dependencies since they are beyond the scope of this
85
+ gem.
83
86
 
84
87
  For an insecure install, type the following (not recommended):
85
88
 
@@ -139,7 +142,8 @@ Result:
139
142
  <li data-id="1" data-type="public"><a href="/home">Home</a></li>
140
143
  </ul>
141
144
 
142
- *TIP: Nested data-- attributes can be applied to any menu item in the same manner as Rails view helpers.*
145
+ *TIP: Nested data-- attributes can be applied to any menu item in the same manner as Rails view
146
+ helpers.*
143
147
 
144
148
  ## Nav (with links)
145
149
 
@@ -246,8 +250,8 @@ Result:
246
250
 
247
251
  ## Menu Helpers
248
252
 
249
- There are several convenience methods, in addition to the standard HTML tags, that can make for shorter lines of code.
250
- The following describes each:
253
+ There are several convenience methods, in addition to the standard HTML tags, that can make for
254
+ shorter lines of code. The following describes each:
251
255
 
252
256
  When building links, the default is:
253
257
 
@@ -287,7 +291,8 @@ When building menu items, the default is:
287
291
  item "Home", "/dashboard"
288
292
  end
289
293
 
290
- These are just a few, simple, examples of what can be achieved. See the specs for additional usage and customization.
294
+ These are just a few, simple, examples of what can be achieved. See the specs for additional usage
295
+ and customization.
291
296
 
292
297
  # Customization
293
298
 
@@ -307,21 +312,24 @@ The `navigation` view helper can accept an optional `Navigator::TagActivator` in
307
312
  <a href="/about" class="active">About</a>
308
313
  </nav>
309
314
 
310
- This is the default behavior for all navigation menus and is how menu items automaticaly get the "active" class when the
311
- item URL (in this case "/home") matches the `request.env[“PATH_INFO"]` to indicate current page/active tab.
315
+ This is the default behavior for all navigation menus and is how menu items automaticaly get the
316
+ "active" class when the item URL (in this case "/home") matches the `request.env[“PATH_INFO"]` to
317
+ indicate current page/active tab.
312
318
 
313
319
  `Navigator::TagActivator` instances can be configured as follows:
314
320
 
315
321
  - search_key = Optional. The HTML tag attribute to search for. Default: :href.
316
- - search_value = Required. The value to match against the search_key value in order to update the value of the
317
- target_key. Default: nil.
318
- - target_key = Optional. The HTML tag attribute key value to update when the search_value and search_key value match.
319
- Default: :class.
320
- - target_value = Optional. The value to be applied to the target_key value. If no value exists, then the value is added.
321
- Otherwise, if a value exists then the value is appended to the existing value. Default: "active".
322
-
323
- This customization allows for more sophisticated detection/updating of active HTML tags. For example, the example code
324
- (above) could be rewritten to use `data-*` attributes and customized styles as follows:
322
+ - search_value = Required. The value to match against the search_key value in order to update the
323
+ value of the target_key. Default: nil.
324
+ - target_key = Optional. The HTML tag attribute key value to update when the search_value and
325
+ search_key value match. Default: :class.
326
+ - target_value = Optional. The value to be applied to the target_key value. If no value exists, then
327
+ the value is added. Otherwise, if a value exists then the value is appended to the existing value.
328
+ Default: "active".
329
+
330
+ This customization allows for more sophisticated detection/updating of active HTML tags. For
331
+ example, the example code (above) could be rewritten to use `data-*` attributes and customized
332
+ styles as follows:
325
333
 
326
334
  # Code
327
335
  activator = Navigator::TagActivator.new search_key: "data-id",
@@ -340,8 +348,8 @@ This customization allows for more sophisticated detection/updating of active HT
340
348
  <a href="/about" data-id="789">About</a>
341
349
  </nav>
342
350
 
343
- Lastly, the search value can be a *regular expression* to make things easier when dealing with complicated routes, sub-
344
- menus, etc. Example:
351
+ Lastly, the search value can be a *regular expression* to make things easier when dealing with
352
+ complicated routes, sub- menus, etc. Example:
345
353
 
346
354
  # Code
347
355
  profile_activator = Navigator::TagActivator.new search_value: /^profile.+/
@@ -370,8 +378,9 @@ menus, etc. Example:
370
378
  </li>
371
379
  </ul>
372
380
 
373
- Assuming either the `Addresses` or `Emails` menu item was clicked, the `Profile` menu item would be active due to the
374
- regular expression (i.e. `/^profile.+/`) matching one of the the `profile/*` paths.
381
+ Assuming either the `Addresses` or `Emails` menu item was clicked, the `Profile` menu item would be
382
+ active due to the regular expression (i.e. `/^profile.+/`) matching one of the the `profile/*`
383
+ paths.
375
384
 
376
385
  # Tests
377
386
 
@@ -388,14 +397,14 @@ To test the dummy application, run:
388
397
 
389
398
  Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
390
399
 
391
- - Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
392
- - Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
400
+ - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
401
+ - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
393
402
  - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
394
403
 
395
404
  # Code of Conduct
396
405
 
397
- Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By participating in this project
398
- you agree to abide by its terms.
406
+ Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
407
+ participating in this project you agree to abide by its terms.
399
408
 
400
409
  # Contributions
401
410
 
@@ -404,13 +413,14 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
404
413
  # License
405
414
 
406
415
  Copyright (c) 2012 [Alchemists](https://www.alchemists.io).
407
- Read the [LICENSE](LICENSE.md) for details.
416
+ Read [LICENSE](LICENSE.md) for details.
408
417
 
409
418
  # History
410
419
 
411
- Read the [CHANGELOG](CHANGELOG.md) for details.
420
+ Read [CHANGES](CHANGES.md) for details.
412
421
  Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
413
422
 
414
423
  # Credits
415
424
 
416
- Developed by [Brooke Kuhlmann](https://www.alchemists.io) at [Alchemists](https://www.alchemists.io).
425
+ Developed by [Brooke Kuhlmann](https://www.alchemists.io) at
426
+ [Alchemists](https://www.alchemists.io).
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Navigator
2
4
  # Navigation helper methods for the view layer.
3
5
  module NavigationHelper
data/lib/navigator.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "navigator/identity"
2
4
  require "navigator/tag_activator"
3
5
  require "navigator/tag"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Navigator
2
4
  # The main engine.
3
5
  class Engine < ::Rails::Engine
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Navigator
2
4
  # Gem identity information.
3
5
  module Identity
@@ -10,10 +12,10 @@ module Navigator
10
12
  end
11
13
 
12
14
  def self.version
13
- "1.4.0"
15
+ "2.0.0"
14
16
  end
15
17
 
16
- def self.label_version
18
+ def self.version_label
17
19
  "#{label} #{version}"
18
20
  end
19
21
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Navigator
2
4
  # Renders a HTML menu.
3
5
  class Menu
@@ -47,6 +49,7 @@ module Navigator
47
49
  method_allowed?(name) || super(name)
48
50
  end
49
51
 
52
+ # rubocop:disable Style/MethodMissing
50
53
  def method_missing name, *args, &block
51
54
  if method_allowed?(name.to_s)
52
55
  add(name, *args, &block)
data/lib/navigator/tag.rb CHANGED
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Navigator
2
4
  # Renders a HTML tag.
3
5
  class Tag
4
6
  attr_reader :name, :content
5
7
 
6
8
  def self.names_without_suffix
7
- %w(img input)
9
+ %w[img input]
8
10
  end
9
11
 
10
12
  def initialize name, content = nil, attributes: {}, activator: Navigator::TagActivator.new
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Navigator
2
4
  # Conditionally activates a tag.
3
5
  class TagActivator
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ require "reek/rake/task"
5
+ Reek::Rake::Task.new
6
+ rescue LoadError => error
7
+ puts error.message
8
+ end
data/lib/tasks/rspec.rake CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  begin
2
4
  require "rspec/core/rake_task"
3
5
  RSpec::Core::RakeTask.new(:spec)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  begin
2
4
  require "rubocop/rake_task"
3
5
  RuboCop::RakeTask.new
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navigator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-12-02 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
14
+ a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
15
+ aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
16
+ cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
17
+ GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
18
+ fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
19
+ zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
20
+ nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
21
+ oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
22
+ 90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
23
+ BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
24
+ BBRS85Rn1BaqeIONByw4t46DMDMzHDAfBgNVHREEGDAWgRRicm9va2VAYWxjaGVt
25
+ aXN0cy5pbzAfBgNVHRIEGDAWgRRicm9va2VAYWxjaGVtaXN0cy5pbzANBgkqhkiG
26
+ 9w0BAQUFAAOCAQEAZMb57Y4wdpbX8XxTukEO7VC1pndccUsxdbziGsAOiuHET3Aq
27
+ ygLvrfdYrN88/w+qxncW5bxbO3a6UGkuhIFUPM8zRSE/rh6bCcJljTJrExVt42eV
28
+ aYCb7WJNsx3eNXHn3uQodq3tD+lmNJzz2bFeT3smGSKEnALBjqorO/2mpDh4FJ3S
29
+ 4CcDYsJ1ywep8LDJDBBGdKz9moL+axryzpeTpgTT/fFYFzRzWrURPyDvPOikh9TX
30
+ n/LUZ1dKhIHzfKx1B4+TEIefArObGfkLIDM8+Dq1RX7TF1k81Men7iu4MgE9bYBn
31
+ 3dE+xI3FdB5gWcdWxdtgRCmWjtXeYYyb4z6NQQ==
32
+ -----END CERTIFICATE-----
33
+ date: 2016-11-14 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: rails
@@ -16,239 +38,267 @@ dependencies:
16
38
  requirements:
17
39
  - - "~>"
18
40
  - !ruby/object:Gem::Version
19
- version: '4.1'
41
+ version: '5.0'
20
42
  type: :runtime
21
43
  prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
46
  - - "~>"
25
47
  - !ruby/object:Gem::Version
26
- version: '4.1'
48
+ version: '5.0'
49
+ - !ruby/object:Gem::Dependency
50
+ name: slim
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: sass
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.4'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.4'
27
77
  - !ruby/object:Gem::Dependency
28
78
  name: rake
29
79
  requirement: !ruby/object:Gem::Requirement
30
80
  requirements:
31
81
  - - "~>"
32
82
  - !ruby/object:Gem::Version
33
- version: '10.0'
83
+ version: '11.0'
34
84
  type: :development
35
85
  prerelease: false
36
86
  version_requirements: !ruby/object:Gem::Requirement
37
87
  requirements:
38
88
  - - "~>"
39
89
  - !ruby/object:Gem::Version
40
- version: '10.0'
90
+ version: '11.0'
41
91
  - !ruby/object:Gem::Dependency
42
- name: gemsmith
92
+ name: pg
43
93
  requirement: !ruby/object:Gem::Requirement
44
94
  requirements:
45
- - - ">="
95
+ - - "~>"
46
96
  - !ruby/object:Gem::Version
47
- version: '0'
97
+ version: '0.19'
48
98
  type: :development
49
99
  prerelease: false
50
100
  version_requirements: !ruby/object:Gem::Requirement
51
101
  requirements:
52
- - - ">="
102
+ - - "~>"
53
103
  - !ruby/object:Gem::Version
54
- version: '0'
104
+ version: '0.19'
55
105
  - !ruby/object:Gem::Dependency
56
- name: pry
106
+ name: gemsmith
57
107
  requirement: !ruby/object:Gem::Requirement
58
108
  requirements:
59
- - - ">="
109
+ - - "~>"
60
110
  - !ruby/object:Gem::Version
61
- version: '0'
111
+ version: '8.1'
62
112
  type: :development
63
113
  prerelease: false
64
114
  version_requirements: !ruby/object:Gem::Requirement
65
115
  requirements:
66
- - - ">="
116
+ - - "~>"
67
117
  - !ruby/object:Gem::Version
68
- version: '0'
118
+ version: '8.1'
69
119
  - !ruby/object:Gem::Dependency
70
- name: pry-byebug
120
+ name: pry
71
121
  requirement: !ruby/object:Gem::Requirement
72
122
  requirements:
73
- - - ">="
123
+ - - "~>"
74
124
  - !ruby/object:Gem::Version
75
- version: '0'
125
+ version: '0.10'
76
126
  type: :development
77
127
  prerelease: false
78
128
  version_requirements: !ruby/object:Gem::Requirement
79
129
  requirements:
80
- - - ">="
130
+ - - "~>"
81
131
  - !ruby/object:Gem::Version
82
- version: '0'
132
+ version: '0.10'
83
133
  - !ruby/object:Gem::Dependency
84
- name: pry-remote
134
+ name: pry-byebug
85
135
  requirement: !ruby/object:Gem::Requirement
86
136
  requirements:
87
- - - ">="
137
+ - - "~>"
88
138
  - !ruby/object:Gem::Version
89
- version: '0'
139
+ version: '3.4'
90
140
  type: :development
91
141
  prerelease: false
92
142
  version_requirements: !ruby/object:Gem::Requirement
93
143
  requirements:
94
- - - ">="
144
+ - - "~>"
95
145
  - !ruby/object:Gem::Version
96
- version: '0'
146
+ version: '3.4'
97
147
  - !ruby/object:Gem::Dependency
98
148
  name: pry-state
99
149
  requirement: !ruby/object:Gem::Requirement
100
150
  requirements:
101
- - - ">="
151
+ - - "~>"
102
152
  - !ruby/object:Gem::Version
103
- version: '0'
153
+ version: '0.1'
104
154
  type: :development
105
155
  prerelease: false
106
156
  version_requirements: !ruby/object:Gem::Requirement
107
157
  requirements:
108
- - - ">="
158
+ - - "~>"
109
159
  - !ruby/object:Gem::Version
110
- version: '0'
160
+ version: '0.1'
111
161
  - !ruby/object:Gem::Dependency
112
- name: pry-rescue
162
+ name: bond
113
163
  requirement: !ruby/object:Gem::Requirement
114
164
  requirements:
115
- - - ">="
165
+ - - "~>"
116
166
  - !ruby/object:Gem::Version
117
- version: '0'
167
+ version: '0.5'
118
168
  type: :development
119
169
  prerelease: false
120
170
  version_requirements: !ruby/object:Gem::Requirement
121
171
  requirements:
122
- - - ">="
172
+ - - "~>"
123
173
  - !ruby/object:Gem::Version
124
- version: '0'
174
+ version: '0.5'
125
175
  - !ruby/object:Gem::Dependency
126
- name: pry-stack_explorer
176
+ name: wirb
127
177
  requirement: !ruby/object:Gem::Requirement
128
178
  requirements:
129
- - - ">="
179
+ - - "~>"
130
180
  - !ruby/object:Gem::Version
131
- version: '0'
181
+ version: '2.0'
132
182
  type: :development
133
183
  prerelease: false
134
184
  version_requirements: !ruby/object:Gem::Requirement
135
185
  requirements:
136
- - - ">="
186
+ - - "~>"
137
187
  - !ruby/object:Gem::Version
138
- version: '0'
188
+ version: '2.0'
139
189
  - !ruby/object:Gem::Dependency
140
- name: rspec-rails
190
+ name: hirb
141
191
  requirement: !ruby/object:Gem::Requirement
142
192
  requirements:
143
- - - ">="
193
+ - - "~>"
144
194
  - !ruby/object:Gem::Version
145
- version: '0'
195
+ version: '0.7'
146
196
  type: :development
147
197
  prerelease: false
148
198
  version_requirements: !ruby/object:Gem::Requirement
149
199
  requirements:
150
- - - ">="
200
+ - - "~>"
151
201
  - !ruby/object:Gem::Version
152
- version: '0'
202
+ version: '0.7'
153
203
  - !ruby/object:Gem::Dependency
154
- name: capybara
204
+ name: awesome_print
155
205
  requirement: !ruby/object:Gem::Requirement
156
206
  requirements:
157
- - - ">="
207
+ - - "~>"
158
208
  - !ruby/object:Gem::Version
159
- version: '0'
209
+ version: '1.7'
160
210
  type: :development
161
211
  prerelease: false
162
212
  version_requirements: !ruby/object:Gem::Requirement
163
213
  requirements:
164
- - - ">="
214
+ - - "~>"
165
215
  - !ruby/object:Gem::Version
166
- version: '0'
216
+ version: '1.7'
167
217
  - !ruby/object:Gem::Dependency
168
- name: rb-fsevent
218
+ name: rspec-rails
169
219
  requirement: !ruby/object:Gem::Requirement
170
220
  requirements:
171
- - - ">="
221
+ - - "~>"
172
222
  - !ruby/object:Gem::Version
173
- version: '0'
223
+ version: '3.5'
174
224
  type: :development
175
225
  prerelease: false
176
226
  version_requirements: !ruby/object:Gem::Requirement
177
227
  requirements:
178
- - - ">="
228
+ - - "~>"
179
229
  - !ruby/object:Gem::Version
180
- version: '0'
230
+ version: '3.5'
181
231
  - !ruby/object:Gem::Dependency
182
- name: guard-rspec
232
+ name: capybara
183
233
  requirement: !ruby/object:Gem::Requirement
184
234
  requirements:
185
- - - ">="
235
+ - - "~>"
186
236
  - !ruby/object:Gem::Version
187
- version: '0'
237
+ version: '2.10'
188
238
  type: :development
189
239
  prerelease: false
190
240
  version_requirements: !ruby/object:Gem::Requirement
191
241
  requirements:
192
- - - ">="
242
+ - - "~>"
193
243
  - !ruby/object:Gem::Version
194
- version: '0'
244
+ version: '2.10'
195
245
  - !ruby/object:Gem::Dependency
196
- name: terminal-notifier
246
+ name: guard-rspec
197
247
  requirement: !ruby/object:Gem::Requirement
198
248
  requirements:
199
- - - ">="
249
+ - - "~>"
200
250
  - !ruby/object:Gem::Version
201
- version: '0'
251
+ version: '4.7'
202
252
  type: :development
203
253
  prerelease: false
204
254
  version_requirements: !ruby/object:Gem::Requirement
205
255
  requirements:
206
- - - ">="
256
+ - - "~>"
207
257
  - !ruby/object:Gem::Version
208
- version: '0'
258
+ version: '4.7'
209
259
  - !ruby/object:Gem::Dependency
210
- name: terminal-notifier-guard
260
+ name: reek
211
261
  requirement: !ruby/object:Gem::Requirement
212
262
  requirements:
213
- - - ">="
263
+ - - "~>"
214
264
  - !ruby/object:Gem::Version
215
- version: '0'
265
+ version: '4.5'
216
266
  type: :development
217
267
  prerelease: false
218
268
  version_requirements: !ruby/object:Gem::Requirement
219
269
  requirements:
220
- - - ">="
270
+ - - "~>"
221
271
  - !ruby/object:Gem::Version
222
- version: '0'
272
+ version: '4.5'
223
273
  - !ruby/object:Gem::Dependency
224
274
  name: rubocop
225
275
  requirement: !ruby/object:Gem::Requirement
226
276
  requirements:
227
- - - ">="
277
+ - - "~>"
228
278
  - !ruby/object:Gem::Version
229
- version: '0'
279
+ version: '0.45'
230
280
  type: :development
231
281
  prerelease: false
232
282
  version_requirements: !ruby/object:Gem::Requirement
233
283
  requirements:
234
- - - ">="
284
+ - - "~>"
235
285
  - !ruby/object:Gem::Version
236
- version: '0'
286
+ version: '0.45'
237
287
  - !ruby/object:Gem::Dependency
238
288
  name: codeclimate-test-reporter
239
289
  requirement: !ruby/object:Gem::Requirement
240
290
  requirements:
241
- - - ">="
291
+ - - "~>"
242
292
  - !ruby/object:Gem::Version
243
- version: '0'
293
+ version: '1.0'
244
294
  type: :development
245
295
  prerelease: false
246
296
  version_requirements: !ruby/object:Gem::Requirement
247
297
  requirements:
248
- - - ">="
298
+ - - "~>"
249
299
  - !ruby/object:Gem::Version
250
- version: '0'
251
- description: Enhances Rails with a DSL for menu navigation.
300
+ version: '1.0'
301
+ description:
252
302
  email:
253
303
  - brooke@alchemists.io
254
304
  executables: []
@@ -266,6 +316,7 @@ files:
266
316
  - lib/navigator/menu.rb
267
317
  - lib/navigator/tag.rb
268
318
  - lib/navigator/tag_activator.rb
319
+ - lib/tasks/reek.rake
269
320
  - lib/tasks/rspec.rake
270
321
  - lib/tasks/rubocop.rake
271
322
  homepage: https://github.com/bkuhlmann/navigator
@@ -278,9 +329,9 @@ require_paths:
278
329
  - lib
279
330
  required_ruby_version: !ruby/object:Gem::Requirement
280
331
  requirements:
281
- - - ">="
332
+ - - "~>"
282
333
  - !ruby/object:Gem::Version
283
- version: '0'
334
+ version: '2.3'
284
335
  required_rubygems_version: !ruby/object:Gem::Requirement
285
336
  requirements:
286
337
  - - ">="
@@ -288,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
339
  version: '0'
289
340
  requirements: []
290
341
  rubyforge_project:
291
- rubygems_version: 2.5.0
342
+ rubygems_version: 2.6.8
292
343
  signing_key:
293
344
  specification_version: 4
294
345
  summary: Enhances Rails with a DSL for menu navigation.
metadata.gz.sig ADDED
Binary file