parsecs 0.11.0 → 0.11.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/ext/libnativemath/extconf.rb +1 -1
- data/lib/parsec.rb +1 -1
- data/test/test_parsec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 350da8f290d5c71fe46d88c97ea79a6aabb24a0ecb87bff326a3483c3858ad63
|
4
|
+
data.tar.gz: 0d0484793521f595e4b7fb4693892d0e83c4a26afefab215ec51c708c1f04745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c097c7bf8cf1ad6d1578043f9add109dc300d07cf26c21f9b5b28276f1345a629790d9c8eb91d7bd4973e8043b4c4484d5c8ede12aa071b46f755839ed2ce248
|
7
|
+
data.tar.gz: 3bffd0f7e85ac0eb765db5e01d8bf7b2e6b36660a1fa262456eeff1aab1516913bf2f4695e75d9d9f9fe0442aa3902f0f8e4ddcc2e7bd83d7b82b7b592ee24fd
|
@@ -38,7 +38,7 @@ libs.each do |lib|
|
|
38
38
|
end
|
39
39
|
|
40
40
|
GIT_REPOSITORY = 'https://github.com/niltonvasques/equations-parser.git'.freeze
|
41
|
-
COMMIT = '
|
41
|
+
COMMIT = 'b011ace5697fa65eade579f1c85aa38fd1fb816d'.freeze
|
42
42
|
|
43
43
|
Dir.chdir(BASEDIR) do
|
44
44
|
system('git init')
|
data/lib/parsec.rb
CHANGED
data/test/test_parsec.rb
CHANGED
@@ -84,6 +84,7 @@ class TestParsec < Minitest::Test
|
|
84
84
|
assert_equal('test lowercase', parser.eval_equation('tolower("TEST LOWERCASE")'))
|
85
85
|
assert_equal('Hello', parser.eval_equation('left("Hello World", 5)'))
|
86
86
|
assert_equal('World', parser.eval_equation('right("Hello World", 5)'))
|
87
|
+
assert_equal('Hello World', parser.eval_equation('right("Hello World", 20)'))
|
87
88
|
end
|
88
89
|
|
89
90
|
def test_general_equations
|
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.11.
|
4
|
+
version: 0.11.1
|
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: 2021-
|
13
|
+
date: 2021-09-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest
|