sitepress-server 3.2.1 → 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: 8bbd5935814e243c594d88c8fc30c4af990d113b5cde6295f0266b0991db8145
4
- data.tar.gz: 9c48864666c0a6472e7c4ea53ed0174ada5680961e60035d94443bda1e7591dc
3
+ metadata.gz: 03101e8b9be7f003d810f1df14f999b1969af57676cbe87b57a18fdff320ea3c
4
+ data.tar.gz: f1cc8d824be31a86b4de34f5df2cd58d9995964e47e9947851514db88cf0d3c8
5
5
  SHA512:
6
- metadata.gz: 2676271389e1fc4b98477702794405bedf90b97a82f9c00e9691b818a64b6f0d698c406a9512559c969c1f7500b7091fda5a0da435f3428297bc277ff1cf6545
7
- data.tar.gz: 95ffecabbb21ef937e2f2efadc0a12e319985233e99e6087bdca6d365cf73d06832025afc4fa5e484834c18754b242959a00c4325f1e2294fff83eaf501b9a8a
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.1
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-01-04 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.1
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.1
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.