rails_admin_nestable 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rails_admin_nestable/nestable.rb +1 -1
- data/lib/rails_admin_nestable/version.rb +1 -1
- metadata +18 -7
- checksums.yaml +0 -15
@@ -77,7 +77,7 @@ module RailsAdmin
|
|
77
77
|
end
|
78
78
|
|
79
79
|
if @nestable_conf.list?
|
80
|
-
@tree_nodes = @abstract_model.
|
80
|
+
@tree_nodes = @abstract_model.model.order(@nestable_conf.options[:position_field])
|
81
81
|
end
|
82
82
|
|
83
83
|
render action: @action.template_name
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_nestable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Andrea Dal Ponte
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rails_admin
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: haml-rails
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: coffee-rails
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: sass-rails
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -107,26 +118,26 @@ files:
|
|
107
118
|
- README.md
|
108
119
|
homepage: https://github.com/dalpo/rails_admin_nestable
|
109
120
|
licenses: []
|
110
|
-
metadata: {}
|
111
121
|
post_install_message:
|
112
122
|
rdoc_options: []
|
113
123
|
require_paths:
|
114
124
|
- lib
|
115
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
116
127
|
requirements:
|
117
128
|
- - ! '>='
|
118
129
|
- !ruby/object:Gem::Version
|
119
130
|
version: '0'
|
120
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
121
133
|
requirements:
|
122
134
|
- - ! '>='
|
123
135
|
- !ruby/object:Gem::Version
|
124
136
|
version: '0'
|
125
137
|
requirements: []
|
126
138
|
rubyforge_project:
|
127
|
-
rubygems_version:
|
139
|
+
rubygems_version: 1.8.25
|
128
140
|
signing_key:
|
129
|
-
specification_version:
|
130
|
-
summary:
|
131
|
-
custom action
|
141
|
+
specification_version: 3
|
142
|
+
summary: Reorganise model data with a drag and drop tree/list structure
|
132
143
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
ODA0NmI1YTJhYjM3NmI4ZTFmOWE0ODliZWU1YTAyYWU5MjFkODQ5Mw==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NjUwYTc0OTZiNjVmMDVjMTllYjVjNGVmZjA4YmE0ZWMxMTdmZWEyMQ==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
YTM2MDFmMTkzZGVlNDExMDJhNjM0Zjk2N2U2OTFlOWM1MWNmODFkOTYxYmNl
|
10
|
-
YmViN2Y5NGUxOTkzNDNjYzk1MjY1NGIwYjRiMDRjNzcyYjk5ODI5N2JhN2Jl
|
11
|
-
MDU3ZDVhNGQyN2RkNWFkMTlmMzc1MTAxYjdlZGE1MWQzNzNlZTM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OGIxYTVlMjE1M2Y1NTg3ZjdlYzYwZmMzMjc3ZWYyOTQ2NGYzOGYxMmRlNmNl
|
14
|
-
ODBhZjViMGFhODI1ODU1OTM4NmIwMmRiYjZlODUzODMxZWQ3NTk0ZWRhNDcx
|
15
|
-
MDFkNjVhZGI5ZDU1MTI5MWU3OGUwMjMzMGY5ODFkODA4MjY3MDc=
|