truth_serum 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc2ab8108e0571d9a45961c647ad31da570715e1
4
- data.tar.gz: 4bf12395f25e978cd1ddbb1c966a8651b8a3c976
3
+ metadata.gz: 12a65d8466c9536bedf6d6b94a68024359362756
4
+ data.tar.gz: 33e057b187a1a7cbf3c2887daf10953045c2e578
5
5
  SHA512:
6
- metadata.gz: 8979e0c51c29b88d428cf8ce4e6ff17b4e8a5e277c00e3a4144eb37cd06c185ef69d7e309dc92f193dc8640b8e5d1388f867285e3d0a761d9a4afb62a1a19b12
7
- data.tar.gz: 76b128bccff0a6f3e7f322f1de737b5a801c8e216d90628b178d38ee9e83801b8227254fc57170de3fd8330f6d33d32f710037e6e7f5bb2becf6d55bafbece29
6
+ metadata.gz: d24ccb4cdc7496a19cbb680569256b542aa5329c41ed781874b15c009d729b58bdca94962077eaa5e0906ce6a3f1b21101d0b06002f0b5811e599216a709c94a
7
+ data.tar.gz: 8123b85b4688e75f99ccefd99df925ac0cc4a43d1035a9d958ce58ad2dd41124636399ec3c1063a250a827a851113574e868401132a8b347eb25824ec41f12ea
@@ -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
@@ -1,3 +1,3 @@
1
1
  module TruthSerum
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler