parsecs 0.11.6 → 0.11.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/libnativemath/extconf.rb +10 -3
- data/lib/parsec.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27bb96b53f0a4c2da464056a9c3f50acd53d3e00d315e960d08286a19a4d398a
|
4
|
+
data.tar.gz: 174c608b61872c0d3417324a7053377826f3b679e8b80fed10519be12e32221b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d192592844f0e597ba28ec9a8b5e3a93436731b330048fff1b235a4e9f6237174949d25f1bf7d71ba646930257b9c4bef876f7a685678b3b35b3da5575e4af2c
|
7
|
+
data.tar.gz: 7452c90667c7edac02ce61c2b9f6063d64c3daf49917d4d340a38be3e33f2d13e32451ac8e39b51ca1936be1464e21d51e7be9479b1da13acf73b84b88df0442
|
@@ -37,8 +37,8 @@ libs.each do |lib|
|
|
37
37
|
$LOCAL_LIBS << "#{lib} "
|
38
38
|
end
|
39
39
|
|
40
|
-
GIT_REPOSITORY = 'https://github.com/
|
41
|
-
COMMIT = '
|
40
|
+
GIT_REPOSITORY = 'https://github.com/oxeanbits/equations-parser.git'.freeze
|
41
|
+
COMMIT = '8c4fab5b8949704cf4d80d4a4a898f451cbb3890'.freeze
|
42
42
|
|
43
43
|
Dir.chdir(BASEDIR) do
|
44
44
|
system('git init')
|
@@ -64,10 +64,17 @@ unless File.exist?("#{MUPARSER_LIB}/libmuparserx.a")
|
|
64
64
|
abort 'libmuparserx.a is missing.'
|
65
65
|
end
|
66
66
|
|
67
|
-
|
67
|
+
if RUBY_VERSION >= '3.2'
|
68
|
+
create_makefile('../ext/libnativemath')
|
69
|
+
else
|
70
|
+
create_makefile('ext/libnativemath/libnativemath')
|
71
|
+
end
|
68
72
|
|
69
73
|
Dir.chdir(BASEDIR) do
|
70
74
|
Dir.chdir('ext/libnativemath/') do
|
71
75
|
system('make')
|
76
|
+
if RUBY_VERSION >= '3.2'
|
77
|
+
FileUtils.cp('libnativemath.so', '../../lib/')
|
78
|
+
end
|
72
79
|
end
|
73
80
|
end
|
data/lib/parsec.rb
CHANGED
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.11.
|
4
|
+
version: 0.11.9
|
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:
|
13
|
+
date: 2023-04-12 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/niltonvasques/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.
|
85
|
-
signing_key:
|
84
|
+
rubygems_version: 3.4.10
|
85
|
+
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: A gem to evaluate equations using muparserx C++ library
|
88
88
|
test_files:
|