rails_admin_nestable 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/helpers/rails_admin/nestable_helper.rb +0 -1
- data/lib/rails_admin_nestable/helper.rb +2 -2
- data/lib/rails_admin_nestable/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e31f2df747694f08caa2a1d3add9a8aa7c1215de
|
4
|
+
data.tar.gz: f784f494392ff39e911ec591b2975df6587b219b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53721604d3c6f1cf23d716e62cb5d96d31858181c70b9ccc490a5197959371fcd18fea23f3bab06ae38e11a411233394f4567c558ed42e2bbe5f79ac51f895eb
|
7
|
+
data.tar.gz: cfb62e8aa2dd5700b68031b8447b2ab1abe80410c5664238b5ffa0487436b48553dfe294e4802fa22da470c4df66ce2544defd5425ffd8ef858e060e1991fc72
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Sample demo available at: https://github.com/dalpo/rails_admin_nestable_demo
|
|
12
12
|
To enable rails_admin_nestable, add the following to your `Gemfile`:
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
gem 'rails_admin_nestable', '~> 0.
|
15
|
+
gem 'rails_admin_nestable', '~> 0.3.1'
|
16
16
|
```
|
17
17
|
|
18
18
|
Add in your `config/initializers/rails_admin.rb` initializer the configuration:
|
@@ -19,7 +19,7 @@ module RailsAdminNestable
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def action_links(model)
|
22
|
-
content_tag :ul, class: 'inline
|
22
|
+
content_tag :ul, class: 'inline list-inline' do
|
23
23
|
menu_for :member, @abstract_model, model, true
|
24
24
|
end
|
25
25
|
end
|
@@ -28,4 +28,4 @@ module RailsAdminNestable
|
|
28
28
|
@nestable_conf.options[:max_depth] || 'false'
|
29
29
|
end
|
30
30
|
end
|
31
|
-
end
|
31
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_nestable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Dal Ponte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rails_admin
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.6.
|
33
|
+
version: 0.6.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.6.
|
40
|
+
version: 0.6.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: haml-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: RailsAdmin Drag and drop tree view for Ancestry gem with ActiveRecord
|
84
|
-
|
84
|
+
and MongoID
|
85
85
|
email:
|
86
86
|
- info@andreadalponte.com
|
87
87
|
executables: []
|