capng_c 0.2.5 → 0.2.6

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
  SHA256:
3
- metadata.gz: 0105fa2095d7aa7ae42d367d00931c5c0ddf7b3a008b15b973bb830e6c68c3e1
4
- data.tar.gz: 8a23e8b4f859ee8299a79790f45809c55d776c650635d9a5a3dc84e73fb6eab1
3
+ metadata.gz: fd91daa3b81cfddd649b02ca41764eeb6eca6e31237339a80a4ea1a12cf0283e
4
+ data.tar.gz: 29c6b4e61bcc8ab3368c88640d1bf638e3c0e92a65fac8ca15329b0e6041d517
5
5
  SHA512:
6
- metadata.gz: d3be8cd98b0d17043f5988d156118d068ea3e1e96a605b93f5e676300bb7d093ff9b2cc22ac211dc19dff042e3a1af2a415867ac9454dab4b86739ac98d460d3
7
- data.tar.gz: 2c3892a0c6a6e6a5ab52c1d175bf93e4451d1d12fb94bc8c8e698e453465b1d5e9954eb782d16236eb28a100abef673298e48e714bf6a45359b0b3a3b2ed5987
6
+ metadata.gz: 5a9087e47a67bd6b634e8e40c6ab884f12f9ff82e3d18e48c5e519c1ce56b58c54eda2b7c97fc1542842b5c9315ef47f4f73ccdd7177e1b4ae83f8a3515413a0
7
+ data.tar.gz: e43526c42cdbb51c383c87bcab9cb8ab2d914770a5253c17fce8a522f11b70a161101998d8d8556c41b30e312c162fcaf5831d92b9bfb92f2eec8a510708a34f
@@ -11,7 +11,7 @@ jobs:
11
11
  uses: ruby/actions/.github/workflows/ruby_versions.yml@master
12
12
  with:
13
13
  engine: cruby
14
- min_version: 2.5
14
+ min_version: 3.2
15
15
  build:
16
16
  needs: ruby-versions
17
17
  runs-on: ${{ matrix.os }}
@@ -30,7 +30,7 @@ jobs:
30
30
  run: |
31
31
  sudo apt update
32
32
  sudo apt -V install libcap-ng-dev
33
- - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
33
+ - uses: ruby/setup-ruby@14594264cd68ce8a2345dd349bc3d138a4ef85c8 # v1.327.0
34
34
  with:
35
35
  ruby-version: ${{ matrix.ruby }}
36
36
  - name: unit testing
data/ext/capng/capng.h CHANGED
@@ -14,6 +14,7 @@
14
14
  #ifndef _CAPNG_H_
15
15
  #define _CAPNG_H_
16
16
 
17
+ #include <stdbool.h>
17
18
  #include <ruby.h>
18
19
  #include <ruby/encoding.h>
19
20
  #include <ruby/io.h>
data/ext/capng/extconf.rb CHANGED
@@ -25,8 +25,6 @@ unless find_executable("pkg-config")
25
25
  end
26
26
 
27
27
  pkg_config("libcap-ng")
28
- $CFLAGS << " -Wall -std=c99 -fPIC "
29
- # $CFLAGS << " -g -O0"
30
28
 
31
29
  have_const("CAPNG_SELECT_AMBIENT", "cap-ng.h")
32
30
  have_const("CAPNG_SELECT_ALL", "cap-ng.h")
@@ -35,4 +33,6 @@ have_const("CAPNG_INIT_SUPP_GRP", "cap-ng.h")
35
33
  have_func("rb_sym2str", "ruby.h")
36
34
  have_func("rb_io_descriptor", "ruby.h")
37
35
  have_func("capng_get_caps_fd", "cap-ng.h")
36
+ $CFLAGS << " -Wall -std=c99 -fPIC "
37
+ # $CFLAGS << " -g -O0"
38
38
  create_makefile("capng/capng")
data/lib/capng/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class CapNG
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capng_c
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Hatake
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 4.0.16
145
+ rubygems_version: 4.0.20
146
146
  specification_version: 4
147
147
  summary: libcap-ng bindings for Ruby.
148
148
  test_files: []