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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58f28638d7ebcdba39dbf2da859ffd29bbc1de40
4
- data.tar.gz: e0e8f2fc1f002212baade1f52259dec343399fbd
3
+ metadata.gz: 9d0559f81819805dea6f81da47cd70afb18e1cc5
4
+ data.tar.gz: 9f495e6b9db247a3f0c3dd8b405d3e0cfe82bafc
5
5
  SHA512:
6
- metadata.gz: 7bf630ea0c76885f048484d70461d624ce57f5dc50b4f6076966ef37e4f99f1296ea7b8c44a964ca65418abbbadc24a76f8917869b37765183ed063ae6bf2dad
7
- data.tar.gz: 07169c6a4651897bc217c58d3d562be7d84416054e13c27fc5ead0294a424dddffefc7c09c45117834753853a174799d4a385c9184d992b059851ab1b5435c4a
6
+ metadata.gz: 92b91c3355df84e59cdec07a3824ed38cf916ca0e50e58acc4d4785c4e55bb2ebb3a9d8729c904718a3bbd7e56126b98ce00180d1600f93b6a15b8708c224cef
7
+ data.tar.gz: 2dd6a5b214a710ea9ffda53cd17e4a2cd36a6e4b617d68f58f5c8b9f2871b25bdc86d551ea3f5043a495541c9ca49953f12c25cf8abd4bea27680e89e4c0b598
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mruby_sandbox (0.7.4)
4
+ mruby_sandbox (0.7.5)
5
5
  pipe_rpc (~> 2.4)
6
6
 
7
7
  GEM
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
@@ -1 +1 @@
1
- class MrubySandbox::Server < PipeRpc::Server; end
1
+ MrubySandbox::Server = PipeRpc::Server
@@ -1,3 +1,3 @@
1
1
  module MrubySandbox
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5"
3
3
  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.7.4
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-25 00:00:00.000000000 Z
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