bool 1.0.15-x86-mingw32 → 1.0.16-x86-mingw32

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: 2df0ea05c2e275a61f5341860764c7e9387d18d2
4
- data.tar.gz: fb5c0739fb9e9c92efc563f812426f6b77f7bdef
3
+ metadata.gz: 4ae7784a4a55dc5a44251c17d2424780effd2250
4
+ data.tar.gz: b13e41e5b5582e24c57cd18a3aaeae3e9d5f8030
5
5
  SHA512:
6
- metadata.gz: 259fb206d764d09eddec8db7d6fd23c5c76d038ad4cdd5a6ca714650cb1d6d01389fa7f67a5beb41f023b4f4e2daa991c2956cc89c4a6a5ab979ee4f3f664737
7
- data.tar.gz: 385849b9ce8af844d542299f172618c4a13729c2dc4580564f33c031bce1316b5bac0e03f7a6424216e7356d8c23e19983889f9781ab6faf7efc4ea5c2dcdce0
6
+ metadata.gz: fccfdc764c229b461e92220efe9fcc1fb92d298f0bfa0edf7bf31d4a9338eae1663b953471fe6baf2a51ae43421e645042d0cdcaace7e53249dcd683fc04337f
7
+ data.tar.gz: bb97dfe9252c6ea1c7f957450686aaaa07af063b549bbfdd75beeee9ea1505cc5f36657b7da5bd0cf51d15dde2e46ab6b0feca902195b3468286e5cc27e981f5
@@ -24,8 +24,6 @@ module Bool
24
24
  !evaluate(node.operand, vars)
25
25
  end
26
26
 
27
- private
28
-
29
27
  def evaluate(node, vars)
30
28
  node.accept(self, vars)
31
29
  end
data/lib/bool/renderer.rb CHANGED
@@ -8,24 +8,22 @@ module Bool
8
8
  end
9
9
 
10
10
  else
11
- def visit_var(node, vars)
11
+ def visit_var(node, _)
12
12
  node.token.value
13
13
  end
14
14
 
15
- def visit_and(node, vars)
15
+ def visit_and(node, _)
16
16
  "(#{render(node.left)} #{node.token.value} #{render(node.right)})"
17
17
  end
18
18
 
19
- def visit_or(node, vars)
19
+ def visit_or(node, _)
20
20
  "(#{render(node.left)} #{node.token.value} #{render(node.right)})"
21
21
  end
22
22
 
23
- def visit_not(node, vars)
23
+ def visit_not(node, _)
24
24
  "#{node.token.value}#{render(node.operand)}"
25
25
  end
26
26
 
27
- private
28
-
29
27
  def render(node)
30
28
  node.accept(self, nil)
31
29
  end
data/lib/bool_ext.so CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Aslak Hellesøy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-13 00:00:00.000000000 Z
11
+ date: 2013-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake