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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f32867218564e6988ff1c759198683e3d020452f882643bcaee2282dad218c0c
4
- data.tar.gz: 72dde5b9f260eb620d9a89d31a9e751ba796c18f4dd2a62f388eb3922fd43ebb
3
+ metadata.gz: d0a4cb81361e97da25a73f925d7c666aac9ec03474727249c5538029aa318962
4
+ data.tar.gz: 01bf8dcb688cb1b2ebca2975c9a1bd2a5cf67c27ae439322099179bdf2c90e05
5
5
  SHA512:
6
- metadata.gz: 422f5cd01f6a693b9959ab34b2776285ea7d672674cf45a164b0285db5387e5367ed9aefc1c689439318a1cefacab7d8f26c2c970e8bfd61f21367fedfcbb492
7
- data.tar.gz: 974d7c6afb7e0b5a714ac8844ffd1ddea86340bde172960406d591ef73d065004bb27d3b41bce840723efeec2e178256091cbe0fd86c8ced398862374299f19c
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}".html_safe
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: 3.2.2
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-04-11 00:00:00.000000000 Z
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: 3.2.2
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: 3.2.2
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.1
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.