kailash 4.3.0-aarch64-linux → 4.3.1-aarch64-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: 7b8f6e5e693eeabb267e902de1218f2748d33b22c9e8f8bf1802372b5f08526f
4
- data.tar.gz: 310ecfe3c01d34e9912b25b28f2964884515d963696992b9480a5c59021eabf8
3
+ metadata.gz: a88e03b8fbe9eb3257f0e24f18508bd80d48453164dcd0fdbd1bc95919f1a2e1
4
+ data.tar.gz: a05d92e4ad4d95d4a2bb4d58c65fcb9c8d3c9bfb0515e9acad5f31a9defdb8d1
5
5
  SHA512:
6
- metadata.gz: c6d4682db7446fb31837bddde8738626e1dc33f65c33390d44ce73ea5a56db040f07735fcf264bb9f27637ae11e2ca27feb980d403e8db0aa7e6afce0d41e63e
7
- data.tar.gz: b66927ba5a60f918174a7cdebe4c57f6d8a5e4ec6af0d70f5079445c7101f645fd6704a2132148d44ab5eda83e8f4ce8f8b00c1691c66c46d0036dd59fca2c26
6
+ metadata.gz: 1eeb35ebc0c235ebf2087de4d51fb250b93766b62e92683b4d1881c191106752f2c1ab233bc149e9c98c41fdd190327c6800f327a530723dbffd4aea6565f606
7
+ data.tar.gz: f5b6396e4b514a3a143f3e1b70d9488747d1377daef6318212920ad7b0870769523966a67dc2c7ac0d80df7befe67b30b539343a83586c0665e2c8caee9849f3
Binary file
Binary file
data/lib/kailash.rb CHANGED
@@ -2,11 +2,33 @@
2
2
 
3
3
  require_relative "kailash/version"
4
4
 
5
+ # Native-extension loader.
6
+ #
7
+ # Precompiled platform gems are FAT GEMS: the native extension is built once
8
+ # per supported Ruby ABI and stored at `lib/kailash/<major.minor>/kailash.{so,bundle}`
9
+ # (e.g. `lib/kailash/3.3/kailash.so`). A Ruby native extension links the
10
+ # specific libruby it was compiled against (e.g. `libruby-3.3.so.3.3`), so a
11
+ # single binary CANNOT load across ABI boundaries — a 3.1-linked extension
12
+ # fails on 3.2+ with `libruby-3.1.so.3.1: cannot open shared object file`.
13
+ # Selecting the binary matching the running interpreter's ABI is what makes
14
+ # the gem loadable across every Ruby in `required_ruby_version` (#1151).
15
+ #
16
+ # Source gems (compiled on install via extconf.rb) and flat dev builds place
17
+ # the extension directly at `lib/kailash/kailash.{so,bundle}` with no ABI
18
+ # subdirectory; those fall through to the flat-path branch below.
5
19
  begin
6
- require_relative "kailash/kailash"
20
+ # RbConfig::CONFIG["ruby_version"] is the ABI key, e.g. "3.3.0"; the fat-gem
21
+ # subdir uses the "major.minor" form ("3.3") that rake-compiler emits.
22
+ abi = RbConfig::CONFIG["ruby_version"][/\A\d+\.\d+/]
23
+ require_relative "kailash/#{abi}/kailash"
7
24
  rescue LoadError
8
- # Fall back to searching the load path (for platform gems)
9
- require "kailash/kailash"
25
+ begin
26
+ # Flat layout: source gem / dev build / single-ABI host build.
27
+ require_relative "kailash/kailash"
28
+ rescue LoadError
29
+ # Last resort: search the full load path (handles non-standard layouts).
30
+ require "kailash/kailash"
31
+ end
10
32
  end
11
33
 
12
34
  # Pure-Ruby convenience layer on top of the native MCP type wrappers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kailash
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Kailash Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-27 00:00:00.000000000 Z
11
+ date: 2026-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -47,7 +47,9 @@ extra_rdoc_files: []
47
47
  files:
48
48
  - README.md
49
49
  - lib/kailash.rb
50
- - lib/kailash/kailash.so
50
+ - lib/kailash/3.2/kailash.so
51
+ - lib/kailash/3.3/kailash.so
52
+ - lib/kailash/3.4/kailash.so
51
53
  - lib/kailash/mcp.rb
52
54
  - lib/kailash/trust_plane.rb
53
55
  - lib/kailash/version.rb