biodiversity 6.0.0 → 6.0.1
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/ext/gnparser-arm-linux +0 -0
- data/ext/{gnparser-linux → gnparser-arm-mac} +0 -0
- data/ext/{gnparser-mac → gnparser-arm-win.exe} +0 -0
- data/ext/{gnparser-win.exe → gnparser-x86-linux} +0 -0
- data/ext/gnparser-x86-mac +0 -0
- data/ext/gnparser-x86-win.exe +0 -0
- data/lib/biodiversity/parser/gnparser.rb +13 -1
- data/lib/biodiversity/version.rb +2 -2
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b41cc07615d0d3938c8178c9733dbc88a78bdc71a70933f0a551d6cb4439456
|
|
4
|
+
data.tar.gz: ff370cafa348d831ba7417857e8c0b8497cd610c3ba38bc3ebbfcb0cb45624cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1786c6f8b3e657dff293c9e1ebe0df9b96671b6f33f3de8c350ad2ac39a9b1d41bb5cd79069a011f5b7de9ce8e6ca5e340b83448af76cbbb111bc374a061603
|
|
7
|
+
data.tar.gz: 9257844b871b4a24f9e7c8e3b130b29bda313d63d74b04f355fdaf2be35c18ea865078ae9eaaedd854d373ff2831b2dca215f4bc0f81580728aa5d2179ebef0a
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -48,8 +48,20 @@ module Biodiversity
|
|
|
48
48
|
else
|
|
49
49
|
raise "Unsupported platform: #{Gem.platforms[1].os}"
|
|
50
50
|
end
|
|
51
|
+
|
|
52
|
+
target_cpu = RbConfig::CONFIG['target_cpu']
|
|
53
|
+
cpu_arch =
|
|
54
|
+
case target_cpu
|
|
55
|
+
when /x86|x64/
|
|
56
|
+
'x86'
|
|
57
|
+
when /aarch|arm/
|
|
58
|
+
'arm'
|
|
59
|
+
else
|
|
60
|
+
raise "Unsupported CPU Architecture: #{target_cpu}"
|
|
61
|
+
end
|
|
62
|
+
|
|
51
63
|
path = File.join(__dir__, '..', '..', '..',
|
|
52
|
-
'ext', "gnparser-#{platform_suffix}")
|
|
64
|
+
'ext', "gnparser-#{cpu_arch}-#{platform_suffix}")
|
|
53
65
|
|
|
54
66
|
@stdin, @stdout = Open3.popen2(
|
|
55
67
|
"#{path} --format #{format} --details --quiet --stream --jobs 1 #{@extra_settings}"
|
data/lib/biodiversity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: biodiversity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Mozzherin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|
|
@@ -126,9 +126,12 @@ files:
|
|
|
126
126
|
- README.md
|
|
127
127
|
- Rakefile
|
|
128
128
|
- biodiversity.gemspec
|
|
129
|
-
- ext/gnparser-linux
|
|
130
|
-
- ext/gnparser-mac
|
|
131
|
-
- ext/gnparser-win.exe
|
|
129
|
+
- ext/gnparser-arm-linux
|
|
130
|
+
- ext/gnparser-arm-mac
|
|
131
|
+
- ext/gnparser-arm-win.exe
|
|
132
|
+
- ext/gnparser-x86-linux
|
|
133
|
+
- ext/gnparser-x86-mac
|
|
134
|
+
- ext/gnparser-x86-win.exe
|
|
132
135
|
- lib/biodiversity.rb
|
|
133
136
|
- lib/biodiversity/parser.rb
|
|
134
137
|
- lib/biodiversity/parser/gnparser.rb
|