simple-navigation 4.0.2 → 4.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 +5 -5
- data/.gitignore +1 -0
- data/.travis.yml +15 -9
- data/CHANGELOG.md +27 -2
- data/LICENSE +1 -1
- data/README.md +31 -8
- data/Rakefile +27 -2
- data/gemfiles/rails-3-2-stable.gemfile +1 -0
- data/gemfiles/rails-4-1-stable.gemfile +1 -0
- data/gemfiles/rails-4-2-stable.gemfile +1 -1
- data/gemfiles/rails-5-2-stable.gemfile +7 -0
- data/gemfiles/rails-6-0-stable.gemfile +9 -0
- data/generators/navigation_config/templates/config/navigation.rb +3 -2
- data/lib/simple_navigation.rb +1 -1
- data/lib/simple_navigation/adapters/rails.rb +16 -1
- data/lib/simple_navigation/item.rb +3 -1
- data/lib/simple_navigation/item_container.rb +3 -1
- data/lib/simple_navigation/version.rb +1 -1
- data/simple-navigation.gemspec +2 -2
- data/spec/fake_app/config/navigation.rb +2 -2
- data/spec/initializers/have_css_matcher.rb +2 -1
- data/spec/integration/rendering_navigation_spec.rb +2 -0
- data/spec/simple_navigation/item_spec.rb +8 -0
- data/spec/simple_navigation/renderer/breadcrumbs_spec.rb +3 -4
- data/spec/simple_navigation/renderer/links_spec.rb +4 -5
- data/spec/simple_navigation/renderer/list_spec.rb +2 -3
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9df430bc691baeee7336fcfbbf5b6702b89440da2d61a2d7cf9e654e04241f09
|
4
|
+
data.tar.gz: '059b49e4ac9536964aff8678c86dea636bdc29f3ceeeb51d661e4b0b3df02733'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a5b51b3afcc9f5324335d7064bcc12cd417d151384b219ad1b2db10d3d161a9517cbcd9a9c766555c93e7b343d3ca233ab50663459670fc6b4804216fc57534
|
7
|
+
data.tar.gz: 98417524e1562117207ca2f9c5eddc77328e8d0d5ef3da1ef42f52c420634c7e011931622d5f642d869d265f4b4ffda9c3477a31ea03b2cf3d200f7c2d7d1ca4
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,12 +1,18 @@
|
|
1
1
|
before_install:
|
2
2
|
- gem install bundler
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
- 2.
|
7
|
-
|
8
|
-
|
9
|
-
gemfile:
|
10
|
-
-
|
11
|
-
|
12
|
-
-
|
4
|
+
matrix:
|
5
|
+
include:
|
6
|
+
- rvm: 2.5.3
|
7
|
+
gemfile: gemfiles/rails-6-0-stable.gemfile
|
8
|
+
- rvm: 2.6.0
|
9
|
+
gemfile: gemfiles/rails-6-0-stable.gemfile
|
10
|
+
- rvm: 2.5.1
|
11
|
+
gemfile: gemfiles/rails-5-2-stable.gemfile
|
12
|
+
- rvm: 2.4.5
|
13
|
+
gemfile: gemfiles/rails-4-2-stable.gemfile
|
14
|
+
- rvm: 2.3.3
|
15
|
+
gemfile: gemfiles/rails-4-1-stable.gemfile
|
16
|
+
- rvm: 2.3.3
|
17
|
+
gemfile: gemfiles/rails-3-2-stable.gemfile
|
18
|
+
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,35 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 4.2.0
|
4
|
+
|
5
|
+
* improvements to generator template. Credits to mgrunberg.
|
6
|
+
* be able to run 'rake spec:rails-6-0-stable'. Credits to mgrunberg.
|
7
|
+
|
8
|
+
## 4.1.0
|
9
|
+
|
10
|
+
* Delay rails6 initialization using on_load (getting rid of deprecation warnings in rails 6). Credits to Markus Benning.
|
11
|
+
* Fix link to wiki in README. Thanks to Greg Molnar.
|
12
|
+
* Fix uninitialized variable `@dom_attributes` warning. Credits to Johan Tell.
|
13
|
+
* Fixed tests for rails 5x. Credits to Eugene Gavrilov.
|
14
|
+
|
15
|
+
|
16
|
+
## 4.0.5
|
17
|
+
|
18
|
+
* Fix #188 Blank url and highligh_on_subpath = true causes error. Credits to Tristan Harmer (gondalez) and Ilia Pozhilov (ilyapoz).
|
19
|
+
|
20
|
+
## 4.0.4
|
21
|
+
|
22
|
+
* Fix #184 uninitialized constant Rails::Railtie (NameError). Credits to n-rodriguez.
|
23
|
+
|
24
|
+
## 4.0.3
|
25
|
+
|
26
|
+
* Fix #180 Check URL before invoking current_page?
|
27
|
+
|
3
28
|
## 4.0.2
|
4
29
|
|
5
|
-
* fixing current_page? when url is nil
|
30
|
+
* fixing current_page? when url is nil
|
6
31
|
|
7
|
-
## 4.0.1
|
32
|
+
## 4.0.1
|
8
33
|
|
9
34
|
* fixed padrino adapter
|
10
35
|
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
[](https://codeclimate.com/github/codeplant/simple-navigation)
|
6
6
|
[](https://coveralls.io/r/codeplant/simple-navigation)
|
7
7
|
|
8
|
-
Simple Navigation is a ruby library for creating navigations (with multiple levels) for your Rails
|
8
|
+
Simple Navigation is a ruby library for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. It runs with all ruby versions (including ruby 2.x).
|
9
9
|
|
10
10
|
## Documentation
|
11
11
|
|
12
|
-
For the complete documentation, take a look at the [project's wiki](
|
12
|
+
For the complete documentation, take a look at the [project's wiki](https://github.com/codeplant/simple-navigation/wiki).
|
13
13
|
|
14
14
|
## RDoc
|
15
15
|
|
@@ -29,12 +29,35 @@ Don't hesitate to come talk on the [project's group](http://groups.google.com/gr
|
|
29
29
|
|
30
30
|
## Contributing
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
32
|
+
Fork, fix, then send a Pull Request.
|
33
|
+
|
34
|
+
To run the test suite locally against all supported frameworks:
|
35
|
+
|
36
|
+
% bundle install
|
37
|
+
% rake spec:all
|
38
|
+
|
39
|
+
To target the test suite against one framework:
|
40
|
+
|
41
|
+
% rake spec:rails-4-2-stable
|
42
|
+
|
43
|
+
You can find a list of supported spec tasks by running rake -T. You may also find it useful to run a specific test for a specific framework. To do so, you'll have to first make sure you have bundled everything for that configuration, then you can run the specific test:
|
44
|
+
|
45
|
+
% BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle install -j 4
|
46
|
+
% BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle exec rspec ./spec/requests/users_spec.rb
|
47
|
+
|
48
|
+
### Rake and Bundler
|
49
|
+
|
50
|
+
If you use a shell plugin (like oh-my-zsh:bundler) that auto-prefixes commands with `bundle exec` using the `rake` command will fail.
|
51
|
+
|
52
|
+
Get the original command with `type -a rake`:
|
53
|
+
|
54
|
+
% type -a rake
|
55
|
+
rake is an alias for bundled_rake
|
56
|
+
rake is /Users/username/.rubies/ruby-2.2.3/bin/rake
|
57
|
+
rake is /usr/bin/rake
|
58
|
+
|
59
|
+
In this situation `/Users/username/.rubies/ruby-2.2.3/bin/rake` is the command you should use.
|
37
60
|
|
38
61
|
## License
|
39
62
|
|
40
|
-
Copyright (c)
|
63
|
+
Copyright (c) 2021 codeplant GmbH, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,10 +1,35 @@
|
|
1
|
-
require 'bundler
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
3
|
+
|
4
|
+
require 'rspec/core'
|
2
5
|
require 'rspec/core/rake_task'
|
6
|
+
|
3
7
|
require 'rdoc/task'
|
4
8
|
|
5
9
|
RSpec::Core::RakeTask.new(:spec)
|
6
10
|
|
7
|
-
task default:
|
11
|
+
task default: 'spec'
|
12
|
+
|
13
|
+
namespace :spec do
|
14
|
+
mappers = %w[
|
15
|
+
rails-3-2-stable
|
16
|
+
rails-4-1-stable
|
17
|
+
rails-4-2-stable
|
18
|
+
rails-5-2-stable
|
19
|
+
rails-6-0-stable
|
20
|
+
]
|
21
|
+
|
22
|
+
mappers.each do |gemfile|
|
23
|
+
desc "Run Tests against #{gemfile}"
|
24
|
+
task gemfile do
|
25
|
+
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle -j 4 --quiet"
|
26
|
+
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake -t spec"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
desc 'Run Tests against all ORMs'
|
31
|
+
task all: mappers
|
32
|
+
end
|
8
33
|
|
9
34
|
RDoc::Task.new do |rdoc|
|
10
35
|
rdoc.rdoc_dir = 'rdoc'
|
@@ -24,7 +24,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|
24
24
|
# If you need to add custom html around item names, you can define a proc that
|
25
25
|
# will be called with the name you pass in to the navigation.
|
26
26
|
# The example below shows how to wrap items spans.
|
27
|
-
#navigation.name_generator = Proc.new {|name, item|
|
27
|
+
#navigation.name_generator = Proc.new {|name, item| tag.span(name) }
|
28
28
|
|
29
29
|
# Specify if the auto highlight feature is turned on (globally, for the whole navigation). Defaults to true
|
30
30
|
#navigation.auto_highlight = true
|
@@ -45,6 +45,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|
45
45
|
# url - the address that the generated item links to. You can also use url_helpers (named routes, restful routes helper, url_for etc.)
|
46
46
|
# options - can be used to specify attributes that will be included in the rendered navigation item (e.g. id, class etc.)
|
47
47
|
# some special options that can be set:
|
48
|
+
# :html - Specifies html attributes that will be included in the rendered navigation item
|
48
49
|
# :if - Specifies a proc to call to determine if the item should
|
49
50
|
# be rendered (e.g. <tt>if: -> { current_user.admin? }</tt>). The
|
50
51
|
# proc should evaluate to a true or false value and is evaluated in the context of the view.
|
@@ -67,7 +68,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|
67
68
|
# You can also specify a condition-proc that needs to be fullfilled to display an item.
|
68
69
|
# Conditions are part of the options. They are evaluated in the context of the views,
|
69
70
|
# thus you can use all the methods and vars you have available in the views.
|
70
|
-
primary.item :key_3, 'Admin', url, class: 'special', if: -> { current_user.admin? }
|
71
|
+
primary.item :key_3, 'Admin', url, html: { class: 'special' }, if: -> { current_user.admin? }
|
71
72
|
primary.item :key_4, 'Account', url, unless: -> { logged_in? }
|
72
73
|
|
73
74
|
# you can also specify html attributes to attach to this particular level
|
data/lib/simple_navigation.rb
CHANGED
@@ -12,7 +12,7 @@ require 'simple_navigation/items_provider'
|
|
12
12
|
require 'simple_navigation/renderer'
|
13
13
|
require 'simple_navigation/adapters'
|
14
14
|
require 'simple_navigation/config_file_finder'
|
15
|
-
require 'simple_navigation/railtie' if defined?(::Rails)
|
15
|
+
require 'simple_navigation/railtie' if defined?(::Rails::Railtie)
|
16
16
|
|
17
17
|
require 'forwardable'
|
18
18
|
|
@@ -5,6 +5,21 @@ module SimpleNavigation
|
|
5
5
|
|
6
6
|
def self.register
|
7
7
|
SimpleNavigation.set_env(::Rails.root, ::Rails.env)
|
8
|
+
|
9
|
+
# Autoloading in initializers is deprecated on rails 6.0
|
10
|
+
# This delays the hook initialization using the on_load
|
11
|
+
# hooks, but does not change behaviour for existing
|
12
|
+
# rails versions.
|
13
|
+
if ::Rails::VERSION::MAJOR >= 6
|
14
|
+
ActiveSupport.on_load(:action_controller_base) do
|
15
|
+
SimpleNavigation::Adapters::Rails.register_controller_helpers
|
16
|
+
end
|
17
|
+
else
|
18
|
+
register_controller_helpers
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.register_controller_helpers
|
8
23
|
ActionController::Base.send(:include, SimpleNavigation::Helpers)
|
9
24
|
SimpleNavigation::Helpers.instance_methods.each do |m|
|
10
25
|
ActionController::Base.send(:helper_method, m.to_sym)
|
@@ -38,7 +53,7 @@ module SimpleNavigation
|
|
38
53
|
end
|
39
54
|
|
40
55
|
def current_page?(url)
|
41
|
-
|
56
|
+
template && template.current_page?(url)
|
42
57
|
end
|
43
58
|
|
44
59
|
def link_to(name, url, options = {})
|
@@ -153,8 +153,10 @@ module SimpleNavigation
|
|
153
153
|
|
154
154
|
def selected_by_autohighlight?
|
155
155
|
return false unless auto_highlight?
|
156
|
+
return false unless self.url
|
157
|
+
|
156
158
|
root_path_match? ||
|
157
|
-
SimpleNavigation.current_page?(url_for_autohighlight) ||
|
159
|
+
(url_for_autohighlight && SimpleNavigation.current_page?(url_for_autohighlight)) ||
|
158
160
|
autohighlight_by_subpath?
|
159
161
|
end
|
160
162
|
|
@@ -16,6 +16,7 @@ module SimpleNavigation
|
|
16
16
|
@items ||= []
|
17
17
|
@renderer = SimpleNavigation.config.renderer
|
18
18
|
@auto_highlight = true
|
19
|
+
@dom_attributes = {}
|
19
20
|
end
|
20
21
|
|
21
22
|
def dom_attributes
|
@@ -24,7 +25,8 @@ module SimpleNavigation
|
|
24
25
|
id: dom_id,
|
25
26
|
class: dom_class
|
26
27
|
}.reject { |_, v| v.nil? }
|
27
|
-
|
28
|
+
|
29
|
+
@dom_attributes.merge(dom_id_and_class)
|
28
30
|
end
|
29
31
|
|
30
32
|
# Creates a new navigation item.
|
data/simple-navigation.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
"as explicit highlighting of the currently active " \
|
16
16
|
"navigation through regular expressions."
|
17
17
|
spec.summary = "simple-navigation is a ruby library for creating navigations "\
|
18
|
-
"(with multiple levels) for your
|
18
|
+
"(with multiple levels) for your Rails, Sinatra or " \
|
19
19
|
"Padrino application."
|
20
20
|
spec.homepage = 'http://github.com/codeplant/simple-navigation'
|
21
21
|
spec.license = 'MIT'
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
|
30
30
|
spec.add_runtime_dependency 'activesupport', '>= 2.3.2'
|
31
31
|
|
32
|
-
spec.add_development_dependency 'bundler'
|
32
|
+
spec.add_development_dependency 'bundler'
|
33
33
|
spec.add_development_dependency 'capybara'
|
34
34
|
spec.add_development_dependency 'coveralls', '~> 0.7'
|
35
35
|
spec.add_development_dependency 'guard-rspec', '~> 4.2'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
SimpleNavigation::Configuration.run do |navigation|
|
2
2
|
navigation.items do |nav|
|
3
|
-
nav.item :item_1, 'Item 1', '/item_1'
|
4
|
-
nav.item :item_2, 'Item 2', '/item_2'
|
3
|
+
nav.item :item_1, 'Item 1', '/item_1', html: {class: 'item_1'}, link_html: {id: 'link_1'}
|
4
|
+
nav.item :item_2, 'Item 2', '/item_2', html: {class: 'item_2'}, link_html: {id: 'link_2'}
|
5
5
|
end
|
6
6
|
end
|
@@ -246,6 +246,14 @@ module SimpleNavigation
|
|
246
246
|
double(:config, auto_highlight: true, highlight_on_subpath: true, ignore_query_params_on_auto_highlight: true, ignore_anchors_on_auto_highlight: true)
|
247
247
|
end
|
248
248
|
|
249
|
+
context "but item has no url" do
|
250
|
+
let(:url) { nil }
|
251
|
+
|
252
|
+
it 'returns false' do
|
253
|
+
expect(item.selected?).to be false
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
249
257
|
context "and the current url is a sub path of the item's url" do
|
250
258
|
before do
|
251
259
|
allow(adapter).to \
|
@@ -5,8 +5,7 @@ module SimpleNavigation
|
|
5
5
|
|
6
6
|
let(:item) { nil }
|
7
7
|
let(:options) {{ level: :all }}
|
8
|
-
let(:output) {
|
9
|
-
let(:raw_output) { renderer.render(navigation) }
|
8
|
+
let(:output) { renderer.render(navigation) }
|
10
9
|
let(:renderer) { Breadcrumbs.new(options) }
|
11
10
|
|
12
11
|
before { select_an_item(navigation[item]) if item }
|
@@ -75,7 +74,7 @@ module SimpleNavigation
|
|
75
74
|
let(:item) { nil }
|
76
75
|
|
77
76
|
it "doesn't render the prefix before the breadcrumbs" do
|
78
|
-
expect(
|
77
|
+
expect(output).not_to match(/^<div.+>You are here: /)
|
79
78
|
end
|
80
79
|
end
|
81
80
|
|
@@ -83,7 +82,7 @@ module SimpleNavigation
|
|
83
82
|
let(:item) { :invoices }
|
84
83
|
|
85
84
|
it 'renders the prefix before the breadcrumbs' do
|
86
|
-
expect(
|
85
|
+
expect(output).to match(/^<div.+>You are here: /)
|
87
86
|
end
|
88
87
|
end
|
89
88
|
end
|
@@ -5,9 +5,8 @@ module SimpleNavigation
|
|
5
5
|
let!(:navigation) { setup_navigation('nav_id', 'nav_class') }
|
6
6
|
|
7
7
|
let(:item) { nil }
|
8
|
-
let(:options) {{ level: :all }}
|
9
|
-
let(:output) {
|
10
|
-
let(:raw_output) { renderer.render(navigation) }
|
8
|
+
let(:options) { { level: :all } }
|
9
|
+
let(:output) { renderer.render(navigation) }
|
11
10
|
let(:renderer) { Links.new(options) }
|
12
11
|
|
13
12
|
before { select_an_item(navigation[item]) if item }
|
@@ -29,7 +28,7 @@ module SimpleNavigation
|
|
29
28
|
end
|
30
29
|
|
31
30
|
it "renders the 'a' tags with the corresponding item's :html_options" do
|
32
|
-
expect(output).to have_css('a[style=float:right]')
|
31
|
+
expect(output).to have_css('a[style="float:right"]')
|
33
32
|
end
|
34
33
|
|
35
34
|
context 'when an item has a specified id' do
|
@@ -62,7 +61,7 @@ module SimpleNavigation
|
|
62
61
|
let(:options) {{ level: :all, join_with: ' | ' }}
|
63
62
|
|
64
63
|
it 'separates the items with the specified separator' do
|
65
|
-
expect(
|
64
|
+
expect(output.scan(' | ').size).to eq 3
|
66
65
|
end
|
67
66
|
end
|
68
67
|
|
@@ -4,9 +4,8 @@ module SimpleNavigation
|
|
4
4
|
let!(:navigation) { setup_navigation('nav_id', 'nav_class') }
|
5
5
|
|
6
6
|
let(:item) { nil }
|
7
|
-
let(:options) {{ level: :all }}
|
8
|
-
let(:output) {
|
9
|
-
let(:raw_output) { renderer.render(navigation) }
|
7
|
+
let(:options) { { level: :all } }
|
8
|
+
let(:output) { renderer.render(navigation) }
|
10
9
|
let(:renderer) { List.new(options) }
|
11
10
|
|
12
11
|
before { select_an_item(navigation[item]) if item }
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-navigation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andi Schacke
|
8
8
|
- Mark J. Titorenko
|
9
9
|
- Simon Courtois
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -30,16 +30,16 @@ dependencies:
|
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: capybara
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,6 +175,8 @@ files:
|
|
175
175
|
- gemfiles/rails-3-2-stable.gemfile
|
176
176
|
- gemfiles/rails-4-1-stable.gemfile
|
177
177
|
- gemfiles/rails-4-2-stable.gemfile
|
178
|
+
- gemfiles/rails-5-2-stable.gemfile
|
179
|
+
- gemfiles/rails-6-0-stable.gemfile
|
178
180
|
- generators/navigation_config/USAGE
|
179
181
|
- generators/navigation_config/navigation_config_generator.rb
|
180
182
|
- generators/navigation_config/templates/config/navigation.rb
|
@@ -239,7 +241,7 @@ homepage: http://github.com/codeplant/simple-navigation
|
|
239
241
|
licenses:
|
240
242
|
- MIT
|
241
243
|
metadata: {}
|
242
|
-
post_install_message:
|
244
|
+
post_install_message:
|
243
245
|
rdoc_options:
|
244
246
|
- "--inline-source"
|
245
247
|
- "--charset=UTF-8"
|
@@ -256,12 +258,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
256
258
|
- !ruby/object:Gem::Version
|
257
259
|
version: '0'
|
258
260
|
requirements: []
|
259
|
-
|
260
|
-
|
261
|
-
signing_key:
|
261
|
+
rubygems_version: 3.0.9
|
262
|
+
signing_key:
|
262
263
|
specification_version: 4
|
263
264
|
summary: simple-navigation is a ruby library for creating navigations (with multiple
|
264
|
-
levels) for your
|
265
|
+
levels) for your Rails, Sinatra or Padrino application.
|
265
266
|
test_files:
|
266
267
|
- spec/fake_app/config/navigation.rb
|
267
268
|
- spec/fake_app/rails_app.rb
|