parsecs 0.14.1 → 0.14.2

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: 905bbac64279b895e489f739d6fc5171445d9a809306641a541688b525466cde
4
- data.tar.gz: 25572af9b533b844d1f7563ee2f245fde5deab62983e1bb3625609b73654db90
3
+ metadata.gz: 054f39cf1102392e9a7903764bfa7626aaec090208c9f519d5976e77cd740040
4
+ data.tar.gz: 924762e77fe847835dec7791e36f8c3b8ba30bb9d09bbd4a8ea074b037d3927b
5
5
  SHA512:
6
- metadata.gz: 4e401c2f0242f26cb46a97041a172b2ea9e3b7632b68c1c642c8a92750d16d7f2741f9aa080fce180623eee8118c229168fef1a8d0c49115d25a3c6cad76dca3
7
- data.tar.gz: 6c1d9c4651f4af290337952bc05c7e0625c611a44d965adcffb4c631f4d7fbb7cc85479b939d214843836d4a4b304587180d3ce07a6a6665e29a66f6e7a064ab
6
+ metadata.gz: a301312a251e8aa72c3292a2f434e0c6be5533f139c0bbdb1bef98c68c9e03daf4688d48bf82b95f4b9d4d19191538d8940039aa3253e5e5ebda2dfbb15ae4c4
7
+ data.tar.gz: dd656c5fa68824cd0b83cc25fe8745e42a240088714bbb2a3dd56e6b749bd372cdff9404aa13ff1199e9bc82677eaf2fffb843bc46cd889b30a39cf8598aa878
@@ -38,7 +38,7 @@ libs.each do |lib|
38
38
  end
39
39
 
40
40
  GIT_REPOSITORY = 'https://github.com/oxeanbits/equations-parser.git'.freeze
41
- COMMIT = '39d949b5f53d1650eb8f166db3883900f5ce55d4'.freeze
41
+ COMMIT = 'a210f5def5048ddd8e9095adeccfc27f39dd7811'.freeze
42
42
 
43
43
  Dir.chdir(BASEDIR) do
44
44
  system('git init')
@@ -74,10 +74,13 @@ Dir.chdir(BASEDIR) do
74
74
  Dir.chdir('ext/libnativemath/') do
75
75
  system('make')
76
76
 
77
- next if RUBY_PLATFORM.match? 'darwin'
78
-
77
+ # Copy extension file to lib directory for all platforms
79
78
  if RUBY_VERSION >= '3.2'
80
- FileUtils.cp('libnativemath.so', '../../lib/')
79
+ if RUBY_PLATFORM.match? 'darwin'
80
+ FileUtils.cp('libnativemath.bundle', '../../lib/libnativemath.bundle')
81
+ else
82
+ FileUtils.cp('libnativemath.so', '../../lib/')
83
+ end
81
84
  end
82
85
  end
83
86
  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.14.1'.freeze
9
+ VERSION = '0.14.2'.freeze
10
10
 
11
11
  # evaluates the equation and returns only the result
12
12
  def self.eval_equation(equation)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nilton Vasques
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-12-04 00:00:00.000000000 Z
13
+ date: 2025-07-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest