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 +4 -4
- data/Gemfile.lock +3 -3
- data/lib/mruby_sandbox/client.rb +1 -0
- data/lib/mruby_sandbox/server.rb +1 -1
- data/lib/mruby_sandbox/version.rb +1 -1
- data/lib/mruby_sandbox.rb +1 -0
- data/mruby/sandbox/mrblib/sandbox.rb +3 -1
- data/mruby_sandbox.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58f28638d7ebcdba39dbf2da859ffd29bbc1de40
|
4
|
+
data.tar.gz: e0e8f2fc1f002212baade1f52259dec343399fbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
5
|
-
pipe_rpc (~> 2.
|
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.
|
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
|
data/lib/mruby_sandbox/server.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
class MrubySandbox::Server < PipeRpc::
|
1
|
+
class MrubySandbox::Server < PipeRpc::Server; end
|
data/lib/mruby_sandbox.rb
CHANGED
@@ -33,7 +33,9 @@ def client
|
|
33
33
|
client_for(:default)
|
34
34
|
end
|
35
35
|
|
36
|
-
Server = PipeRpc::
|
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)
|
data/mruby_sandbox.gemspec
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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
|