the_sortable_tree 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +11 -3
  2. data/lib/the_sortable_tree/version.rb +1 -1
  3. metadata +86 -54
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ### TheSortableTree
2
2
 
3
- Engine Based Drag&Drop GUI for awesome_nested_set gem. Rails 3+
3
+ Engine Based Drag&Drop GUI for awesome_nested_set gem. **Rails >= 3.1**
4
4
 
5
5
  School teacher came to help! TaDa! ;)
6
6
 
@@ -23,6 +23,16 @@ School teacher came to help! TaDa! ;)
23
23
  * Nested sets with expand/collapse animation (**expand** option) [under development]
24
24
  * Nested comments (**comments** option) [under development]
25
25
 
26
+ ### Can I use gem with Rails 2 or Rails 3.0?
27
+
28
+ Take files from the gem and put it in your rails 2 application.
29
+
30
+ View helper and view files does not depend on the version of rails.
31
+
32
+ Copy and Paste rebuild function from TheSortableTreeController.
33
+
34
+ Perhaps, you may have to slightly change the function of the controller.
35
+
26
36
  ### Is it fast?
27
37
 
28
38
  Hmmmm...
@@ -67,8 +77,6 @@ bundle
67
77
 
68
78
  **path** - path to custom view partials (:path => 'pages/the_sortable_tree')
69
79
 
70
- **title** - title field of node (:title => :name etc. **:title** by default)
71
-
72
80
  **max_levels** - how many draggable levels can be? (**3** by default). **Can't be 0 (zero) and negative**
73
81
 
74
82
  **namespace** - namespace for admin sections for example. (:namespace => :admin, **:namespace** => nil by default)
@@ -1,3 +1,3 @@
1
1
  module TheSortableTree
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,68 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: the_sortable_tree
3
- version: !ruby/object:Gem::Version
4
- version: 1.7.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 9
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 7
9
+ - 1
10
+ version: 1.7.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Ilya N. Zykin, Matthew Clark, Mikhail Dieterle
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-02-06 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-02-09 00:00:00 +04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: rails
16
- requirement: &76162850 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '3.2'
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 5
30
+ segments:
31
+ - 3
32
+ - 1
33
+ version: "3.1"
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *76162850
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: sqlite3
27
- requirement: &76162580 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
28
40
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
33
48
  type: :development
34
- prerelease: false
35
- version_requirements: *76162580
36
- - !ruby/object:Gem::Dependency
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
37
51
  name: rspec
38
- requirement: &76162260 !ruby/object:Gem::Requirement
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
39
54
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
44
62
  type: :development
45
- prerelease: false
46
- version_requirements: *76162260
47
- - !ruby/object:Gem::Dependency
63
+ version_requirements: *id003
64
+ - !ruby/object:Gem::Dependency
48
65
  name: rspec-rails
49
- requirement: &76161980 !ruby/object:Gem::Requirement
66
+ prerelease: false
67
+ requirement: &id004 !ruby/object:Gem::Requirement
50
68
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
55
76
  type: :development
56
- prerelease: false
57
- version_requirements: *76161980
77
+ version_requirements: *id004
58
78
  description: Drag&Drop GUI helper for awesome_nested_set gem. Sortable tree view helper
59
- email:
79
+ email:
60
80
  - zykin-ilya@ya.ru
61
81
  executables: []
82
+
62
83
  extensions: []
63
- extra_rdoc_files:
84
+
85
+ extra_rdoc_files:
64
86
  - README.md
65
- files:
87
+ files:
66
88
  - app/controllers/the_sortable_tree_controller.rb
67
89
  - app/assets/images/iconza/red/edit.png
68
90
  - app/assets/images/iconza/red/down.png
@@ -146,31 +168,41 @@ files:
146
168
  - spec/dummy/app/assets/javascripts/application.js
147
169
  - spec/dummy/app/views/layouts/application.html.erb
148
170
  - spec/dummy/script/rails
171
+ has_rdoc: true
149
172
  homepage: https://github.com/the-teacher/the_sortable_tree
150
173
  licenses: []
174
+
151
175
  post_install_message:
152
176
  rdoc_options: []
153
- require_paths:
177
+
178
+ require_paths:
154
179
  - lib
155
- required_ruby_version: !ruby/object:Gem::Requirement
180
+ required_ruby_version: !ruby/object:Gem::Requirement
156
181
  none: false
157
- requirements:
158
- - - ! '>='
159
- - !ruby/object:Gem::Version
160
- version: '0'
161
- required_rubygems_version: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ hash: 3
186
+ segments:
187
+ - 0
188
+ version: "0"
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
190
  none: false
163
- requirements:
164
- - - ! '>='
165
- - !ruby/object:Gem::Version
166
- version: '0'
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ hash: 3
195
+ segments:
196
+ - 0
197
+ version: "0"
167
198
  requirements: []
199
+
168
200
  rubyforge_project: the_sortable_tree
169
- rubygems_version: 1.8.10
201
+ rubygems_version: 1.6.2
170
202
  signing_key:
171
203
  specification_version: 3
172
204
  summary: Drag&Drop GUI helper for awesome_nested_set gem. Sortable tree view helper
173
- test_files:
205
+ test_files:
174
206
  - spec/controlllers/controller_mixin_spec.rb
175
207
  - spec/spec_helper.rb
176
208
  - spec/dummy/README.rdoc