dynamic_menu 3.0.0.rc3 → 3.0.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.
@@ -22,7 +22,7 @@ module DynamicMenu
22
22
  file = Rails.root.to_s+"/app/menus/#{params[:controller]}/#{menu_name}.rb"
23
23
  load file
24
24
  links_obj = "#{menu_name}Menu".classify.constantize.new(@parent)
25
- @menuLinks << links_obj.get_menu_links
25
+ @menuLinks.concat(links_obj.get_menu_links)
26
26
  end
27
27
 
28
28
  def load_instance_vars
@@ -1,3 +1,3 @@
1
1
  module DynamicMenu
2
- VERSION = "3.0.0.rc3"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -1,6 +1,5 @@
1
1
  class <%= @menu_name.capitalize %>Menu < DynamicMenu::Base
2
2
  def build_menu
3
- add link_to "Change me","#" if can? :read, All #change this line and add lines using add
4
- end
3
+ add link_to "Change me","#" if can? :read, All #change this line and add lines using add
5
4
  end
6
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc3
5
- prerelease: 6
4
+ version: 3.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Pessetto
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-31 00:00:00.000000000 Z
12
+ date: 2013-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -141,9 +141,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  none: false
143
143
  requirements:
144
- - - ! '>'
144
+ - - ! '>='
145
145
  - !ruby/object:Gem::Version
146
- version: 1.3.1
146
+ version: '0'
147
147
  requirements: []
148
148
  rubyforge_project:
149
149
  rubygems_version: 1.8.24