libddwaf 1.0.14.2.0.beta1-arm64-darwin → 1.0.14.2.1.beta1-arm64-darwin

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: e66d1b5f6d0716114d53088539c65904fe754514c301292b6a3a92193f947fa4
4
- data.tar.gz: 49d381f84e13892270e9e7768c511f2a9ea47c806712e9d9d6617a04e7ab6c4a
3
+ metadata.gz: 7980801c132296bae2a001905acf9ccd966303bda673c41930d8d193d770e4b5
4
+ data.tar.gz: 321cecbcc79b00989cbd513a08d738fc4e3571fb3120e0f3fbb3b84fd6c027bc
5
5
  SHA512:
6
- metadata.gz: 149307a314e594efdd409a201222188cb188486f4c37012e126e48338caaa329b09e8c606ea330bd8ef8fd9e64dd04b531cca3bdb02a69b69087ce1a154010cf
7
- data.tar.gz: 8d8f633a3848e361449d2e4dcc6c49c482f636995821097304c83d957ece455edec1482a03a808ba1238d7c61a3b7acf45fbb9d75509e28b30903bdc0e1d6e59
6
+ metadata.gz: 9054ec3246d4445e7147b860f2a4173db3e700c47d43f962c9de8222ec6ceedd921ba104384b112886590ae4e9b13b3d3d66811288380bcf690db8f1ad5377de
7
+ data.tar.gz: fb20091d1477380b18c0c1ece6f3d0dd21c0efeaeaa7b6151d271e9cda08f08247122a9403db63ebff584ebcf62d50debc6aed903aef9eec5018f9bb3b7ed17c
@@ -3,7 +3,7 @@ module Datadog
3
3
  module WAF
4
4
  module VERSION
5
5
  BASE_STRING = '1.0.14'
6
- STRING = "#{BASE_STRING}.2.0.beta1"
6
+ STRING = "#{BASE_STRING}.2.1.beta1"
7
7
  MINIMUM_RUBY_VERSION = '2.1'
8
8
  end
9
9
  end
@@ -253,13 +253,7 @@ module Datadog
253
253
 
254
254
  obj
255
255
  else
256
- obj = LibDDWAF::Object.new
257
- res = LibDDWAF.ddwaf_object_invalid(obj)
258
- if res.null?
259
- fail LibDDWAF::Error, "Could not convert into object: #{val}"
260
- end
261
-
262
- obj
256
+ ruby_to_object(''.freeze)
263
257
  end
264
258
  end
265
259
 
@@ -371,7 +365,7 @@ module Datadog
371
365
  ddwaf_err_internal: :err_internal,
372
366
  ddwaf_err_invalid_object: :err_invalid_object,
373
367
  ddwaf_err_invalid_argument: :err_invalid_argument,
374
- ddwaf_err_timeout: :err_invalid_object,
368
+ ddwaf_err_timeout: :err_timeout,
375
369
  ddwaf_good: :good,
376
370
  ddwaf_monitor: :monitor,
377
371
  ddwaf_block: :block,
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.0.14.2.0.beta1
4
+ version: 1.0.14.2.1.beta1
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-07 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi