upframework 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1790949cb9e3a2431f0b06cfcaf818b598c20d716126a3392733aa0faee1b1c
|
4
|
+
data.tar.gz: 3119cbf9baf3e671b4750b8dbe64383f330313bc313437328a31b467ece5f1d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeec587df8c7e351e8d47dd66fd5ad80ad25d0d297a3f8c13deeeeab0f4e93983cd557707de3cf032a6a86812d713e510e8bc40d809ccc745731789ee858a486
|
7
|
+
data.tar.gz: 6edc14307ffe69e3b1acf93af57e0fd7963b6058cf59e03a7ebcddd0f0ee66e29a444521dfc84dd096411ad08def94c648c5c727368d5c0ac3f989b17016e3c7
|
@@ -15,7 +15,7 @@ module Upframework
|
|
15
15
|
|
16
16
|
rescue_from CanCan::AccessDenied do |exception|
|
17
17
|
respond_to do |format|
|
18
|
-
format.json { render json: { success: false, error: exception.message }, status: :forbidden }
|
18
|
+
format.json { render json: { success: false, error: exception.message, status_code: 403 }, status: :forbidden }
|
19
19
|
format.html { redirect_to main_app.root_url, alert: exception.message }
|
20
20
|
end
|
21
21
|
end
|
data/lib/upframework/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upframework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jude_cali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|