searrrch 0.0.2 → 0.0.3

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: 967aaa00861d87150c2ea654666dc1c4d2b86d89
4
- data.tar.gz: ae2fa7b24de901a973999b68f78998f3ca445887
3
+ metadata.gz: d09b5d8e6f036dd50cf0f303f87346c3c1967077
4
+ data.tar.gz: 2f01701c39014e9dd276cac28f9fd0e235f2ecaf
5
5
  SHA512:
6
- metadata.gz: bc8e8d30719e4a4a951941cb24dbc4c6d2ca4de31babd11d2f00118c2eb97a844db5bbe86c374b9891eb1585b44e2d20e825b5ebc533001d4c19f0403732dba2
7
- data.tar.gz: 504f1ee4143e98d2d98e67207c5930a8d2ce343bb1a3de463148a482201677b581c8cffae025aa5aad4716feb82fd4361a3821f5c5cf2a3387e2617bb1369f0f
6
+ metadata.gz: 6d5789e921c87da3095e2d7ee6be39fc36373f75a893188eaa464abe7d9c583648b533c64c6667af1f47eb9ea1536e79f55a2267e6ccda32fbc6744582ff8135
7
+ data.tar.gz: 2db9a6f516284a81deed2b258ff538a89096b9ecbebea761ca738f99b3999d4b1f1ecf2241fcd3f5a8d7edf64b6c238ffa39cfebd9cfee0648174868033a5812
@@ -0,0 +1,2 @@
1
+ language: ruby
2
+
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- searrrch (0.0.2)
4
+ searrrch (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # searrch
2
+
3
+ [![Build Status](https://travis-ci.org/marcelocf/searrrch.svg?branch=master)](https://travis-ci.org/marcelocf/searrrch)
4
+
2
5
  Allow you to receive a query string using the syntax similar to gmail's filters
3
6
  and parse it without going crazy.
4
7
 
@@ -8,7 +11,7 @@ The following search string is supported:
8
11
  user_id: 123 user_name: omg user_id: 124 free text here
9
12
  ```
10
13
 
11
- The user can also put the value between quotes and escape spaces.
14
+ The user can also put the value between quotes, in which case nested escaped quotes are supported.
12
15
 
13
16
  Usage:
14
17
 
@@ -12,7 +12,7 @@ class Searrrch
12
12
  # also support ',' for you cool kids that expect something like a "list of ids"
13
13
  # 3. and also accept any char if quoted - in which case the same quotation should be quoted as well
14
14
 
15
- VERSION = '0.0.2'
15
+ VERSION = '0.0.3'
16
16
 
17
17
  # iterates over the entire string identifying each of the elements
18
18
  # this code only checks for:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searrrch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Coraça de Freitas
@@ -90,6 +90,7 @@ files:
90
90
  - ".gitignore"
91
91
  - ".ruby-gemset"
92
92
  - ".ruby-version"
93
+ - ".travis.yml"
93
94
  - Gemfile
94
95
  - Gemfile.lock
95
96
  - Guardfile