hesabu 0.1.8 → 0.1.9

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: 559fec3b3561f5cbaba91467fad0248aa999cf772290bcc34171367a9cccb937
4
- data.tar.gz: 9227ce72caa8914e47401d6de55d531cbd275089303622a2d78853e4ea651a46
3
+ metadata.gz: 4e7fe8152071912e2145f733b37974f5ad22cb4be7d6958ef8635eca2181c282
4
+ data.tar.gz: 3bb4725f7619d334db83e1f352832052863ed36e2368e086446393cbbd2246d2
5
5
  SHA512:
6
- metadata.gz: 6a9c8b138df926fca41f8ae2fa5abf74984a76ee08716c0fba3c98a79313cc17da4bdc3c80f4b0fd490045381f5bdb50ea4b4b7708c3d160d83b423159d33582
7
- data.tar.gz: b13178eaf0fc07a89df9271ac2f2f5e33d64f169539c9f5f77b0228033bdd58b06cce64ca6bc71f821c54b04038bc9728a8ad39cf2db08a6a073e43b991f1676
6
+ metadata.gz: 377563838861ed86689ab2116b411e89d99cd0e7ced471d3bec25acb7280856a5ee1ed19ed1ea22834b4e30dbb4f755c5776bba1c71992481c0a6e0b2208aad6
7
+ data.tar.gz: f35841ba0bed0e72fbc3937e84ede94b409e017f00a3c821194c3d757e5e4c06698e2a7e977832b16cb46a80151346d1262d2b7f649d03dc87f398aac6feb8dc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hesabu (0.1.7)
4
+ hesabu (0.1.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -5,7 +5,10 @@
5
5
 
6
6
  # Hesabu
7
7
 
8
- Hesabu : equation solver based on parslet.
8
+ Hesabu : equations solver relies on https://github.com/BLSQ/go-hesabu to solve equations
9
+
10
+ Hesabu is swahili word for arithmetic.
11
+
9
12
 
10
13
  ## sample usage
11
14
  ```ruby
@@ -21,17 +24,18 @@ Hesabu : equation solver based on parslet.
21
24
 
22
25
  The solver will deduce the correct order and find the values of a,b and c.
23
26
 
24
- The expressions can be more complex (excel like), see the supported functions [here](https://github.com/BLSQ/hesabu/blob/master/lib/hesabu/types/fun_call.rb#L87)
27
+ The expressions can be more complex (excel like), see the supported functions [here](https://github.com/BLSQ/hesabu/blob/master/spec/lib/hesabu/various_expressions_spec.rb#L12)
25
28
 
26
- Currently the solver is case sensitive (except function names)
29
+ When parsing or solving, things can go wrong, here are various [cases](https://github.com/BLSQ/hesabu/blob/master/spec/lib/hesabu/errors_spec.rb)
27
30
 
28
- Nb: Hesabu is swahili word for arithmetic.
31
+ Currently the solver :
32
+ - is case sensitive.
33
+ - and fast (32000 equations in 3 seconds)
29
34
 
30
35
  ## Alternatives
31
36
 
32
37
  * https://github.com/rubysolo/dentaku more complete, currently less performant.
33
38
 
34
-
35
39
  # Development
36
40
 
37
41
  ## Running the tests
data/bin/hesabucli CHANGED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Hesabu
2
- VERSION = "0.1.8".freeze
2
+ VERSION = "0.1.9".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hesabu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stéphan Mestach
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-10 00:00:00.000000000 Z
11
+ date: 2018-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler