simpler_navigation 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: 898421e7c748a8dd8c8f9f72ae5d37b358c91b66603b9e2691e0681f10e1b496
4
- data.tar.gz: 9bdc4a5b4d05f8d7cf9c082eca9b1e7064a348a4744439c3961d0ef8f46faa17
3
+ metadata.gz: 9908cfb5f2b322d53eb970c3932ba640400e2c355737a2280d9bb7a30637b8ce
4
+ data.tar.gz: 9bb0f02a4ac18339d251823fc0e1d06f22014ea96a1f4f9269b946689395cf31
5
5
  SHA512:
6
- metadata.gz: 558244e08471d58117e363d2bcd65b449692a28a7114f070d2fd1b0388f124b4b50b48d4b567ae6b1640a580f7ca19b19fdf016a687e7fa3c307b9ffc5326b65
7
- data.tar.gz: ea12d233decd28eefba17be1bf82b7d7af7b9656b5c5f6b01ff932a233dbbe831103fde538f394817beb4a65599fa4035cf0a44f46523601bb4ab83d5f42acf0
6
+ metadata.gz: a138ed6833abfca0ceb711e1b8d07f44bc2c922c610577c1ec0c377b7f22a992c01cf2302dc1cca764a8489e309facab2df2a507000f18c6261044722ff3e491
7
+ data.tar.gz: ba440cc7cc406c1ef9240e921d3fea646d6f8fa922800bc3be258b17a82c6b2d04da50f26b85eaeb979d512a16338bf30bfcb2e633cd4bb9ee957629898e2c7e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simpler_navigation (0.1.4)
4
+ simpler_navigation (0.1.5)
5
5
  actionview
6
6
  railties
7
7
 
@@ -16,6 +16,8 @@ module SimplerNavigation
16
16
  @item = item
17
17
  @options = options
18
18
 
19
+ @options[:level] ||= :all
20
+
19
21
  @request_fullpath = context.request.fullpath
20
22
  if @options[:request_fullpath]
21
23
  @request_fullpath = @options[:request_fullpath]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimplerNavigation
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpler_navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Muerdter