mruby_sandbox 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mruby_sandbox.rb +6 -0
- data/lib/mruby_sandbox/basic_interface.rb +1 -0
- data/lib/mruby_sandbox/mapper.rb +1 -0
- data/lib/mruby_sandbox/server.rb +1 -1
- data/lib/mruby_sandbox/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d0559f81819805dea6f81da47cd70afb18e1cc5
|
4
|
+
data.tar.gz: 9f495e6b9db247a3f0c3dd8b405d3e0cfe82bafc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b91c3355df84e59cdec07a3824ed38cf916ca0e50e58acc4d4785c4e55bb2ebb3a9d8729c904718a3bbd7e56126b98ce00180d1600f93b6a15b8708c224cef
|
7
|
+
data.tar.gz: 2dd6a5b214a710ea9ffda53cd17e4a2cd36a6e4b617d68f58f5c8b9f2871b25bdc86d551ea3f5043a495541c9ca49953f12c25cf8abd4bea27680e89e4c0b598
|
data/Gemfile.lock
CHANGED
data/lib/mruby_sandbox.rb
CHANGED
@@ -4,6 +4,8 @@ require 'logger'
|
|
4
4
|
require_relative 'mruby_sandbox/version'
|
5
5
|
require_relative 'mruby_sandbox/server'
|
6
6
|
require_relative 'mruby_sandbox/client'
|
7
|
+
require_relative 'mruby_sandbox/basic_interface'
|
8
|
+
require_relative 'mruby_sandbox/mapper'
|
7
9
|
|
8
10
|
module MrubySandbox
|
9
11
|
class MrubySandbox < PipeRpc::Gateway
|
@@ -57,6 +59,10 @@ module MrubySandbox
|
|
57
59
|
@pid = nil
|
58
60
|
end
|
59
61
|
|
62
|
+
def inspect
|
63
|
+
"#<#{self.class}##{__id__} @pid=#{@pid}>"
|
64
|
+
end
|
65
|
+
|
60
66
|
private
|
61
67
|
|
62
68
|
def executable
|
@@ -0,0 +1 @@
|
|
1
|
+
MrubySandbox::BasicInterface = PipeRpc::BasicInterface
|
@@ -0,0 +1 @@
|
|
1
|
+
MrubySandbox::Mapper = PipeRpc::Mapper
|
data/lib/mruby_sandbox/server.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
MrubySandbox::Server = PipeRpc::Server
|
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.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Aue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pipe_rpc
|
@@ -98,7 +98,9 @@ files:
|
|
98
98
|
- README.md
|
99
99
|
- bin/build_mruby_sandbox
|
100
100
|
- lib/mruby_sandbox.rb
|
101
|
+
- lib/mruby_sandbox/basic_interface.rb
|
101
102
|
- lib/mruby_sandbox/client.rb
|
103
|
+
- lib/mruby_sandbox/mapper.rb
|
102
104
|
- lib/mruby_sandbox/server.rb
|
103
105
|
- lib/mruby_sandbox/version.rb
|
104
106
|
- mruby/config/build_config.rb
|