parsecs 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5abfe818972ad4f07089bc1d4a481a7c72bc8b5afb80ee490b3b7f5150f71e49
4
- data.tar.gz: 6a10b41f9ebf29ce4a4d4acedee12bfd09695ecea764b597b7d9b8ef40c7d1a0
3
+ metadata.gz: 73ce5ab42330d07261fea6366c8447a84d42f122fd1e17ed5f5dfe2e5ae1b98a
4
+ data.tar.gz: 2fa1abbbd7c774413ba865cc323a8af10aba334ecce37d20253e9d66ddb4044a
5
5
  SHA512:
6
- metadata.gz: f2a8d47fa873fb8e8841cea8829d468ff06d7defeb5fb87d06e5432084b2609698550f483296252b11ae6de390cc40fe1cae842a963a293c76502af45e3e5d62
7
- data.tar.gz: b5e0a321445cdddd9b771f7496490cd76c2a51e687b74fc0b83685eb98c4dc369b9958ff4925a41cb8331ff93f8f7e955d907764336223da9d8290627688eba6
6
+ metadata.gz: 7651ae914b16c18d89fddd909198139dead5b7bacb90fd7a8e01825785e45cef76cedccc9ea3d4fab937f2928a478fb7c6a526cbfeaeccfe3f1531a00b463139
7
+ data.tar.gz: 1fcd74afb483205737096788c793da50158ab610e8a641fa168b5066cb6d34dde928ad6cfacb21ce68cc4e3cd483a32617f252ed5aa59a9b30f8cf99ead69b75
@@ -73,6 +73,9 @@ end
73
73
  Dir.chdir(BASEDIR) do
74
74
  Dir.chdir('ext/libnativemath/') do
75
75
  system('make')
76
+
77
+ next if RUBY_PLATFORM.match? 'darwin'
78
+
76
79
  if RUBY_VERSION >= '3.2'
77
80
  FileUtils.cp('libnativemath.so', '../../lib/')
78
81
  end
data/lib/parsec.rb CHANGED
@@ -6,7 +6,7 @@ module Parsec
6
6
  class Parsec
7
7
  using StringToBooleanRefinements
8
8
 
9
- VERSION = '0.11.9'.freeze
9
+ VERSION = '0.13.1'.freeze
10
10
 
11
11
  # evaluates the equation and returns only the result
12
12
  def self.eval_equation(equation)
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nilton Vasques
8
8
  - Victor Cordeiro
9
9
  - Beatriz Fagundes
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-25 00:00:00.000000000 Z
13
+ date: 2023-07-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
@@ -62,7 +62,7 @@ homepage: https://github.com/oxeanbits/parsec
62
62
  licenses:
63
63
  - MIT
64
64
  metadata: {}
65
- post_install_message:
65
+ post_install_message:
66
66
  rdoc_options: []
67
67
  require_paths:
68
68
  - lib
@@ -81,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - swig
83
83
  - cmake
84
- rubygems_version: 3.4.10
85
- signing_key:
84
+ rubygems_version: 3.1.6
85
+ signing_key:
86
86
  specification_version: 4
87
87
  summary: A gem to evaluate equations using muparserx C++ library
88
88
  test_files: