sitepress-server 3.2.2 → 4.0.0.beta1

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: 03101e8b9be7f003d810f1df14f999b1969af57676cbe87b57a18fdff320ea3c
4
+ data.tar.gz: f1cc8d824be31a86b4de34f5df2cd58d9995964e47e9947851514db88cf0d3c8
5
5
  SHA512:
6
- metadata.gz: 422f5cd01f6a693b9959ab34b2776285ea7d672674cf45a164b0285db5387e5367ed9aefc1c689439318a1cefacab7d8f26c2c970e8bfd61f21367fedfcbb492
7
- data.tar.gz: 974d7c6afb7e0b5a714ac8844ffd1ddea86340bde172960406d591ef73d065004bb27d3b41bce840723efeec2e178256091cbe0fd86c8ced398862374299f19c
6
+ metadata.gz: 5ee49c130cb16c5cf112b101e7678d7efc76971ab3a4e4f435e33332af06a202536839b5ad596e9985ebc4a2620f23759eafb8734920deee92286ff7ad1ff150
7
+ data.tar.gz: 10e258b42556dae9e94c5c098b65344beea1deefc35ddf1d32f500cbe4a3a43a76b01951e0d61992d35de7e51e492259013fe471ff8020228fdac63733958783
@@ -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.beta1
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.beta1
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.beta1
41
41
  description:
42
42
  email:
43
43
  - bradgessler@gmail.com
@@ -77,11 +77,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ">"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 1.3.1
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.