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 CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('simple_navigation', '1.4.1') do |e|
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"
@@ -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 => [self.id, 'menus'].join('_'))
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 => [self.id, 'menus'].join('_'))
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{simple_navigation}
5
- s.version = "1.4.1"
5
+ s.version = "1.4.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ivan Torres"]
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: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 1
10
- version: 1.4.1
9
+ - 2
10
+ version: 1.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Torres
metadata.gz.sig CHANGED
Binary file