mruby_sandbox 0.3.1 → 0.3.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
  SHA1:
3
- metadata.gz: e3cdeb5959e180dc64032103ef631251e1eeb4fd
4
- data.tar.gz: 41e0be05ebcc4067260e7f402237168057aed3b0
3
+ metadata.gz: 79a1538b412aac54f1949e36ac1fccebc83a1be2
4
+ data.tar.gz: 86e4a019d01b5a69994e6dae96b3710aff74ba53
5
5
  SHA512:
6
- metadata.gz: 2e78223ebfdd2f0d74e37aa72316e5c2ba86e8d3d30d522c5281f6793400671fd0d8281a448be7cbf1f95cef4cd383af130deefa3b4186a6d7238cfe8bfe7a90
7
- data.tar.gz: bb9011f3cd6413d47ba2d2141b9ccf60e763c5c2f0b550d13e045e932827e1c5d2c798ba5806d38bfda2a8435731426621b0a8af943bb2b4ca1117b1f4e27b18
6
+ metadata.gz: 3cb3049c9bb01e011c7479924420b230e0cfacb9e30fe59a30ebb8cd3c28aa8482ad8f6ef2cecf88bd194d9a9522450cdfbd946d70696a0cbd2a9ee63bebaf75
7
+ data.tar.gz: 5530db4d45e7e0fbae868e433078533654d3ab27dab0d90f36b2a3d578db260b7d384646e354343b5dc3fab5f1af6f1648ea821f245f93a90cb7f7f5fe308363
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec
3
+ gemspec
4
+ #gem 'pipe_rpc', path: '../ruby-pipe_rpc'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mruby_sandbox (0.3.1)
4
+ mruby_sandbox (0.3.2)
5
5
  pipe_rpc (~> 0.2)
6
6
 
7
7
  GEM
@@ -42,4 +42,4 @@ DEPENDENCIES
42
42
  rspec-mocks-matchers-send_message (~> 0.2)
43
43
 
44
44
  BUNDLED WITH
45
- 1.11.2
45
+ 1.10.6
@@ -1,3 +1,3 @@
1
1
  class MrubySandbox
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -32,7 +32,7 @@ class Sandbox < BasicObject
32
32
  rescue ::Exception => e
33
33
  # reflect ALL rescueable errors back to the managing process
34
34
  backtrace = e.backtrace
35
- @hub.send_error(code: -32603, data: { message: e.message, backtrace: backtrace })
35
+ @hub.send_response PipeRpc::ErrorResponse.new(error: { code: -32603, data: { message: e.message, backtrace: backtrace } })
36
36
  ::Kernel.raise e
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mruby_sandbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-25 00:00:00.000000000 Z
11
+ date: 2016-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pipe_rpc