api_me 0.10.7 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/api_me.rb +2 -0
- data/lib/api_me/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: 264fa08f13ef6151a2412ba5b5c817f5803bd0f1085f9ca648d6a43f144c3107
|
4
|
+
data.tar.gz: 9fc7b20414e3184c40161a64a9042461ed4ec8eea9cc16e882e0e2d63fad9938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df859338d2d110c7eb6a5027f936b577f32fe8659e18e1c3af0c7c54dd7db5e9450843ed6e2f67150871b9a404839a426264c00534007009b095d8de3ddd515a
|
7
|
+
data.tar.gz: 6b2fa6645b7f949ca2c685d6367de355260f9e0a66c21676bc34534d1542a4dd2aadcf3755b69813f4562c08afecd51e391a3d6be4f188becddcddef7a45e12b
|
data/lib/api_me.rb
CHANGED
@@ -17,6 +17,8 @@ module ApiMe
|
|
17
17
|
included do
|
18
18
|
rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized
|
19
19
|
rescue_from ActiveRecord::RecordInvalid, with: :handle_active_record_errors
|
20
|
+
rescue_from ActiveRecord::RecordNotDestroyed, with: :handle_active_record_errors
|
21
|
+
rescue_from ActiveRecord::ReadOnlyRecord, with: :handle_active_record_errors
|
20
22
|
rescue_from ActiveRecord::RecordNotFound, with: :resource_not_found
|
21
23
|
end
|
22
24
|
|
data/lib/api_me/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Clopton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|