ruby_box 0.0.0 → 0.0.0.1

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: 74ee4ebcf60636a60c2307bbb3b84758d6132689
4
- data.tar.gz: da737b1c1922db5b821437c806c66dc672ccd8a9
3
+ metadata.gz: 24712c9c81020b44d9311a1cb883279c29d2cbd2
4
+ data.tar.gz: a5bdfa62602acb7c577cd4c8f4248ac010fd6f1d
5
5
  SHA512:
6
- metadata.gz: 91f3c7f353453860a7a160997d002f0fe6b5e8d716221ad16244a8f9b13d8de1d9197bc66ac56ddd17a610d7c171f4f6f38a2c67a50596610b0f2c9de4732f6a
7
- data.tar.gz: c428446d7ff6c5ddf170cf0f3425c27968d089f9f0bf51e4019df1750c2a18ff6a4c99d8ec0ec6dbdc3c6ad848ce16ab88a0021396dedbfe75670b8d0dd3f5a4
6
+ metadata.gz: 2c08690552b840b62dc8566d827b2cc218fbb7e4c38803fc3eade15fae4b5d37f08d2eba6bdf421c0ca6f2a4ea57c80ec67091ffcfe2e4d61974817087b479d6
7
+ data.tar.gz: 743bf09d576224b268caebdd9dc95dd2d54acf2df7fa35c247d746cc1d46cc7960a591ef56351b43af41946b1d2e11e12b7c2357b89fc77409301f8eed76d120
@@ -57,7 +57,7 @@ module RubyBox
57
57
  serialized_args = args.to_json
58
58
  serialized_value = Native(`#{handle}`).call(serialized_args)
59
59
 
60
- JSON.parse(serialized_value)
60
+ JSON.parse(serialized_value, quirks_mode: true)
61
61
  end
62
62
  end
63
63
  RUBY
@@ -104,7 +104,7 @@ module RubyBox
104
104
  })(eval, #{source.to_json});
105
105
  JAVASCRIPT
106
106
 
107
- value = JSON.parse(serialized_value) if serialized_value
107
+ value = JSON.parse(serialized_value, quirks_mode: true) if serialized_value
108
108
 
109
109
  if is_caught_value
110
110
  class_name, message = value
@@ -1,3 +1,3 @@
1
1
  module RubyBox
2
- VERSION = '0.0.0'
2
+ VERSION = '0.0.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alec Larsen
@@ -198,8 +198,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  requirements: []
200
200
  rubyforge_project:
201
- rubygems_version: 2.5.1
201
+ rubygems_version: 2.4.6
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: RubyBox allows the execution of untrusted Ruby code safely in a sandbox.
205
205
  test_files: []
206
+ has_rdoc: