jaina 0.4.0 → 0.4.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: 6a90305fd0da0eae831f491b174247e4e057eec761c841615c81b61eb2950ad2
4
- data.tar.gz: 9ffe0dd0616419c9dab9d626f5047955d23d9aaa9db3cdd4054d63d0d5acaa10
3
+ metadata.gz: 9f027e5d8c994d9cacf4ff5e0a7445fb2672ca8535094761226ebc9c7d953824
4
+ data.tar.gz: 22f7134e0f3e5cebfc083ee5ba3193b670b894f8a90f3c8446ba1a4792bc4e3e
5
5
  SHA512:
6
- metadata.gz: 6c8d4c1c643e519fee75dc68698e6a74e33ef79476a78e5b831cd80c1bc77d8465eddfdc61f451257b04d3eb851f0e40607d2d1d6fff66bf237478ad4a2c9034
7
- data.tar.gz: c47ebf4c452f44729936a3210614999debe1e1859fa9fe0f5a775650d217d71ce189f1692332579079c99ff0b412593fd735905084322183ece79d0c4bb69ce2
6
+ metadata.gz: 71c341c0ea6dc1fa448b7ed8faf5be9e0dea67f4990f73b61b83a6094357e33c6372e194c40e3817a75dcd5a398e30926dcd5e18abc5c17bf2bc959f1270c82a
7
+ data.tar.gz: a52868c0af5703644c7f41c55179c9c1a5063b6f5496fa7d93a052c64a6b882d5269cb4de86ac1cda067881458eab2839dce75be422edea3ba8bbd99e8a17a80
@@ -1,9 +1,13 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [0.4.1] - 2019-06-24
5
+ ### Fixed
6
+ - Fxied `NOT` operator (`#evaluate` fails on incorrect `context` varibale name);
7
+
4
8
  ## [0.4.0] - 2019-06-24
5
9
  ### Added
6
- - Support for operand attributes and operator attributes;
10
+ - Support for operand arguments and operator arguments;
7
11
 
8
12
  ## [0.3.0] - 2019-06-21
9
13
  ### Added
data/README.md CHANGED
@@ -27,6 +27,7 @@ require 'jaina'
27
27
  - [Context API](#context-api)
28
28
  - [Parse your code (build AST)](#parse-your-code-build-ast)
29
29
  - [Evaluate your code](#evaluate-your-code)
30
+ - [Custom operator/operand arguments](#custom-operatoroperand-arguments)
30
31
  - [List registered operands and operators](#list-and-fetch-registered-operands-and-operators)
31
32
  - [Full example](#full-example)
32
33
 
@@ -14,7 +14,7 @@ module Jaina::Parser::Expression::Operator
14
14
  #
15
15
  # @api private
16
16
  # @since 0.2.0
17
- def evaluate(contenxt)
17
+ def evaluate(context)
18
18
  !expression.evaluate(context)
19
19
  end
20
20
 
@@ -5,5 +5,5 @@ module Jaina
5
5
  #
6
6
  # @api public
7
7
  # @since 0.0.0
8
- VERSION = '0.4.0'
8
+ VERSION = '0.4.1'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jaina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov