Commit graph

94 commits

Author SHA1 Message Date
569a0987e2 Add errno.h include directive to glue.c 2024-05-14 20:56:37 -03:00
1312cff63c Update .rubocop.yml 2024-05-13 16:05:08 -03:00
bcc36ed2c6 Update test/ 2024-05-13 16:02:17 -03:00
d36dc75e9a Update test-cmd.rb 2024-05-13 11:26:29 -03:00
316c6c1f1e Rewrite test with BSD::Control::Test 2024-05-12 22:50:19 -03:00
aea59dc9bc Move readme_examples_test.rb 2024-05-12 22:49:15 -03:00
5571ab8f3b Update test/ 2024-05-12 22:44:29 -03:00
fafc20c06b Improve test output 2024-05-12 21:28:48 -03:00
6d0bccc3ed Update Gemfile.lock 2024-05-12 21:15:38 -03:00
cc8938ac72 v0.2.0 2024-05-12 20:06:58 -03:00
5de096abde Update docs 2024-05-12 20:01:03 -03:00
876371226a Simplify lib/bsdcontrol.rb 2024-05-12 19:45:10 -03:00
a25864c29f Decouple gemspec from git 2024-05-12 19:37:36 -03:00
af0c4b776f Wrap / unwrap hbsdctrl_ctx_t
Remove unneccessary abstraction
2024-05-12 19:21:23 -03:00
fd7e5e26f4 Add .editorconfig 2024-05-12 19:11:57 -03:00
7a43c9c1a0 Bump indent width to 4 2024-05-12 19:11:11 -03:00
ac2428d7c5 Update readme_examples_test.rb 2024-05-12 01:32:20 -03:00
543af297fa Update Rakefile.rb 2024-05-12 01:09:26 -03:00
773166b640 Remove unused file 2024-05-12 01:08:12 -03:00
d3a4454483 Fix README 2024-05-12 01:06:51 -03:00
8fd14f1856 Add standard 2024-05-12 00:59:38 -03:00
9942c6e6bc Add ReadmeExamplesTest 2024-05-12 00:53:32 -03:00
51341f63ac Update Gemfile.lock 2024-05-12 00:23:59 -03:00
40f77fc5e8 s|hardenedbsd|HardenedBSD|g 2024-05-12 00:23:45 -03:00
e7f1110479 Fix #include directives 2024-05-01 13:15:33 -03:00
5e2b5ed26b Fix docs 2024-05-01 13:10:56 -03:00
193355af71 Fix README 2024-04-09 19:15:15 -03:00
b48da6d97c v0.1.1 2024-04-09 16:44:18 -03:00
0e03357aa6 Fix docs 2024-04-09 16:44:03 -03:00
545c060fec Raise SystemCallError instead of RuntimeError 2024-03-30 03:48:26 -03:00
29fb7a2ebf README: update 2024-03-30 03:38:38 -03:00
275d622843 Map HBSDCTRL_STATE_(ENABLED|DISABLED) into Ruby
And fix `BSD::Control::Feature#disable!`.
2024-03-20 21:58:18 -03:00
a4e5b8893f Loosen rake-compiler dependency 2024-03-20 21:45:28 -03:00
32f18cf4b5 Add task desc for 'clang:format' 2024-03-20 21:40:28 -03:00
aa55d2855d No need to link against sbuf anymore 2024-03-20 21:36:41 -03:00
7d4de6aff6 Fix order of args for assert_equal (expected, actual) 2024-03-20 21:22:16 -03:00
d91ff80036 Update context.h 2024-03-20 19:15:44 -03:00
000568a82e Feature#conflict? -> Feature#invalid? 2024-03-20 19:10:35 -03:00
427165d1b7 Add BSD::Control::Feature#sysdef! 2024-03-20 18:34:15 -03:00
c064af26a6 README: update outdated docs 2024-03-20 17:58:44 -03:00
a34066c47b New project name: bsdcontrol.rb 2024-03-20 17:34:28 -03:00
1d6fe41d39 bsdcontrol_feature_set: don't forget to close 'fd'. 2024-03-20 17:26:02 -03:00
c88d5afb10 Raise rb_eSystemCallError in case errno has not been set 2024-03-20 17:24:10 -03:00
d7b70643aa Remove stale references to 'FFI' module. 2024-03-20 17:19:15 -03:00
9f6eb714dc Verify 'path' is a Ruby string 2024-03-20 17:13:35 -03:00
3528765df4 Reimplement on top of libhbsdcontrol v2 2024-03-20 16:26:58 -03:00
6ad5bca145 v0.1.0 2024-03-14 16:30:40 -03:00
93e04cb8b3 README:update 2024-03-14 16:15:50 -03:00
a530104ae4 README: update 2024-03-10 11:22:01 -03:00
a67db2277d Reset errno before system calls 2024-03-10 11:19:45 -03:00