fastapi 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fastapi.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5478a368c91cfadee25770397b95a7b24865166f
4
- data.tar.gz: 6362f9b6f08b3f0111ae69e3ac5695c4bf96cc8e
3
+ metadata.gz: 7043a3b2bde04b33d7375e944d36acc522663792
4
+ data.tar.gz: 974c677ed00ef6948df0cff76c09b64e41ed5638
5
5
  SHA512:
6
- metadata.gz: da97e14f324c2772288c78626102adb6ce2fb9b0a4db07d678a5b3dbd24fd80a77bfb9d5e573322c81646868481e0d03e84d0d23ccb38535d5d1e75f83dfd01f
7
- data.tar.gz: f885f7f223dfea56a927167c38acd8cea4b45e1b2166671f1cce6eeab8b28daaa60e98053bec391f917b073619f0ade693ec6d0233fc0a955405c66a8b5d060d
6
+ metadata.gz: b7621446aff6279bc34f19a016cf57a5083b63c2c88a920624b289a58742f428e33c151ea508f6e38ce3c28907a3d574aedfc34ffbaaa5f63ca2c483062ed810
7
+ data.tar.gz: 1400d2bfc88b06a9da1f2baa48493987faa2abad1fd424f3443b27f33099f94d8a3de51a98778aed90be8463ba15fcf2c6cf72fe4fea1072847449613a43a23e
@@ -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.26
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-04-22 00:00:00.000000000 Z
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.4.6
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