simpler_navigation 0.1.6 → 0.2.0

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: 17005023a740a755f9087a321deb827895193f83f93ee1c2937ac3528ec61a99
4
- data.tar.gz: 9f7e5da8d8fcbc5488e938381617973f507ccd4b0062d074e9a652533bd2d7d0
3
+ metadata.gz: 6ac165ac094cedb9dde1875566c903d0312a005525a33235899089038b723a75
4
+ data.tar.gz: 5417062d855cef5368d129cf9f94615d13960a11c1e01fb066aae895849895db
5
5
  SHA512:
6
- metadata.gz: 9cb0a7b23440a2bfca1d5efd435b10566b75ea1a596e96343bfca3c4e6815d7e956287a3a53f4c4c27b3e72c519209a9f7b51acbc79e7d3ca371bca271591e50
7
- data.tar.gz: 2ff47480a7f5ddec9f55cea3d5f925cb4197002b410a17ea80ba171daea7a11a93e68004c242004cb476da601ad23c7ad91e4b84a2b60ecd7c09157b3b7215ca
6
+ metadata.gz: 4f885bb2d8c54952e32dd159061397f6f1769f83258e674fed867cef193c38d76d877176bee00945edee58f5ac8c89bb53d2c4f13bd282e9682d68cab4a6873d
7
+ data.tar.gz: 97127515e3be1bed372ed7dc936a64922fd4ef2bac59b586d5367a6ccca19c27d8022b71745257eb36ed4a2c1f08346e720ea5bdec574a788beb5cc3bd3cc24e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simpler_navigation (0.1.6)
4
+ simpler_navigation (0.2.0)
5
5
  actionview
6
6
  railties
7
7
 
@@ -9,7 +9,7 @@ module SimplerNavigation
9
9
  tags = crumb_tags(@item)
10
10
 
11
11
  join_with = @options[:join_with] || " "
12
- content_tag(:div, safe_join(tags, join_with))
12
+ content_tag(:div, safe_join(tags, join_with), @options[:attributes])
13
13
  end
14
14
 
15
15
  private
@@ -22,7 +22,7 @@ module SimplerNavigation
22
22
  list << content_tag(:li, li_content, wrapper_tag_options(item))
23
23
  end
24
24
 
25
- content_tag(:ul, safe_join(list))
25
+ content_tag(:ul, safe_join(list), @options[:attributes])
26
26
  end
27
27
  end
28
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimplerNavigation
4
- VERSION = "0.1.6"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpler_navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Muerdter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.4.6
88
+ rubygems_version: 3.4.10
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: A Rails gem to handle navigation menus and breadcrumbs.