noodall-ui 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +4 -4
- data/app/helpers/noodall/nodes_helper.rb +3 -3
- data/demo/initializers/noodall.rb +2 -0
- data/lib/noodall/ui/version.rb +1 -1
- metadata +14 -14
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
noodall-ui (0.0.
|
4
|
+
noodall-ui (0.0.20)
|
5
5
|
dynamic_form
|
6
6
|
noodall-core
|
7
7
|
thoughtbot-sortable_table (= 0.0.6)
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
selenium-webdriver (>= 0.0.27)
|
53
53
|
xpath (~> 0.1.2)
|
54
54
|
celerity (0.8.6)
|
55
|
-
childprocess (0.1.
|
55
|
+
childprocess (0.1.6)
|
56
56
|
ffi (~> 0.6.3)
|
57
57
|
configuration (1.2.0)
|
58
58
|
cucumber (0.10.0)
|
@@ -158,8 +158,8 @@ GEM
|
|
158
158
|
rubyforge (2.0.4)
|
159
159
|
json_pure (>= 1.1.7)
|
160
160
|
rubyzip (0.9.4)
|
161
|
-
selenium-webdriver (0.1.
|
162
|
-
childprocess (
|
161
|
+
selenium-webdriver (0.1.2)
|
162
|
+
childprocess (~> 0.1.5)
|
163
163
|
ffi (~> 0.6.3)
|
164
164
|
json_pure
|
165
165
|
rubyzip
|
@@ -17,10 +17,10 @@ module Noodall
|
|
17
17
|
# only recurse if there is no limit and the limit has not been exceeded and if there are child nodes
|
18
18
|
if (level_limit.zero? || level_limit > n.path.count) && !tree[n.id.to_s].nil?
|
19
19
|
class_name = " has-children"
|
20
|
-
content += list_children(tree, n, id_prefix, level_limit)
|
20
|
+
content += list_children(tree, n, id_prefix, level_limit)
|
21
21
|
end
|
22
|
-
content_tag('li', content, {:id => "nav-#{n.permalink.join('-')}", :class => class_name})
|
23
|
-
end.join
|
22
|
+
content_tag('li', content, {:id => "nav-#{n.permalink.join('-')}", :class => class_name})
|
23
|
+
end.join.html_safe
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
data/lib/noodall/ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noodall-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 20
|
10
|
+
version: 0.0.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|
@@ -15,11 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-22 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
@@ -28,12 +28,12 @@ dependencies:
|
|
28
28
|
segments:
|
29
29
|
- 0
|
30
30
|
version: "0"
|
31
|
+
requirement: *id001
|
31
32
|
type: :runtime
|
32
33
|
name: noodall-core
|
33
34
|
prerelease: false
|
34
|
-
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
37
|
none: false
|
38
38
|
requirements:
|
39
39
|
- - "="
|
@@ -44,12 +44,12 @@ dependencies:
|
|
44
44
|
- 0
|
45
45
|
- 6
|
46
46
|
version: 0.0.6
|
47
|
+
requirement: *id002
|
47
48
|
type: :runtime
|
48
49
|
name: thoughtbot-sortable_table
|
49
50
|
prerelease: false
|
50
|
-
version_requirements: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
52
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
@@ -60,12 +60,12 @@ dependencies:
|
|
60
60
|
- 0
|
61
61
|
- pre2
|
62
62
|
version: 3.0.pre2
|
63
|
+
requirement: *id003
|
63
64
|
type: :runtime
|
64
65
|
name: will_paginate
|
65
66
|
prerelease: false
|
66
|
-
version_requirements: *id003
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
|
-
|
68
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
69
|
none: false
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
@@ -74,12 +74,12 @@ dependencies:
|
|
74
74
|
segments:
|
75
75
|
- 0
|
76
76
|
version: "0"
|
77
|
+
requirement: *id004
|
77
78
|
type: :runtime
|
78
79
|
name: dynamic_form
|
79
80
|
prerelease: false
|
80
|
-
version_requirements: *id004
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
|
-
|
82
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
@@ -90,10 +90,10 @@ dependencies:
|
|
90
90
|
- 0
|
91
91
|
- 0
|
92
92
|
version: 1.0.0
|
93
|
+
requirement: *id005
|
93
94
|
type: :development
|
94
95
|
name: bundler
|
95
96
|
prerelease: false
|
96
|
-
version_requirements: *id005
|
97
97
|
description: Noodall Rails User Interface Engine. Requires Noodall Core
|
98
98
|
email:
|
99
99
|
- steve@wearebeef.co.uk
|