sneaql 0.0.20-java → 0.0.21-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sneaql_lib/tokenizer.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27f9d4283c415d81fb856bbdf351777804180741655708c28524939477d3d84b
|
4
|
+
data.tar.gz: a0259ad3ad5d0e41938e76e52801f08fc985755de2278aa7f2853d7b2c9302a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8310adc99509f404742c4c9f3634baff03b354f9711fc6499c58d07bba24415453e2c11788b274e920d8a4eb1dcc178c798f9f7251861772d86ea14a26eabff
|
7
|
+
data.tar.gz: d6f2562093afb3256ff5ea0e218a0ebed4ca7130c48a6afbc94811d8962d25ace816d4b18d28f0ccc1914b54a43fdb1073dfbe0f2383832bda55993061979046
|
data/lib/sneaql_lib/tokenizer.rb
CHANGED
@@ -102,7 +102,8 @@ module Sneaql
|
|
102
102
|
return :escape if input_char.match(/\\/)
|
103
103
|
|
104
104
|
# any word character
|
105
|
-
|
105
|
+
# also includes - for use in negative numbers
|
106
|
+
return :word if input_char.match(/\w|\-/)
|
106
107
|
|
107
108
|
# colon is used to represent variables
|
108
109
|
return :colon if input_char.match(/\:/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sneaql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- jeremy winters
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|