sitepress-server 3.2.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rails/app/controllers/site_controller.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0a4cb81361e97da25a73f925d7c666aac9ec03474727249c5538029aa318962
|
4
|
+
data.tar.gz: 01bf8dcb688cb1b2ebca2975c9a1bd2a5cf67c27ae439322099179bdf2c90e05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e3508a8f713c32af2537695acf208c74ddd3a03bd6472064943cba627f706153f6cbb2586420f2df9ea2ab698275563d20897a54abbbb838d389a63764cf7c8
|
7
|
+
data.tar.gz: a9624f0f38102b7859e0530a1c908d416244292caed32d5a2c88723f7c433e08b060e364c7f8985a8761133b4da55b5b33d87455485b910cacd0bd033b523c75
|
@@ -28,9 +28,9 @@ class SiteController < ApplicationController
|
|
28
28
|
def render_exception(template:, exception:)
|
29
29
|
raise exception unless has_error_reporting_enabled?
|
30
30
|
|
31
|
-
@title = "Error in resource #{current_page.asset.path}"
|
31
|
+
@title = "Error in resource #{current_page.asset.path}"
|
32
32
|
@exception = exception
|
33
|
-
render template, layout: "sitepress", status: :internal_server_error
|
33
|
+
render template, layout: "sitepress", status: :internal_server_error, formats: :html
|
34
34
|
end
|
35
35
|
|
36
36
|
def page_not_found(exception)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitepress-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack-test
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 4.0.0
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- bradgessler@gmail.com
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.4.
|
84
|
+
rubygems_version: 3.4.6
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Sitepress rack app for stand-alone of embedded usage.
|