yaqb 0.5.2 → 0.5.3
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/README.md +2 -2
- data/lib/yaqb/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: 436bd28740688de2a4659178c5ea5dc89038a30e9d5fce4227245f261f80ccca
|
4
|
+
data.tar.gz: da9b0c72598edb960f813fc19f7ded690596fcfdd7bdd77d6bf6cedf6da83975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dfe63e3eb9c845a080b242bae227b0d296b7addab112a01165f22d08fd055bdbf207f102f7af4b7dac7a68d51acf6650157d127fb75e923b5ead8629c00f364
|
7
|
+
data.tar.gz: 9f5adbf59a43b10395dedd37d12e44aa5863791a4aa15bfd5ca67464e4a4bc09c4a0c8ffff4d6fe705b87c96042133bbecac6fbeb55eb4ffd63794cbd6ee9517
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -60,7 +60,7 @@ class BooksController < ApplicationController
|
|
60
60
|
result = orchestrate(Books.all, BookPresenter)
|
61
61
|
|
62
62
|
# Depending on your serializer you can render your data as so:
|
63
|
-
# BluePrinter gem by procore is
|
63
|
+
# BluePrinter gem by procore is used here:
|
64
64
|
render json: BookBlueprint.render(request.scope, root: :data, meta: { links: request.links })
|
65
65
|
end
|
66
66
|
end
|
@@ -81,7 +81,7 @@ end
|
|
81
81
|
|
82
82
|
### Handling Errors
|
83
83
|
|
84
|
-
By default Yaqb will rescue from `QueryBuilderError` and return that error to the consumer
|
84
|
+
By default Yaqb will rescue from any query errors with `QueryBuilderError` and return that error to the consumer
|
85
85
|
|
86
86
|
Given the following API call:
|
87
87
|
|
data/lib/yaqb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaqb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronald Chacon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|