effective_datatables 4.7.12 → 4.7.13

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
  SHA256:
3
- metadata.gz: 452c8f677d3c5bf3d13360ccbc6f07bc6b8b96094aa915335ff34664a73c822b
4
- data.tar.gz: 27475acf95917691cdced0a5e66729e6b3c565660c2ad8abe8c8fd51c16f003f
3
+ metadata.gz: 394352b61c82c616b3b35bf1587edab9ba4e7b2c020a014d7d3150d3759a2cba
4
+ data.tar.gz: c2e423ccfcd097260519fc3b7d30b1c1ca0cc0296e4f15cefae4dce6a1590430
5
5
  SHA512:
6
- metadata.gz: fd8cb79fe5110017e986d900012645ed88332621151600ac729a3649a550306c186e048bbd82b6225162d96b8a51c347af464c5a6c1ef0baacfb6eef621d9504
7
- data.tar.gz: 4f88fa6decede1df56dec6deb1bc5e31ce7430913d37e24ab29f63f6eafa8ac7319f6e0edf27cf2f5986b29a0ce1523bf816a92ba83438ebb5bb20377ef9c41b
6
+ metadata.gz: b36bf11202e78c0393941f0dd2ae94fcb07542251cd82a61acb7120e7482ee25f9129ed4b30b2662a05e5cca7a3b7f17e986a62cbc2524ed5850c305273eba24
7
+ data.tar.gz: 07c6383758a4d352f38a28db9f8cb79fb668fd84a20788ebbca054615865b8c8d71162d258bb98920d660ff1f97d4868775fda1f64b3d06a98e3cae364c053e8
@@ -79,7 +79,8 @@ module EffectiveDatatables
79
79
  end
80
80
 
81
81
  def self.message_encrypter
82
- ActiveSupport::MessageEncryptor.new(Rails.application.secret_key_base.to_s.first(32))
82
+ key = (Rails.application.secrets.secret_key_base rescue nil) || self.hash
83
+ ActiveSupport::MessageEncryptor.new(key.to_s.first(32))
83
84
  end
84
85
 
85
86
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.7.12'.freeze
2
+ VERSION = '4.7.13'.freeze
3
3
  end
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.12
4
+ version: 4.7.13
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-08-15 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails