smbcloud-auth 0.7.5-x86_64-linux → 0.7.6-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: 913a38d83cc7619208caea8ccf56028d3ce3dcc153d384970b6839f43310e2d8
4
- data.tar.gz: 17787bb9707c0cedfada3af7cf3ab7fe1164042d7877febdb9e8bb3705464547
3
+ metadata.gz: 94bdc964438bcd6d2b1feb04c191c03f69391e4cf2ff40fe4bc746e71c30a8ae
4
+ data.tar.gz: 8f788a937fc28299d2082b6674fafd022ca8f1e501b7fa8eeb7ad3590ca89aba
5
5
  SHA512:
6
- metadata.gz: f9d7a5146d7a6280f08d5eae2ac19a628e4f24461a91478e36a561e9c3832477359b2da2a04b59f9c20de97fa9d44dd42695c25411256c41c9b7fae48492ac58
7
- data.tar.gz: 3ba9448eed38f2014b7a4cfe94c8d01f67ca9298a832dbc7fcc2e09b8cc737fb3b1e26f8103b181302fbb6092443742c3a9dbd7d0b75aebb74fba79bcdc4b225
6
+ metadata.gz: 6ef035e7f8a42660b0875927d60079122ee9e90711a847aa51d20ebd9bb7f3bb6b022b01f6757d445bb683a0eea8be104e3496352cddc0e669ca078a9a94e137
7
+ data.tar.gz: 8ef44bd8cef8ebb3ab2607d3f569a3362d7de566cb06f0c72bfcea24b568d1074db79ecf5f52815bb137502067e0274303399eb503c1014c9f16e713bab02edb
data/Rakefile CHANGED
@@ -9,24 +9,8 @@ GEMSPEC = Gem::Specification.load('auth.gemspec')
9
9
 
10
10
  RbSys::ExtensionTask.new('auth', GEMSPEC) do |ext|
11
11
  ext.lib_dir = 'lib/auth'
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?('auth.bundle')
25
-
26
- t.enhance do
27
- sh 'install_name_tool', '-id', '@rpath/auth.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/auth/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Auth
4
- VERSION = '0.7.5'
4
+ VERSION = '0.7.6'
5
5
  end
data/lib/auth.rb CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  require 'json'
4
4
  require_relative 'auth/version'
5
- require_relative 'auth/auth'
5
+ # Fat native gems ship one extension per Ruby minor (lib/auth/3.4/auth.bundle);
6
+ # source and single-ABI builds put it directly under lib/auth/.
7
+ begin
8
+ RUBY_VERSION =~ /(\d+\.\d+)/
9
+ require_relative "auth/#{Regexp.last_match(1)}/auth"
10
+ rescue LoadError
11
+ require_relative 'auth/auth'
12
+ end
6
13
 
7
14
  module Auth
8
15
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smbcloud-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
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-20 00:00:00.000000000 Z
11
+ date: 2026-10-24 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: json
@@ -31,14 +32,16 @@ executables: []
31
32
  extensions: []
32
33
  extra_rdoc_files: []
33
34
  files:
34
- - ".rubocop.yml"
35
- - ".ruby-version"
36
35
  - CHANGELOG.md
37
36
  - README.md
38
37
  - Rakefile
39
38
  - ext/.keep
40
39
  - lib/auth.rb
41
- - lib/auth/auth.so
40
+ - lib/auth/3.1/auth.so
41
+ - lib/auth/3.2/auth.so
42
+ - lib/auth/3.3/auth.so
43
+ - lib/auth/3.4/auth.so
44
+ - lib/auth/4.0/auth.so
42
45
  - lib/auth/version.rb
43
46
  - sig/auth.rbs
44
47
  homepage: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/auth
@@ -49,6 +52,7 @@ metadata:
49
52
  homepage_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/auth
50
53
  source_code_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/auth
51
54
  changelog_uri: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/gems/auth/CHANGELOG.md
55
+ post_install_message:
52
56
  rdoc_options: []
53
57
  require_paths:
54
58
  - lib
@@ -56,17 +60,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
60
  requirements:
57
61
  - - ">="
58
62
  - !ruby/object:Gem::Version
59
- version: '3.4'
63
+ version: '3.1'
60
64
  - - "<"
61
65
  - !ruby/object:Gem::Version
62
- version: 3.5.dev
66
+ version: 4.1.dev
63
67
  required_rubygems_version: !ruby/object:Gem::Requirement
64
68
  requirements:
65
69
  - - ">="
66
70
  - !ruby/object:Gem::Version
67
71
  version: 3.3.11
68
72
  requirements: []
69
- rubygems_version: 3.6.2
73
+ rubygems_version: 3.5.23
74
+ signing_key:
70
75
  specification_version: 4
71
76
  summary: Ruby bindings for the smbCloud Auth SDK.
72
77
  test_files: []
data/.rubocop.yml DELETED
@@ -1,21 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 3.1
3
- NewCops: enable
4
- Exclude:
5
- - "vendor/**/*"
6
- - "tmp/**/*"
7
- - "target/**/*"
8
- - "pkg/**/*"
9
-
10
- # Native extension wrapper gems use a bare `module Auth; end` stub at the
11
- # top level so Magnus can register the native methods into the right namespace.
12
- # Having both that stub and the real `SmbCloud::Auth` implementation in one
13
- # file is intentional — splitting them would break the require chain.
14
- Style/OneClassPerFile:
15
- Enabled: false
16
-
17
- # Yard / CHANGELOG serve as the documentation source for this gem.
18
- # Requiring top-level doc comments on every module and class adds noise
19
- # without benefit for a thin wrapper library.
20
- Style/Documentation:
21
- Enabled: false
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.4.2
data/lib/auth/auth.so DELETED
Binary file