libddwaf 1.8.2.0.0 → 1.9.0.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: 30f298fcc92fb8b2489965b0b4710e22de5b3350a53a7bcd2cde8b08ba093cbc
4
- data.tar.gz: 88e66343e82297fdb2cb5471be19dbd84642128c8e899c77b98f67932688a21a
3
+ metadata.gz: 98ca4b225573cf4bcdc10a5176ea8871b5584ac0ff8ac2a85dc726cb6edc34a8
4
+ data.tar.gz: 7a054a0818745fcaecfd57923b12aa0f1a35300c2af33eb6ec9ececa027aa90a
5
5
  SHA512:
6
- metadata.gz: b6518befb55b60e1ac680a588ebaa30b913e775e54af30d1b99529fefd05d1943c4bc6c09adcaa2683a4a3367c987adda9fdf309f1967d29a8b41ec1a5c152e9
7
- data.tar.gz: 561d74e78f7699287a2981599fb448438dadd6f76424d1822adf6f3d2ebe76cfc56f93c19bbac9ee3d4b501040fc0c54e533919d3b57a87a11ad8d13d042bcd5
6
+ metadata.gz: ef7aa3f13762ccd4e4daf50a5ad2d7a2077cb5ff37f15548a52787a74937101d65e55dcf835d65644eeb68dbf3a9c50019ee6649ed6798d16c1e9f23cdacc623
7
+ data.tar.gz: d5cdea0a0b2e0d2e79e75b1434d20e6ca4e759bc8afcd97a9c601c26aa771a43ea71cc202578a55cf1ef02885f9e45bb913e58dcb0dfb8cb3240ed4bce90965f
data/.gitignore CHANGED
@@ -2,7 +2,6 @@ Gemfile.lock
2
2
  /.envrc
3
3
  /vendor/bundle
4
4
  /vendor/libddwaf
5
- /*.nix
6
5
  /pkg
7
6
  *.gem
8
7
  *.vim
@@ -2,7 +2,7 @@ module Datadog
2
2
  module AppSec
3
3
  module WAF
4
4
  module VERSION
5
- BASE_STRING = '1.8.2'
5
+ BASE_STRING = '1.9.0'
6
6
  STRING = "#{BASE_STRING}.0.0"
7
7
  MINIMUM_RUBY_VERSION = '2.1'
8
8
  end
data/shell.nix ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ # use the environment channel
3
+ pkgs ? import <nixpkgs> {},
4
+
5
+ # use a pinned package state
6
+ pinned ? import(fetchTarball("https://github.com/NixOS/nixpkgs/archive/14d9b465c71.tar.gz")) {},
7
+ }:
8
+ let
9
+ # specify ruby version to use
10
+ ruby = pinned.ruby_3_1;
11
+
12
+ # control llvm/clang version (e.g for packages built form source)
13
+ llvm = pinned.llvmPackages_12;
14
+ in llvm.stdenv.mkDerivation {
15
+ # unique project name for this environment derivation
16
+ name = "libddwaf-rb.devshell";
17
+
18
+ buildInputs = [
19
+ ruby
20
+ ];
21
+
22
+ shellHook = ''
23
+ # get major.minor.0 ruby version
24
+ export RUBY_VERSION="$(ruby -e 'puts RUBY_VERSION.gsub(/\d+$/, "0")')"
25
+
26
+ # make gem install work in-project, compatibly with bundler
27
+ export GEM_HOME="$(pwd)/vendor/bundle/ruby/$RUBY_VERSION"
28
+
29
+ # make bundle work in-project
30
+ export BUNDLE_PATH="$(pwd)/vendor/bundle"
31
+
32
+ # enable calling gem scripts without bundle exec
33
+ export PATH="$GEM_HOME/bin:$PATH"
34
+ '';
35
+ }
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.8.2.0.0
4
+ version: 1.9.0.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-03-06 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -50,6 +50,7 @@ files:
50
50
  - lib/datadog/appsec/waf/version.rb
51
51
  - lib/libddwaf.rb
52
52
  - libddwaf.gemspec
53
+ - shell.nix
53
54
  - sig/datadog/appsec/waf.rbs
54
55
  - sig/datadog/appsec/waf/version.rbs
55
56
  - sig/libddwaf.rbs