fastqr 1.0.4 → 1.0.6
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/CMakeLists.txt +1 -1
- data/VERSION +1 -1
- data/bindings/nodejs/package.json +2 -2
- data/bindings/ruby/extconf.rb +11 -9
- data/bindings/ruby/lib/fastqr/version.rb +1 -1
- data/bindings/ruby/prebuilt/macos-arm64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-arm64/lib/libfastqr.dylib +0 -0
- data/bindings/ruby/prebuilt/macos-arm64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64/lib/libfastqr.dylib +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64.tar.gz +0 -0
- data/src/fastqr.cpp +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64e5094926c2ab8b1364ab771d1f54c143ad6faff6bdd16a9628126580a33cc6
|
|
4
|
+
data.tar.gz: 2c2d8cf8992fcf4a8bd74a972831d5caad6ab13f8ca748a401bf0976412e7746
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f2d657235b53a9aca3cc7069c0067a85d1885dbe487e7ba0df6f455035ce0ffa2b933ef4dd189440465646bf2da34bfe0914c73d8e27c3748e78649c6f382d3
|
|
7
|
+
data.tar.gz: f51d20d88bd2c25edcec98f94905196688b5a4fae88b4e9500619b4ee85e6d0cd2dd5b515266aac950bacd998bb0f92adca4ccdfe50a16697322cdadcb8a1aeb
|
data/CMakeLists.txt
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.6
|
data/bindings/ruby/extconf.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'rbconfig'
|
|
|
5
5
|
def check_prebuilt_binary
|
|
6
6
|
os = RbConfig::CONFIG['host_os']
|
|
7
7
|
arch = RbConfig::CONFIG['host_cpu']
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
platform = case os
|
|
10
10
|
when /darwin/
|
|
11
11
|
case arch
|
|
@@ -28,26 +28,28 @@ def check_prebuilt_binary
|
|
|
28
28
|
else
|
|
29
29
|
nil
|
|
30
30
|
end
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
return false unless platform
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
|
|
34
|
+
# When installed as gem, binaries are in bindings/ruby/prebuilt/
|
|
35
|
+
# When running from repo, they're in ../../prebuilt/
|
|
36
|
+
prebuilt_dir = File.expand_path("./prebuilt/#{platform}", __dir__)
|
|
37
|
+
binary_path = File.join(prebuilt_dir, 'bin', 'fastqr')
|
|
38
|
+
|
|
37
39
|
if File.exist?(binary_path)
|
|
38
40
|
puts "✅ Found pre-built binary at #{binary_path}"
|
|
39
41
|
puts "⏭️ Skipping compilation"
|
|
40
|
-
|
|
42
|
+
|
|
41
43
|
# Create a dummy Makefile that does nothing
|
|
42
44
|
File.open('Makefile', 'w') do |f|
|
|
43
45
|
f.puts "all:\n\t@echo 'Using pre-built binary'\n"
|
|
44
46
|
f.puts "install:\n\t@echo 'Using pre-built binary'\n"
|
|
45
47
|
f.puts "clean:\n\t@echo 'Nothing to clean'\n"
|
|
46
48
|
end
|
|
47
|
-
|
|
49
|
+
|
|
48
50
|
return true
|
|
49
51
|
end
|
|
50
|
-
|
|
52
|
+
|
|
51
53
|
false
|
|
52
54
|
end
|
|
53
55
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/src/fastqr.cpp
CHANGED