lamep 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lamep.gemspec +1 -1
  3. data/lib/lamep.rb +20 -20
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a557b4e3fe5b67811e338d680c486345ec1bb7ed
4
- data.tar.gz: f9ad186e84d8465682dfc46ce32da2362663d1db
3
+ metadata.gz: e7df1ad53fccf129f90b344a1c85ec97fcc722f8
4
+ data.tar.gz: f8d8e690f2d63125ae50b67835b2bf6991a012a9
5
5
  SHA512:
6
- metadata.gz: 64b5b8d9bed78b78e68b481e86bdc641b4b34dc3b16c8365e2c9d45348c751129a53d9b5cfdfe8271bdabd23f08a5b742f94ef5cabb1e79f3099e710be5ab99f
7
- data.tar.gz: 67133170d913738facf242cd13a124802306a11ef9d244c47e54049a6820016320691ff258403bfa9e563e909d3173f624d709f8b7ff6fef5213cd547bedf0c5
6
+ metadata.gz: ec539f058ea8ad672158098d0570b037e464c2a45f5bb1248245993cb92a809271413748838bc40d3065950ee1c60f3a74de3fcefd390a7a45dfd815e4b289e3
7
+ data.tar.gz: af99d4045c28f09132ed13c586f0a3afa0dc50c7e57e4baecd7afdeedd704a5105e767ae5c1335fffb66b271c4d6d403b7f0d509c52999d586f754e43bbd73a8
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'lamep'
7
- spec.version = 0.2
7
+ spec.version = '0.2.1'
8
8
  spec.authors = ['Martin Svoboda', 'Miroslav Csonka']
9
9
  spec.email = ['miroslav.csonka@gmail.com']
10
10
  spec.summary = %q{Logical and mathematical expression parser}
@@ -1,23 +1,23 @@
1
- require './lib/lamep/exceptions/not_enough_operands_exception'
2
- require './lib/lamep/exceptions/not_enough_operators_exception'
3
- require './lib/lamep/exceptions/missing_left_parentheses_error'
4
- require './lib/lamep/exceptions/missing_right_parentheses_error'
5
- require './lib/lamep/Expressions/operator'
6
- require './lib/lamep/Expressions/arity1_operators'
7
- require './lib/lamep/Expressions/arity2_operators'
8
- require './lib/lamep/Expressions/value_expression'
9
- require './lib/lamep/token_parser'
10
- require './lib/lamep/shunting_yard'
11
- require './lib/lamep/Expressions/equal'
12
- require './lib/lamep/Expressions/greater_than'
13
- require './lib/lamep/Expressions/less_than'
14
- require './lib/lamep/Expressions/greater_than_equal'
15
- require './lib/lamep/Expressions/less_than_equal'
16
- require './lib/lamep/Expressions/and'
17
- require './lib/lamep/Expressions/or'
18
- require './lib/lamep/Expressions/unary_minus'
19
- require './lib/lamep/Expressions/not_equal'
20
- require './lib/lamep/abstract_syntax_tree_builder'
1
+ require_relative 'lamep/exceptions/not_enough_operands_exception'
2
+ require_relative 'lamep/exceptions/not_enough_operators_exception'
3
+ require_relative 'lamep/exceptions/missing_left_parentheses_error'
4
+ require_relative 'lamep/exceptions/missing_right_parentheses_error'
5
+ require_relative 'lamep/Expressions/operator'
6
+ require_relative 'lamep/Expressions/arity1_operators'
7
+ require_relative 'lamep/Expressions/arity2_operators'
8
+ require_relative 'lamep/Expressions/value_expression'
9
+ require_relative 'lamep/token_parser'
10
+ require_relative 'lamep/shunting_yard'
11
+ require_relative 'lamep/Expressions/equal'
12
+ require_relative 'lamep/Expressions/greater_than'
13
+ require_relative 'lamep/Expressions/less_than'
14
+ require_relative 'lamep/Expressions/greater_than_equal'
15
+ require_relative 'lamep/Expressions/less_than_equal'
16
+ require_relative 'lamep/Expressions/and'
17
+ require_relative 'lamep/Expressions/or'
18
+ require_relative 'lamep/Expressions/unary_minus'
19
+ require_relative 'lamep/Expressions/not_equal'
20
+ require_relative 'lamep/abstract_syntax_tree_builder'
21
21
 
22
22
  class Lamep
23
23
  def evaluate(expression, attributes={})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lamep
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Svoboda