Fuel plugin to deploy Sensu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.


Change Log

v2.0.9 2016-09-19

  • namespace tokenization errors
  • automatically coerce arguments to string functions as strings
  • selectively disable or clear AST cache

v2.0.8 2016-05-10

  • numeric input validations
  • fail with gem-specific error for invalid arithmetic operands
  • add LEFT, RIGHT, MID, LEN, FIND, SUBSTITUTE, and CONCAT string functions

v2.0.7 2016-02-25

  • fail with gem-specific error for parsing issues
  • support NULL literals and nil variables
  • keep reference to variable that caused failure when bulk-solving

v2.0.6 2016-01-26

  • support array parameters for external functions
  • support case statements
  • support precision for ROUNDUP and ROUNDDOWN functions
  • prevent errors from corrupting calculator memory

v2.0.5 2015-09-03

  • fix bug with detecting unbound nodes
  • silence warnings
  • allow registration of custom token scanners

v2.0.4 2015-09-03

  • fix BigDecimal conversion bug
  • add caching for bulk expression solving dependency order
  • allow for custom configuration for token scanners

v2.0.3 2015-08-25

  • bug fixes
  • performance enhancements
  • code cleanup

v2.0.1 2015-08-15

  • add support for boolean literals
  • implement basic parse-time type checking

v2.0.0 2015-08-07

  • shunting-yard parser for performance enhancement and AST generation
  • AST caching for performance enhancement
  • support comments in formulas
  • support all functions from the Ruby Math module

v1.2.6 2015-05-30

  • support custom error handlers for systems of formulas

v1.2.5 2015-05-23

  • fix memory leak

v1.2.2 2014-12-19

  • performance enhancements
  • unary minus bug fixes
  • preserve provided hash keys for systems of formulas

v1.2.0 2014-10-21

  • add dependency resolution to automatically solve systems of formulas

v1.1.0 2014-07-30

  • add strict evaluation mode to raise UnboundVariableError if not all variable values are provided
  • return division results as BigDecimal values

v1.0.0 2014-03-06

  • cleanup and 1.0 release

v0.2.14 2014-01-24

  • add modulo operator
  • add unary percentage operator
  • support registration of custom functions at runtime

v0.2.10 2012-12-10

  • return integer result for exact division, decimal otherwise

v0.2.9 2012-10-17

  • add ROUNDUP / ROUNDDOWN functions

v0.2.8 2012-09-30

  • make function name matching case-insensitive

v0.2.7 2012-09-26

  • support passing arbitrary expressions as function arguments

v0.2.6 2012-09-19

  • add NOT function

v0.2.5 2012-06-20

  • add exponent operator
  • add support for digits in variable identifiers

v0.2.4 2012-02-29

  • add support for min < x < max syntax for inequality ranges

v0.2.2 2012-02-22

  • support ROUND to arbitrary decimal place on older Rubies
  • ensure case is preserved for string values

v0.2.1 2012-02-12

  • add ROUND function

v0.1.3 2012-01-31

  • add support for string datatype

v0.1.1 2012-01-24

  • change from square bracket to parentheses for top-level evaluation
  • add IF function

v0.1.0 2012-01-20

  • initial release