tangram 0.6.0 → 0.6.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/lib/tangram/tangram.rb +5 -5
- data/tangram.gemspec +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: 7c07da46765f145211789d113f2749f5c2d597f58a1abd7f264b280bf7a9a485
|
|
4
|
+
data.tar.gz: 8a5e5f1618229ec66e1849662558c52b0f52198e40fe33c6198de334d25389b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6f090c8b6a43e380600922ac4b693ccda457f5cda9db021f16e10aed0326580bc199e920e8ed1fe41b7f35c737d70701ae70cd2794021aa68ab76ab37560ac7
|
|
7
|
+
data.tar.gz: '082ff0a8e291f920ad81ebbe2f51c2dd203f2085df6b7aaf646440827988d5305bfea5c7e9e671eb529652d2a6e8ab183961ea7ec1a796a8e833b74352cb7287'
|
data/lib/tangram/tangram.rb
CHANGED
|
@@ -768,15 +768,15 @@ module Tangram
|
|
|
768
768
|
module LibTangram
|
|
769
769
|
cpu = RbConfig::CONFIG['host_cpu']
|
|
770
770
|
os = RbConfig::CONFIG['host_os']
|
|
771
|
-
if
|
|
771
|
+
if cpu == 'x86_64' && os =~ /linux/
|
|
772
772
|
library_path = 'libtangram/x86_64-unknown-linux-gnu/libtangram.so'
|
|
773
|
-
elsif
|
|
773
|
+
elsif cpu == 'aarch64' && os =~ /linux/
|
|
774
774
|
library_path = 'libtangram/aarch64-unknown-linux-gnu/libtangram.so'
|
|
775
|
-
elsif
|
|
775
|
+
elsif cpu == 'x86_64' && os =~ /darwin/
|
|
776
776
|
library_path = 'libtangram/x86_64-apple-darwin/libtangram.dylib'
|
|
777
|
-
elsif (cpu == '
|
|
777
|
+
elsif (cpu == 'arm' || cpu == 'arm64') && os =~ /darwin/
|
|
778
778
|
library_path = 'libtangram/aarch64-apple-darwin/libtangram.dylib'
|
|
779
|
-
elsif
|
|
779
|
+
elsif cpu == 'x86_64' && os =~ /mingw/
|
|
780
780
|
library_path = 'libtangram/x86_64-pc-windows-msvc/tangram.dll'
|
|
781
781
|
else
|
|
782
782
|
raise 'Tangram for Ruby does not yet support your combination of CPU architecture and operating system. Open an issue at https://github.com/tangramxyz/tangram/issues/new or email us at help@tangram.xyz to complain.'
|
data/tangram.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "tangram"
|
|
3
|
-
s.version = "0.6.
|
|
3
|
+
s.version = "0.6.1"
|
|
4
4
|
s.summary = "Tangram for Ruby"
|
|
5
5
|
s.description = "Make predictions with a Tangram model from your Ruby app. Learn more at https://www.tangram.xyz/."
|
|
6
6
|
s.authors = ["Tangram"]
|