menu-motion 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/menu-motion/menu_item.rb +2 -0
- data/lib/menu-motion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfed8ad6de37108f7abdf1d5d8df3f671ac41435
|
4
|
+
data.tar.gz: 1be5e6cd8173a899840260ae5121ff5647269b8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59346b784c03c5ee2ed57679f5c2e6ca2d1d3494a8be1f91bb9b71e325abbec52012133d04a41c0d425f343d4281d24df8434f97b3570a0bfa3b2367a7b50bd4
|
7
|
+
data.tar.gz: 2ad91cc6d1c059926ec64615b7e33a21bff1eb6597fc42c6250f6f4ef9eeb8f421259c9486a7754ef857942d421e102b1c8f14f019847c1b9a6dd030cd3df108
|
@@ -93,11 +93,13 @@ module MenuMotion
|
|
93
93
|
def set_submenu_from_params(params)
|
94
94
|
if params[:sections]
|
95
95
|
submenu = MenuMotion::Menu.new({
|
96
|
+
title: self.title,
|
96
97
|
sections: params[:sections]
|
97
98
|
}, self.root_menu)
|
98
99
|
self.setSubmenu(submenu)
|
99
100
|
elsif params[:rows]
|
100
101
|
submenu = MenuMotion::Menu.new({
|
102
|
+
title: self.title,
|
101
103
|
rows: params[:rows]
|
102
104
|
}, self.root_menu)
|
103
105
|
self.setSubmenu(submenu)
|
data/lib/menu-motion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: menu-motion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Pattison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|