effective_datatables 4.3.15 → 4.3.16
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: c1e0d736530c49db08a1225fbd9b22fb81835954
|
4
|
+
data.tar.gz: fb32aada4f2a0d1f1e7b9eee2e3ec5e5df83b84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e332db2d3c60d61b588ce33928a251f4f6841907f6dad4429cb6b818e0f996ebb8864e51742e389989643ee1c6d78875d5776d736f58d1e7ad147b184b9d835
|
7
|
+
data.tar.gz: 8066adcb2185255489a045f6cfbfc69ff87b5f172b9914dc2692ee4b00ec9b3ffae35fcc240bc14a9964c449b9d365a780cc8ed301d4c87c712a8af61182404f
|
@@ -1,7 +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
4
|
|
6
5
|
def cookie
|
7
6
|
@cookie
|
@@ -53,7 +52,7 @@ module Effective
|
|
53
52
|
@dt_cookie ||= []
|
54
53
|
@dt_cookie << [cookie_key, cookie_payload]
|
55
54
|
|
56
|
-
while @dt_cookie.to_s.size >
|
55
|
+
while @dt_cookie.to_s.size > EffectiveDatatables.max_cookie_size.to_i
|
57
56
|
@dt_cookie.shift((@dt_cookie.length / 3) + 1)
|
58
57
|
end
|
59
58
|
|
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: 4.3.
|
4
|
+
version: 4.3.16
|
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-12-
|
11
|
+
date: 2018-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|