truth_serum 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/truth_serum/parser.rb +2 -2
- data/lib/truth_serum/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12a65d8466c9536bedf6d6b94a68024359362756
|
4
|
+
data.tar.gz: 33e057b187a1a7cbf3c2887daf10953045c2e578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d24ccb4cdc7496a19cbb680569256b542aa5329c41ed781874b15c009d729b58bdca94962077eaa5e0906ce6a3f1b21101d0b06002f0b5811e599216a709c94a
|
7
|
+
data.tar.gz: 8123b85b4688e75f99ccefd99df925ac0cc4a43d1035a9d958ce58ad2dd41124636399ec3c1063a250a827a851113574e868401132a8b347eb25824ec41f12ea
|
data/lib/truth_serum/parser.rb
CHANGED
@@ -54,8 +54,8 @@ module TruthSerum
|
|
54
54
|
# initial `:` separator
|
55
55
|
consume
|
56
56
|
|
57
|
-
# the rest becomes value (including successive `:`s)
|
58
|
-
value += consume.text while peek.colon? || peek.term?
|
57
|
+
# the rest becomes value (including successive `:`s '-'s)
|
58
|
+
value += consume.text while peek.colon? || peek.plus? || peek.minus? || peek.term?
|
59
59
|
|
60
60
|
emit_filter(term, value, negate: negate)
|
61
61
|
end
|
data/lib/truth_serum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: truth_serum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chakrit Wichian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|