sqreen 1.15.3 → 1.15.4

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: 4d3aa083f1891ea59e35ad5eca5ee46a9aed99a535bb90e0b6e6a2255d8beffc
4
- data.tar.gz: 7f9003dbc6f7078071757e4aac16a38f7d317ca92d0ba159374c5409e3cd0099
3
+ metadata.gz: b477f1130500369e463ea5be1787fbe4c5bf23f88288ab48e1df4a625cf2af9f
4
+ data.tar.gz: c965568a045fc2a1f928ca52ad68f842a6687124da88a154efdb082de6e551e2
5
5
  SHA512:
6
- metadata.gz: 79020866e2549ea65bbbda91aa3370e83200d92ce14d00ab8e16166e0ceeba028def6125c6e2fd899678922c8290821723b3270c55c6d49e2c10d112943c2027
7
- data.tar.gz: c2c65bb389fe944644161b3ed8e71bd895b594da33061ba493d5c40ae9e80e40dd934ccb7d1a5bc2d479df4cd877bff77233cc9a02846a5cf23574538fb188eb
6
+ metadata.gz: 1f6c32b6e2fec81bfe459dd42f935d094bf41d26c610e9028132e00ff7fbdd1de26673de1212acd198ef505fa452301fd11607dde91e3f77d92a70d7f68184dc
7
+ data.tar.gz: dc32adb2c6b3be835d198d421ae58fcb31462c333a375c229abc2a6941c655e5616ba90a42086d129518809740dea2aa6a03979c03e7d5798291ab68bee15414
@@ -164,7 +164,7 @@ module Sqreen
164
164
  end
165
165
 
166
166
  def add_code(code_id, code)
167
- eval_unsafe code
167
+ eval_unsafe "(function() { #{code} })()"
168
168
  transf_global_funcs code_id
169
169
  @code_ids ||= Set.new
170
170
  @code_ids << code_id
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2015 Sqreen. All Rights Reserved.
2
2
  # Please refer to our terms for more information: https://www.sqreen.io/terms.html
3
3
  module Sqreen
4
- VERSION = '1.15.3'.freeze
4
+ VERSION = '1.15.4'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqreen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.3
4
+ version: 1.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sqreen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-08 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sq_mini_racer