effective_datatables 4.7.13 → 4.7.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_datatables.rb +4 -1
- data/lib/effective_datatables/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94091a70a1042491590e40c2d5b2200cde3426908ca59855081907b98658dd79
|
4
|
+
data.tar.gz: 7d0d0bbd5e06c3ae7b3bc40bcf753b2650819ac781b3e259e071153cc3807970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19661883fbe1073ac114658bde5b306852260c68b76747ed1481747631b2b45653324412d5cd6709ef4acbc846d16d3005d112e5146ed725f79c4eaeaf949349
|
7
|
+
data.tar.gz: 3104d75439d664981d30cb89ce4d466bf778cc962e737c4a4e51593d5161bcf4d0929fd25161569a6726bce95e88497d76da9aea312a6c91d57a2574a07a44ed
|
data/lib/effective_datatables.rb
CHANGED
@@ -79,7 +79,10 @@ module EffectiveDatatables
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def self.message_encrypter
|
82
|
-
key = (Rails.application.secrets.secret_key_base rescue nil)
|
82
|
+
key = (Rails.application.secrets.secret_key_base.presence rescue nil)
|
83
|
+
key ||= (Rails.application.secret_key_base.presence rescue nil)
|
84
|
+
key ||= 10.times.map { "".hash.to_s }.join
|
85
|
+
|
83
86
|
ActiveSupport::MessageEncryptor.new(key.to_s.first(32))
|
84
87
|
end
|
85
88
|
|
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.7.
|
4
|
+
version: 4.7.14
|
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: 2019-
|
11
|
+
date: 2019-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|