effective_datatables 3.5.2 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3813562b9c177a651b008fd0781a94515ace3f66
|
4
|
+
data.tar.gz: 460a5d7a7c517f5bb866961c17a24253eeaa8833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 180762a057ac6273feae00328a5567e8d440d6df57e366bc39c3608de76718d190b54c9cdafdfbd1f31f164a4b7d03c9dca6d42a3ae448d48f6c0de8bbadb83b
|
7
|
+
data.tar.gz: 292532e3113a6c099995ec30b0f7aa920e84e7833208c3eaaed9e524f3cc6d6314fde55bae23d402b2f36a6a0b577c20360fa2b1ea29db6657ecc8f63bdac738
|
@@ -1,8 +1,6 @@
|
|
1
1
|
module Effective
|
2
2
|
module EffectiveDatatable
|
3
3
|
module Cookie
|
4
|
-
MAX_COOKIE_SIZE = 2000 # String size. Real byte size is about 1.5 times bigger.
|
5
|
-
|
6
4
|
def cookie
|
7
5
|
@cookie
|
8
6
|
end
|
@@ -45,7 +43,7 @@ module Effective
|
|
45
43
|
@dt_cookie ||= []
|
46
44
|
@dt_cookie << [cookie_key, cookie_payload]
|
47
45
|
|
48
|
-
while @dt_cookie.to_s.size >
|
46
|
+
while @dt_cookie.to_s.size > EffectiveDatatables.max_cookie_size.to_i
|
49
47
|
@dt_cookie.shift((@dt_cookie.length / 3) + 1)
|
50
48
|
end
|
51
49
|
|
data/lib/effective_datatables.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|