grape_ape_rails 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grape_ape_rails/base.rb +3 -3
- data/lib/grape_ape_rails/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b80f24e0292930e70486d4283f01e3a52c464de5
|
4
|
+
data.tar.gz: 924c1f06dc1531462edf12f4cc613610e4732c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76ed46449d1423f0ff709d58ca640171b2ab91d96d7c354172b3ea50a9d92729562ad5bae45dfdd8eb3cc60ee2223e70294d85b4caf1d46649ff6d2c1e9270ed
|
7
|
+
data.tar.gz: 3f9047ef2d5b91c258c8e88c0ad6ce6cd3f073f9bfbda903538de1f16f9dfbdaf38478c80d8e99d52f8bdbd98b38dc070d47796bc3732cc5baff1c49e63aee9d
|
data/lib/grape_ape_rails/base.rb
CHANGED
@@ -17,9 +17,9 @@ module GrapeApeRails
|
|
17
17
|
end
|
18
18
|
|
19
19
|
# global exception handler, used for error notifications
|
20
|
-
rescue_from :all do |e|
|
21
|
-
|
22
|
-
end
|
20
|
+
# rescue_from :all do |e|
|
21
|
+
# error_response(message: { error: { code: "INTERNAL_SERVER_ERROR", message: e.message } }, status: 500)
|
22
|
+
# end
|
23
23
|
|
24
24
|
end
|
25
25
|
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape_ape_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt E. Patterson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|