smbcloud-model 0.7.5-x86_64-linux → 1.0.0-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: 66735f6d4f608749d50317f467e00b3ea57afdb9f5632458481b2bc53bc4ed4e
4
- data.tar.gz: c5f41b6825d2e21747a2a32f0e18990ba7267ae71ac087cab1e1fb4be796159d
3
+ metadata.gz: 58d16c8600ffa5a70cd01e9e4156e08c8b6d13cce2939b6e492eb469a2eee5ef
4
+ data.tar.gz: 83868162ad38923fd7d48bb5cbc22ea150b2d8901a19e13f45f91ec670ba5483
5
5
  SHA512:
6
- metadata.gz: 2e5f352d3cf78968e28c6c0631aa781e38d290bfe1d770540006788dd554ae119bee27612c4dbcfc5782fc8c9cb9f89eec5f0e954504ba816ebdda90905c49ac
7
- data.tar.gz: b3f126fe257e05522de8a15c42b3f01496ebe215fa7ed0d8c7b1a0fd87e4dddaf70a27902818ee9df1efba2f6e65c8f6fd8e3be037e8418a83bfbae9f379b4f2
6
+ metadata.gz: 669e9d5bec3754976accf428f25f6fe63a8689faa2826f7c6bcc25a5ff2dd5f2c5c18f8d93446d64490968eb3e1f7ee5347c52a02710ecd9b0dd1f7ae55f9834
7
+ data.tar.gz: 3daee24de32421e6221cb2aa4b6aba01410efb377711d2287548029065554e8d945fa5e89dc7d20b5290ad5a83888ba972dd79f737eb3861310db19a71bf9ab9
data/README.md CHANGED
@@ -12,4 +12,4 @@ MIT
12
12
 
13
13
  ## Copyright
14
14
 
15
- © 2026 [Splitfire AB](https://5mb.app) ([smbCloud](https://smbcloud.xyz)).
15
+ © 2026 Seto Elkahfi ([smbCloud](https://smbcloud.xyz)). Distributed by [Splitfire AB](https://5mb.app).
data/Rakefile CHANGED
@@ -9,24 +9,8 @@ GEMSPEC = Gem::Specification.load('model.gemspec')
9
9
 
10
10
  RbSys::ExtensionTask.new('model', GEMSPEC) do |ext|
11
11
  ext.lib_dir = 'lib/model'
12
- end
13
-
14
- # macOS: the rb_sys/rake-compiler build emits the bundle as an MH_DYLIB with an
15
- # empty LC_ID_DYLIB install name (a plain `cargo build` does not). dyld on macOS
16
- # 15+/Tahoe rejects that with "load command string extends beyond end of load
17
- # command", so the gem fails to load. Stamp a valid install name onto every
18
- # bundle the build produces by enhancing the bundle file tasks themselves (which
19
- # is what `rake native gem` runs, not the top-level `compile`). install_name_tool
20
- # re-signs ad-hoc, ships on the macOS gem-build runners, and works across archs
21
- # (cross-built x86_64 bundles too). Idempotent.
22
- if RbConfig::CONFIG['host_os'] =~ /darwin/
23
- Rake::Task.tasks.each do |t|
24
- next unless t.name.end_with?('model.bundle')
25
-
26
- t.enhance do
27
- sh 'install_name_tool', '-id', '@rpath/model.bundle', t.name if File.exist?(t.name)
28
- end
29
- end
12
+ ext.cross_compile = true
13
+ ext.cross_platform = %w[x86_64-linux aarch64-linux arm64-darwin x86_64-darwin]
30
14
  end
31
15
 
32
16
  task default: :compile
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/model/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Model
4
- VERSION = '0.7.5'
4
+ VERSION = '1.0.0'
5
5
  end
data/lib/model.rb CHANGED
@@ -1,7 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative 'model/version'
4
- require_relative 'model/model'
4
+ # Fat native gems ship one extension per Ruby minor (lib/model/3.4/model.bundle);
5
+ # source and single-ABI builds put it directly under lib/model/.
6
+ begin
7
+ RUBY_VERSION =~ /(\d+\.\d+)/
8
+ require_relative "model/#{Regexp.last_match(1)}/model"
9
+ rescue LoadError
10
+ require_relative 'model/model'
11
+ end
5
12
 
6
13
  module Model
7
14
  class Error < StandardError; end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smbcloud-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 1.0.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Seto Elkahfi
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 2026-10-24 00:00:00.000000000 Z
11
+ date: 2026-10-31 00:00:00.000000000 Z
11
12
  dependencies: []
12
13
  description: Ruby bindings for shared smbCloud model types, backed by a native Rust
13
14
  extension.
@@ -17,13 +18,16 @@ executables: []
17
18
  extensions: []
18
19
  extra_rdoc_files: []
19
20
  files:
20
- - ".ruby-version"
21
21
  - CHANGELOG.md
22
22
  - README.md
23
23
  - Rakefile
24
24
  - ext/.keep
25
25
  - lib/model.rb
26
- - lib/model/model.so
26
+ - lib/model/3.1/model.so
27
+ - lib/model/3.2/model.so
28
+ - lib/model/3.3/model.so
29
+ - lib/model/3.4/model.so
30
+ - lib/model/4.0/model.so
27
31
  - lib/model/version.rb
28
32
  - sig/model.rbs
29
33
  homepage: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model
@@ -34,6 +38,7 @@ metadata:
34
38
  homepage_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model
35
39
  source_code_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model
36
40
  changelog_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model/CHANGELOG.md
41
+ post_install_message:
37
42
  rdoc_options: []
38
43
  require_paths:
39
44
  - lib
@@ -41,17 +46,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
41
46
  requirements:
42
47
  - - ">="
43
48
  - !ruby/object:Gem::Version
44
- version: '3.4'
49
+ version: '3.1'
45
50
  - - "<"
46
51
  - !ruby/object:Gem::Version
47
- version: 3.5.dev
52
+ version: 4.1.dev
48
53
  required_rubygems_version: !ruby/object:Gem::Requirement
49
54
  requirements:
50
55
  - - ">="
51
56
  - !ruby/object:Gem::Version
52
57
  version: 3.3.11
53
58
  requirements: []
54
- rubygems_version: 3.6.2
59
+ rubygems_version: 3.5.23
60
+ signing_key:
55
61
  specification_version: 4
56
62
  summary: Ruby bindings for the smbCloud model types.
57
63
  test_files: []
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.4.2
data/lib/model/model.so DELETED
Binary file