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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sneaql_lib/tokenizer.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e5f3a3178b52ab661d45c5987378fef1c50a5bf1c4b21b23909b4ea14d73a0d
4
- data.tar.gz: 0c139bb80dc24cdbfe816ae4e7cd3f4d64eff2151c88e0c785e904dc9a69b55c
3
+ metadata.gz: 27f9d4283c415d81fb856bbdf351777804180741655708c28524939477d3d84b
4
+ data.tar.gz: a0259ad3ad5d0e41938e76e52801f08fc985755de2278aa7f2853d7b2c9302a1
5
5
  SHA512:
6
- metadata.gz: a0085e97d956acb92bc56c64ecfeb45f18b62d451f959e219cb1e5ec0c1c49f2ea27bccca7189516d6b5ec4e4afa6886b8543438561494e33d2a1614880f25bf
7
- data.tar.gz: d946b6a4e64583bb1aad32fb504deac107c829d8478c104b8e85e16c2809fdb38c7cdd5b77575180eebb895fe80e18547a7d3d353084cbb09abf2e6f600266d8
6
+ metadata.gz: a8310adc99509f404742c4c9f3634baff03b354f9711fc6499c58d07bba24415453e2c11788b274e920d8a4eb1dcc178c798f9f7251861772d86ea14a26eabff
7
+ data.tar.gz: d6f2562093afb3256ff5ea0e218a0ebed4ca7130c48a6afbc94811d8962d25ace816d4b18d28f0ccc1914b54a43fdb1073dfbe0f2383832bda55993061979046
@@ -102,7 +102,8 @@ module Sneaql
102
102
  return :escape if input_char.match(/\\/)
103
103
 
104
104
  # any word character
105
- return :word if input_char.match(/\w/)
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.20
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-08-24 00:00:00.000000000 Z
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