mruby_sandbox 0.7.3 → 0.7.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
  SHA1:
3
- metadata.gz: 4314d6e97bf2e7b93e87ebe9193c471b16adf86b
4
- data.tar.gz: acf1b17a213fbbf14fc467acb114328ec585cbdf
3
+ metadata.gz: 58f28638d7ebcdba39dbf2da859ffd29bbc1de40
4
+ data.tar.gz: e0e8f2fc1f002212baade1f52259dec343399fbd
5
5
  SHA512:
6
- metadata.gz: 035e9de2a0f4489d0181077d8e3961f4e3487ee961e7cf3a9c067e80144cb78ca83bc376493b6a2552e86f2cfd11d6b77053ac68905460eaa816fbb5226f685f
7
- data.tar.gz: 151e59827ffe6b36f4c4cefcd7cfd6af3c7c4140c7aca601ff62ad763aa248d20a2b0219c2977c4f040eb463718cec02142c6e326d885dda8e96e66047633792
6
+ metadata.gz: 7bf630ea0c76885f048484d70461d624ce57f5dc50b4f6076966ef37e4f99f1296ea7b8c44a964ca65418abbbadc24a76f8917869b37765183ed063ae6bf2dad
7
+ data.tar.gz: 07169c6a4651897bc217c58d3d562be7d84416054e13c27fc5ead0294a424dddffefc7c09c45117834753853a174799d4a385c9184d992b059851ab1b5435c4a
data/Gemfile.lock CHANGED
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mruby_sandbox (0.7.2)
5
- pipe_rpc (~> 2.3)
4
+ mruby_sandbox (0.7.4)
5
+ pipe_rpc (~> 2.4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  diff-lcs (1.2.5)
11
11
  msgpack (1.0.0)
12
- pipe_rpc (2.3.0)
12
+ pipe_rpc (2.4.0)
13
13
  msgpack (~> 1.0)
14
14
  rspec (3.5.0)
15
15
  rspec-core (~> 3.5.0)
@@ -0,0 +1 @@
1
+ MrubySandbox::Client = PipeRpc::Client
@@ -1 +1 @@
1
- class MrubySandbox::Server < PipeRpc::Hub::Server; end
1
+ class MrubySandbox::Server < PipeRpc::Server; end
@@ -1,3 +1,3 @@
1
1
  module MrubySandbox
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
data/lib/mruby_sandbox.rb CHANGED
@@ -3,6 +3,7 @@ require 'logger'
3
3
 
4
4
  require_relative 'mruby_sandbox/version'
5
5
  require_relative 'mruby_sandbox/server'
6
+ require_relative 'mruby_sandbox/client'
6
7
 
7
8
  module MrubySandbox
8
9
  class MrubySandbox < PipeRpc::Gateway
@@ -33,7 +33,9 @@ def client
33
33
  client_for(:default)
34
34
  end
35
35
 
36
- Server = PipeRpc::Hub::Server
36
+ Server = PipeRpc::Server
37
+ Client = PipeRpc::Client
38
+ Mapper = PipeRpc::Mapper
37
39
 
38
40
  # Remove constants from global namespace so untrusted code cannot mess around with it.
39
41
  Object.remove_const(:GC)
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = ["build_mruby_sandbox"]
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_runtime_dependency "pipe_rpc", "~> 2.3"
24
+ spec.add_runtime_dependency "pipe_rpc", "~> 2.4"
25
25
  spec.add_development_dependency "bundler", "~> 1.8"
26
26
  spec.add_development_dependency "rspec", "~> 3.4"
27
27
  spec.add_development_dependency "rspec-its"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mruby_sandbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.3'
19
+ version: '2.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.3'
26
+ version: '2.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,6 +98,7 @@ files:
98
98
  - README.md
99
99
  - bin/build_mruby_sandbox
100
100
  - lib/mruby_sandbox.rb
101
+ - lib/mruby_sandbox/client.rb
101
102
  - lib/mruby_sandbox/server.rb
102
103
  - lib/mruby_sandbox/version.rb
103
104
  - mruby/config/build_config.rb