tail_merge 0.4.2-x86_64-linux → 0.4.3-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 +4 -4
- data/Rakefile +19 -2
- data/lib/tail_merge/version.rb +1 -1
- data/lib/tail_merge.rb +1 -1
- data/tail_merge-0.4.2.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31273f4dda84f7f310782b6a2efcedf582df3e36087333c0cc0bd368cd935358
|
4
|
+
data.tar.gz: bc4f23ea40e676288947000981f63a4868e8b76d6bf25b6837f57c503c403dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9212976fb666fa095b1b99d085d6b19f2444dc267ce792b50a6f446e65688d347a718bc84b431ec94d2b471f0b2dccb16f74d970efbd8247166ae0da037f4ddb
|
7
|
+
data.tar.gz: db3d808c164791af86e81183ad9a1f43b408dc4be84065cd0a12ba724f4fc6f55e3f40c444247890f67b5e429af53e103d1181231c5b836fe06933fcc5f0f7f4
|
data/Rakefile
CHANGED
@@ -41,12 +41,29 @@ PLATFORMS = %w[
|
|
41
41
|
RbSys::ExtensionTask.new("merger", GEMSPEC) do |ext|
|
42
42
|
ext.lib_dir = "lib/tail_merge"
|
43
43
|
ext.cross_compile = true
|
44
|
-
ext.cross_platform = %w[x86-mingw32 x64-mingw-ucrt x64-mingw32 x86-linux x86_64-linux x86_64-darwin arm64-darwin]
|
44
|
+
ext.cross_platform = %w[x86-mingw32 x64-mingw-ucrt x64-mingw32 x86-linux x86_64-linux aarch64-linux x86_64-darwin arm64-darwin]
|
45
45
|
end
|
46
46
|
|
47
47
|
desc "Build native extension for a given platform (i.e. `rake 'native[x86_64-linux]'`)"
|
48
48
|
task :native, [:platform] do |_t, platform:|
|
49
|
-
|
49
|
+
raise ArgumentError, "platform is required, e.g. rake 'native[x86_64-linux]'" if platform.nil? || platform.empty?
|
50
|
+
|
51
|
+
if platform.end_with?("-darwin")
|
52
|
+
# On macOS runners, prefer the native rake task (no Docker available)
|
53
|
+
# Map generic arm64-darwin/x86_64-darwin to specific host suffix (e.g. arm64-darwin23)
|
54
|
+
require "rbconfig"
|
55
|
+
ruby_platform = RUBY_PLATFORM # e.g. "arm64-darwin23"
|
56
|
+
darwin_suffix = ruby_platform[/darwin\d+/, 0]
|
57
|
+
mapped = platform
|
58
|
+
if darwin_suffix && platform =~ /^(arm64|x86_64)-darwin$/
|
59
|
+
arch = platform.split("-").first
|
60
|
+
mapped = "#{arch}-#{darwin_suffix}"
|
61
|
+
end
|
62
|
+
sh "bundle", "exec", "rake", "native:#{mapped}", "gem"
|
63
|
+
else
|
64
|
+
# For Linux/Windows, use Docker-based cross compilation
|
65
|
+
sh "bundle", "exec", "rb-sys-dock", "--platform", platform, "--build"
|
66
|
+
end
|
50
67
|
end
|
51
68
|
|
52
69
|
task default: %i[compile test rubocop]
|
data/lib/tail_merge/version.rb
CHANGED
data/lib/tail_merge.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tail_merge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Achilleas Buisman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Merge Tailwind CSS classes
|
14
14
|
email:
|
@@ -28,6 +28,7 @@ files:
|
|
28
28
|
- lib/tail_merge/3.4/merger.so
|
29
29
|
- lib/tail_merge/version.rb
|
30
30
|
- sig/tail_merge.rbs
|
31
|
+
- tail_merge-0.4.2.gem
|
31
32
|
homepage: https://github.com/abuisman/tail_merge
|
32
33
|
licenses:
|
33
34
|
- MIT
|