active_admin-awesome_nested_set 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f950106705d5fca213945db645f68dce139498bb
4
+ data.tar.gz: 03a0e670450faadcda7fc888f67a4858dccc72c9
5
+ SHA512:
6
+ metadata.gz: b71114c6b8a623d679ecc35d037f42a8714166ec845cc75fd173f67e3e710d69b2d500bb8b6c684af9b6101ef455a8e9e51192e8ebc9c0e93fb016bb254b4b8c
7
+ data.tar.gz: f06dc74523a37e9b408f37d3003986590251b626cd0976c71a4a9e7788a5ae2848295a4f40bbd21c9b253c3ddd4b29c9d5f7491e7bdbd3a60bce07990f88f767
data/README.rdoc CHANGED
@@ -31,7 +31,7 @@ Install your bundle:
31
31
 
32
32
  = Usage
33
33
 
34
- Assuming you have a Players model:
34
+ Assuming you have a Category model:
35
35
 
36
36
  class Category < ActiveRecord::Base
37
37
  # awesome nested set
@@ -1,9 +1,9 @@
1
1
  de:
2
2
  awesome_nested_set:
3
- moved_to_top: "%{resource} an die erste Position verschoben"
3
+ moved_to_top: "%{resource} an die erste Position verschoben"
4
4
  moved_up: "%{resource} nach oben verschoben"
5
5
  moved_down: "%{resource} nach unten verschoben"
6
- moved_to_bottom: "%{resource} an die letzte Position verschoben"
6
+ moved_to_bottom: "%{resource} an die letzte Position verschoben"
7
7
  illegal_move_to_top: "Konnte %{resource} nicht n die erste Position verschieben"
8
8
  illegal_move_up: "Konnte %{resource} nicht nach oben verschieben"
9
9
  illegal_move_down: "Konnte %{resource} nicht nach unten verschieben"
@@ -0,0 +1,10 @@
1
+ en:
2
+ awesome_nested_set:
3
+ moved_to_top: "%{resource} shifted to the first position"
4
+ moved_up: "%{resource} shifted upward"
5
+ moved_down: "%{resource} shifted downward"
6
+ moved_to_bottom: "%{resource} moved to the last position"
7
+ illegal_move_to_top: "%{resource} could not be moved to the first position"
8
+ illegal_move_up: "%{resource} could not be moved upward"
9
+ illegal_move_down: "%{resource} could not be moved downward"
10
+ illegal_move_to_bottom: "%{resource} could not be moved to the last position"
@@ -47,10 +47,10 @@ module ActiveAdmin
47
47
  # end
48
48
  def sortable_tree_columns
49
49
  column "&#9650;".html_safe do |resource|
50
- link_to("&#9650;".html_safe, self.send(:"move_up_admin_#{resource.class.model_name.underscore.gsub("/", "_")}_path", resource), :class => "arrow") if resource.left_sibling
50
+ link_to("&#9650;".html_safe, self.send(:"move_up_admin_#{resource.class.model_name.to_s.underscore.gsub("/", "_")}_path", resource), :class => "arrow") if resource.left_sibling
51
51
  end
52
52
  column "&#9660;".html_safe do |resource|
53
- link_to("&#9660;".html_safe, self.send(:"move_down_admin_#{resource.class.model_name.underscore.gsub("/", "_")}_path", resource), :class => "arrow") if resource.right_sibling
53
+ link_to("&#9660;".html_safe, self.send(:"move_down_admin_#{resource.class.model_name.to_s.underscore.gsub("/", "_")}_path", resource), :class => "arrow") if resource.right_sibling
54
54
  end
55
55
  end
56
56
 
@@ -1,6 +1,6 @@
1
1
  module ActiveAdmin
2
2
  module AwesomeNestedSet
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,288 +1,270 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: active_admin-awesome_nested_set
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 5
10
- version: 0.0.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Roberto Vasquez Angel
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-04-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: rails
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 3
31
- - 2
32
- - 5
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
33
19
  version: 3.2.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
34
23
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: thin
38
24
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.5
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: thin
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
42
37
  - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
48
40
  type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: sqlite3
52
41
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
56
44
  - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: sqlite3
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
62
54
  type: :development
63
- version_requirements: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: yard
66
55
  prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: yard
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
70
65
  - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
76
68
  type: :development
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: activeadmin
80
69
  prerelease: false
81
- requirement: &id005 !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: activeadmin
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
84
79
  - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
90
82
  type: :development
91
- version_requirements: *id005
92
- - !ruby/object:Gem::Dependency
93
- name: awesome_nested_set
94
83
  prerelease: false
95
- requirement: &id006 !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: awesome_nested_set
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
98
93
  - - ">="
99
- - !ruby/object:Gem::Version
100
- hash: 3
101
- segments:
102
- - 0
103
- version: "0"
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
104
96
  type: :development
105
- version_requirements: *id006
106
- - !ruby/object:Gem::Dependency
107
- name: coffee-rails
108
97
  prerelease: false
109
- requirement: &id007 !ruby/object:Gem::Requirement
110
- none: false
111
- requirements:
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
112
100
  - - ">="
113
- - !ruby/object:Gem::Version
114
- hash: 3
115
- segments:
116
- - 0
117
- version: "0"
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: coffee-rails
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
118
110
  type: :development
119
- version_requirements: *id007
120
- - !ruby/object:Gem::Dependency
121
- name: sass-rails
122
111
  prerelease: false
123
- requirement: &id008 !ruby/object:Gem::Requirement
124
- none: false
125
- requirements:
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
126
114
  - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 3
129
- segments:
130
- - 0
131
- version: "0"
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: sass-rails
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
132
124
  type: :development
133
- version_requirements: *id008
134
- - !ruby/object:Gem::Dependency
135
- name: capybara
136
125
  prerelease: false
137
- requirement: &id009 !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
140
128
  - - ">="
141
- - !ruby/object:Gem::Version
142
- hash: 3
143
- segments:
144
- - 0
145
- version: "0"
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: capybara
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
146
138
  type: :development
147
- version_requirements: *id009
148
- - !ruby/object:Gem::Dependency
149
- name: rspec-rails
150
139
  prerelease: false
151
- requirement: &id010 !ruby/object:Gem::Requirement
152
- none: false
153
- requirements:
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
154
142
  - - ">="
155
- - !ruby/object:Gem::Version
156
- hash: 3
157
- segments:
158
- - 0
159
- version: "0"
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: rspec-rails
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
160
152
  type: :development
161
- version_requirements: *id010
162
- - !ruby/object:Gem::Dependency
163
- name: shoulda-matchers
164
153
  prerelease: false
165
- requirement: &id011 !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ - !ruby/object:Gem::Dependency
160
+ name: shoulda-matchers
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
168
163
  - - ">="
169
- - !ruby/object:Gem::Version
170
- hash: 3
171
- segments:
172
- - 0
173
- version: "0"
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
174
166
  type: :development
175
- version_requirements: *id011
176
- - !ruby/object:Gem::Dependency
177
- name: factory_girl_rails
178
167
  prerelease: false
179
- requirement: &id012 !ruby/object:Gem::Requirement
180
- none: false
181
- requirements:
182
- - - ~>
183
- - !ruby/object:Gem::Version
184
- hash: 15
185
- segments:
186
- - 1
187
- - 0
188
- version: "1.0"
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: factory_girl_rails
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '1.0'
189
180
  type: :development
190
- version_requirements: *id012
191
- - !ruby/object:Gem::Dependency
192
- name: guard-rspec
193
181
  prerelease: false
194
- requirement: &id013 !ruby/object:Gem::Requirement
195
- none: false
196
- requirements:
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: guard-rspec
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
197
191
  - - ">="
198
- - !ruby/object:Gem::Version
199
- hash: 3
200
- segments:
201
- - 0
202
- version: "0"
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
203
194
  type: :development
204
- version_requirements: *id013
205
- - !ruby/object:Gem::Dependency
206
- name: guard-bundler
207
195
  prerelease: false
208
- requirement: &id014 !ruby/object:Gem::Requirement
209
- none: false
210
- requirements:
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
211
198
  - - ">="
212
- - !ruby/object:Gem::Version
213
- hash: 3
214
- segments:
215
- - 0
216
- version: "0"
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: guard-bundler
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
217
208
  type: :development
218
- version_requirements: *id014
219
- - !ruby/object:Gem::Dependency
220
- name: rb-inotify
221
209
  prerelease: false
222
- requirement: &id015 !ruby/object:Gem::Requirement
223
- none: false
224
- requirements:
225
- - - ~>
226
- - !ruby/object:Gem::Version
227
- hash: 25
228
- segments:
229
- - 0
230
- - 9
231
- version: "0.9"
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: rb-inotify
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - "~>"
220
+ - !ruby/object:Gem::Version
221
+ version: '0.9'
232
222
  type: :development
233
- version_requirements: *id015
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - "~>"
227
+ - !ruby/object:Gem::Version
228
+ version: '0.9'
234
229
  description: Provides sortable_columns helper in active admin resource definitions.
235
- email:
230
+ email:
236
231
  - roberto@vasquez-angel.de
237
232
  executables: []
238
-
239
233
  extensions: []
240
-
241
234
  extra_rdoc_files: []
242
-
243
- files:
235
+ files:
236
+ - MIT-LICENSE
237
+ - README.rdoc
238
+ - Rakefile
244
239
  - config/locales/active_admin-awesome_nested_set.de.yml
245
- - lib/active_admin/views/index_as_nested_set.rb
246
- - lib/active_admin/awesome_nested_set/helper.rb
240
+ - config/locales/active_admin-awesome_nested_set.en.yml
241
+ - lib/active_admin-awesome_nested_set.rb
247
242
  - lib/active_admin/awesome_nested_set/engine.rb
243
+ - lib/active_admin/awesome_nested_set/helper.rb
248
244
  - lib/active_admin/awesome_nested_set/version.rb
245
+ - lib/active_admin/views/index_as_nested_set.rb
249
246
  - lib/tasks/active_admin-awesome_nested_set_tasks.rake
250
- - lib/active_admin-awesome_nested_set.rb
251
- - MIT-LICENSE
252
- - Rakefile
253
- - README.rdoc
254
247
  homepage: https://github.com/robotex82/active_admin-awesome_nested_set
255
248
  licenses: []
256
-
249
+ metadata: {}
257
250
  post_install_message:
258
251
  rdoc_options: []
259
-
260
- require_paths:
252
+ require_paths:
261
253
  - lib
262
- required_ruby_version: !ruby/object:Gem::Requirement
263
- none: false
264
- requirements:
254
+ required_ruby_version: !ruby/object:Gem::Requirement
255
+ requirements:
265
256
  - - ">="
266
- - !ruby/object:Gem::Version
267
- hash: 3
268
- segments:
269
- - 0
270
- version: "0"
271
- required_rubygems_version: !ruby/object:Gem::Requirement
272
- none: false
273
- requirements:
257
+ - !ruby/object:Gem::Version
258
+ version: '0'
259
+ required_rubygems_version: !ruby/object:Gem::Requirement
260
+ requirements:
274
261
  - - ">="
275
- - !ruby/object:Gem::Version
276
- hash: 3
277
- segments:
278
- - 0
279
- version: "0"
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
280
264
  requirements: []
281
-
282
265
  rubyforge_project:
283
- rubygems_version: 1.8.24
266
+ rubygems_version: 2.4.6
284
267
  signing_key:
285
- specification_version: 3
268
+ specification_version: 4
286
269
  summary: Provides sortable_columns helper in active admin resource definitions.
287
270
  test_files: []
288
-