libddwaf 1.5.1.0.1 → 1.6.2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99c7eacaabd1402caa1dfe588cde91cb3b8999bfaf0ee4a9edf2fb640ce3497a
4
- data.tar.gz: 75c8f2ce68fabb48b931ce3fcaad2b9b6c1309d35585e7940e3e94f87e80c805
3
+ metadata.gz: a14d9606c53c7e901f31bc52052569ddf2f5d43929fa87f00dc23b2808c3fee0
4
+ data.tar.gz: 366d380f4c606912300055fe6be9752518d914ac45fde0d9a7d88ee8adecd5d4
5
5
  SHA512:
6
- metadata.gz: c49aaccb9d5ab4b8e9ab386233db336b2235649b2b03a430ad9623970313ad659f4b9e3e92ef93792d23550c48a28c0e0c53f99459372d9f7a22f4409e0c75a3
7
- data.tar.gz: 607212389e499b3a79aeb12c88de8220184d668247e0508b1816adbfb2e3d2f1e06de875f25d0ef6e403cd127657240c75a052ad29ecddd63a419bc9d81225df
6
+ metadata.gz: 61b7d74bfab9a0ed140b61c1d9c5fc0052c85ce549095b31a8ab1aa17fd9763c8a707123e6443eae58bd1ef0767da7fd7c9d4f5ee78f34882eb7179bef7f8652
7
+ data.tar.gz: c424feb013a940bdbc1e22f2c1fb3a6e335a0cd043bbf4d4aa87a568c917b36590e344d0a46dd6cb5c2d1fe14e4823bb1e928ae3366e29c1d038912a13c01c42
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 2023-02-03 v1.6.2.0.0
2
+
3
+ - Update to libddwaf 1.6.2
4
+ - Add specs for the getter functions
5
+
1
6
  # 2023-02-01 v1.5.1.0.1
2
7
 
3
8
  - Fix incorrect size in input string limit
@@ -2,8 +2,8 @@ module Datadog
2
2
  module AppSec
3
3
  module WAF
4
4
  module VERSION
5
- BASE_STRING = '1.5.1'
6
- STRING = "#{BASE_STRING}.0.1"
5
+ BASE_STRING = '1.6.2'
6
+ STRING = "#{BASE_STRING}.0.0"
7
7
  MINIMUM_RUBY_VERSION = '2.1'
8
8
  end
9
9
  end
@@ -182,6 +182,7 @@ module Datadog
182
182
  attach_function :ddwaf_object_get_unsigned, [:ddwaf_object], :uint64
183
183
  attach_function :ddwaf_object_get_signed, [:ddwaf_object], :int64
184
184
  attach_function :ddwaf_object_get_index, [:ddwaf_object, :size_t], :ddwaf_object
185
+ attach_function :ddwaf_object_get_bool, [:ddwaf_object], :bool
185
186
 
186
187
  ## freeers
187
188
 
@@ -74,6 +74,7 @@ module Datadog
74
74
  def self.ddwaf_object_get_unsigned: (LibDDWAF::Object, SizeTPtr) -> ::Integer
75
75
  def self.ddwaf_object_get_signed: (LibDDWAF::Object, SizeTPtr) -> ::Integer
76
76
  def self.ddwaf_object_get_index: (LibDDWAF::Object, ::Integer) -> LibDDWAF::Object
77
+ def self.ddwaf_object_get_bool: (LibDDWAF::Object) -> bool
77
78
 
78
79
  # freeers
79
80
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libddwaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1.0.1
4
+ version: 1.6.2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi