aikido-zen 1.4.0-x86_64-linux → 1.4.1-x86_64-linux

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: b80bb497a21b3f2210721b7fe18b09a4264560aa4d03d4257b84b6892e486b70
4
- data.tar.gz: e1e71248d0c8d470954556581f830a2ac345cfacddf5a5e05a885cb63df87713
3
+ metadata.gz: a27fc2771319c0ef3a27ee852832340f04ab55eb18cd3106a2907c1a20f48e20
4
+ data.tar.gz: '08a90b985847af252286a999b115ddb18a95edece3a7f6135b6bcd946f1a0dff'
5
5
  SHA512:
6
- metadata.gz: dbe0e5bf65b875bf0c744b65071a66f5d9a922b9365f4a365a87c916f5a2f80456346cc48b1114858a602160954cb650de9435868edc192589d5daf29c5657c1
7
- data.tar.gz: d94397031a6922689d44ab1392b0f2fbcfabd9865550b9bcdc96deb0f03ee0659650a9f6ff6161faa2fb37e90b25c09251c21043112784e05c31d4721c20822f
6
+ metadata.gz: d9ec3e03babe28bc55fb270c5da2f45914c27c1967518e5d6aa4844a9fb0b73c449bf098953ce475e397d7ab98bc43af0be59ab5d3346b5628ff7ccc1bc048fe
7
+ data.tar.gz: 2b06acd82e0d0413981391e8c8ff4ef3e4f756cd543283c94c64e714216b8c23f5418cdb5c76c99c1a4845fc0d7448ad4661fa5b8de4202a4b261d49bc78efbb
data/Rakefile CHANGED
@@ -46,6 +46,7 @@ end
46
46
  Minitest::TestTask.create do |test_task|
47
47
  test_task.test_globs = FileList["test/**/{test_*,*_test}.rb"]
48
48
  .exclude("test/e2e/**/*.rb")
49
+ .exclude("test/rails/**/*.rb")
49
50
  end
50
51
  task test: "libzen:download:current"
51
52
 
@@ -2,10 +2,6 @@
2
2
 
3
3
  module Aikido::Zen
4
4
  class RuntimeSettings::DomainSettings
5
- def self.none
6
- @no_settings ||= new(mode: :block)
7
- end
8
-
9
5
  def self.from_json(data)
10
6
  new(
11
7
  mode: data["mode"]&.to_sym
@@ -17,7 +17,6 @@ module Aikido::Zen
17
17
 
18
18
  def initialize(domains = {})
19
19
  @domains = domains
20
- @domains.default = RuntimeSettings::DomainSettings.none
21
20
  end
22
21
 
23
22
  def [](hostname)
@@ -219,9 +219,7 @@ module Aikido::Zen
219
219
  def block_outbound?(connection)
220
220
  domain = domains[connection.host]
221
221
 
222
- return true if !domain.equal?(RuntimeSettings::DomainSettings.none) && domain.block?
223
-
224
- block_new_outbound && domain.block?
222
+ (!domain.nil? && domain.block?) || (domain.nil? && block_new_outbound)
225
223
  end
226
224
  end
227
225
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Aikido
4
4
  module Zen
5
- VERSION = "1.4.0"
5
+ VERSION = "1.4.1"
6
6
 
7
7
  # The version of libzen_internals that we build against.
8
8
  LIBZEN_VERSION = "0.1.61"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aikido-zen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Aikido Security
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-08 00:00:00.000000000 Z
11
+ date: 2026-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby