active_scaffold_sortable 3.2.13 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.textile +3 -2
- data/lib/active_scaffold/actions/sortable.rb +1 -1
- data/lib/active_scaffold_sortable/version.rb +2 -2
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cd0c44502cbcc7967b70dad031314557ade83db
|
4
|
+
data.tar.gz: f392e547939379fc6f1c8452d9d52fbad41889ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b45dafbac1c12df2690fd2e1987b8cd94e7d2c5c918cf3dbf2a3ed40de561d3d6befa3f184fcac58a0c99a911f4477c9c273856ad2f7447a1ba1e3f258cab6d
|
7
|
+
data.tar.gz: b45b7308b54d5ee979160d7c23b8b44ec10c6f82c006113ca5aa82a065d958f113d08cf808c2232cd7e6d62c15551e886e6aaf9f4bdeee94111e175774c9ce7d
|
data/README.textile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
h1. Drag-Drop Sortable for ActiveScaffold
|
2
2
|
|
3
|
-
Currently, this plugin is compatible with rails
|
3
|
+
Currently, this plugin is compatible with rails >= 4.0 and ActiveScaffold >= 3.3 gems.
|
4
|
+
Use 3.2.x for rails 3.x versions.
|
4
5
|
|
5
6
|
h2. Overview
|
6
7
|
|
@@ -8,7 +9,7 @@ This plugin enables those slicker-than-snot ajax drag-drop sortable elements on
|
|
8
9
|
|
9
10
|
h2. Installation
|
10
11
|
|
11
|
-
You'll need at least ActiveScaffold 3.x to use this, and rails
|
12
|
+
You'll need at least ActiveScaffold 3.x to use this, and rails 4.x
|
12
13
|
|
13
14
|
|
14
15
|
<pre>
|
@@ -2,7 +2,7 @@ module ActiveScaffold::Actions
|
|
2
2
|
module Sortable
|
3
3
|
def self.included(base)
|
4
4
|
base.helper ActiveScaffold::Helpers::SortableHelpers
|
5
|
-
base.
|
5
|
+
base.before_action :sortable_authorized?, :only => :reorder
|
6
6
|
base.active_scaffold_config.configure do |config|
|
7
7
|
config.list.pagination = false if config.actions.include? :list
|
8
8
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold_sortable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Cambra
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: active_scaffold
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 3.3.0.rc3
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rails
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '4.0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '4.0'
|
28
42
|
description: Sort Tree or List Structures by Drag n Drop
|
29
43
|
email: activescaffold@googlegroups.com
|
30
44
|
executables: []
|