exec_sandbox 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5ba917057f393e64b4b5543f35e9373beeb5bc0
4
- data.tar.gz: ac8bd31a735584032a8801cb015a27affd5c0bdb
3
+ metadata.gz: da350882626e6b7b1dd5c43c57e61f548de41f02
4
+ data.tar.gz: f37a48991aac1e7a268e5cbd94d35502e87247a9
5
5
  SHA512:
6
- metadata.gz: 701e43695402f05185797c24998571bebd1ee687d707521a5071cea29f07e7a2fcb555e8fea2948121f2a8582d236443845d8839f1c0a09df823b7b21bdf0ac4
7
- data.tar.gz: c8d0d3211d76cd99fcd7165ec984aee35eb5946b42e1030b0faa10eb3663fa07c78b4de88343f710f167264839e4980abedb6dda8c4a8cdc7dade2d88d8b8f78
6
+ metadata.gz: 6b489c3bf6517a73fd7d720aeb8cf336fc74c27e8346dc87f66a731b20dc1470091652d6cd7cabf780f5f9b498060b59d23b563cc93cea650ef441ef40024bc8
7
+ data.tar.gz: 0fde6ff96be6c49b0b823240ee9c2557676b2fbe60504a26995d3e6ae584589afcb6c1b711ca9e780131226384ef49843c889dec02c22db1ffc3e065e5249e28
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
data/exec_sandbox.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: exec_sandbox 0.2.4 ruby lib
5
+ # stub: exec_sandbox 0.2.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "exec_sandbox"
9
- s.version = "0.2.4"
9
+ s.version = "0.2.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Victor Costan"]
@@ -164,7 +164,7 @@ module Spawn
164
164
  # Maps an internal MRI function that we need.
165
165
  module RubyVM
166
166
  extend FFI::Library
167
- ffi_lib RbConfig::CONFIG['LIBRUBY']
167
+ ffi_lib RbConfig::CONFIG['RUBY_SO_NAME']
168
168
  begin
169
169
  attach_function :rb_reserved_fd_p, [:int], :int
170
170
  rescue FFI::NotFoundError
@@ -79,6 +79,7 @@ describe ExecSandbox::Sandbox do
79
79
  end
80
80
 
81
81
  it 'should produce the correct result' do
82
+ @result[:out_data].length.should == buffer_size
82
83
  @result[:out_data].should == "S" * buffer_size
83
84
  end
84
85
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exec_sandbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan