bool 1.0.16-x86-mingw32 → 1.0.18-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bool.rb +4 -4
- data/lib/bool/ast.rb +3 -3
- data/lib/bool_ext.so +0 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b66f68c8da7663c5da957f68e51ff532f10a17a6
|
4
|
+
data.tar.gz: 5394dd16086cc8bf6a1f9530d790c56330d40526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01bd9d9abc912990e5aace43eb011ffaedd12d2a4e11eb295fb4e07a7a3d26181419332ac3be36cb2a64253c7f706da7588fa8e15459b74eca0b24a9846a5925
|
7
|
+
data.tar.gz: 4c5937dce8ca91c450ae32a66534c02da0f1da78b3524106afb2bbc90bc574038973c9a424d3d3fc84c91201e0df3c31f05044de8923a3187dceb748cb22becc
|
data/lib/bool.rb
CHANGED
@@ -7,11 +7,11 @@ require 'bool/renderer'
|
|
7
7
|
|
8
8
|
module Bool
|
9
9
|
class SyntaxError < StandardError
|
10
|
-
attr_reader :
|
10
|
+
attr_reader :first_line, :first_column, :last_line, :last_column
|
11
11
|
|
12
|
-
def initialize(message,
|
12
|
+
def initialize(message, first_line, first_column, last_line, last_column)
|
13
13
|
super(message)
|
14
|
-
@
|
14
|
+
@first_line, @first_column, @last_line, @last_column = first_line, first_column, last_line, last_column
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -21,7 +21,7 @@ module Bool
|
|
21
21
|
parser = Java::Bool::Parser.new(lexer)
|
22
22
|
parser.buildAst()
|
23
23
|
rescue => e
|
24
|
-
raise SyntaxError.new(e.message, e.
|
24
|
+
raise SyntaxError.new(e.message, e.first_line, e.first_column, e.last_line, e.last_column)
|
25
25
|
end
|
26
26
|
module_function(:parse)
|
27
27
|
else
|
data/lib/bool/ast.rb
CHANGED
@@ -3,10 +3,10 @@ module Bool
|
|
3
3
|
# AST classes defined in bool_ext.jar
|
4
4
|
else
|
5
5
|
class Token
|
6
|
-
attr_reader :value, :first_line, :
|
6
|
+
attr_reader :value, :first_line, :first_column, :last_line, :last_column
|
7
7
|
|
8
|
-
def initialize(value, first_line,
|
9
|
-
@value, @first_line, @
|
8
|
+
def initialize(value, first_line, first_column, last_line, last_column)
|
9
|
+
@value, @first_line, @first_column, @last_line, @last_column = value, first_line, first_column, last_line, last_column
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
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.
|
4
|
+
version: 1.0.18
|
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-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3.
|
33
|
+
version: 1.3.5
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.3.
|
40
|
+
version: 1.3.5
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
executables: []
|
@@ -68,8 +68,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
version: '0'
|
69
69
|
requirements: []
|
70
70
|
rubyforge_project:
|
71
|
-
rubygems_version: 2.0.
|
71
|
+
rubygems_version: 2.0.3
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: Boolean expression evaluator
|
75
75
|
test_files: []
|
76
|
+
has_rdoc:
|