Skip to content

Commit

Permalink
Merge pull request #10 from absmartly/hotfix/DASH-786/initialization-…
Browse files Browse the repository at this point in the history
…error

Fixing Initialization Errors
  • Loading branch information
hermeswaldemarin committed Apr 6, 2023
2 parents e7ed6fe + 3d6fda8 commit 31ea39e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
7 changes: 5 additions & 2 deletions 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/
Expand Down Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions absmartly.gemspec
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/absmartly/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Absmartly
VERSION = "1.0.5"
VERSION = "1.0.6"
end
17 changes: 16 additions & 1 deletion 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
Expand Down

0 comments on commit 31ea39e

Please sign in to comment.