eye-of-newt 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/eye_of_newt.gemspec +1 -1
- data/lib/eye_of_newt/parser.rb +27 -27
- data/lib/eye_of_newt/version.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 273010052f34b67d89c3543a3b1111779d7fff441e75fc7d09a0ddcb4de27fcb
|
4
|
+
data.tar.gz: 1c273f1b42b1d555661f22548d557f00798f3f79d8fb1127af65bcd496ffe34d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b919b9775ce56dc136c4224a67d9bedad3aea134ccd1c2beb3438daad025ee5af8ac1db51b0d02d015da603a15a5a1404c3615fba0a96019f1a000f27bc80271
|
7
|
+
data.tar.gz: '09576ffd8e91cadbb26cdc82d43b7ed2e0d03f0cb5c7d278c0b53739474e57259a86df4bc543be168416b0a39c34acf1faf95e96bae9e3cb5317f9d2e275386a'
|
data/eye_of_newt.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "activesupport", "
|
21
|
+
spec.add_dependency "activesupport", ">= 5"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "rake"
|
data/lib/eye_of_newt/parser.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.
|
4
|
-
# from Racc
|
3
|
+
# This file is automatically generated by Racc 1.6.0
|
4
|
+
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -37,28 +37,28 @@ module EyeOfNewt
|
|
37
37
|
##### State transition tables begin ###
|
38
38
|
|
39
39
|
racc_action_table = [
|
40
|
-
-47,
|
41
|
-
13, -47, 14, 19,
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
-47, 22, 19, 21, 12, 32, 20, -47, 11, -47,
|
41
|
+
13, -47, 14, 19, 12, 12, 35, 20, 38, 24,
|
42
|
+
36, 25, 14, 19, 19, 39, 40, 20, 20, 24,
|
43
|
+
24, 25, 25, 29, -35, 30, 31, 12, 42, 58,
|
44
|
+
46, 47, 30, 31, 30, 31, 44, 48, 31, 42,
|
45
|
+
42, 59, 60, 21, 21, 63, 46, 64, 65, 31,
|
46
46
|
31, 68, 69 ]
|
47
47
|
|
48
48
|
racc_action_check = [
|
49
|
-
11,
|
50
|
-
0, 11, 0, 2,
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
49
|
+
11, 1, 0, 0, 0, 4, 0, 11, 0, 11,
|
50
|
+
0, 11, 0, 2, 6, 7, 6, 2, 8, 2,
|
51
|
+
6, 2, 6, 18, 32, 9, 9, 18, 32, 18,
|
52
|
+
32, 18, 32, 3, 13, 3, 3, 33, 14, 33,
|
53
|
+
21, 21, 23, 23, 26, 26, 15, 22, 27, 30,
|
54
|
+
31, 34, 37, 39, 40, 41, 44, 46, 47, 49,
|
55
55
|
51, 55, 57 ]
|
56
56
|
|
57
57
|
racc_action_pointer = [
|
58
|
-
0,
|
59
|
-
nil, 0, nil,
|
60
|
-
nil,
|
61
|
-
|
58
|
+
0, 1, 11, 24, -2, nil, 10, 11, 12, 11,
|
59
|
+
nil, 0, nil, 30, 33, 43, nil, nil, 21, nil,
|
60
|
+
nil, 24, 47, 31, nil, nil, 33, 36, nil, nil,
|
61
|
+
44, 45, 22, 33, 45, nil, nil, 46, nil, 50,
|
62
62
|
51, 42, nil, nil, 40, nil, 54, 55, nil, 47,
|
63
63
|
nil, 48, nil, nil, nil, 48, nil, 56, nil, nil,
|
64
64
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil ]
|
@@ -73,22 +73,22 @@ racc_action_default = [
|
|
73
73
|
-24, -37, -38, -36, -51, -52, -1, -3, -34, -16 ]
|
74
74
|
|
75
75
|
racc_goto_table = [
|
76
|
-
28, 9, 8,
|
77
|
-
41,
|
76
|
+
28, 9, 8, 1, 3, 27, 23, 7, 34, 37,
|
77
|
+
41, 2, 26, 33, 45, 6, 10, 43, nil, nil,
|
78
78
|
50, nil, nil, 52, 53, 49, 54, 55, 51, nil,
|
79
79
|
nil, nil, nil, nil, nil, 57, 56, nil, nil, nil,
|
80
80
|
61, 62, nil, nil, nil, nil, 66, nil, 67 ]
|
81
81
|
|
82
82
|
racc_goto_check = [
|
83
|
-
5, 12, 11,
|
84
|
-
14,
|
83
|
+
5, 12, 11, 1, 3, 4, 3, 10, 11, 11,
|
84
|
+
14, 2, 6, 10, 8, 9, 13, 16, nil, nil,
|
85
85
|
5, nil, nil, 5, 5, 4, 14, 14, 4, nil,
|
86
86
|
nil, nil, nil, nil, nil, 11, 3, nil, nil, nil,
|
87
87
|
12, 12, nil, nil, nil, nil, 5, nil, 5 ]
|
88
88
|
|
89
89
|
racc_goto_pointer = [
|
90
|
-
nil,
|
91
|
-
7, 2, 1,
|
90
|
+
nil, 3, 11, 4, 2, -3, 9, nil, -4, 15,
|
91
|
+
7, 2, 1, 16, -4, nil, 2, nil, nil ]
|
92
92
|
|
93
93
|
racc_goto_default = [
|
94
94
|
nil, nil, nil, nil, nil, nil, nil, 4, 5, nil,
|
@@ -169,7 +169,7 @@ racc_token_table = {
|
|
169
169
|
"(" => 12,
|
170
170
|
")" => 13,
|
171
171
|
"-" => 14,
|
172
|
-
"\
|
172
|
+
"\xE2\x80\x93" => 15,
|
173
173
|
"/" => 16,
|
174
174
|
"." => 17 }
|
175
175
|
|
@@ -209,7 +209,7 @@ Racc_token_to_s_table = [
|
|
209
209
|
"\"(\"",
|
210
210
|
"\")\"",
|
211
211
|
"\"-\"",
|
212
|
-
"\"\
|
212
|
+
"\"\\xE2\\x80\\x93\"",
|
213
213
|
"\"/\"",
|
214
214
|
"\".\"",
|
215
215
|
"$start",
|
@@ -398,4 +398,4 @@ def _reduce_none(val, _values, result)
|
|
398
398
|
end
|
399
399
|
|
400
400
|
end # class Parser
|
401
|
-
|
401
|
+
end # module EyeOfNewt
|
data/lib/eye_of_newt/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eye-of-newt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter McCracken
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -145,7 +145,7 @@ homepage: http://github.com/peterjm/eye_of_newt
|
|
145
145
|
licenses:
|
146
146
|
- MIT
|
147
147
|
metadata: {}
|
148
|
-
post_install_message:
|
148
|
+
post_install_message:
|
149
149
|
rdoc_options: []
|
150
150
|
require_paths:
|
151
151
|
- lib
|
@@ -160,9 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
- !ruby/object:Gem::Version
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
|
-
|
164
|
-
|
165
|
-
signing_key:
|
163
|
+
rubygems_version: 3.2.20
|
164
|
+
signing_key:
|
166
165
|
specification_version: 4
|
167
166
|
summary: Natural language ingredient parser
|
168
167
|
test_files:
|