Commit graph

82 commits

Author SHA1 Message Date
102af5cc3c Fix examples 2024-06-25 04:11:12 -03:00
f55287243e Fix link to BSD::Capsicum.enter! 2024-06-25 04:10:31 -03:00
af8f625e56 Update README 2024-06-25 04:04:08 -03:00
e71335d2ee Update README 2024-06-25 03:57:49 -03:00
f694cadd48 bsdcapsicum.rb is born :) 2024-06-25 03:32:04 -03:00
fd196f3408 Update Capsicum#enter! 2024-06-25 00:52:16 -03:00
3b8dd9107a Alias in_capability_mode? as capability_mode? 2024-06-25 00:42:37 -03:00
3f14d8e998 Fix readme example, add tests 2024-06-25 00:23:16 -03:00
9efd84f8cb Require fiddle in libc.rb 2024-06-25 00:08:23 -03:00
9341ba2ccf Add lib/capsicum/libc.rb 2024-06-25 00:07:00 -03:00
d59fdef28e Add test/readme_test.rb 2024-06-24 23:36:09 -03:00
614d9d5f07 Update README 2024-06-24 23:00:21 -03:00
36994fe302 Replace sandboxed? with in_capability_mode?
Update docs, tests
2024-06-24 22:57:01 -03:00
ab3f17de31 Remove within_sandbox
This type of code is left for the caller of
the library to implement instead
2024-06-24 22:50:07 -03:00
92a18c2a3f Add small improvements 2024-06-24 22:48:14 -03:00
f9f8a794e8 Alias sandboxed? as capability_mode? 2024-06-24 22:40:37 -03:00
5d6ebbfa52 Replace "/dev/null" with File::NULL 2024-06-24 22:36:15 -03:00
ca832a42d9 Add standard
Add the 'standard' linter library
Commit fixes generated via 'bundle exec rubocop -A'
2024-06-23 22:38:24 -03:00
f3f018efbb Fix test 2024-06-23 21:46:08 -03:00
d9eb2afdf4 Require bundler within Rakefile, tests 2024-06-23 21:45:09 -03:00
d701df25cc gemspec: rake ~> 13.2 2024-06-23 21:44:37 -03:00
cd5e3d3c7d gemspec: bundler ~> 2.5 2024-06-23 21:41:02 -03:00
630fc0e8a3 Replace ffi with fiddle
The fiddle library is part of Ruby's standard library, and
works out of the box for me on HardenedBSD - where as the
ffi library raises an error on require
2024-06-23 21:37:52 -03:00
Thomas Hurst
cc8bc884c0 README: Capitalisation 2017-05-25 23:45:32 +01:00
Thomas Hurst
810713d1e5 within_sandbox: Check fork is supported 2017-05-25 23:44:36 +01:00
Thomas Hurst
2dd1aef8a4 Gemspec: Tie to ffi ~1.9. 2017-05-25 01:57:26 +01:00
Thomas Hurst
51f17578b5 Tweak README 2017-05-24 16:34:00 +01:00
Thomas Hurst
1bec2c3ea4 Add some API documentation 2017-05-24 16:33:39 +01:00
Thomas Hurst
4ed2935df2 gemspec: Update URL. Permit push. 2017-05-24 16:30:44 +01:00
Thomas Hurst
2c8fcd66a3 Test: Skip within_sandbox on JRuby.
Add a test for repeated enter!
2017-05-24 16:13:36 +01:00
Thomas Hurst
d305efab9f First cut of the capsicum gem. 2017-05-24 01:18:47 +01:00
Thomas Hurst
f758b7713d Initial commit. 2017-05-24 01:18:05 +01:00