lolita-menu 0.0.15 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -2
- data/History.rdoc +6 -0
- data/VERSION +1 -1
- data/{public → app/assets}/images/lolita-menu/delete.png +0 -0
- data/{public → app/assets}/images/lolita-menu/move.png +0 -0
- data/{public → app/assets}/javascripts/autocomplete-rails.js +0 -0
- data/{public → app/assets}/javascripts/jquery-ui-nested-sortables.js +0 -0
- data/{public → app/assets}/javascripts/lolita/menu-items.js +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_3383bb_256x240.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_454545_256x240.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_999999_256x240.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_fbc856_256x240.png +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui/overcast/jquery-ui-1.8.16.custom.css +0 -0
- data/{public → app/assets}/stylesheets/lolita/menu/style.css +0 -0
- data/app/controllers/menu_items_controller.rb +9 -4
- data/app/views/components/lolita/menu/_columns_body.html.haml +0 -1
- data/lib/generators/lolita_menu/install_generator.rb +2 -6
- data/lolita-menu.gemspec +35 -39
- metadata +44 -56
- data/lib/generators/lolita_menu/assets_generator.rb +0 -13
data/Gemfile
CHANGED
data/History.rdoc
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
=== Version 0.1.0 /
|
2
|
+
* Changes
|
3
|
+
* Works with lolita 3.2.0 and rails 3.1.0
|
4
|
+
|
1
5
|
=== Version 0.0.15 / 2011-08-24
|
2
6
|
* Bug fixes
|
3
7
|
* require problem in generate_urls fixed
|
@@ -5,9 +9,11 @@
|
|
5
9
|
=== Version 0.0.14 / 2011-08-24
|
6
10
|
* Bug fixes
|
7
11
|
* reading form files fixed for autcomplete
|
12
|
+
|
8
13
|
=== Version 0.0.13 / 2011-08-24
|
9
14
|
* Bug fixes
|
10
15
|
* Fixed rake task environment loading problem.
|
16
|
+
|
11
17
|
=== Version 0.0.12 / 2011-08-23
|
12
18
|
* Enhancements
|
13
19
|
* Autocomplete for url added
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_eeeeee_40x100.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_c0402a_40x100.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_eeeeee_40x100.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_glass_35_dddddd_1x400.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-bg_glass_60_eeeeee_1x400.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_3383bb_256x240.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_454545_256x240.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_70b2e1_256x240.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_999999_256x240.png
RENAMED
File without changes
|
data/{public → app/assets}/stylesheets/jquery-ui/overcast/images/ui-icons_fbc856_256x240.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
class MenuItemsController < ActionController::Base
|
3
3
|
include Lolita::Controllers::UserHelpers
|
4
|
+
include Lolita::Controllers::InternalHelpers
|
4
5
|
|
5
6
|
before_filter :authenticate_lolita_user!
|
6
7
|
|
@@ -13,7 +14,7 @@ class MenuItemsController < ActionController::Base
|
|
13
14
|
menu=Menu.find_by_id(params[:menu_id])
|
14
15
|
item=MenuItem.create!(:name=>"new item",:url=>"/",:menu_id => params[:menu_id])
|
15
16
|
menu.append(item)
|
16
|
-
|
17
|
+
notice(I18n.t("lolita.menu.branch created"))
|
17
18
|
render_component "lolita/menu_items", :row, :item => item, :menu => menu
|
18
19
|
end
|
19
20
|
|
@@ -31,9 +32,9 @@ class MenuItemsController < ActionController::Base
|
|
31
32
|
menu=Menu.find_by_id(params[:menu_id])
|
32
33
|
|
33
34
|
if menu && menu.update_whole_tree(params[:items])
|
34
|
-
|
35
|
+
notice I18n.t("lolita.menu.notice")
|
35
36
|
else
|
36
|
-
|
37
|
+
error I18n.t("lolita.menu.error")
|
37
38
|
end
|
38
39
|
|
39
40
|
render :nothing=>true
|
@@ -42,7 +43,11 @@ class MenuItemsController < ActionController::Base
|
|
42
43
|
def destroy
|
43
44
|
item=MenuItem.find_by_id(params[:id])
|
44
45
|
item.destroy
|
45
|
-
|
46
|
+
notice I18n.t("lolita.menu.branch deleted")
|
46
47
|
render :json=>{:id=>item.id}
|
47
48
|
end
|
49
|
+
|
50
|
+
def is_lolita_resource?
|
51
|
+
true
|
52
|
+
end
|
48
53
|
end
|
@@ -1,7 +1,6 @@
|
|
1
1
|
%tbody
|
2
2
|
- page.each_with_index do |record,index|
|
3
3
|
%tr{:class => "#{index % 2 == 0 ? "even" : "odd"} openable-row",:"data-id"=>record.id}
|
4
|
-
= render_component columns,:first,:record=>record
|
5
4
|
- columns.each do |column|
|
6
5
|
%td
|
7
6
|
= column.formatter.with(record.send(column.name.to_sym),record).to_s
|
@@ -6,7 +6,7 @@ module LolitaMenu
|
|
6
6
|
include Rails::Generators::Migration
|
7
7
|
|
8
8
|
source_root File.expand_path("../templates", __FILE__)
|
9
|
-
desc "
|
9
|
+
desc "Create migrations. "
|
10
10
|
|
11
11
|
def self.next_migration_number(dirname)
|
12
12
|
if ActiveRecord::Base.timestamped_migrations
|
@@ -16,10 +16,6 @@ module LolitaMenu
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
def copy_assets
|
20
|
-
generate("lolita_menu:assets")
|
21
|
-
end
|
22
|
-
|
23
19
|
def create_menu_migrations
|
24
20
|
begin
|
25
21
|
migration_template "migrations/create_menus.rb", "db/migrate/create_lolita_menus.rb"
|
@@ -35,4 +31,4 @@ module LolitaMenu
|
|
35
31
|
|
36
32
|
end
|
37
33
|
end
|
38
|
-
end
|
34
|
+
end
|
data/lolita-menu.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.0
|
7
|
+
s.name = "lolita-menu"
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
11
|
+
s.authors = ["ITHouse", "Arturs Meisters"]
|
12
|
+
s.date = "2011-09-05"
|
13
|
+
s.description = "Manage public menus for each project inside Lolita."
|
14
|
+
s.email = "support@ithouse.lv"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -24,6 +24,27 @@ Gem::Specification.new do |s|
|
|
24
24
|
"README.rdoc",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
|
+
"app/assets/images/lolita-menu/delete.png",
|
28
|
+
"app/assets/images/lolita-menu/move.png",
|
29
|
+
"app/assets/javascripts/autocomplete-rails.js",
|
30
|
+
"app/assets/javascripts/jquery-ui-nested-sortables.js",
|
31
|
+
"app/assets/javascripts/lolita/menu-items.js",
|
32
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png",
|
33
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_eeeeee_40x100.png",
|
34
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_c0402a_40x100.png",
|
35
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_eeeeee_40x100.png",
|
36
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png",
|
37
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_glass_35_dddddd_1x400.png",
|
38
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_glass_60_eeeeee_1x400.png",
|
39
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_inset-hard_75_999999_1x100.png",
|
40
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png",
|
41
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_3383bb_256x240.png",
|
42
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_454545_256x240.png",
|
43
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_70b2e1_256x240.png",
|
44
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_999999_256x240.png",
|
45
|
+
"app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_fbc856_256x240.png",
|
46
|
+
"app/assets/stylesheets/jquery-ui/overcast/jquery-ui-1.8.16.custom.css",
|
47
|
+
"app/assets/stylesheets/lolita/menu/style.css",
|
27
48
|
"app/controllers/menu_items_controller.rb",
|
28
49
|
"app/models/menu.rb",
|
29
50
|
"app/models/menu_item.rb",
|
@@ -36,7 +57,6 @@ Gem::Specification.new do |s|
|
|
36
57
|
"config/locales/en.yml",
|
37
58
|
"config/locales/lv.yml",
|
38
59
|
"config/routes.rb",
|
39
|
-
"lib/generators/lolita_menu/assets_generator.rb",
|
40
60
|
"lib/generators/lolita_menu/install_generator.rb",
|
41
61
|
"lib/generators/lolita_menu/templates/lolita-menu-urls.rb",
|
42
62
|
"lib/generators/lolita_menu/templates/migrations/create_menu_items.rb",
|
@@ -50,27 +70,6 @@ Gem::Specification.new do |s|
|
|
50
70
|
"lib/lolita-menu/railtie.rb",
|
51
71
|
"lib/tasks/lolita-menu.rake",
|
52
72
|
"lolita-menu.gemspec",
|
53
|
-
"public/images/lolita-menu/delete.png",
|
54
|
-
"public/images/lolita-menu/move.png",
|
55
|
-
"public/javascripts/autocomplete-rails.js",
|
56
|
-
"public/javascripts/jquery-ui-nested-sortables.js",
|
57
|
-
"public/javascripts/lolita/menu-items.js",
|
58
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png",
|
59
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_eeeeee_40x100.png",
|
60
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_c0402a_40x100.png",
|
61
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_eeeeee_40x100.png",
|
62
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png",
|
63
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_glass_35_dddddd_1x400.png",
|
64
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_glass_60_eeeeee_1x400.png",
|
65
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_inset-hard_75_999999_1x100.png",
|
66
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png",
|
67
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-icons_3383bb_256x240.png",
|
68
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-icons_454545_256x240.png",
|
69
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-icons_70b2e1_256x240.png",
|
70
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-icons_999999_256x240.png",
|
71
|
-
"public/stylesheets/jquery-ui/overcast/images/ui-icons_fbc856_256x240.png",
|
72
|
-
"public/stylesheets/jquery-ui/overcast/jquery-ui-1.8.16.custom.css",
|
73
|
-
"public/stylesheets/lolita/menu/style.css",
|
74
73
|
"spec/controllers/menu_items_controller_spec.rb",
|
75
74
|
"spec/models/menu_item_spec.rb",
|
76
75
|
"spec/models/menu_spec.rb",
|
@@ -83,11 +82,11 @@ Gem::Specification.new do |s|
|
|
83
82
|
"test_orm/rails/config/application.rb",
|
84
83
|
"test_orm/rails/config/enviroment.rb"
|
85
84
|
]
|
86
|
-
s.homepage =
|
87
|
-
s.licenses = [
|
88
|
-
s.require_paths = [
|
89
|
-
s.rubygems_version =
|
90
|
-
s.summary =
|
85
|
+
s.homepage = "http://github.com/ithouse/lolita-menu"
|
86
|
+
s.licenses = ["MIT"]
|
87
|
+
s.require_paths = ["lib"]
|
88
|
+
s.rubygems_version = "1.8.10"
|
89
|
+
s.summary = "Menu managing plugin for Lolita."
|
91
90
|
s.test_files = [
|
92
91
|
"spec/controllers/menu_items_controller_spec.rb",
|
93
92
|
"spec/models/menu_item_spec.rb",
|
@@ -99,8 +98,7 @@ Gem::Specification.new do |s|
|
|
99
98
|
s.specification_version = 3
|
100
99
|
|
101
100
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
102
|
-
s.add_runtime_dependency(%q<lolita>, ["~> 3.
|
103
|
-
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
101
|
+
s.add_runtime_dependency(%q<lolita>, ["~> 3.2.0.rc1"])
|
104
102
|
s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
|
105
103
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
106
104
|
s.add_development_dependency(%q<rspec-rails>, ["~> 2.6.0"])
|
@@ -110,8 +108,7 @@ Gem::Specification.new do |s|
|
|
110
108
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
111
109
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
112
110
|
else
|
113
|
-
s.add_dependency(%q<lolita>, ["~> 3.
|
114
|
-
s.add_dependency(%q<haml>, [">= 0"])
|
111
|
+
s.add_dependency(%q<lolita>, ["~> 3.2.0.rc1"])
|
115
112
|
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
116
113
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
117
114
|
s.add_dependency(%q<rspec-rails>, ["~> 2.6.0"])
|
@@ -122,8 +119,7 @@ Gem::Specification.new do |s|
|
|
122
119
|
s.add_dependency(%q<rcov>, [">= 0"])
|
123
120
|
end
|
124
121
|
else
|
125
|
-
s.add_dependency(%q<lolita>, ["~> 3.
|
126
|
-
s.add_dependency(%q<haml>, [">= 0"])
|
122
|
+
s.add_dependency(%q<lolita>, ["~> 3.2.0.rc1"])
|
127
123
|
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
128
124
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
129
125
|
s.add_dependency(%q<rspec-rails>, ["~> 2.6.0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolita-menu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,33 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-09-05 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: lolita
|
17
|
-
requirement: &
|
17
|
+
requirement: &76685050 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.2.0.rc1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: haml
|
28
|
-
requirement: &85195860 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: *85195860
|
25
|
+
version_requirements: *76685050
|
37
26
|
- !ruby/object:Gem::Dependency
|
38
27
|
name: rspec
|
39
|
-
requirement: &
|
28
|
+
requirement: &76684500 !ruby/object:Gem::Requirement
|
40
29
|
none: false
|
41
30
|
requirements:
|
42
31
|
- - ~>
|
@@ -44,10 +33,10 @@ dependencies:
|
|
44
33
|
version: 2.6.0
|
45
34
|
type: :development
|
46
35
|
prerelease: false
|
47
|
-
version_requirements: *
|
36
|
+
version_requirements: *76684500
|
48
37
|
- !ruby/object:Gem::Dependency
|
49
38
|
name: sqlite3
|
50
|
-
requirement: &
|
39
|
+
requirement: &76684140 !ruby/object:Gem::Requirement
|
51
40
|
none: false
|
52
41
|
requirements:
|
53
42
|
- - ! '>='
|
@@ -55,10 +44,10 @@ dependencies:
|
|
55
44
|
version: '0'
|
56
45
|
type: :development
|
57
46
|
prerelease: false
|
58
|
-
version_requirements: *
|
47
|
+
version_requirements: *76684140
|
59
48
|
- !ruby/object:Gem::Dependency
|
60
49
|
name: rspec-rails
|
61
|
-
requirement: &
|
50
|
+
requirement: &76683850 !ruby/object:Gem::Requirement
|
62
51
|
none: false
|
63
52
|
requirements:
|
64
53
|
- - ~>
|
@@ -66,10 +55,10 @@ dependencies:
|
|
66
55
|
version: 2.6.0
|
67
56
|
type: :development
|
68
57
|
prerelease: false
|
69
|
-
version_requirements: *
|
58
|
+
version_requirements: *76683850
|
70
59
|
- !ruby/object:Gem::Dependency
|
71
60
|
name: haml-rails
|
72
|
-
requirement: &
|
61
|
+
requirement: &76683590 !ruby/object:Gem::Requirement
|
73
62
|
none: false
|
74
63
|
requirements:
|
75
64
|
- - ! '>='
|
@@ -77,10 +66,10 @@ dependencies:
|
|
77
66
|
version: '0'
|
78
67
|
type: :development
|
79
68
|
prerelease: false
|
80
|
-
version_requirements: *
|
69
|
+
version_requirements: *76683590
|
81
70
|
- !ruby/object:Gem::Dependency
|
82
71
|
name: shoulda
|
83
|
-
requirement: &
|
72
|
+
requirement: &76683240 !ruby/object:Gem::Requirement
|
84
73
|
none: false
|
85
74
|
requirements:
|
86
75
|
- - ! '>='
|
@@ -88,10 +77,10 @@ dependencies:
|
|
88
77
|
version: '0'
|
89
78
|
type: :development
|
90
79
|
prerelease: false
|
91
|
-
version_requirements: *
|
80
|
+
version_requirements: *76683240
|
92
81
|
- !ruby/object:Gem::Dependency
|
93
82
|
name: bundler
|
94
|
-
requirement: &
|
83
|
+
requirement: &76682860 !ruby/object:Gem::Requirement
|
95
84
|
none: false
|
96
85
|
requirements:
|
97
86
|
- - ~>
|
@@ -99,10 +88,10 @@ dependencies:
|
|
99
88
|
version: 1.0.0
|
100
89
|
type: :development
|
101
90
|
prerelease: false
|
102
|
-
version_requirements: *
|
91
|
+
version_requirements: *76682860
|
103
92
|
- !ruby/object:Gem::Dependency
|
104
93
|
name: jeweler
|
105
|
-
requirement: &
|
94
|
+
requirement: &76682520 !ruby/object:Gem::Requirement
|
106
95
|
none: false
|
107
96
|
requirements:
|
108
97
|
- - ~>
|
@@ -110,10 +99,10 @@ dependencies:
|
|
110
99
|
version: 1.5.2
|
111
100
|
type: :development
|
112
101
|
prerelease: false
|
113
|
-
version_requirements: *
|
102
|
+
version_requirements: *76682520
|
114
103
|
- !ruby/object:Gem::Dependency
|
115
104
|
name: rcov
|
116
|
-
requirement: &
|
105
|
+
requirement: &76556460 !ruby/object:Gem::Requirement
|
117
106
|
none: false
|
118
107
|
requirements:
|
119
108
|
- - ! '>='
|
@@ -121,7 +110,7 @@ dependencies:
|
|
121
110
|
version: '0'
|
122
111
|
type: :development
|
123
112
|
prerelease: false
|
124
|
-
version_requirements: *
|
113
|
+
version_requirements: *76556460
|
125
114
|
description: Manage public menus for each project inside Lolita.
|
126
115
|
email: support@ithouse.lv
|
127
116
|
executables: []
|
@@ -137,6 +126,27 @@ files:
|
|
137
126
|
- README.rdoc
|
138
127
|
- Rakefile
|
139
128
|
- VERSION
|
129
|
+
- app/assets/images/lolita-menu/delete.png
|
130
|
+
- app/assets/images/lolita-menu/move.png
|
131
|
+
- app/assets/javascripts/autocomplete-rails.js
|
132
|
+
- app/assets/javascripts/jquery-ui-nested-sortables.js
|
133
|
+
- app/assets/javascripts/lolita/menu-items.js
|
134
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png
|
135
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_eeeeee_40x100.png
|
136
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_c0402a_40x100.png
|
137
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_eeeeee_40x100.png
|
138
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png
|
139
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_glass_35_dddddd_1x400.png
|
140
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_glass_60_eeeeee_1x400.png
|
141
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_inset-hard_75_999999_1x100.png
|
142
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png
|
143
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_3383bb_256x240.png
|
144
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_454545_256x240.png
|
145
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_70b2e1_256x240.png
|
146
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_999999_256x240.png
|
147
|
+
- app/assets/stylesheets/jquery-ui/overcast/images/ui-icons_fbc856_256x240.png
|
148
|
+
- app/assets/stylesheets/jquery-ui/overcast/jquery-ui-1.8.16.custom.css
|
149
|
+
- app/assets/stylesheets/lolita/menu/style.css
|
140
150
|
- app/controllers/menu_items_controller.rb
|
141
151
|
- app/models/menu.rb
|
142
152
|
- app/models/menu_item.rb
|
@@ -149,7 +159,6 @@ files:
|
|
149
159
|
- config/locales/en.yml
|
150
160
|
- config/locales/lv.yml
|
151
161
|
- config/routes.rb
|
152
|
-
- lib/generators/lolita_menu/assets_generator.rb
|
153
162
|
- lib/generators/lolita_menu/install_generator.rb
|
154
163
|
- lib/generators/lolita_menu/templates/lolita-menu-urls.rb
|
155
164
|
- lib/generators/lolita_menu/templates/migrations/create_menu_items.rb
|
@@ -163,27 +172,6 @@ files:
|
|
163
172
|
- lib/lolita-menu/railtie.rb
|
164
173
|
- lib/tasks/lolita-menu.rake
|
165
174
|
- lolita-menu.gemspec
|
166
|
-
- public/images/lolita-menu/delete.png
|
167
|
-
- public/images/lolita-menu/move.png
|
168
|
-
- public/javascripts/autocomplete-rails.js
|
169
|
-
- public/javascripts/jquery-ui-nested-sortables.js
|
170
|
-
- public/javascripts/lolita/menu-items.js
|
171
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png
|
172
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_0_eeeeee_40x100.png
|
173
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_c0402a_40x100.png
|
174
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_flat_55_eeeeee_40x100.png
|
175
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png
|
176
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_glass_35_dddddd_1x400.png
|
177
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_glass_60_eeeeee_1x400.png
|
178
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_inset-hard_75_999999_1x100.png
|
179
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png
|
180
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-icons_3383bb_256x240.png
|
181
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-icons_454545_256x240.png
|
182
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-icons_70b2e1_256x240.png
|
183
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-icons_999999_256x240.png
|
184
|
-
- public/stylesheets/jquery-ui/overcast/images/ui-icons_fbc856_256x240.png
|
185
|
-
- public/stylesheets/jquery-ui/overcast/jquery-ui-1.8.16.custom.css
|
186
|
-
- public/stylesheets/lolita/menu/style.css
|
187
175
|
- spec/controllers/menu_items_controller_spec.rb
|
188
176
|
- spec/models/menu_item_spec.rb
|
189
177
|
- spec/models/menu_spec.rb
|
@@ -210,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
198
|
version: '0'
|
211
199
|
segments:
|
212
200
|
- 0
|
213
|
-
hash:
|
201
|
+
hash: -1058457811
|
214
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
203
|
none: false
|
216
204
|
requirements:
|
@@ -219,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
207
|
version: '0'
|
220
208
|
requirements: []
|
221
209
|
rubyforge_project:
|
222
|
-
rubygems_version: 1.8.
|
210
|
+
rubygems_version: 1.8.10
|
223
211
|
signing_key:
|
224
212
|
specification_version: 3
|
225
213
|
summary: Menu managing plugin for Lolita.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'generators/helpers/file_helper'
|
2
|
-
module LolitaMenu
|
3
|
-
module Generators
|
4
|
-
class AssetsGenerator < Rails::Generators::Base
|
5
|
-
include Lolita::Generators::FileHelper
|
6
|
-
desc "Copy all from public directory to project public directory."
|
7
|
-
def copy_all
|
8
|
-
root=File.expand_path("../../../../",__FILE__)
|
9
|
-
copy_dir("public",:root=>root)
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|