simple_navigation 1.4.1 → 1.4.2
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.
- data/Rakefile +1 -1
- data/lib/simple_navigation.rb +2 -2
- data/simple_navigation.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('simple_navigation', '1.4.
|
5
|
+
Echoe.new('simple_navigation', '1.4.2') do |e|
|
6
6
|
e.description = "Simple navigation menu gem for Ruby on Rails"
|
7
7
|
e.url = "http://github.com/mexpolk/simple_navigation"
|
8
8
|
e.author = "Ivan Torres"
|
data/lib/simple_navigation.rb
CHANGED
@@ -152,7 +152,7 @@ module SimpleNavigation
|
|
152
152
|
options = args.last.is_a?(::Hash) ? args.last : {}
|
153
153
|
options.merge!(:i18n => self.options[:i18n])
|
154
154
|
options.merge!(:translation => [self.translation, 'menus'].join('.'))
|
155
|
-
options.merge!(:prefix =>
|
155
|
+
options.merge!(:prefix => self.id)
|
156
156
|
menu = Menu.new(name, title, options)
|
157
157
|
yield menu if block
|
158
158
|
self.menus << menu.build
|
@@ -190,7 +190,7 @@ module SimpleNavigation
|
|
190
190
|
options = args.last.is_a?(::Hash) ? args.last : {}
|
191
191
|
options.merge!(:i18n => self.options[:i18n])
|
192
192
|
options.merge!(:translation => [self.translation, 'menus'].join('.'))
|
193
|
-
options.merge!(:prefix =>
|
193
|
+
options.merge!(:prefix => self.id)
|
194
194
|
menu = Menu.new(name, title, options)
|
195
195
|
yield menu if block
|
196
196
|
self.menus << menu.build
|
data/simple_navigation.gemspec
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_navigation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 2
|
10
|
+
version: 1.4.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ivan Torres
|
metadata.gz.sig
CHANGED
Binary file
|