Skip to content

Commit

Permalink
Minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
wlmcewen committed Jul 28, 2016
1 parent c443adb commit 7527537
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.1.0, 2016-07-28 ([changes](https://github.com/sparkapi/sparkql/compare/v1.0.3...v1.1.0))
-------------------
* [IMPROVEMENT] Evaluation class for sparkql boolean algebra processing

v1.0.3, 2016-06-06 ([changes](https://github.com/sparkapi/sparkql/compare/v1.0.2...v1.0.3))
-------------------
* [IMPROVEMENT] Expression limit lifted to 75 expressions
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.1.0
4 changes: 2 additions & 2 deletions lib/sparkql/evaluator.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Using an external source for resolving the individual sparkql expressions,
# Using an instance of ExpressionResolver to resolve the individual expressions,
# this class will evaluate the rest of a parsed sparkql string to true or false.
# Namely, this class will handle all the nesting, boolean algebra, and dropped
# fields. Plus, it has some optimizations built in to skip the processing for
Expand Down Expand Up @@ -28,7 +28,7 @@ def evaluate(expressions)
adjust_expression_for_dropped_field(expression)
check_for_good_ors(expression)
next if skip?(expression)
result = evaluate_expression(expression)
evaluate_expression(expression)
end
cleanup
return @index[:match]
Expand Down
2 changes: 1 addition & 1 deletion lib/sparkql/expression_resolver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Sparkql::ExpressionResolver

VALID_RESULTS = [true, false, :drop]

# Evaluate the result of this expression Allows for any of the values in
# Evaluate the result of this expression. Allows for any of the values in
# VALID_RESULTS
def resolve(expression)
true
Expand Down

0 comments on commit 7527537

Please sign in to comment.