coalescing_panda 5.0.0.beta.1 → 5.0.0.beta.2

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: 04cba708232c8e0c9b6a463672856af29a163ea5c99f3f1f3cc9a25574384e4a
4
- data.tar.gz: 4bf9e5644ef1d4224de236ae57cd966eda287ca1942b8bc6f5350362dc6e2a64
3
+ metadata.gz: b23ff734783865921d2c6b6b1513a444f409a9b3b8e223cdb22181bd6a10b436
4
+ data.tar.gz: cb79054a936298ec5af8ce5fa2c75c852cfca4806349241bec1acb3e1a5d102e
5
5
  SHA512:
6
- metadata.gz: 4d58f85ac65e2bc2374dfa77ded152c6afd0193c46a0c28f0ef19b14270112888d553efdb22d063a44c31257cd70e0ac5aa9173c2f830da5e1722765bfee85aa
7
- data.tar.gz: b59db693a31dc3fe091aa4bfa7838008a43b69f5a4c486dd55a74bcf684a88be3719eff5bc0bdf63ba043111a36324c45584bd0dc39084069daad62a09ecdb37
6
+ metadata.gz: d2f03495f78ec52dc05044806a0753f47eece4ae109c60d69d9d41fa8a90c287413657615765b50209a28a22ab0d64489aec3977a47411d4f5255a2e7101f85a
7
+ data.tar.gz: 255676120a18eb0ce8b7302246e66972b1cb4718e6d0359050649f507e400ca77f88f576ad85edbd16133b2790f1a611c9ac84c2989df73626e80a81d01f2ab6
@@ -50,6 +50,9 @@ module CoalescingPanda
50
50
  # https://github.com/MiniProfiler/rack-mini-profiler/issues/327
51
51
  # DON'T ENABLE THIS FOR PRODUCTION!
52
52
  script_src << "'unsafe-eval'"
53
+ elsif CoalescingPanda.lti_options.has_key?(:allow_unsafe_eval) && CoalescingPanda.lti_options[:allow_unsafe_eval] == true
54
+ # For when code is returned from server and injected into dom. Need to have unsafe-eval or it won't work.
55
+ script_src << "'unsafe-eval'"
53
56
  end
54
57
 
55
58
  SecureHeaders::Configuration.default do |config|
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '5.0.0.beta.1'
2
+ VERSION = '5.0.0.beta.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coalescing_panda
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.beta.1
4
+ version: 5.0.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-06-03 00:00:00.000000000 Z
13
+ date: 2020-06-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails