mtoros-mega_menus 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,20 +1,17 @@
1
- #require './lib/mega_menus.rb'
2
1
  require 'rubygems'
3
2
  require 'rake'
4
3
 
5
4
  begin
6
5
  require 'echoe'
7
6
 
8
- Echoe.new('mega_menus', '0.5.4') do |p|
7
+ Echoe.new('mega_menus', '0.5.5') do |p|
9
8
  p.summary = "Treeview menu Gem for Rails"
10
9
  p.description = "Adds a model, controller to perform the tasks in order to have a treeview menu. To use this gem simply install it and write script/generate menu name_of_the_menu"
11
10
  p.author = ['Marko Toros']
12
11
  p.email = "mtoros@gmail.com"
13
- #p.url = ""
12
+ p.url = ""
14
13
  end
15
14
  rescue LoadError => boom
16
15
  puts "You are missing a dependency required for meta-operations on this gem."
17
16
  puts "#{boom.to_s.capitalize}."
18
17
  end
19
-
20
- Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
data/mega_menus.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{mega_menus}
3
- s.version = "0.5.4"
3
+ s.version = "0.5.5"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Marko Toros"]
@@ -82,7 +82,7 @@ module <%= "#{file_name.capitalize}Helper" %>
82
82
  concat text_field_tag "link", "link"
83
83
  concat hidden_field_tag :menu_id, menu_id
84
84
  #content_tag :button, "Submit", {:type=>"submit", :class=>"button-submit"}
85
- concat submit_tag "Add"
85
+ concat submit_tag "Add", :class => "add_edit_button"
86
86
  concat "</div>"
87
87
  end
88
88
  return nil
@@ -100,7 +100,7 @@ module <%= "#{file_name.capitalize}Helper" %>
100
100
  concat text_field_tag "parent_id", m.parent_id
101
101
  concat hidden_field_tag :menu_id, m.id
102
102
  #concat content_tag :button, "Submit", {:type=>"submit", :class=>"button-submit"}
103
- concat submit_tag "Edit"
103
+ concat submit_tag "Edit", :class => "add_edit_button"
104
104
  concat "</div>"
105
105
  end
106
106
  return nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtoros-mega_menus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marko Toros