releaf-core 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/lib/releaf/action_controller/exceptions.rb +2 -2
- data/app/lib/releaf/responders.rb +0 -2
- data/app/views/releaf/error_pages/{access_denied.html.haml → forbidden.html.haml} +0 -0
- data/lib/generators/releaf/templates/config/app.yml +3 -0
- metadata +4 -6
- data/app/lib/releaf/responders/access_denied_responder.rb +0 -9
- data/app/lib/releaf/responders/error_responder.rb +0 -9
- data/app/lib/releaf/responders/page_not_found_responder.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 682a49cfe8ce543d290aa1adb1ed44ccffb2bee92d4aa8fc96860ed9f4e13bf1
|
4
|
+
data.tar.gz: 3c432539dff5918c336d99cda6b4daedfb79f7ab0bd8a5e965a7fd282cf0ef9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d58c6ead24e86e9e7b07aba858d727288032d5901628d869e6930d6e57a89b655648083ef2cf7ee5c87acde18e60b44fd5bdc307b711b7152e1a60deafea624d
|
7
|
+
data.tar.gz: 69271b23142584ca4b004f6be2d486e39101e7e3dd104717190441e741afa3afab0e7d130b2e55be901dbc8ddf28b05a8a1971d7ddfe06387180a2188f9cb661
|
@@ -7,10 +7,10 @@ module Releaf::ActionController::Exceptions
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def page_not_found
|
10
|
-
|
10
|
+
render "releaf/error_pages/page_not_found", status: :not_found, formats: :html
|
11
11
|
end
|
12
12
|
|
13
13
|
def access_denied
|
14
|
-
|
14
|
+
render "releaf/error_pages/forbidden", status: :forbidden, formats: :html
|
15
15
|
end
|
16
16
|
end
|
@@ -11,8 +11,6 @@ module Releaf::Responders
|
|
11
11
|
update: Releaf::Responders::AfterSaveResponder,
|
12
12
|
confirm_destroy: Releaf::Responders::ConfirmDestroyResponder,
|
13
13
|
destroy: Releaf::Responders::DestroyResponder,
|
14
|
-
access_denied: Releaf::Responders::AccessDeniedResponder,
|
15
|
-
page_not_found: Releaf::Responders::PageNotFoundResponder,
|
16
14
|
}
|
17
15
|
end
|
18
16
|
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releaf-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CubeSystems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -801,12 +801,9 @@ files:
|
|
801
801
|
- app/lib/releaf/resource_table_fields.rb
|
802
802
|
- app/lib/releaf/resource_utilities.rb
|
803
803
|
- app/lib/releaf/responders.rb
|
804
|
-
- app/lib/releaf/responders/access_denied_responder.rb
|
805
804
|
- app/lib/releaf/responders/after_save_responder.rb
|
806
805
|
- app/lib/releaf/responders/confirm_destroy_responder.rb
|
807
806
|
- app/lib/releaf/responders/destroy_responder.rb
|
808
|
-
- app/lib/releaf/responders/error_responder.rb
|
809
|
-
- app/lib/releaf/responders/page_not_found_responder.rb
|
810
807
|
- app/lib/releaf/search.rb
|
811
808
|
- app/lib/releaf/settings/normalize_value.rb
|
812
809
|
- app/lib/releaf/settings/register.rb
|
@@ -823,7 +820,7 @@ files:
|
|
823
820
|
- app/views/releaf/action/show.ruby
|
824
821
|
- app/views/releaf/action/toolbox.ruby
|
825
822
|
- app/views/releaf/error_pages/_error.html.haml
|
826
|
-
- app/views/releaf/error_pages/
|
823
|
+
- app/views/releaf/error_pages/forbidden.html.haml
|
827
824
|
- app/views/releaf/error_pages/page_not_found.html.haml
|
828
825
|
- lib/generators/dummy/install_generator.rb
|
829
826
|
- lib/generators/dummy/templates/assets/config/manifest.js
|
@@ -883,6 +880,7 @@ files:
|
|
883
880
|
- lib/generators/dummy/templates/views/layouts/application.html.haml
|
884
881
|
- lib/generators/dummy/templates/views/text_pages/show.haml
|
885
882
|
- lib/generators/releaf/install_generator.rb
|
883
|
+
- lib/generators/releaf/templates/config/app.yml
|
886
884
|
- lib/generators/releaf/templates/initializers/haml.rb
|
887
885
|
- lib/generators/releaf/templates/initializers/releaf.rb
|
888
886
|
- lib/generators/releaf/templates/migrations/create_releaf_nodes.rb
|