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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c587559d463f49004ee338b5eb020021f32ba84cd7f3d7e7d908d96003a2f07
4
- data.tar.gz: 5ace4a57ca349c5f5582651527c63cd677b7c8d87cc3f5283e92b4554a50f6cc
3
+ metadata.gz: 7c07da46765f145211789d113f2749f5c2d597f58a1abd7f264b280bf7a9a485
4
+ data.tar.gz: 8a5e5f1618229ec66e1849662558c52b0f52198e40fe33c6198de334d25389b3
5
5
  SHA512:
6
- metadata.gz: dba74cdbe044940764e28aea5643e2ff1cfe480ab3de45a4cd3bb48f1c44c6cb30ee3178dd91c27abdfba85d18d5956371fb221234016fd236bdf368574a93d9
7
- data.tar.gz: 3c15c34f6fd37d83413146c957bfdea44b97a0357749eca5925f7e881103f8f2a118aaf7a0f67d227916e84a85b62c22a75227d02f4894bdb8a3ff1f5ba755ac
6
+ metadata.gz: f6f090c8b6a43e380600922ac4b693ccda457f5cda9db021f16e10aed0326580bc199e920e8ed1fe41b7f35c737d70701ae70cd2794021aa68ab76ab37560ac7
7
+ data.tar.gz: '082ff0a8e291f920ad81ebbe2f51c2dd203f2085df6b7aaf646440827988d5305bfea5c7e9e671eb529652d2a6e8ab183961ea7ec1a796a8e833b74352cb7287'
@@ -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 (cpu == 'x86_64') && os =~ (/linux/)
771
+ if cpu == 'x86_64' && os =~ /linux/
772
772
  library_path = 'libtangram/x86_64-unknown-linux-gnu/libtangram.so'
773
- elsif (cpu == 'aarch64') && os =~ (/linux/)
773
+ elsif cpu == 'aarch64' && os =~ /linux/
774
774
  library_path = 'libtangram/aarch64-unknown-linux-gnu/libtangram.so'
775
- elsif (cpu == 'x86_64') && os =~ (/darwin/)
775
+ elsif cpu == 'x86_64' && os =~ /darwin/
776
776
  library_path = 'libtangram/x86_64-apple-darwin/libtangram.dylib'
777
- elsif (cpu == 'aarch64') && os =~ (/darwin/)
777
+ elsif (cpu == 'arm' || cpu == 'arm64') && os =~ /darwin/
778
778
  library_path = 'libtangram/aarch64-apple-darwin/libtangram.dylib'
779
- elsif (cpu == 'x86_64') && os =~ (/mingw/)
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.0"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tangram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tangram