lockstep_rails 0.3.51 → 0.3.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/concepts/lockstep/query.rb +2 -0
- data/lib/lockstep_rails/version.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: 4ae7706a51bbbb9287e03d75e1caa76fca7ccd3390e3cb2b7228da5923eea1b1
|
4
|
+
data.tar.gz: e0481ed5eb90dd104ed9c223fd01f476ed7a7181395f0be7706ca02537924282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c00fbe40099a0b9a3ac3fd4da3d0af34f55e3608bc55ca0681a2bc5d1f4d47760048d7766f49bae719d887ca17afd7eea8f91ab1007393300e1d31232d249440
|
7
|
+
data.tar.gz: 68e6d538ec4cc70a26d63657dff6c1106a046be0993db34c78c65a794dfbd8d7806b9be246a04d8c8807bf161b0938c9a45a138ed88a98c1f4a413206742cf19
|
@@ -241,6 +241,8 @@ class Lockstep::Query
|
|
241
241
|
return results.to_i
|
242
242
|
else
|
243
243
|
results = parsed_response.is_a?(Array) ? parsed_response : parsed_response["records"]
|
244
|
+
return [] if results.blank?
|
245
|
+
|
244
246
|
results = results[0..(criteria[:limit] - 1)] if criteria[:limit]
|
245
247
|
get_relation_objects results.map { |r|
|
246
248
|
# Convert camelcase to snake-case
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockstep_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|