rails_admin_nested_set 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,5 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
-
19
18
  .idea
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in nested_set_ui.gemspec
3
+ # Specify your gem's dependencies in rails_admin_nested_set.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # NestedSetUi
1
+ # RailsAdminNestedSet
2
2
 
3
- TODO: Write a gem description
3
+ It looks and feels exactly like https://github.com/dalpo/rails_admin_nestable but uses jquery Nested Sortable and awesome_nested_set instead of Nestable and Ancestry.
4
4
 
5
5
  ## Installation
6
6
 
@@ -39,15 +39,15 @@ Add the nested_set action for each model or only for models you need
39
39
  end
40
40
  end
41
41
 
42
- In model config:
42
+ In model:
43
43
 
44
- rails_admin do
44
+ acts_as_nested_set
45
+ rails_admin do
45
46
  ...
46
-
47
47
  nested_set({
48
48
  max_depth: 1
49
49
  })
50
- end
50
+ end
51
51
 
52
52
  ## Contributing
53
53
 
@@ -62,4 +62,11 @@ In model config:
62
62
  Some ideas and code for this gem are taken from:
63
63
 
64
64
  https://github.com/dalpo/rails_admin_nestable (MIT license)
65
- https://github.com/the-teacher/the_sortable_tree (MIT license)
65
+
66
+ https://github.com/the-teacher/the_sortable_tree (MIT license)
67
+
68
+ ## License
69
+
70
+ (c) 2013 http://rocketscience.pro
71
+
72
+ MIT license
@@ -58,6 +58,7 @@
58
58
  border-radius: 3px;
59
59
  box-sizing: border-box;
60
60
  -moz-box-sizing: border-box;
61
+ cursor: move;
61
62
  }
62
63
 
63
64
  .dd-handle:hover {
@@ -1,3 +1,3 @@
1
1
  module RailsAdminNestedSet
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_nested_set
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: