Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Initialisation Error #11

Merged
merged 2 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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