smbcloud-model 0.7.5-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 +7 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +3 -0
- data/README.md +15 -0
- data/Rakefile +32 -0
- data/ext/.keep +0 -0
- data/lib/model/model.so +0 -0
- data/lib/model/version.rb +5 -0
- data/lib/model.rb +8 -0
- data/sig/model.rbs +4 -0
- metadata +57 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 66735f6d4f608749d50317f467e00b3ea57afdb9f5632458481b2bc53bc4ed4e
|
|
4
|
+
data.tar.gz: c5f41b6825d2e21747a2a32f0e18990ba7267ae71ac087cab1e1fb4be796159d
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 2e5f352d3cf78968e28c6c0631aa781e38d290bfe1d770540006788dd554ae119bee27612c4dbcfc5782fc8c9cb9f89eec5f0e954504ba816ebdda90905c49ac
|
|
7
|
+
data.tar.gz: b3f126fe257e05522de8a15c42b3f01496ebe215fa7ed0d8c7b1a0fd87e4dddaf70a27902818ee9df1efba2f6e65c8f6fd8e3be037e8418a83bfbae9f379b4f2
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.4.2
|
data/CHANGELOG.md
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# smbcloud-model Gem
|
|
2
|
+
|
|
3
|
+
Ruby package for `smbcloud-model`.
|
|
4
|
+
|
|
5
|
+
See [docs/gems.md](./docs/gems.md).
|
|
6
|
+
|
|
7
|
+
For the wider SDK context, visit the [smbCloud developer docs](https://smbcloud.xyz/posts).
|
|
8
|
+
|
|
9
|
+
## License
|
|
10
|
+
|
|
11
|
+
MIT
|
|
12
|
+
|
|
13
|
+
## Copyright
|
|
14
|
+
|
|
15
|
+
© 2026 [Splitfire AB](https://5mb.app) ([smbCloud](https://smbcloud.xyz)).
|
data/Rakefile
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'bundler/gem_tasks'
|
|
4
|
+
require 'rb_sys/extensiontask'
|
|
5
|
+
|
|
6
|
+
task build: :compile
|
|
7
|
+
|
|
8
|
+
GEMSPEC = Gem::Specification.load('model.gemspec')
|
|
9
|
+
|
|
10
|
+
RbSys::ExtensionTask.new('model', GEMSPEC) do |ext|
|
|
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
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
task default: :compile
|
data/ext/.keep
ADDED
|
File without changes
|
data/lib/model/model.so
ADDED
|
Binary file
|
data/lib/model.rb
ADDED
data/sig/model.rbs
ADDED
metadata
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: smbcloud-model
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.7.5
|
|
5
|
+
platform: x86_64-linux
|
|
6
|
+
authors:
|
|
7
|
+
- Seto Elkahfi
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 2026-10-24 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Ruby bindings for shared smbCloud model types, backed by a native Rust
|
|
13
|
+
extension.
|
|
14
|
+
email:
|
|
15
|
+
- seto@smbcloud.xyz
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- ".ruby-version"
|
|
21
|
+
- CHANGELOG.md
|
|
22
|
+
- README.md
|
|
23
|
+
- Rakefile
|
|
24
|
+
- ext/.keep
|
|
25
|
+
- lib/model.rb
|
|
26
|
+
- lib/model/model.so
|
|
27
|
+
- lib/model/version.rb
|
|
28
|
+
- sig/model.rbs
|
|
29
|
+
homepage: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model
|
|
30
|
+
licenses:
|
|
31
|
+
- MIT
|
|
32
|
+
metadata:
|
|
33
|
+
allowed_push_host: https://rubygems.org
|
|
34
|
+
homepage_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model
|
|
35
|
+
source_code_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model
|
|
36
|
+
changelog_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/model/CHANGELOG.md
|
|
37
|
+
rdoc_options: []
|
|
38
|
+
require_paths:
|
|
39
|
+
- lib
|
|
40
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
|
+
requirements:
|
|
42
|
+
- - ">="
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: '3.4'
|
|
45
|
+
- - "<"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 3.5.dev
|
|
48
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
|
+
requirements:
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 3.3.11
|
|
53
|
+
requirements: []
|
|
54
|
+
rubygems_version: 3.6.2
|
|
55
|
+
specification_version: 4
|
|
56
|
+
summary: Ruby bindings for the smbCloud model types.
|
|
57
|
+
test_files: []
|