simple-search 0.10.2 → 0.10.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.
- data/README.rdoc +6 -6
- data/VERSION +1 -1
- data/simple-search.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -42,26 +42,26 @@ In your view:
|
|
|
42
42
|
* _le, less or equal to, <=
|
|
43
43
|
* _ge, greater or equal to, <=
|
|
44
44
|
* _in, includes, IN
|
|
45
|
-
|
|
45
|
+
i.e., &id_in=1,2,3
|
|
46
46
|
* _bt(_between), between, BETWEEN
|
|
47
|
-
|
|
47
|
+
i.e., &id_between=1,3
|
|
48
48
|
* _sw(_startswith), starts with, LIKE 'key%' (
|
|
49
49
|
* _ew(_endsswith), ends with, LIKE '%key'
|
|
50
50
|
* _ct(_contains,_like), contains, LIKE '%key%'
|
|
51
51
|
* _nc(_notcontains,_notlike), not contains, NOT LIKE '%key%'
|
|
52
52
|
* _is, IS
|
|
53
|
-
|
|
53
|
+
i.e., &id_is=null
|
|
54
54
|
* _it(_isnot), IS NOT
|
|
55
55
|
|
|
56
56
|
=== Sorting your result
|
|
57
57
|
* order_by
|
|
58
|
-
|
|
58
|
+
i.e., &order_by=id+asc
|
|
59
59
|
|
|
60
60
|
=== Paging
|
|
61
61
|
* page , page number
|
|
62
|
-
|
|
62
|
+
i.e. &page=1
|
|
63
63
|
* page_by, number of rows in a page
|
|
64
|
-
|
|
64
|
+
i.e. &page_by=10
|
|
65
65
|
|
|
66
66
|
== Contributing to simple-search
|
|
67
67
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.10.
|
|
1
|
+
0.10.3
|
data/simple-search.gemspec
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: simple-search
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.10.
|
|
5
|
+
version: 0.10.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Allen Kim
|
|
@@ -152,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
152
152
|
requirements:
|
|
153
153
|
- - ">="
|
|
154
154
|
- !ruby/object:Gem::Version
|
|
155
|
-
hash:
|
|
155
|
+
hash: 1014388481783266956
|
|
156
156
|
segments:
|
|
157
157
|
- 0
|
|
158
158
|
version: "0"
|