query_helper 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/query_helper/version.rb +1 -1
- data/lib/query_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a05ee45cead980d9af0727e330cdb4ca1f17377206bf644a527cde3c07813d8c
|
4
|
+
data.tar.gz: 933de9b27523b996b459a6db419e4fb03020ce5a66d0175ef7d1b6214d1a736c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065551a6c55575d59bb44724fddb0642690f9bac7868fb978cf7899ee3484f75abf965c5fbe9126ecf925c1ce800e149c9e828392b49a2c307cd61f41228103c
|
7
|
+
data.tar.gz: 252be407717cf277b4c6f8f9f6f4fd6ef342d57054087444db07c64ef50740c4c828b6e4c22c7cb026218fd47924c58fb9206b218444d68083ac3be68e5e5687
|
data/Gemfile.lock
CHANGED
data/lib/query_helper/version.rb
CHANGED
data/lib/query_helper.rb
CHANGED
@@ -184,7 +184,7 @@ class QueryHelper
|
|
184
184
|
end
|
185
185
|
|
186
186
|
def clean_results
|
187
|
-
@results.map!{ |r| r.except("_query_full_count") } if @page && @per_page
|
187
|
+
@results.map!{ |r| r.except("_query_full_count") } if @page && @per_page && !@single_record
|
188
188
|
end
|
189
189
|
|
190
190
|
def pagination_results
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: query_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan McDaniel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|