fastapi 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastapi.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7043a3b2bde04b33d7375e944d36acc522663792
|
4
|
+
data.tar.gz: 974c677ed00ef6948df0cff76c09b64e41ed5638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7621446aff6279bc34f19a016cf57a5083b63c2c88a920624b289a58742f428e33c151ea508f6e38ce3c28907a3d574aedfc34ffbaaa5f63ca2c483062ed810
|
7
|
+
data.tar.gz: 1400d2bfc88b06a9da1f2baa48493987faa2abad1fd424f3443b27f33099f94d8a3de51a98778aed90be8463ba15fcf2c6cf72fe4fea1072847449613a43a23e
|
data/lib/fastapi.rb
CHANGED
@@ -213,7 +213,7 @@ class FastAPI
|
|
213
213
|
count_result = ActiveRecord::Base.connection.execute(prepared_data[:count_query])
|
214
214
|
result = ActiveRecord::Base.connection.execute(prepared_data[:query])
|
215
215
|
rescue
|
216
|
-
error(offset, 'Query failed')
|
216
|
+
return error(offset, 'Query failed')
|
217
217
|
end
|
218
218
|
|
219
219
|
total_size = count_result.values.size > 0 ? count_result.values[0][0].to_i : 0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Horwood
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-05-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.
|
171
|
+
rubygems_version: 2.2.2
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Easily create robust, standardized API endpoints using lightning-fast database
|