activerecord-sortable 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/activerecord/sortable/version.rb +1 -1
- data/lib/assets/javascripts/sortable.js +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e8757e6984ea1752ec8c4d7a7733d8a91d5cbf1
|
|
4
|
+
data.tar.gz: fca8f3f37138214810b5059b76c220f9cee6e50c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0072de50fd6785cdfe84bd279ffa058c1a37e78c45a22a110de08bb4202e55f0f2791b84696d9eede6cd634a69e0f66d5ce9f10ca025cd372ae1a9952f3efdf2
|
|
7
|
+
data.tar.gz: 9965e2a6a0b00502f6c7598f74d1dfba55f0c1ebc7335aa661a1c28c812d423b32877c017c21f8e062517da939aae567c01b71fa1c4194d9f2824256e0a61df0
|
|
@@ -119,11 +119,11 @@
|
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
$.fn.activerecord_sortable = function() {
|
|
122
|
+
$.fn.activerecord_sortable = function(options) {
|
|
123
123
|
var target = $(this);
|
|
124
124
|
target.each(function(){
|
|
125
125
|
var self = $(this);
|
|
126
|
-
var sortable_instance = new Sortable(self);
|
|
126
|
+
var sortable_instance = new Sortable(self, options);
|
|
127
127
|
|
|
128
128
|
self.data('sortable-instance', sortable_instance);
|
|
129
129
|
});
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-sortable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandr Borisov
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capybara
|