logicality 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be7791c8141dced403d1cef59e92f967fb1a7e6d
4
- data.tar.gz: 407e52bdda5cf7bfbf125e920bb8fe220f8c4a23
3
+ metadata.gz: b5282ea533559487b86015f10aa3de6f70c9ab41
4
+ data.tar.gz: 0f23712f87447a72b931b4fc27932ace714119fb
5
5
  SHA512:
6
- metadata.gz: 539b810c4d653af72dc0cb743f071e8e99702f2da10b425fdb7d2cd0bb9b19b2978ae35e1b9a651dc0b8cfa859d498a7e2b6ab1e94963055f60207aed9bd17ac
7
- data.tar.gz: 8ac544ea978c51572c089a0bd8adf356e916a4214db35c7379de4d534cae1f24147f272a4e234721e798af6515d0fe3224bbd57e0c5eb9af8c02f452f497d1bb
6
+ metadata.gz: 1b6053e5cf3289896c6499834fa8f92b36e3bcf4eef392a25a5f2cd8f0ea810a87b9b6dd9445975bd59b8b2b2f740e37c913b603458b4c23ebf1c4e337a01c48
7
+ data.tar.gz: 2875bf7d5fb6d8bdfebc0806abe7b73f2ddf0042ebba0a890daefaf27298ab281c0d8b3f0fdf4f5f3653cb7ea097cecaf5ea39dd0e66fb0abcf2eed1a8c02742
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- logicality (0.0.1)
4
+ logicality (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,7 +9,7 @@ module Logicality
9
9
  class Logic
10
10
  class << self
11
11
 
12
- def evaluate(expression, input, resolver = nil)
12
+ def evaluate(expression, input = nil, resolver = nil)
13
13
  node = get(expression)
14
14
  wrapper = resolver_wrapper(input, resolver)
15
15
  interpreter = Interpreter::SimpleInterpreter.new(wrapper)
@@ -6,5 +6,5 @@
6
6
  #
7
7
 
8
8
  module Logicality
9
- VERSION = "1.0.1"
9
+ VERSION = "1.0.2"
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logicality
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ruggio