active_scaffold_sortable 3.2.8 → 3.2.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,13 @@ ActiveScaffold.update_positions = function(content) {
|
|
6
6
|
});
|
7
7
|
}
|
8
8
|
ActiveScaffold.sortable = function(element) {
|
9
|
-
var
|
9
|
+
var fixHelper = function(e, ui) {
|
10
|
+
ui.find('*').each(function() {
|
11
|
+
$(this).width($(this).width());
|
12
|
+
});
|
13
|
+
return ui;
|
14
|
+
};
|
15
|
+
var form, content, sortable_options = {containment: 'parent', tolerance: 'pointer', forcePlaceholderSize: true, placeholder: 'sortable-highlight', helper: fixHelper};
|
10
16
|
if (typeof(element) == 'string') {
|
11
17
|
content = jQuery('#' + element);
|
12
18
|
element = content.closest('.sortable-container');
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold_sortable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 2
|
9
|
+
- 9
|
10
|
+
version: 3.2.9
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Sergio Cambra
|
@@ -10,47 +16,70 @@ autorequire:
|
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
18
|
|
13
|
-
date: 2014-08-
|
19
|
+
date: 2014-08-26 00:00:00 Z
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
type: :development
|
16
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
17
25
|
requirements:
|
18
|
-
-
|
19
|
-
- ">="
|
26
|
+
- - ">="
|
20
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
21
31
|
version: "0"
|
22
32
|
version_requirements: *id001
|
23
|
-
prerelease: false
|
24
|
-
type: :development
|
25
33
|
name: shoulda
|
34
|
+
prerelease: false
|
26
35
|
- !ruby/object:Gem::Dependency
|
36
|
+
type: :development
|
27
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
28
39
|
requirements:
|
29
40
|
- - ~>
|
30
41
|
- !ruby/object:Gem::Version
|
42
|
+
hash: 23
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 0
|
46
|
+
- 0
|
31
47
|
version: 1.0.0
|
32
48
|
version_requirements: *id002
|
33
|
-
prerelease: false
|
34
|
-
type: :development
|
35
49
|
name: bundler
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- *id003
|
40
|
-
version_requirements: *id004
|
41
50
|
prerelease: false
|
51
|
+
- !ruby/object:Gem::Dependency
|
42
52
|
type: :development
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
version_requirements: *id003
|
43
63
|
name: rcov
|
64
|
+
prerelease: false
|
44
65
|
- !ruby/object:Gem::Dependency
|
45
|
-
|
66
|
+
type: :runtime
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
46
69
|
requirements:
|
47
70
|
- - ">="
|
48
71
|
- !ruby/object:Gem::Version
|
72
|
+
hash: 2224656299
|
73
|
+
segments:
|
74
|
+
- 3
|
75
|
+
- 3
|
76
|
+
- 0
|
77
|
+
- rc
|
78
|
+
- 3
|
49
79
|
version: 3.3.0.rc3
|
50
|
-
version_requirements: *
|
51
|
-
prerelease: false
|
52
|
-
type: :runtime
|
80
|
+
version_requirements: *id004
|
53
81
|
name: active_scaffold
|
82
|
+
prerelease: false
|
54
83
|
description: Sort Tree or List Structures by Drag n Drop
|
55
84
|
email: activescaffold@googlegroups.com
|
56
85
|
executables: []
|
@@ -104,25 +133,35 @@ files:
|
|
104
133
|
homepage: http://github.com/activescaffold/active_scaffold_sortable
|
105
134
|
licenses:
|
106
135
|
- MIT
|
107
|
-
metadata: {}
|
108
|
-
|
109
136
|
post_install_message:
|
110
137
|
rdoc_options: []
|
111
138
|
|
112
139
|
require_paths:
|
113
140
|
- lib
|
114
141
|
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
115
143
|
requirements:
|
116
|
-
-
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
hash: 3
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
version: "0"
|
117
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
118
152
|
requirements:
|
119
|
-
-
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
hash: 3
|
156
|
+
segments:
|
157
|
+
- 0
|
158
|
+
version: "0"
|
120
159
|
requirements: []
|
121
160
|
|
122
161
|
rubyforge_project:
|
123
|
-
rubygems_version:
|
162
|
+
rubygems_version: 1.8.29
|
124
163
|
signing_key:
|
125
|
-
specification_version:
|
164
|
+
specification_version: 3
|
126
165
|
summary: Drag n Drop Sorting for Activescaffold
|
127
166
|
test_files:
|
128
167
|
- test/auto_models_controller_test.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
data.tar.gz: b6e95fe76b8afab66ef2d7757d7700d84f3897ce
|
4
|
-
metadata.gz: 33520bd2150439e84f1c6b39663daefee9d39b94
|
5
|
-
SHA512:
|
6
|
-
data.tar.gz: cc76b9043fd007ad701119cf98965615bf43615a9c613d4b5d1ba8dfa2759edff86b2e84722390061a58deb637a58b8185304b2455c4360c33e945aad1542b57
|
7
|
-
metadata.gz: ef174deab0813e54cdba4367d06f56be6197265585dc3b4ce88846102ec23def70f6b98ac01457b1fb23595a71b18002555de069d546a5df70267372c8ff59c1
|