diff --git a/Gemfile.lock b/Gemfile.lock index 33ccb57..33afd2f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,10 @@ PATH remote: . specs: - absmartly-sdk (1.0.5) + absmartly-sdk (1.0.6) + arraybuffer (~> 0.0.6) + faraday (~> 1.8.0) + murmurhash3 (~> 0.1.7) GEM remote: https://rubygems.org/ @@ -34,7 +37,7 @@ GEM reline (>= 0.1.5) json (2.6.2) multipart-post (2.1.1) - murmurhash3 (0.1.6) + murmurhash3 (0.1.7) parallel (1.22.1) parser (3.1.2.0) ast (~> 2.4.1) diff --git a/absmartly.gemspec b/absmartly.gemspec index 558186f..5dab59e 100644 --- a/absmartly.gemspec +++ b/absmartly.gemspec @@ -32,8 +32,9 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - # Uncomment to register a new dependency of your gem - # spec.add_dependency "example-gem", "~> 1.0" + spec.add_dependency "faraday", "~> 1.8.0" + spec.add_dependency "murmurhash3", "~> 0.1.7" + spec.add_dependency "arraybuffer", "~> 0.0.6" # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html diff --git a/lib/absmartly/version.rb b/lib/absmartly/version.rb index f523485..3fac81d 100644 --- a/lib/absmartly/version.rb +++ b/lib/absmartly/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Absmartly - VERSION = "1.0.5" + VERSION = "1.0.6" end diff --git a/lib/json_expr/json_expr.rb b/lib/json_expr/json_expr.rb index 49a3b28..4bc93f9 100644 --- a/lib/json_expr/json_expr.rb +++ b/lib/json_expr/json_expr.rb @@ -1,7 +1,22 @@ # frozen_string_literal: true require_relative "./expr_evaluator" -Dir["lib/json_expr/operators/*.rb"].each { |file| require "./#{file}" } +require 'json_expr/operators/and_combinator' +require 'json_expr/operators/binary_operator' +require 'json_expr/operators/boolean_combinator' +require 'json_expr/operators/equals_operator' +require 'json_expr/operators/greater_than_operator' +require 'json_expr/operators/greater_than_or_equal_operator' +require 'json_expr/operators/in_operator' +require 'json_expr/operators/less_than_operator' +require 'json_expr/operators/less_than_or_equal_operator' +require 'json_expr/operators/match_operator' +require 'json_expr/operators/nil_operator' +require 'json_expr/operators/not_operator' +require 'json_expr/operators/or_combinator' +require 'json_expr/operators/unary_operator' +require 'json_expr/operators/value_operator' +require 'json_expr/operators/var_operator' class JsonExpr attr_accessor :operators